/* 
   Educational Portfolio Styles (BA Sir Theme)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #1a73e8; /* Google Blue */
    --secondary-color: #fce8e6;
    --text-main: #202124;
    --text-muted: #5f6368;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-blue-light: #e8f0fe;
    --border-color: #dadce0;
    --gradient-search: linear-gradient(135deg, #ff5b7f 0%, #aa4b6b 100%);
    --gradient-pill: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navbar */
.top-header {
    background-color: var(--bg-white);
    padding: 10px 0;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand-custom {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-main);
}
.navbar-brand-custom img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}
.brand-title {
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.2;
}
.brand-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Nav links */
.nav-pills-custom .nav-link {
    color: var(--text-main);
    font-weight: 600;
    border-radius: 20px;
    padding: 6px 20px;
    margin: 0 5px;
    border: 1px solid transparent;
}
.nav-pills-custom .nav-link:hover, .nav-pills-custom .nav-link.active {
    background-color: var(--bg-blue-light);
    border: 1px solid #d2e3fc;
    color: var(--primary-color);
    box-shadow: inset 0 -2px 0 var(--primary-color);
}

.menu-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn-search {
    background: var(--gradient-search);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(255, 91, 127, 0.3);
}
.btn-login {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 30, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 50px;
}

.hero-avatar {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 25px; /* Rounded square */
    border: 4px solid white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

.hero-name {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #a8c7fa;
    font-weight: 600;
    margin-bottom: 30px;
}

.hero-bullets p {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Floating Notice Card */
.floating-notice {
    position: absolute;
    left: 20px;
    top: 150px;
    width: 320px;
    background: white;
    border-radius: 12px;
    border-left: 5px solid #dc3545;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 10;
    overflow: hidden;
}
.notice-header {
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.75rem;
    font-weight: 800;
    color: #dc3545;
    text-transform: uppercase;
}
.notice-body {
    padding: 15px;
    font-size: 0.85rem;
    color: var(--text-main);
    line-height: 1.5;
}
.notice-body h6 {
    font-weight: 800;
    margin-bottom: 10px;
}

/* Section Styling */
.section-wrapper {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px;
    margin: 40px auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--primary-color);
}

.section-heading-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.section-heading {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 45px;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Info Cards (About Section) */
.info-card {
    background: var(--bg-blue-light);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #d2e3fc;
}
.info-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}
.info-icon.orange { background-color: #f29900; }
.info-icon.blue { background-color: var(--primary-color); }
.info-card h6 {
    font-weight: 800;
    margin: 0 0 5px 0;
}
.info-card p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Contact Horizontal Cards */
.contact-card-horizontal {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid var(--border-color);
}
.contact-icon-box {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}
.contact-icon-box.blue { background-color: var(--primary-color); }
.contact-icon-box.purple { background-color: #7e57c2; }
.contact-icon-box.green { background-color: #25d366; }
.contact-content h6 {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 5px 0;
}
.contact-content h5 {
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    font-size: 1.1rem;
}
.contact-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 5px 0 0 0;
}

/* Responsiveness */
@media (max-width: 991px) {
    .floating-date-pill {
        position: relative;
        transform: none;
        left: auto;
        display: inline-block;
        margin-bottom: 10px;
    }
    .hero-name { font-size: 2.5rem; }
    .hero-avatar { width: 120px; height: 120px; }
    .floating-notice {
        position: relative;
        left: auto;
        top: auto;
        width: 90%;
        margin: 20px auto;
    }
}
