/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0f1b2d;
    --navy-light: #1a2a42;
    --navy-dark: #0a1220;
    --gold: #c9a96e;
    --gold-light: #dfc08a;
    --gold-dark: #a88b52;
    --cream: #f5f0e8;
    --cream-dark: #e8e0d2;
    --white: #ffffff;
    --text: #2d3748;
    --text-light: #718096;
    --text-dark: #1a202c;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(15, 27, 45, 0.08);
    --shadow-md: 0 4px 20px rgba(15, 27, 45, 0.12);
    --shadow-lg: 0 10px 40px rgba(15, 27, 45, 0.16);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 27, 45, 0.95);
    backdrop-filter: blur(12px);
    padding: 0.75rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(201, 169, 110, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 169, 110, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 80%, rgba(26, 42, 66, 0.8) 0%, transparent 50%),
        linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-light) 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(30deg, transparent 49.5%, rgba(201, 169, 110, 0.03) 49.5%, rgba(201, 169, 110, 0.03) 50.5%, transparent 50.5%),
        linear-gradient(150deg, transparent 49.5%, rgba(201, 169, 110, 0.03) 49.5%, rgba(201, 169, 110, 0.03) 50.5%, transparent 50.5%),
        linear-gradient(90deg, transparent 49.5%, rgba(201, 169, 110, 0.02) 49.5%, rgba(201, 169, 110, 0.02) 50.5%, transparent 50.5%);
    background-size: 100px 100px;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: linear-gradient(180deg, transparent, rgba(201, 169, 110, 0.04), transparent);
    transform: rotate(-15deg);
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; transform: rotate(-15deg) translateY(0); }
    50% { opacity: 1; transform: rotate(-15deg) translateY(-20px); }
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

.hero-greeting {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-divider {
    width: 80px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    color: var(--cream);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.8s;
}

.hero-tagline {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1s;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1.2s;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1.5s;
}

.hero-scroll span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 110, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
}

/* Subtle decorative element under section titles */
.section-header::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin: 1.5rem auto 0;
}

/* ===== About ===== */
.about {
    padding: 8rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .lead {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text p {
    color: var(--text);
    margin-bottom: 1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--cream);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-light);
}

.expertise-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.expertise-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.expertise-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.expertise-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.expertise-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.expertise-icon svg {
    width: 100%;
    height: 100%;
}

.expertise-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.expertise-card p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 700px;
    margin: 0 auto;
}
/* ===== Experience / Timeline ===== */
.experience {
    padding: 8rem 0;
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), var(--cream-dark));
}

.timeline-item {
    position: relative;
    padding-bottom: 3.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -3rem;
    top: 0.5rem;
    width: 14px;
    height: 14px;
    background: var(--gold);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--gold);
    transform: translateX(-6px);
}

.timeline-date {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
}

.timeline-content {
    background: var(--cream);
    padding: 2rem;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--gold);
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.timeline-location {
    font-weight: 400;
    color: var(--text-light);
    font-style: italic;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 1rem;
    font-style: italic;
}

.timeline-highlights {
    list-style: none;
    padding: 0;
}

.timeline-highlights li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
}

.timeline-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

/* ===== Education ===== */
.education {
    padding: 8rem 0;
    background: var(--navy);
}

.education .section-title {
    color: var(--white);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.education-card {
    background: var(--navy-light);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(201, 169, 110, 0.2);
    transition: all var(--transition);
    text-align: center;
}

.education-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.education-year {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
}

.education-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.education-card h4 {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.education-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

/* ===== Contact ===== */
.contact {
    padding: 8rem 0;
    background: var(--cream);
}

.contact-intro {
    font-size: 1.15rem;
    color: var(--text);
    text-align: center;
    max-width: 500px;
    margin: 0 auto 3rem;
}

.contact-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.contact-item svg {
    width: 28px;
    height: 28px;
    color: var(--gold);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* ===== Footer ===== */
.footer {
    padding: 2rem 0;
    background: var(--navy-dark);
    text-align: center;
}

.footer p {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 1;
    transform: none;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.reveal-init {
    opacity: 0;
    transform: translateY(30px);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .education-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-items {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: 2rem;
    }
    
    .timeline-marker {
        left: -2rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat {
        padding: 1.5rem 0.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    section {
        padding: 5rem 0;
    }
    
    .about, .expertise, .experience, .education, .contact {
        padding: 5rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-name {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 1.25rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
    }

    .about-text .lead {
        font-size: 1.05rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat {
        padding: 1.5rem 0.5rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .section-label {
        font-size: 0.7rem;
    }

    .contact-intro {
        font-size: 1.05rem;
    }
}
@media (max-width: 320px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .hero-name {
        font-size: 1.75rem;
    }

    .hero-title {
        font-size: 1.1rem;
    }

    .hero-tagline {
        font-size: 0.85rem;
    }

    .hero-content {
        padding: 0.5rem;
    }

    .hero-actions {
        gap: 0.75rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
    }

    .about-text .lead {
        font-size: 1rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-label {
        font-size: 0.65rem;
    }

    .about, .expertise, .experience, .education, .contact {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .about-stats {
        gap: 0.75rem;
    }

    .stat {
        padding: 1rem 0.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .expertise-card {
        padding: 1.5rem 1rem;
    }

    .expertise-card h3 {
        font-size: 1.1rem;
    }

    .expertise-card p {
        font-size: 0.85rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-marker {
        left: -1.5rem;
    }

    .timeline-content {
        padding: 1rem;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .timeline-content h4 {
        font-size: 0.9rem;
    }

    .timeline-date {
        font-size: 0.7rem;
    }

    .timeline-highlights li {
        font-size: 0.85rem;
    }

    .education-card {
        padding: 1.5rem 1rem;
    }

    .education-year {
        font-size: 1.5rem;
    }

    .education-card h3 {
        font-size: 1rem;
    }

    .education-card h4 {
        font-size: 0.85rem;
    }

    .contact-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .contact-item {
        padding: 1rem;
        gap: 1rem;
    }

    .contact-item svg {
        width: 24px;
        height: 24px;
    }

    .contact-label {
        font-size: 0.65rem;
    }

    .contact-value {
        font-size: 0.85rem;
    }

    .footer p {
        font-size: 0.7rem;
    }
}