/* 
==============================================
JAYEETA PUTATUNDA - PROFESSIONAL PORTFOLIO
==============================================
Complete CSS with Navy Blue Professional Theme and Warm Beige Background
Author: Professional Portfolio Template
Description: Responsive design with improved readability (Option 1: Darker Text)
*/

/* 
==============================================
CSS VARIABLES & COLOR SCHEME
==============================================
Define all colors, gradients, shadows, and design tokens
*/
:root {
    /* PRIMARY BRAND COLORS - Navy Blue Theme */
    --primary: #2B3A67;           /* Main navy blue for headers, buttons */
    --primary-dark: #1E2A4A;      /* Darker navy for hover states */
    --accent: #4A6CF7;            /* Blue accent for highlights, links */
    --accent-light: #7C8EFA;      /* Lighter accent for gradients */
    --accent-lighter: #A4B6FC;    /* Very light accent for tags, badges */
    
    /* BACKGROUND COLORS - Warm Beige Palette */
    --warm-background: #FEFBF7;   /* Main page background - warm off-white */
    --soft-beige: #F7F4F0;        /* Section backgrounds - soft beige */
    --card-white: #FFFFFF;        /* Card backgrounds - pure white */
    --light-gray: #F8F9FB;        /* Light elements, placeholders */
    --soft-gray: #E2E8F0;         /* Subtle dividers, borders */
    --medium-gray: #CBD5E0;       /* Medium contrast elements */
    --border-gray: #E2E8F0;       /* Border color for cards, inputs */
    
    /* TEXT COLORS - Improved Readability (Option 1: Darker Text) */
    --text-dark: #0D1117;         /* Main headings - very dark for readability */
    --text-medium: #1A202C;       /* Body text - dark for good contrast */
    --text-light: #2D3748;        /* Secondary text - readable gray */
    --text-lighter: #4A5568;      /* Meta text, captions - lighter but readable */
    
    /* GRAY SCALE SYSTEM - Consistent grays for various UI elements */
    --dark: #1A202C;
    --gray-900: #1A202C;          /* Darkest gray */
    --gray-800: #2D3748;
    --gray-700: #4A5568;
    --gray-600: #718096;
    --gray-500: #A0AEC0;
    --gray-400: #CBD5E0;
    --gray-300: #E2E8F0;
    --gray-200: #EDF2F7;
    --gray-100: #F7FAFC;
    --gray-50: #F7F9FC;           /* Lightest gray */
    --white: #FFFFFF;
    
    /* GRADIENT DEFINITIONS - Used for buttons, headers, decorative elements */
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-soft: linear-gradient(135deg, var(--light-gray) 0%, var(--card-white) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    
    /* SHADOW SYSTEM - Consistent depth with navy tint */
    --shadow-sm: 0 1px 2px 0 rgba(43, 58, 103, 0.1);      /* Small shadow for subtle depth */
    --shadow: 0 4px 6px -1px rgba(43, 58, 103, 0.15);      /* Standard shadow for cards */
    --shadow-lg: 0 10px 15px -3px rgba(43, 58, 103, 0.2);  /* Large shadow for prominent elements */
    --shadow-xl: 0 20px 25px -5px rgba(43, 58, 103, 0.25); /* Extra large shadow for hero elements */
}

/* 
==============================================
GLOBAL RESET & BASE STYLES
==============================================
Reset default browser styles and set foundation
*/
* {
    margin: 0;                    /* Remove default margins */
    padding: 0;                   /* Remove default padding */
    box-sizing: border-box;       /* Include padding/border in element width/height */
}

html {
    scroll-behavior: smooth;      /* Smooth scrolling for anchor links */
}

/* Enhanced smooth scrolling with easing */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
    
    * {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; /* Modern font stack */
    line-height: 1.6;             /* Comfortable line spacing for readability */
    color: var(--text-medium);    /* Default text color */
    background: var(--warm-background); /* Warm beige background */
    overflow-x: hidden;           /* Prevent horizontal scrolling */
}

/* CONTAINER - Centers content with consistent max-width */
.container {
    max-width: 1200px;            /* Maximum content width */
    margin: 0 auto;               /* Center horizontally */
    padding: 0 1rem;              /* Side padding for mobile spacing */
}

/* 
==============================================
TYPOGRAPHY UTILITIES
==============================================
Font families and text alignment rules
*/
.mono {
    font-family: 'JetBrains Mono', monospace; /* Monospace font for code elements */
}

/* PARAGRAPH JUSTIFICATION - Justified text for better readability */
p {
    text-align: justify;          /* Justify text for clean edges */
}

/* EXCEPTIONS - Keep certain elements center-aligned */
.section-header p,
.hero-card p,
.stat-label,
.about-stat-label,
.footer p,
.contact-quick-content p,
.photo-caption {
    text-align: center !important; /* Override justify for centered content */
}

/* EXCEPTIONS - Keep meta information left-aligned */
.speaking-meta,
.blog-meta,
.timeline-year {
    text-align: left !important;   /* Override justify for meta content */
}

/* Advisory organization should be centered in advisory cards */
.advisory-card .advisory-organization {
    text-align: center !important;
}

/* 
==============================================
NAVIGATION BAR
==============================================
Fixed top navigation with backdrop blur and smooth transitions
*/
.nav {
    position: fixed;               /* Fixed to top of viewport */
    top: 0;
    width: 100%;
    background: rgba(254, 251, 247, 0.95); /* Semi-transparent warm background */
    backdrop-filter: blur(20px);   /* Modern blur effect for depth */
    border-bottom: 1px solid var(--border-gray); /* Subtle bottom border */
    z-index: 1000;                 /* Above all other content */
    transition: all 0.3s ease;     /* Smooth transitions on scroll */
}

/* SCROLLED STATE - Enhanced background when scrolled */
.nav.scrolled {
    background: rgba(254, 251, 247, 0.98); /* More opaque when scrolled */
    box-shadow: var(--shadow);     /* Add shadow when scrolled */
}

/* NAVIGATION CONTENT WRAPPER */
.nav-content {
    display: flex;
    justify-content: space-between; /* Logo left, links right */
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;                /* Center within viewport */
    width: 100%;
}

/* Nav right container for theme toggle */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

/* Mobile nav layout - ensure theme toggle doesn't block menu */
@media (max-width: 768px) {
    .nav-content {
        padding: 1rem 0.75rem;
        justify-content: flex-start;
        gap: 0.75rem;
        align-items: center;
    }
    
    .logo {
        flex: 0 1 auto;
        min-width: 0;
        margin-right: auto;
        max-width: calc(100% - 100px); /* Leave space for toggle (24px) and menu (32px) + gaps */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .nav-right {
        flex: 0 0 auto;
        margin-left: 0;
        margin-right: 0;
        gap: 0;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .menu-toggle {
        flex: 0 0 auto;
        margin-left: 0;
        padding: 0.25rem;
        min-width: 32px;
        width: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* LOGO STYLING */
.logo {
    font-weight: 700;              /* Bold font weight */
    font-size: 1.4rem;             /* Prominent size */
    color: var(--primary);         /* Navy brand color */
    letter-spacing: -0.02em;       /* Tight letter spacing */
    white-space: nowrap;           /* Prevent wrapping */
    flex-shrink: 0;                /* Don't shrink */
}

/* NAVIGATION LINKS CONTAINER */
.nav-links {
    display: flex;
    list-style: none;              /* Remove bullet points */
    gap: 1.5rem;                   /* Reduced gap for better spacing */
    align-items: center;
    flex-wrap: wrap;               /* Allow wrapping if needed */
    justify-content: flex-end;      /* Align to right */
    margin-left: auto;             /* Push to right */
}

/* INDIVIDUAL NAVIGATION LINKS */
.nav-link {
    text-decoration: none;         /* Remove underline */
    color: var(--text-light);      /* Readable gray color */
    font-weight: 500;              /* Medium weight */
    font-size: 0.9rem;             /* Slightly smaller than body text */
    transition: color 0.2s ease;   /* Smooth color transitions */
    position: relative;            /* For pseudo-element positioning */
}

/* NAVIGATION LINK HOVER & ACTIVE STATES */
.nav-link:hover,
.nav-link.active {
    color: var(--primary);         /* Navy color on hover/active */
}

/* NAVIGATION LINK UNDERLINE EFFECT */
.nav-link::after {
    content: '';                   /* Empty pseudo-element */
    position: absolute;
    bottom: -0.25rem;              /* Position below text */
    left: 0;
    width: 0;                      /* Start with no width */
    height: 2px;                   /* Thin line */
    background: var(--accent);     /* Blue accent color */
    transition: width 0.2s ease;   /* Animate width change */
}

/* SHOW UNDERLINE ON HOVER/ACTIVE */
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;                   /* Full width underline */
}

/* MOBILE MENU TOGGLE - Hidden on desktop */
.menu-toggle {
    display: none;                 /* Hidden by default */
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

/* 
==============================================
HERO BANNER SECTION
==============================================
Full-width banner style hero with centered content
*/
.hero-banner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 3rem;      /* Balanced padding */
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative background pattern */
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(74, 108, 247, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(74, 108, 247, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-banner-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Name - Large centered */
.hero-banner-name {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Tagline with roles */
.hero-banner-tagline {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    margin-bottom: 1rem;
    text-align: center;
}

/* Hide mobile breaks on desktop */
.hero-banner-tagline .mobile-break,
.hero-banner-tagline .mobile-break-2 {
    display: none;
}

.hero-banner-tagline .divider {
    margin: 0 0.75rem;
    opacity: 0.6;
}

/* Subtitle - Roles */
.hero-banner-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin-bottom: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-banner-subtitle .divider {
    margin: 0 0.5rem;
    opacity: 0.5;
}

/* Photo Gallery */
.hero-photo-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin: 2rem 0;
    width: calc(100vw - 3rem);
    max-width: calc(100vw - 3rem);
    padding: 0 1.5rem;
    margin-left: calc(-50vw + 50%);
}

.gallery-item {
    flex: 1 1 0;
    max-width: none;
    height: 260px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Placeholder for gallery items */
.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.gallery-placeholder:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.5);
}

.gallery-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.gallery-placeholder span {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Description */
.hero-banner-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 1400px;
    margin: 1.5rem auto;
    text-align: justify;
    text-align-last: center;
    padding: 0 2rem;
}

/* CTA Buttons */
.hero-banner-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem 0 1.5rem;
    flex-wrap: wrap;
}

.btn-banner {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-banner-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-banner-primary:hover {
    background: var(--accent-lighter);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-banner-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-banner-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Social Links */
.hero-banner-social {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.social-link-banner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link-banner:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* AWARD BADGE - Highlighted achievement */
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;                   /* Space between icon and text */
    background: var(--gradient);   /* Brand gradient background */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;           /* Pill shape */
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;     /* All caps for emphasis */
    letter-spacing: 0.05em;        /* Spaced out letters */
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);     /* Depth with shadow */
}

/* MAIN HERO TITLE */
.hero-title {
    font-size: 3.5rem;             /* Large, attention-grabbing size */
    font-weight: 700;              /* Bold weight */
    line-height: 1.1;              /* Tight line height for impact */
    margin-bottom: 0.5rem;
    color: var(--text-dark);       /* Darkest text for readability */
    letter-spacing: -0.02em;       /* Slightly tighter spacing */
}

/* HERO TAGLINE - Professional positioning statement */
.hero-tagline {
    font-size: 1.25rem;
    color: var(--accent);          /* Blue accent color */
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.4;
}


/* HERO DESCRIPTION PARAGRAPHS */
.hero-description {
    font-size: 1.1rem;
    color: var(--text-medium);      /* Readable gray */
    margin-bottom: 0;
    line-height: 1.8;              /* Generous line height */
    text-align: left;               /* Left aligned for cleaner look */
}

/* TIMES SQUARE FEATURE - Prominent achievement badge */
.times-square-feature {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, var(--card-white) 0%, var(--soft-beige) 100%);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-lg);
    margin: 2rem 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.times-square-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

.times-square-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.times-square-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: var(--shadow);
}

.times-square-content {
    flex: 1;
}

.times-square-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-lighter);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.times-square-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.times-square-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.times-square-description strong {
    color: var(--accent);
    font-weight: 600;
}

.times-square-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.times-square-link:hover {
    color: var(--primary);
    gap: 0.75rem;
}

.times-square-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.times-square-link:hover i {
    transform: translateX(3px);
}

/* STATISTICS ROW - Key numbers display */
.hero-stats {
    display: flex;
    gap: 2rem;                     /* Space between stat items */
    margin-bottom: 2rem;
}

/* INDIVIDUAL STAT ITEM */
.stat-item {
    text-align: center;
    background: var(--card-white); /* White card background */
    padding: 1.5rem;
    border-radius: 1rem;           /* Rounded corners */
    box-shadow: var(--shadow-sm);  /* Subtle shadow */
    border: 1px solid var(--border-gray); /* Light border */
    transition: all 0.2s ease;     /* Smooth hover effects */
}

/* STAT ITEM HOVER EFFECT */
.stat-item:hover {
    transform: translateY(-5px) scale(1.02);   /* Enhanced upward movement and scale */
    box-shadow: var(--shadow-lg);     /* Enhanced shadow */
    border-color: var(--accent);      /* Blue border on hover */
}

/* STAT NUMBER - Large prominent number */
.stat-number {
    display: block;
    font-size: 1.875rem;           /* Large size for impact */
    font-weight: 700;              /* Bold weight */
    color: var(--accent);          /* Blue accent color */
    line-height: 1;                /* Tight line height */
}

/* STAT LABEL - Description text */
.stat-label {
    font-size: 0.75rem;            /* Small descriptive text */
    color: var(--text-lighter);    /* Light gray */
    text-transform: uppercase;     /* All caps */
    letter-spacing: 0.05em;        /* Spaced letters */
    margin-top: 0.25rem;
}

/* CALL-TO-ACTION BUTTONS */
.hero-cta {
    display: flex;
    gap: 1rem;                     /* Space between buttons */
    flex-wrap: wrap;               /* Wrap on small screens */
}

/* 
==============================================
BUTTON COMPONENTS
==============================================
Reusable button styles with variants
*/
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;                   /* Space between icon and text */
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;         /* Rounded corners */
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;         /* Remove link underline */
    transition: all 0.2s ease;     /* Smooth hover effects */
    border: none;
    cursor: pointer;
}

/* PRIMARY BUTTON - Main action button */
.btn-primary {
    background: var(--primary);    /* Navy background */
    color: white;
    box-shadow: var(--shadow);     /* Depth with shadow */
}

.btn-primary:hover {
    background: var(--primary-dark); /* Darker on hover */
    transform: translateY(-1px);   /* Slight lift effect */
    box-shadow: var(--shadow-lg);  /* Enhanced shadow */
}

/* SECONDARY BUTTON - Alternative action */
.btn-secondary {
    background: var(--card-white); /* White background */
    color: var(--primary);         /* Navy text */
    border: 2px solid var(--primary); /* Navy border */
}

.btn-secondary:hover {
    background: var(--primary);    /* Filled on hover */
    color: white;
}

/* 
==============================================
HERO PROFILE CARD
==============================================
Right-side profile card with image and social links
*/
.hero-image {
    position: relative;
    width: 450px;                  /* Large card width */
    height: 550px;                 /* Tall card height */
    margin: 0 auto;                /* Center if space allows */
}

/* PROFILE CARD CONTAINER */
.hero-card {
    background: var(--card-white); /* White background */
    border-radius: 1rem;           /* Rounded corners */
    padding: 3rem;                 /* Generous padding */
    box-shadow: var(--shadow-lg);  /* Prominent shadow */
    text-align: center;
    position: relative;
    overflow: hidden;              /* Hide decorative overflow */
    border: 1px solid var(--border-gray);
    height: 100%;                  /* Full container height */
    display: flex;
    flex-direction: column;
    justify-content: center;       /* Center content vertically */
}

/* CARD TOP ACCENT LINE */
.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;                   /* Thin accent line */
    background: var(--gradient);   /* Brand gradient */
}

/* PROFILE IMAGE - Large circular photo */
.profile-image {
    width: 240px;                  /* Increased from 200px */
    height: 240px;                 /* Square shape */
    border-radius: 1rem;           /* Square with rounded corners */
    margin: 0 auto 1.5rem;         /* Reduced bottom margin */
}

/* ACTUAL PROFILE IMAGE */
.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;             /* Crop to fill circle */
    object-position: center;       /* Center the crop */
    border-radius: 50%;            /* Maintain circle shape */
}

/* PROFILE NAME */
.hero-card h2 {
    font-size: 2rem;               /* Large name text */
    font-weight: 700;
    color: var(--text-dark);       /* Dark for readability */
    margin-bottom: 1rem;
    letter-spacing: -0.01em;       /* Slightly tighter spacing */
}

/* PROFILE TITLE/SUBTITLE */
.hero-card .subtitle {
    color: var(--text-light);      /* Readable gray */
    font-size: 1.125rem;           /* Medium size */
    font-weight: 500;
    margin-bottom: 2rem;
    text-transform: uppercase;     /* All caps style */
    letter-spacing: 0.02em;        /* Spaced letters */
}

/* SOCIAL MEDIA LINKS */
.social-links {
    display: flex;
    justify-content: center;       /* Center the links */
    gap: 1.5rem;                   /* Space between icons */
    margin-top: 2.5rem;
}

/* INDIVIDUAL SOCIAL LINK */
.social-link {
    width: 3.5rem;                 /* Large circular buttons */
    height: 3.5rem;
    background: var(--light-gray); /* Light background */
    border-radius: 50%;            /* Circular shape */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);      /* Gray icon color */
    text-decoration: none;
    transition: all 0.2s ease;     /* Smooth hover effects */
    border: 1px solid var(--border-gray);
    font-size: 1.25rem;            /* Large icons */
}

/* SOCIAL LINK HOVER EFFECT */
.social-link:hover {
    background: var(--accent);     /* Blue background on hover */
    color: white;                  /* White icon on hover */
    transform: translateY(-2px);   /* Slight lift effect */
    box-shadow: var(--shadow);     /* Shadow on hover */
}

/* HERO CTA BUTTONS - Right Side Standalone */
.hero-cta-right {
    display: flex;
    flex-direction: row;           /* Buttons side by side horizontally */
    gap: 1rem;                     /* Space between buttons */
    justify-content: center;       /* Center align buttons */
    align-items: center;           /* Vertically align buttons */
    margin-top: 2rem;              /* Space from the card */
    width: 100%;                   /* Full width of right column */
    flex-wrap: wrap;               /* Wrap on very small screens */
}

.hero-cta-right .btn {
    flex: 1;                       /* Equal width buttons */
    max-width: 210px;              /* Even wider buttons */
    min-width: 190px;              /* Increased minimum width */
    height: 4.5rem;                /* Even taller buttons */
    justify-content: center;       /* Center button content */
    align-items: center;           /* Vertically center content */
    text-align: center;
    padding: 1rem 1.25rem;         /* More generous padding */
    font-size: 1rem;               /* Larger font */
    line-height: 1.2;              /* Tighter line height */
    white-space: nowrap;           /* Prevent text wrapping */
    overflow: hidden;              /* Hide overflow */
    text-overflow: ellipsis;       /* Add ellipsis if text too long */
}

/* 
==============================================
SPEAKING EVENT PHOTOS SECTION
==============================================
Gallery of speaking engagement photos in hero
*/
.hero-speaking-photos {
    margin-top: 5rem;
    padding: 3rem 0;
    border-top: 1px solid var(--border-gray);
}

.speaking-photos-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.speaking-photos-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.speaking-photos-title i {
    color: var(--accent);
    font-size: 1.75rem;
}

.speaking-photos-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    text-align: center;
}

.speaking-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.speaking-photo-item {
    background: var(--card-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
    cursor: pointer;
}

.speaking-photo-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.speaking-photo-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--soft-beige) 0%, var(--light-gray) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-lighter);
    position: relative;
    overflow: hidden;
}

.speaking-photo-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(74, 108, 247, 0.1) 0%, transparent 70%);
}

.speaking-photo-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
    opacity: 0.6;
    z-index: 1;
    position: relative;
}

.speaking-photo-placeholder p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    z-index: 1;
    position: relative;
    margin: 0;
}

/* Actual image styling (when photos are added) */
.speaking-photo-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.speaking-photo-caption {
    padding: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.4;
}

.speaking-photos-cta {
    text-align: center;
    margin-top: 2rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline i {
    transition: transform 0.3s ease;
}

.btn-outline:hover i {
    transform: translateX(3px);
}

/* 
==============================================
SECTION FOUNDATIONS
==============================================
Base styles for all content sections
*/
.section {
    padding: 3rem 0 5rem 0;        /* Reduced top padding, keep bottom padding */
}

/* ALTERNATING SECTION BACKGROUND - Light blue tint */
.section-alt {
    background: linear-gradient(135deg, #F5F9FF 0%, #EBF4FF 100%) !important;
}

/* SECTION HEADER - Title and subtitle for each section */
.section-header {
    text-align: center;
    max-width: 600px;              /* Limit width for readability */
    margin: 0 auto 4rem;           /* Center with bottom margin */
}

/* ADVISORY SECTION HEADER OPTIMIZATION */
.advisory .section-header {
    max-width: 900px;
    margin-bottom: 3rem;
}

/* JUDGING SECTION SPACING */
.judging .section-header {
    margin-bottom: 1rem; /* Reduced spacing for 2 lines */
}

.judging .advisory-container .section-divider:first-child {
    margin-top: 0.5rem; /* Reduced top margin for first divider - total ~1.5rem = 2 lines */
    margin-bottom: 1rem; /* Reduced bottom margin to 3 lines */
}

/* SECTION TITLE */
.section-title {
    font-size: 2.5rem;             /* Large section heading */
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);       /* Dark for readability */
    letter-spacing: -0.02em;       /* Slightly tighter spacing */
    position: relative;
}

/* Add subtle accent line under section titles */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

/* SECTION SUBTITLE */
.section-subtitle {
    font-size: 1.125rem;           /* Medium descriptive text */
    color: var(--text-light);      /* Readable gray */
    line-height: 1.6;              /* Comfortable line spacing */
    text-align: justify;           /* Clean paragraph edges */
}

/* ADVISORY SECTION SPECIFIC SUBTITLE STYLING */
.advisory .section-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* 
==============================================
IMPACT BY THE NUMBERS SECTION
==============================================
Visual stats section showing key achievements
*/
.impact-stats {
    background: var(--soft-beige);
    padding: 2rem 0 2.5rem;
}

.impact-stats .section-header {
    margin-bottom: 1.25rem;
}

.impact-stats .section-subtitle {
    margin-bottom: 0;
}

/* STATS GRID LAYOUT */
.stats-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* INDIVIDUAL STAT CARD */
.stat-card {
    background: var(--card-white);
    border-radius: 0.75rem;
    padding: 1.5rem 1.25rem;
    text-align: center;
    min-width: 160px;
    flex: 1;
    max-width: 200px;
    border: 1px solid var(--border-gray);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* STAT NUMBER */
.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

/* STAT LABEL */
.stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* 
==============================================
ABOUT SECTION
==============================================
Personal story and background information
*/
.about {
    background: var(--soft-beige) !important;
}

/* ABOUT CONTENT WRAPPER */
.about-content {
    display: block;
    max-width: 1200px;             /* Wider content for timeline */
    margin: 0 auto;                /* Center the content */
}

/* ABOUT TEXT CONTENT */
.about-text {
    margin-bottom: 3rem;
}

.journey-intro {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-light);
}

/* CAREER TIMELINE */
.career-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 4rem 0;
    padding: 2rem 0;
    min-height: 200px;
    width: 100%;
}

.timeline-line {
    position: absolute;
    top: 60px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 2px;
    z-index: 1;
}

.timeline-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 140px;
    flex: 1;
    z-index: 2;
}

.stage-node {
    width: 60px;
    height: 60px;
    background: var(--card-white);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}



.stage-content {
    text-align: center;
    max-width: 130px;
}

.stage-content h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.stage-year {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}



.stage-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0;
}

.stage-content em {
    font-style: italic;
    color: var(--accent-color);
    font-weight: 500;
}

/* TIMELINE ARROWS */
.timeline-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 60px;
    margin-top: 0;
    z-index: 2;
    position: relative;
    flex-shrink: 0;
}

.timeline-arrow i {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.timeline-arrow:hover i {
    color: var(--accent-color);
    transform: translateX(3px);
}

/* 
==============================================
VISUAL JOURNEY TIMELINE
==============================================
Illustrated horizontal timeline for career path
*/
.visual-journey-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin: 1.5rem 0 1rem;
    padding: 0;
    width: 100%;
}

/* Journey Track Line - Hidden for cleaner look */
.journey-track {
    display: none;
}

/* Journey Milestone */
.journey-milestone {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

/* Milestone Marker */
.milestone-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.5rem;
}

.marker-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
    transition: all 0.3s ease;
}

.journey-milestone:hover .marker-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.journey-milestone.current .marker-icon {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
}

.marker-icon i {
    font-size: 1.1rem;
    color: var(--primary-blue);
}

.journey-milestone.current .marker-icon i {
    color: var(--primary-blue);
}

.marker-year {
    margin-top: 0.3rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.journey-milestone.current .marker-year {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Milestone Card */
.milestone-card {
    background: var(--card-white);
    border-radius: 0.5rem;
    padding: 0.85rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
    width: 100%;
}

.journey-milestone:hover .milestone-card {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.milestone-card h4 {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.milestone-card p {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.45;
}

/* Responsive Timeline */
@media (max-width: 992px) {
    .visual-journey-timeline {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .journey-milestone {
        min-width: 140px;
    }
}

@media (max-width: 576px) {
    .visual-journey-timeline {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .journey-milestone {
        min-width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .milestone-card {
        max-width: 100%;
    }
}

/* CURRENT ROLES CARDS */
.current-roles-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.5rem 0 2rem 0;
}

.role-card {
    flex: 1;
    background: var(--card-white);
    border-radius: 0.75rem;
    padding: 1.25rem 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 200px;
}

.role-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.role-card.fitch::before {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
}

.role-card.nvidia::before,
.role-card.preql::before {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.role-card.hearst::before {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.role-card.wai::before {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.role-company {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.company-logo {
    width: 85px;
    height: 85px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.role-card.fitch .company-logo {
    background: var(--card-white);
    border: 2px solid var(--border-gray);
}

.role-card.nvidia .company-logo,
.role-card.preql .company-logo,
.role-card.hearst .company-logo,
.role-card.wai .company-logo {
    background: var(--card-white);
    border: 2px solid var(--border-gray);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.company-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.15rem 0;
    line-height: 1.2;
}

.company-type {
    font-size: 0.65rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.role-details {
    flex: 1;
    text-align: center;
    width: 100%;
}

.role-details h5 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}


.role-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.skill-tag {
    background: var(--soft-blue);
    color: var(--primary-color);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.role-card.fitch .skill-tag {
    background: rgba(30, 64, 175, 0.1);
    color: #1e40af;
}

.role-card.nvidia .skill-tag,
.role-card.preql .skill-tag {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.role-card.hearst .skill-tag {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.role-card.wai .skill-tag {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

/* EDUCATION CARDS */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 3rem 0;
}

.education-card {
    background: var(--card-white);
    border-radius: 1rem;
    padding: 1rem;                 /* Reduced from 1.5rem */
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    text-align: left;
    margin: 0;
}

.education-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.education-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.education-icon i {
    font-size: 1.5rem;
    color: white;
}

.education-content {
    flex: 1;
    text-align: left;
    padding: 0 0 0 1rem;           /* Add left padding for breathing room */
    margin: 0;
    display: block;
    width: 100%;
    min-width: 0; /* Prevent flex item from growing beyond container */
}

.education-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
    padding: 0;
    line-height: 1.3;
    text-align: left;
    display: block;
}

.education-content h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    padding: 0;
    line-height: 1.2;
    text-align: left;
    display: block;
}

.education-school {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0 0 1rem 0;
    padding: 0;
    font-weight: 500;
    text-align: left;
    display: block;
}

.education-achievement {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
    margin: 0 0 0.75rem 0;
    padding: 0;
    text-align: left;
}

.achievement-badge {
    background: var(--soft-blue);
    color: var(--primary-color);
    padding: 0.5rem 1.2rem 0.5rem 0.6rem;
    border-radius: 16px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    line-height: 1;
    box-sizing: border-box;
    display: inline-block;
    text-align: center;
    min-width: fit-content;
}

.achievement-badge.honor {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    color: #92400e;
}

.achievement-badge.rank {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
}

.achievement-badge.gpa {
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
    color: #7c3aed;
}

.education-extra {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0.25rem 0 0 0;
    padding: 0;
    font-style: italic;
    line-height: 1.4;
    text-align: left;
    display: block;
}

/* Override any inherited text alignment for education cards */
.education-card,
.education-card * {
    text-align: left !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.education-content,
.education-content * {
    text-align: left !important;
    margin-left: 0 !important;
}

/* Exception for achievement badges - they need their own padding */
.education-card .achievement-badge {
    text-align: center !important;
    padding: 0.5rem 1.2rem 0.5rem 2rem !important;
    margin-left: 0 !important;
}

.education-card {
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

.education-mission {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 1rem;
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    text-align: center;
    color: var(--text-light);
}

/* ABOUT SECTION HEADINGS */
.about-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);       /* Dark for readability */
}

/* ABOUT PARAGRAPHS */
.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);      /* Readable gray */
    line-height: 1.7;              /* Generous line height */
    text-align: justify;           /* Clean edges */
}

/* HIGHLIGHT BOX - Featured quote or callout */
.highlight-box {
    background: var(--card-white); /* White background */
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;        /* Rounded corners */
    box-shadow: var(--shadow);     /* Depth with shadow */
    border-left: 4px solid var(--accent); /* Blue accent border */
    margin: 1rem 0;
    border: 1px solid var(--border-gray);
}

/* QUOTE TEXT WITHIN HIGHLIGHT BOX */
.highlight-box .quote {
    font-size: 1.05rem;            /* Slightly larger text */
    font-style: italic;            /* Italic for emphasis */
    color: var(--text-medium);     /* Medium gray */
    margin-bottom: 0;
    text-align: center;
}

/* QUOTE AUTHOR/ATTRIBUTION */
.highlight-box .author {
    font-size: 0.875rem;           /* Smaller attribution text */
    color: var(--text-lighter);    /* Light gray */
    font-weight: 500;
}

/* ABOUT STATISTICS GRID */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    gap: 1.5rem;                   /* Space between items */
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;            /* Center the grid */
}

/* INDIVIDUAL ABOUT STAT CARD */
.about-stat {
    background: var(--card-white); /* White background */
    padding: 1.5rem;
    border-radius: 1rem;           /* Rounded corners */
    box-shadow: var(--shadow-sm);  /* Subtle shadow */
    text-align: center;
    border: 1px solid var(--border-gray);
    transition: all 0.2s ease;     /* Smooth hover effects */
}

.about-stat:hover {
    transform: translateY(-2px);   /* Slight lift on hover */
    box-shadow: var(--shadow);     /* Enhanced shadow */
}

/* STAT NUMBER IN ABOUT SECTION */
.about-stat-number {
    font-size: 1.25rem;            /* Prominent number */
    font-weight: 700;
    color: var(--accent);          /* Blue accent color */
    margin-bottom: 0.25rem;
}

/* STAT LABEL IN ABOUT SECTION */
.about-stat-label {
    font-size: 0.75rem;            /* Small descriptive text */
    color: var(--text-lighter);    /* Light gray */
    text-transform: uppercase;     /* All caps */
    letter-spacing: 0.05em;        /* Spaced letters */
}

/* 
==============================================
PERSONAL LIFE GALLERY SECTION
==============================================
Photo gallery style personal interests showcase
*/
.personal-life {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%) !important;
    color: white;
    padding: 2rem 0;
}

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

.personal-life .section-title {
    color: white;
}

.personal-life .section-title::after {
    background: rgba(255, 255, 255, 0.5);
}

.personal-life .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

/* PERSONAL GALLERY CONTAINER */
.personal-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

/* GALLERY ROW - pairs two category cards side by side */
.gallery-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
}

/* GALLERY THEME SECTIONS */
.gallery-theme {
    background: var(--card-white);
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-gray);
}

/* THEME TITLE WITH ICON */
.theme-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
    color: var(--text-dark);
    padding-bottom: 0.375rem;
    border-bottom: 2px solid var(--soft-gray); /* Underline separator */
}

.theme-title i {
    font-size: 1rem;
    color: var(--accent);
}

/* INSTAGRAM HANDLE LINK */
.instagram-handle {
    font-size: 0.875rem;           /* Small font size */
    color: var(--text-light);      /* Light gray text */
    text-align: center;            /* Center the text */
    margin: 0.5rem 0 1rem 0;       /* Spacing above and below */
    font-style: italic;            /* Italicized text */
}

.instagram-handle a {
    color: var(--accent);          /* Blue accent for the handle */
    text-decoration: none;         /* No underline */
    font-weight: 500;              /* Slightly bolder */
}

.instagram-handle a:hover {
    color: var(--primary-color);   /* Darker blue on hover */
    text-decoration: underline;    /* Underline on hover */
}

/* PHOTO GRID LAYOUT */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.5rem;
}

/* INDIVIDUAL PHOTO ITEM */
.photo-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

/* PHOTO PLACEHOLDER - Actual images */
.photo-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
    border-radius: 0.4rem;
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
    background: var(--light-gray);
}

.photo-placeholder:hover {
    transform: translateY(-3px);   /* Slight lift on hover */
    box-shadow: var(--shadow);     /* Shadow on hover */
    border-color: var(--accent);   /* Blue border on hover */
}

/* PHOTO CAPTION TEXT */
.photo-caption {
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 0.15rem;
    padding: 0 0.2rem;
}

/* 
==============================================
EXPERTISE SECTION
==============================================
Skills and technical capabilities showcase
*/
.expertise {
    background: var(--warm-background) !important; /* Warm Off-White */
}

/* EXPERTISE TWO-COLUMN LAYOUT */
.expertise-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch; /* Make both columns equal height */
    max-width: 1200px;
    margin: 0 auto;
}

/* LEFT COLUMN: What I Cover */
.expertise-content {
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure full height */
}

.what-i-cover-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* EXPERTISE TOPICS LIST */
.expertise-topics {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* INDIVIDUAL TOPIC ITEM */
.expertise-topic-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(43, 58, 103, 0.1);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    cursor: default;
}

.expertise-topic-item:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(43, 58, 103, 0.2);
    box-shadow: 0 4px 12px rgba(43, 58, 103, 0.1);
    transform: translateY(-2px);
}

/* TOPIC CHECKMARK */
.topic-checkmark {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.expertise-topic-item:hover .topic-checkmark {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.topic-checkmark i {
    font-size: 0.875rem;
    color: white;
}

/* TOPIC CONTENT */
.topic-content {
    flex: 1;
    padding-top: 0.125rem;
}

.topic-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.expertise-topic-item:hover .topic-title {
    color: var(--primary);
}

.topic-description {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    transition: color 0.3s ease;
}

.expertise-topic-item:hover .topic-description {
    color: var(--text-dark);
}

/* RIGHT COLUMN: Speaking Image & Video Link */
.expertise-media {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%; /* Ensure full height */
    align-items: stretch; /* Stretch children to full height */
}

/* SPEAKING IMAGE CONTAINER */
.speaking-image-container {
    width: 100%;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(43, 58, 103, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1 1 0; /* Grow to fill available space, shrink if needed, base size 0 */
    min-height: 0; /* Allow flexbox to control height */
    max-height: 100%; /* Don't exceed container */
    display: flex; /* Make container flex to fill height */
}

.speaking-image-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(43, 58, 103, 0.25);
}

.speaking-featured-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center; /* Show top portion to keep face visible */
    transition: transform 0.3s ease;
}

.speaking-image-container:hover .speaking-featured-image {
    transform: scale(1.05);
}

/* WATCH TALKS SECTION */
.watch-talks-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.75rem;
    background: linear-gradient(135deg, rgba(43, 58, 103, 0.05) 0%, rgba(30, 42, 74, 0.08) 100%);
    border: 2px solid rgba(43, 58, 103, 0.15);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Don't shrink this section */
}

.watch-talks-section:hover {
    background: linear-gradient(135deg, rgba(43, 58, 103, 0.08) 0%, rgba(30, 42, 74, 0.12) 100%);
    border-color: rgba(43, 58, 103, 0.25);
    box-shadow: 0 4px 16px rgba(43, 58, 103, 0.1);
}

.watch-talks-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0.5rem;
    border: 1px solid rgba(43, 58, 103, 0.1);
    width: fit-content;
    margin: 0 auto;
}

.watch-talks-link:hover {
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary);
    gap: 1rem;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(43, 58, 103, 0.3);
}

.watch-talks-link i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.watch-talks-link:hover i {
    transform: translateX(4px);
}

.watch-talks-description {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-top: 0.25rem;
    font-style: italic;
}

/* RESPONSIVE EXPERTISE LAYOUT */
@media (max-width: 992px) {
    .expertise-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .expertise-media {
        order: -1; /* Image first on mobile */
    }
}

@media (max-width: 576px) {
    .expertise-topics {
        gap: 1rem;
    }
    
    .expertise-topic-item {
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .topic-checkmark {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }
    
    .what-i-cover-title {
        font-size: 1.1rem;
    }
    
    .topic-title {
        font-size: 1.15rem;
    }
    
    .topic-description {
        font-size: 0.9rem;
    }
    
    .speaking-image-container {
        min-height: 250px;
    }
    
    .watch-talks-section {
        padding: 1.5rem;
    }
    
    .watch-talks-link {
        font-size: 1rem;
        padding: 0.625rem 1rem;
    }
    
    .watch-talks-description {
        font-size: 0.875rem;
    }
}

/* 
==============================================
SPEAKING SECTION
==============================================
Conference talks and speaking engagements
*/
.speaking {
    background: var(--warm-background); /* Warm beige background */
}

/* YEARLY GROUPING OF SPEAKING EVENTS */
.year-section {
    margin-bottom: 3rem;           /* Space between year groups */
}

/* COLLAPSIBLE YEAR SECTIONS - Hidden by default */
.year-section-collapsible {
    display: none !important;
}

.year-section-collapsible.expanded {
    display: block !important;
}

/* Override when inline style is set */
.year-section-collapsible[style*="display: block"] {
    display: block !important;
}

/* YEAR HEADER WITH DECORATIVE LINE */
.year-header {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);         /* Navy color */
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* DECORATIVE LINE AFTER YEAR */
.year-header::after {
    content: '';
    flex: 1;                       /* Fill remaining space */
    height: 2px;
    background: linear-gradient(to right, var(--accent), transparent);
}

/* CLICKABLE YEAR HEADER */
.year-header-clickable {
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.year-header-clickable:hover {
    color: var(--accent);
}

.year-header-clickable::after {
    flex: 1;
    margin-right: 0.5rem;          /* Space before icon */
}

.year-header-clickable .year-toggle-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
    margin-left: 0;
    flex-shrink: 0;
}

.year-section-collapsible.expanded .year-header-clickable .year-toggle-icon {
    transform: rotate(180deg);
}

/* DECORATIVE LINE AFTER YEAR */
.year-header::after {
    content: '';
    flex: 1;                       /* Fill remaining space */
    height: 2px;
    background: linear-gradient(to right, var(--accent), transparent);
}

/* SPEAKING EVENTS GRID */
.speaking-grid {
    display: grid;
    /* auto-fill keeps columns capped at 360px so a lone visible card doesn't stretch full-width */
    grid-template-columns: repeat(auto-fill, minmax(280px, 360px));
    justify-content: start;
    gap: 1rem;
}

/* INDIVIDUAL SPEAKING EVENT CARD */
.speaking-card {
    background: var(--card-white); /* White background */
    border-radius: 1rem;           /* Rounded corners */
    overflow: hidden;              /* Hide overflow for clean edges */
    box-shadow: var(--shadow);     /* Depth with shadow */
    transition: all 0.2s ease;     /* Smooth hover effects */
    border: 1px solid var(--border-gray);
}

/* SPEAKING CARD HOVER EFFECT */
.speaking-card:hover {
    transform: translateY(-8px) scale(1.02);   /* Enhanced lift effect */
    box-shadow: var(--shadow-xl);  /* Extra large shadow */
    border-color: var(--accent);
}

/* Speaking card image hover effect */
.speaking-card:hover .speaking-images {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    transform: scale(1.05);
}

/* SPEAKING EVENT IMAGE/ICON AREA */
.speaking-images {
    height: 180px;                 /* Fixed height for consistency */
    background: var(--gradient);   /* Brand gradient background */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;             /* Large icon */
}

/* SPEAKING CARD CONTENT AREA */
.speaking-content {
    padding: 0 0.875rem 0.875rem;  /* More compact internal spacing */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.375rem;                  /* Tighter gap between elements */
}

/* SPEAKING EVENT TITLE */
.speaking-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    color: var(--text-dark);       /* Dark for readability */
    line-height: 1.25;
}

/* SPEAKING EVENT DESCRIPTION */
.speaking-description {
    font-size: 0.75rem;
    color: var(--text-light);      /* Readable gray */
    line-height: 1.35;            /* Tighter line spacing */
    margin-bottom: 0.375rem;
    text-align: left;
}

/* SPEAKING EVENT META INFO - Conference name and links */
.speaking-meta {
    display: flex;
    justify-content: space-between; /* Spread conference name and link */
    align-items: center;
    font-size: 0.75rem;            /* Small meta text */
    color: var(--text-lighter);    /* Light gray */
}

/* SPEAKING EVENT LINK */
.speaking-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.3rem 0.65rem;
    border: 1px solid var(--primary);
    border-radius: 0.35rem;
    transition: all 0.3s ease;
    margin-top: auto;              /* Push to bottom of card */
    margin-left: auto;              /* Align to the right */
    width: fit-content;
}

.speaking-link:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(43, 58, 103, 0.2);
}

.speaking-link i {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.speaking-link:hover i {
    transform: translateX(2px);
}

/* 
==============================================
ENHANCED SPEAKING SECTION
==============================================
Improved organization and aesthetics for speaking engagements
*/

/* Speaking Stats */
.speaking-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0 1rem;
    flex-wrap: wrap;
}

.speaking-stat {
    text-align: center;
    padding: 1rem;
}

/* SPEAKING GALLERY - Visual Event Highlights */
.speaking-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 0.5rem;
    margin-bottom: 3rem;
    padding: 0;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.speaking-gallery-item {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--light-gray);
    box-shadow: 0 4px 16px rgba(43, 58, 103, 0.1);
    transition: all 0.3s ease;
}

.speaking-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(43, 58, 103, 0.2);
}

.speaking-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.speaking-gallery-item:hover img {
    transform: scale(1.03) translateZ(0);
}

.speaking-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.speaking-gallery-item:hover .speaking-gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.speaking-gallery-overlay h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.speaking-gallery-overlay p {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Placeholder style for missing images */
.speaking-gallery-item img[src*="speaking/"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.speaking-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.speaking-stat .stat-label {
    font-size: 0.875rem;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

.speaking-youtube-link {
    text-align: center;
    margin: 0rem 0 0rem;
}

.speaking-youtube-link .youtube-link-text {
    font-size: 0.9rem;
    color: var(--accent);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.speaking-youtube-link .youtube-link-text:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

/* Year Navigation */
.year-navigation {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.year-nav-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-gray);
    background: var(--card-white);
    color: var(--text-light);
    border-radius: 2rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.year-nav-btn:hover,
.year-nav-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Speaking: host org type filter (below year nav) */
.org-type-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin: -2rem auto 2.5rem;
    flex-wrap: wrap;
    max-width: 1100px;
    padding: 0 0.5rem;
}

.org-type-nav-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    width: 100%;
    text-align: center;
    margin-bottom: 0.15rem;
}

.org-nav-btn {
    padding: 0.45rem 0.85rem;
    border: 2px solid var(--border-gray);
    background: var(--card-white);
    color: var(--text-light);
    border-radius: 1.25rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.org-nav-btn:hover,
.org-nav-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.speaking-org-type {
    color: var(--text-light);
    font-weight: 500;
}

.speaking-card-compact.speaking-card-filtered-out {
    display: none !important;
}

.speaking-grid-empty-msg {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 1rem 0.5rem;
    margin: 0;
}

.speaking-grid-empty-msg[hidden] {
    display: none !important;
}

body:has(.theme-toggle-checkbox:checked) .org-nav-btn {
    background: #374151;
    border-color: #4b5563;
    color: #d1d5db;
}

body:has(.theme-toggle-checkbox:checked) .org-nav-btn:hover,
body:has(.theme-toggle-checkbox:checked) .org-nav-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

body:has(.theme-toggle-checkbox:checked) .speaking-org-type {
    color: #9ca3af;
}

/* Compact Speaking Card */
.speaking-card-compact {
    background: var(--card-white);
    border-radius: 0.75rem;
    padding: 0;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
    margin-bottom: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.speaking-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

/* SPEAKING CARD IMAGE AREA */
.speaking-image-large {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, rgba(43, 58, 103, 0.05) 0%, rgba(30, 42, 74, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    min-height: 180px;
}

.speaking-card-compact:hover .speaking-image-large {
    height: 200px;
}

.speaking-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    object-position: center;
    display: block;
    min-width: 100%;
    min-height: 100%;
}

.speaking-card-compact:hover .speaking-image-large img {
    transform: scale(1.05);
}

.speaking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0.875rem;
    border-bottom: 1px solid var(--border-gray);
}

.speaking-date-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.speaking-date {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    background: var(--gradient);
    color: white;
    padding: 0.4rem 0.65rem;
    border-radius: 0.4rem;
    min-width: 55px;
    justify-content: center;
}

.speaking-date .month {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.speaking-date .year {
    font-size: 0.8rem;
    font-weight: 700;
}

.speaking-type {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: #dde3ef;
    padding: 0.35rem 0.65rem;
    border-radius: 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
}

.speaking-type i {
    color: var(--accent);
}

.speaking-upcoming-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--accent);
    background: rgba(99, 102, 241, 0.12);
    padding: 0.25rem 0.5rem;
    border-radius: 0.35rem;
    border: 1px solid rgba(99, 102, 241, 0.35);
}

body:has(.theme-toggle-checkbox:checked) .speaking-upcoming-badge {
    color: #93c5fd;
    background: rgba(96, 165, 250, 0.12);
    border-color: rgba(96, 165, 250, 0.35);
}

.speaking-venue {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.speaking-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-link.primary {
    background: var(--accent);
    color: white;
}

.btn-link.primary:hover {
    background: var(--primary);
    transform: translateY(-1px);
}

.btn-link.secondary {
    background: var(--light-gray);
    color: var(--text-light);
    border: 1px solid var(--border-gray);
}

.btn-link.secondary:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* 
==============================================
ADVISORY SECTION
==============================================
Advisory roles, mentorship, and organizational involvement
*/
.advisory {
    background: var(--soft-beige) !important; /* Soft Beige */
}

/* MEDIA SECTION */
#media {
    background: var(--soft-beige) !important; /* Soft Beige */
}

/* JUDGING SECTION */
.judging {
    background: var(--warm-background) !important; /* Warm Off-White */
}

/* PUBLICATIONS SECTION */
#publications {
    background: var(--soft-beige) !important; /* Soft Beige */
}

/* PUBLICATIONS GRID LAYOUT */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* PUBLICATION CARD */
.publication-card {
    background: var(--card-white);
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(43, 58, 103, 0.08);
    border: 1px solid rgba(43, 58, 103, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.publication-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(43, 58, 103, 0.12);
    border-color: var(--primary-blue);
}

.publication-year {
    background: var(--gradient);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    width: fit-content;
    margin-bottom: 0.25rem;
}

.publication-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

.publication-description {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

.publication-card .speaking-actions {
    margin-top: 0.5rem;
    gap: 0.75rem;
}

.publication-card .btn-link {
    font-size: 0.8rem;
    padding: 0.4rem 0.9rem;
}

/* PODCAST SECTION */
.podcast {
    background: linear-gradient(135deg, rgba(43, 58, 103, 0.02) 0%, rgba(30, 42, 74, 0.04) 100%);
}

.podcast-announcement {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem;
    background: var(--card-white);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(43, 58, 103, 0.1);
    border: 1px solid rgba(43, 58, 103, 0.1);
}

.podcast-image-container {
    width: 100%;
    max-width: 600px;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(43, 58, 103, 0.15);
}

.podcast-teaser-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.podcast-announcement-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.podcast-coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient);
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    width: fit-content;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(43, 58, 103, 0.2);
}

.podcast-coming-soon-badge i {
    font-size: 1rem;
}

.podcast-announcement-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

.podcast-announcement-text {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
    opacity: 0.9;
}

.podcast-announcement-subtext {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    opacity: 0.75;
    font-style: italic;
}

/* Responsive adjustments for podcast section */
@media (max-width: 768px) {
    .podcast-announcement {
        padding: 2rem 1.5rem;
        gap: 2rem;
    }
    
    .podcast-announcement-title {
        font-size: 1.5rem;
    }
    
    .podcast-announcement-text {
        font-size: 1rem;
    }
    
    .podcast-announcement-subtext {
        font-size: 0.9rem;
    }
    
    .podcast-coming-soon-badge {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

/* ADVISORY CONTENT CONTAINER */
.advisory-container {
    display: grid;
    gap: 4rem;                     /* Increased space between sections */
}

/* ADVISORY ROLES GRID LAYOUT */
.advisory-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Always 3 columns */
    gap: 2rem;                     /* Increased space between cards */
    align-items: stretch;          /* Equal height cards */
}

/* 4 COLUMN LAYOUT FOR TECHNICAL REVIEWER SECTION */
.advisory-row-4 {
    grid-template-columns: repeat(4, 1fr); /* 4 columns for technical reviewer */
}

/* INDIVIDUAL ADVISORY CARD */
.advisory-card {
    background: var(--card-white); /* White background */
    border-radius: 1rem;           /* Rounded corners */
    padding: 0;                     /* Remove padding - handled by content */
    max-width: 100%;               /* Don't stretch beyond column */
    box-shadow: 0 4px 16px rgba(43, 58, 103, 0.1);
    border: 1px solid rgba(43, 58, 103, 0.1);
    transition: all 0.3s ease;     /* Smooth hover effects */
    position: relative;
    overflow: hidden;              /* Hide decorative overflow */
    display: flex;
    flex-direction: column;
    height: 100%;                  /* Equal height cards */
}

/* ADVISORY CARD TOP ACCENT LINE */
.advisory-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;                   /* Thin accent line */
    background: var(--gradient);   /* Brand gradient */
}

/* ADVISORY CARD HOVER EFFECT */
.advisory-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(43, 58, 103, 0.2);
    border-color: rgba(43, 58, 103, 0.2);
}

/* LARGE IMAGE AT TOP OF CARD */
.advisory-image-large {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, rgba(43, 58, 103, 0.05) 0%, rgba(30, 42, 74, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.advisory-card:hover .advisory-image-large {
    height: 300px;
}

.advisory-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    transition: transform 0.3s ease;
    object-position: center;
}

/* Images that need to show fully without cropping */
.advisory-image-contain {
    object-fit: contain !important;
    padding: 0.2rem !important;
}

.advisory-card:hover .advisory-image-large img {
    transform: scale(1.05);
}

/* NVIDIA BADGE SPECIFIC STYLING */
.advisory-badge-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.75rem;
    object-position: center;
}

/* ICON PLACEHOLDER FOR CARDS WITHOUT LOGOS */
.advisory-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.advisory-icon-placeholder i {
    font-size: 4rem;
    color: white;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.advisory-card:hover .advisory-icon-placeholder i {
    transform: scale(1.1);
}

/* ADVISORY CONTENT WRAPPER */
.advisory-content {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.75rem;
    text-align: center;
    align-items: center;
}

/* ADVISORY TEXT INFORMATION */
.advisory-info {
    margin-bottom: 0.25rem;
    width: 100%;
    text-align: center;
}

/* ADVISORY ROLE TITLE */
.advisory-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    transition: color 0.3s ease;
    text-align: center;
}

.advisory-card:hover .advisory-title {
    color: var(--primary);
}

/* ADVISORY ORGANIZATION NAME */
.advisory-organization {
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center !important;
}

/* ADVISORY ROLE BADGE */
.advisory-role {
    display: inline-block;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.15) 100%);
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;           /* Pill shape */
    font-size: 0.7rem;             /* Slightly smaller for longer text */
    font-weight: 600;
    text-transform: uppercase;     /* All caps */
    letter-spacing: 0.03em;        /* Slightly tighter spacing */
    line-height: 1.4;              /* Better line height for wrapping */
    max-width: 100%;               /* Allow wrapping */
    white-space: normal;           /* Allow text wrapping */
    text-align: center;
}

/* ADVISORY ROLE DESCRIPTION */
.advisory-description {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.9rem;
    flex: 1;                        /* Push link to bottom */
    transition: color 0.3s ease;
    text-align: justify;
    text-align-last: left;
}

.advisory-card:hover .advisory-description {
    color: var(--text-dark);
}

/* ADVISORY LINK - See More button */
.advisory-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.625rem 1.25rem;
    border: 1.5px solid var(--primary);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-end;
    width: fit-content;
    margin-left: auto;
}

.advisory-link:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(43, 58, 103, 0.2);
}

.advisory-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.advisory-link:hover i {
    transform: translateX(2px);
}

/* ADVISORY ACTION LINKS */
.advisory-links {
    display: flex;
    gap: 0.75rem;                  /* Space between links */
    flex-wrap: wrap;               /* Wrap on small screens */
}

/* INDIVIDUAL ADVISORY LINK */
.advisory-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;                   /* Space between icon and text */
    padding: 0.5rem 1rem;
    background: var(--light-gray); /* Light background */
    color: var(--primary);         /* Navy text */
    text-decoration: none;
    border-radius: 0.5rem;         /* Rounded corners */
    font-size: 0.75rem;            /* Small text */
    font-weight: 600;
    transition: all 0.2s ease;     /* Smooth hover effects */
    border: 1px solid var(--border-gray);
}

/* ADVISORY LINK HOVER EFFECT */
.advisory-link:hover {
    background: var(--accent);     /* Blue background on hover */
    color: white;                  /* White text on hover */
    transform: translateY(-1px);   /* Slight lift */
    box-shadow: var(--shadow-sm);  /* Subtle shadow */
}

.advisory-link i {
    font-size: 0.75rem;            /* Small icons */
}

/* 
==============================================
SECTION DIVIDERS
==============================================
Decorative headers for sub-sections within main sections
*/
.section-divider {
    text-align: center;
    margin: 2rem 0;                /* Vertical spacing */
}

/* SECTION DIVIDER TITLE */
.section-divider h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);         /* Navy color */
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

/* DECORATIVE UNDERLINE FOR DIVIDER */
.section-divider h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;               /* Position below text */
    left: 50%;
    transform: translateX(-50%);   /* Center the line */
    width: 60px;                   /* Fixed width */
    height: 2px;
    background: var(--gradient);   /* Brand gradient */
}

/* 
==============================================
BLOG SECTION
==============================================
Blog posts and publications showcase
*/
.blogs {
    background: var(--warm-background); /* Warm beige background */
}

/* BLOG POSTS GRID LAYOUT */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Responsive grid */
    gap: 2rem;                     /* Space between cards */
}

/* INDIVIDUAL BLOG POST CARD */
.blog-card {
    background: var(--card-white); /* White background */
    border-radius: 1rem;           /* Rounded corners */
    overflow: hidden;              /* Hide overflow for clean edges */
    box-shadow: var(--shadow);     /* Depth with shadow */
    transition: all 0.2s ease;     /* Smooth hover effects */
    border: 1px solid var(--border-gray);
}

/* BLOG CARD HOVER EFFECT */
.blog-card:hover {
    transform: translateY(-8px) scale(1.02);   /* Enhanced lift effect */
    box-shadow: var(--shadow-xl);  /* Extra large shadow */
    border-color: var(--accent);
}

/* Blog card image hover effect */
.blog-card:hover .blog-image {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    transform: scale(1.05);
}

/* BLOG POST IMAGE/ICON AREA */
.blog-image {
    height: 160px;                 /* Fixed height for consistency */
    background: var(--gradient-accent); /* Blue gradient background */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;               /* Large icon */
}

/* BLOG CARD CONTENT AREA */
.blog-content {
    padding: 1.5rem;               /* Internal spacing */
}

/* BLOG POST CATEGORY BADGE */
.blog-category {
    background: var(--accent-lighter); /* Light blue background */
    color: var(--primary-dark);    /* Dark navy text */
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;           /* Pill shape */
    font-size: 0.75rem;            /* Small text */
    font-weight: 600;
    text-transform: uppercase;     /* All caps */
    letter-spacing: 0.05em;        /* Spaced letters */
    display: inline-block;
    margin-bottom: 1rem;
}

/* BLOG POST TITLE */
.blog-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);       /* Dark for readability */
}

/* BLOG POST EXCERPT */
.blog-excerpt {
    font-size: 0.875rem;
    color: var(--text-light);      /* Readable gray */
    line-height: 1.6;              /* Comfortable spacing */
    margin-bottom: 1rem;
    text-align: justify;           /* Clean edges */
}

/* BLOG POST META INFO - Publication and read link */
.blog-meta {
    display: flex;
    justify-content: space-between; /* Spread publication and link */
    align-items: center;
    font-size: 0.75rem;            /* Small meta text */
    color: var(--text-lighter);    /* Light gray */
}

/* 
==============================================
TESTIMONIALS SECTION
==============================================
Social proof carousel with quotes
*/
.testimonials {
    background: var(--warm-background) !important; /* Warm Off-White */
    color: var(--text-dark);
}

.testimonials .section-title {
    color: var(--text-dark);
}

.testimonials .section-title::after {
    background: var(--gradient);
}

.testimonials .section-subtitle {
    color: var(--text-light);
}

/* TESTIMONIALS CAROUSEL */
.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

/* TESTIMONIAL CARD */
.testimonial-card {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 0;
    animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
    display: flex;
}

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

.testimonial-content {
    position: relative;
}

.testimonial-intro {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-blue);
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* TESTIMONIAL DIVIDER */
.testimonial-divider {
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
    margin: 1rem 0;
}

/* TESTIMONIAL AUTHOR */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.15rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* NAVIGATION DOTS */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-dot:hover {
    background: #bbb;
    border-color: var(--primary-blue);
}

.testimonial-dot:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.testimonial-dot.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: scale(1.2);
}

/* RESPONSIVE */
@media (max-width: 576px) {
    .testimonial-card {
        min-width: 280px;
        padding: 1.5rem;
    }
}

/* 
==============================================
MEDIA & FEATURES SECTION
==============================================
Logo wall and feature cards for media appearances
*/

/* MEDIA LOGO SECTION */
.media-logo-section {
    text-align: center;
    margin-bottom: 3rem;
}

.media-logo-title {
    font-size: 1.1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-weight: 500;
}

.media-logo-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: -1.25rem 0 1.75rem;
}

/* FEATURED MEDIA ROW - hero video cards */
.media-featured-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto 1.5rem;
}

.media-featured-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--card-white);
    border-radius: 0.6rem;
    overflow: hidden;
    border: 1px solid var(--border-gray);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-featured-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

div.media-featured-card:hover {
    transform: none;
    box-shadow: none;
}

div.media-featured-card a:hover {
    opacity: 0.95;
}

.media-featured-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f172a;
}

.media-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.media-featured-info {
    padding: 0.6rem 0.75rem 0.7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.media-featured-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.media-featured-ctas {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

.media-cta-pill {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: var(--primary-blue);
    color: #fff;
    white-space: nowrap;
}

.media-cta-pill.media-cta-secondary {
    background: transparent;
    border: 1px solid var(--border-gray);
    color: var(--text-light);
}

a.media-cta-pill {
    display: inline-block;
    text-decoration: none !important;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

a.media-cta-pill:hover,
a.media-cta-pill:visited,
a.media-cta-pill:active,
a.media-cta-pill:focus {
    text-decoration: none !important;
    opacity: 0.9;
    transform: scale(1.05);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* LOGO BAND - compact strip for other media mentions */
.media-logo-band {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.media-logo-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    background: var(--card-white);
    border: 1px solid var(--border-gray);
    border-radius: 999px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.media-logo-chip:hover {
    background: var(--soft-beige);
    border-color: var(--primary-blue);
}

.media-logo-chip img {
    height: 22px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
}

.media-logo-chip:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 600px) {
    .media-featured-row {
        grid-template-columns: 1fr;
    }
    .media-featured-info {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* MEDIA LOGO GRID */
.media-logo-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* INDIVIDUAL MEDIA LOGO */
.media-logo-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.75rem 1.9rem;
    background: var(--card-white);
    border-radius: 0.75rem;
    border: 1px solid var(--border-gray);
    min-width: 260px;
    min-height: 190px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.media-logo-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.media-logo-item img {
    height: 70px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.media-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Layout for tiles that use YouTube thumbnails */
.media-logo-item[data-youtube-id] img {
    height: 120px;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
    filter: none;
    opacity: 1;
}

.media-logo-item[data-youtube-id] .media-logo-label {
    margin-top: 0.6rem;
}

.media-logo-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
}

/* Inner wrapper for flip/overlay effect */
.media-logo-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.media-logo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.92);
    color: #f9fafb;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.media-logo-overlay i {
    font-size: 0.8rem;
}

/* CTA row at bottom of each media tile */
.media-logo-cta-row {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.media-logo-cta {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--border-gray);
    background: #f9fafb;
    color: var(--text-light);
}

.media-logo-cta-primary {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.media-logo-item:hover .media-logo-cta-primary {
    background: var(--primary-blue);
    color: #ffffff;
}

.media-logo-item:hover .media-logo-overlay {
    opacity: 1;
    transform: translateY(0);
}

.media-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* MEDIA FEATURES GRID */
.media-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

/* MEDIA FEATURE CARD */
.media-feature-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-white);
    border-radius: 0.75rem;
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.media-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.media-feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-feature-icon i {
    font-size: 1.25rem;
    color: white;
}

.media-feature-content h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.media-feature-type {
    font-size: 0.8rem;
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.media-feature-content p:last-child {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* RESPONSIVE MEDIA GRID */
@media (max-width: 992px) {
    .media-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .media-features-grid {
        grid-template-columns: 1fr;
    }
    
    .media-logo-grid {
        gap: 1rem;
    }
    
    .media-logo-item {
        min-width: 120px;
        padding: 1rem;
    }
    
    /* Speaking gallery mobile */
    .speaking-gallery {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 100%;
    }
    
    .speaking-gallery-item {
        height: 280px;
    }
}

/* 
==============================================
ACHIEVEMENTS SECTION
==============================================
Awards and recognition timeline
*/
.achievements {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%) !important;
    color: white;
}

.achievements .section-title {
    color: white;
}

.achievements .section-title::after {
    background: rgba(255, 255, 255, 0.5);
}

.achievements .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

/* AWARDS LAYOUT WRAPPER */
.awards-layout {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
}

/* FEATURED AWARDS ROW */
.awards-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.award-featured-card {
    position: relative;
    background: rgba(15, 23, 42, 0.96);
    border-radius: 1.25rem;
    padding: 0;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.85);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.award-featured-card::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.25), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}

.award-featured-card > * {
    position: relative;
    z-index: 1;
}

.award-featured-media {
    position: relative;
    width: 100%;
    /* Slightly taller image area for featured awards */
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.award-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fine-tune AI100 image crop so face and torso are centered with less head cut-off */
.award-media-ai100 {
    object-position: 50% 30%;
}

/* Keep Women in AI framing similar but aligned with same image height */
.award-media-wai {
    object-position: center center;
}

/* Ensure both featured cards use the same image height,
   but allow the Women in AI banner to sit with padding and not be cropped */
.award-featured-media-wai {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    box-sizing: border-box;
}

.award-featured-media-wai img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.award-featured-body {
    padding: 1.6rem 1.8rem 1.4rem;
}

/* Give the Women in AI card a bit more breathing room for text and CTA */
.award-featured-body-wai {
    padding-bottom: 1.8rem;
}

.award-featured-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
}

.award-year-chip {
    background: rgba(37, 99, 235, 0.98);
    color: #f9fafb;
    border-radius: 999px;
    padding: 0.25rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.award-tag {
    font-size: 0.8rem;
    color: #e5e7eb;
    opacity: 0.9;
}

.award-featured-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f9fafb;
    margin-bottom: 0.6rem;
}

.award-featured-text {
    font-size: 0.98rem;
    color: #e5e7eb;
    line-height: 1.7;
}

.award-actions {
    margin-top: 1.3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.award-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    border-radius: 0.9rem;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
}

.award-video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* SECONDARY AWARDS GRID */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.award-card {
    background: rgba(15, 23, 42, 0.94);
    border-radius: 1rem;
    padding: 0;
    border: 1px solid rgba(226, 232, 240, 0.75);
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.9);
}

.award-card-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.award-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.award-card-body {
    padding: 1.15rem 1.25rem 1rem;
}

.award-card-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 0.6rem;
}

.award-year-pill {
    background: rgba(37, 99, 235, 0.98);
    color: #f9fafb;
    border-radius: 999px;
    padding: 0.2rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.award-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 0.4rem;
}

.award-card-text {
    font-size: 0.9rem;
    color: #e5e7eb;
    line-height: 1.6;
}

.award-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.7rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: #bfdbfe;
    text-decoration: none;
}

.award-link i {
    font-size: 0.8rem;
}

.award-link:hover {
    color: #e0f2fe;
    text-decoration: underline;
}

/* Hover emphasis for award cards */
.award-featured-card:hover,
.award-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 1);
    border-color: rgba(239, 246, 255, 0.95);
}

/* Responsive tweaks for awards section */
@media (max-width: 768px) {
    .awards-layout {
        gap: 2.25rem;
    }

    .award-featured-title {
        font-size: 1.25rem;
    }
}

/* TIMELINE CONTAINER */
.timeline {
    position: relative;
    max-width: 800px;              /* Readable content width */
    margin: 0 auto;                /* Center the timeline */
}

/* TIMELINE VERTICAL LINE */
.timeline::before {
    content: '';
    position: absolute;
    left: 2rem;                    /* Position from left edge */
    top: 0;
    bottom: 0;
    width: 2px;                    /* Thin line */
    background: var(--gradient);   /* Brand gradient */
}

/* INDIVIDUAL TIMELINE ITEM */
.timeline-item {
    position: relative;
    margin-bottom: 3rem;           /* Space between items */
    padding-left: 5rem;            /* Space for timeline elements */
}

/* TIMELINE ITEM DOT */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 1.5rem;                  /* Position on timeline */
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: var(--accent);     /* Blue dot */
    border-radius: 50%;            /* Circular dot */
    border: 3px solid var(--text-dark); /* Dark border */
}

/* TIMELINE YEAR BADGE */
.timeline-year {
    background: var(--gradient);   /* Brand gradient background */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;           /* Pill shape */
    font-size: 0.875rem;           /* Small text */
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

/* TIMELINE ITEM TITLE */
.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);       /* Dark text for visibility (light sections) */
}

/* TIMELINE ITEM DESCRIPTION */
.timeline-content p {
    color: var(--text-light);      /* Readable gray text (light sections) */
    line-height: 1.6;              /* Comfortable spacing */
    text-align: justify;           /* Clean edges */
}

/* ACHIEVEMENTS TIMELINE CARD STYLING (better contrast on dark background) */
.achievements .timeline-content {
    background: rgba(15, 23, 42, 0.78);
    border-radius: 0.9rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.75);
    backdrop-filter: blur(10px);
}

.achievements .timeline-content h3 {
    color: #f9fafb;
}

.achievements .timeline-content p {
    color: #e5e7eb;
}

/* 
==============================================
CONTACT SECTION
==============================================
Contact form and contact information
*/
.contact {
    background: var(--soft-beige) !important; /* Soft Beige */
}

/* CONTACT CONTENT LAYOUT - Two column grid */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Equal width columns */
    gap: 4rem;                     /* Large gap between columns */
    align-items: start;            /* Align to top */
}

/* CONTACT INFO INTRO */
.contact-intro {
    margin-bottom: 2rem;
}

.contact-intro h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-intro p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* QUICK CONTACT GRID */
.contact-quick-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-quick-item {
    background: var(--card-white);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-gray);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
}

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

.contact-quick-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-quick-icon i {
    font-size: 1.25rem;
    color: white;
}

.contact-quick-content {
    text-align: center;
}

.contact-quick-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-quick-content p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.contact-quick-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.contact-quick-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* CONTACT STATS */
.contact-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--card-white);
    border-radius: 1rem;
    border: 1px solid var(--border-gray);
    box-shadow: var(--shadow-sm);
}

.contact-stat {
    text-align: center;
}

.contact-stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.contact-stat-label {
    font-size: 0.75rem;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* CONTACT SOCIAL */
.contact-social {
    text-align: center;
    margin: 3rem 0;
}

.contact-social h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
}

.contact-social .social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* 
==============================================
CONTACT FORM
==============================================
Contact form styling and input elements
*/
.contact-form {
    background: var(--card-white); /* White background */
    padding: 2rem;
    border-radius: 1rem;           /* Rounded corners */
    box-shadow: var(--shadow);     /* Depth with shadow */
    border: 1px solid var(--border-gray);
    height: fit-content;           /* Don't stretch unnecessarily */
}

/* CONTACT FORM HEADER */
.contact-form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-form-header p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* FORM ROW - Side by side inputs */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* FULL WIDTH BUTTON */
.btn-full {
    width: 100%;
    justify-content: center;
}

/* FORM GROUP - Individual form field container */
.form-group {
    margin-bottom: 1.5rem;         /* Space between form fields */
}

/* FORM LABELS */
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);       /* Dark for readability */
    font-size: 0.875rem;           /* Slightly smaller than body text */
}

/* FORM INPUTS - Text, email, select, textarea */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;                   /* Full width of container */
    padding: 0.75rem;
    border: 2px solid var(--border-gray); /* Light gray border */
    border-radius: 0.5rem;         /* Rounded corners */
    font-size: 0.875rem;
    color: var(--text-medium);     /* Dark text */
    background: var(--card-white); /* White background */
    transition: border-color 0.2s ease; /* Smooth border transitions */
}

/* FORM INPUT FOCUS STATE */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;                 /* Remove default browser outline */
    border-color: var(--accent);   /* Blue border on focus */
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1); /* Blue glow effect */
}

/* TEXTAREA SPECIFIC STYLING */
.form-group textarea {
    min-height: 120px;             /* Minimum height for message area */
    resize: vertical;              /* Allow vertical resize only */
}

/* FORM SUBMIT BUTTON */
.form-group button {
    width: 100%;                   /* Full width button */
    margin-top: 0.5rem;
}

/* FORM SUCCESS MESSAGE */
.form-success-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #10b981;
    color: white;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-success-message i {
    font-size: 1.25rem;
}

/* IMAGE TAGLINE SUBTITLE */
.tagline {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.2;
    margin-top: 0px;
  }

/* 
==============================================
FOOTER
==============================================
Site footer with copyright information
*/
.footer {
    background: var(--text-dark);  /* Dark background */
    color: var(--gray-400);        /* Light gray text */
    text-align: center;
    padding: 2rem 0;               /* Vertical padding */
    border-top: 1px solid var(--gray-800); /* Subtle top border */
}

.footer p {
    font-size: 0.875rem;           /* Smaller footer text */
    margin: 0;                     /* No margin */
}

/* 
==============================================
RESPONSIVE DESIGN
==============================================
Media queries for different screen sizes
*/

/* TABLET LANDSCAPE - 1024px and below */
@media (max-width: 1024px) {
    /* Add more space below navigation on tablets */
    .hero {
        padding: 8rem 0 4rem;        /* More space below navigation */
    }
    
    /* Hero section becomes single column */
    .hero-content {
        grid-template-columns: 1fr;  /* Single column layout */
        gap: 3rem;                   /* Reduced gap */
        text-align: center;          /* Center align content */
    }
    
    /* Smaller hero profile card */
    .hero-image {
        width: 400px;
        height: 480px;
    }
    
    /* Contact section becomes single column */
    .contact-content {
        grid-template-columns: 1fr;  /* Single column layout */
        gap: 3rem;                   /* Reduced gap */
    }
    
    .contact-quick-grid {
        grid-template-columns: 1fr;  /* Single column on mobile */
        gap: 1rem;
    }
    
    .contact-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;  /* Stack form inputs on mobile */
        gap: 0;
    }
    
    /* About stats become 2 columns instead of 4 */
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Hide navigation links, show mobile menu */
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;              /* Show hamburger menu */
    }
    
    /* Mobile navigation active state */
    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 75px;                   /* A bit more space below navbar */
        left: 0;
        width: 100%;
        background: var(--card-white);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        padding: 1.5rem 0;           /* More padding for better spacing */
        z-index: 1000;
    }
    
    .nav-links.active li {
        margin: 0;
        text-align: center;
        border-bottom: 1px solid var(--border-gray);
    }
    
    .nav-links.active li:last-child {
        border-bottom: none;
    }
    
    .nav-links.active .nav-link {
        display: block;
        padding: 1.25rem 2rem;      /* More vertical padding */
        color: var(--text-dark);
        font-size: 1.1rem;
        transition: all 0.3s ease;
    }
    
    .nav-links.active .nav-link:hover {
        background: var(--soft-gray);
    }
}

/* TABLET PORTRAIT - 768px and below */
@media (max-width: 768px) {
    /* Advisory row responsive */
    .advisory-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Hero banner responsive */
    .hero-banner {
        padding: 8rem 1.5rem 3rem;
    }
    
    .hero-banner-name {
        font-size: 3rem;
        letter-spacing: 0.05em;
        margin-bottom: 1rem;
    }
    
    .hero-banner-tagline {
        font-size: 0.9rem;
        letter-spacing: 0.08em;
        margin-bottom: 0.75rem;
        white-space: normal;
        text-align: center;
        padding: 0 1rem;
        line-height: 1.5;
    }
    
    /* Show mobile breaks on tablet and below */
    .hero-banner-tagline .mobile-break,
    .hero-banner-tagline .mobile-break-2 {
        display: block;
    }
    
    /* Theme toggle in nav on tablet */
    .nav-theme-toggle {
        position: static !important;
        width: 26px !important;
        height: 26px !important;
        margin-left: 0.75rem;
    }
    
    .nav-theme-toggle .theme-toggle-button {
        width: 26px;
        height: 26px;
        border-width: 2px;
    }
    
    .nav-theme-toggle .moon-icon,
    .nav-theme-toggle .sun-icon {
        font-size: 0.75rem;
    }
    
    /* Hide fixed theme toggle on tablet */
    .theme-toggle-label:not(.nav-theme-toggle) {
        display: none;
    }
    
    /* Theme toggle in nav on tablet */
    .nav-theme-toggle {
        position: static !important;
        width: 26px !important;
        height: 26px !important;
        margin-left: 0.75rem;
    }
    
    .nav-theme-toggle .theme-toggle-button {
        width: 26px;
        height: 26px;
        border-width: 2px;
    }
    
    .nav-theme-toggle .moon-icon,
    .nav-theme-toggle .sun-icon {
        font-size: 0.75rem;
    }
    
    /* Hide fixed theme toggle on tablet */
    .theme-toggle-label:not(.nav-theme-toggle) {
        display: none;
    }
    
    .hero-banner-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .hero-photo-gallery {
        flex-wrap: nowrap;
        gap: 0.75rem;
        margin: 2rem auto;
        padding: 0 1rem;
    }
    
    .gallery-item {
        flex: 1 1 0;
        max-width: none;
        height: 180px;
    }
    
    .gallery-placeholder i {
        font-size: 2.5rem;
    }
    
    .gallery-placeholder span {
        font-size: 0.9rem;
    }
    
    .hero-banner-description {
        font-size: 1rem;
        padding: 0 1rem;
        margin: 1.5rem auto;
    }
    
    .hero-banner-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin: 1.5rem 0 1rem;
    }
    
    .btn-banner {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .social-link-banner {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
    
    /* Hide scroll indicator on mobile */
    .scroll-indicator {
        display: none;
    }
    
    /* Smaller night toggle on mobile */
    .theme-toggle-label {
        width: 30px;
        height: 30px;
        right: 15px;
    }
    
    .moon-icon,
    .sun-icon {
        font-size: 0.875rem;
    }
    
    /* Smaller hero profile card */
    .hero-image {
        width: 350px;
        height: 500px;              /* Increased height to prevent cutting */
    }
    
    .hero-card {
        padding: 2rem 2.5rem;       /* Less top/bottom padding, maintain horizontal */
    }
    
    /* Smaller profile image */
    .profile-image {
        width: 160px;
        height: 160px;
        font-size: 3.5rem;          /* Smaller placeholder text */
    }
    
    /* Adjust hero card text sizes */
    .hero-card h2 {
        font-size: 1.75rem;         /* Smaller name text */
    }
    
    .hero-card .subtitle {
        font-size: 1rem;            /* Smaller subtitle */
    }
    
    /* Smaller social icons */
    .social-link {
        width: 3rem;
        height: 3rem;
        font-size: 1.125rem;
    }
    
    /* Hero CTA buttons responsive */
    .hero-cta-right {
        flex-direction: column;        /* Stack vertically on mobile */
        gap: 1rem;                    /* More space between buttons */
        margin-top: 2rem;             /* More spacing from card */
        margin-bottom: 2rem;          /* Space below buttons */
        width: 100%;                  /* Full width */
        display: flex !important;     /* Ensure visibility on mobile */
        align-items: center;
        padding: 0 1rem;              /* Side padding */
    }
    
    .hero-cta-right .btn {
        font-size: 0.9rem;            /* Larger font on mobile */
        padding: 1rem 1.5rem;         /* Even more padding on mobile */
        max-width: 320px;             /* Even wider max width on mobile */
        min-width: auto;              /* Remove min-width on mobile */
        flex: none;                   /* Remove flex on mobile */
        height: 4rem;                 /* Even taller height on mobile */
        white-space: normal;          /* Allow text wrapping on mobile */
        display: block !important;    /* Ensure button visibility */
        text-align: center;           /* Center text */
        line-height: 1.3;
        border-radius: 0.5rem;
        width: 100%;
    }
    
    /* Reduce section padding */
    .section {
        padding: 3rem 0;            /* Less vertical padding */
    }
    
    /* Smaller section titles */
    .section-title {
        font-size: 2rem;            /* Reduced from 2.5rem */
    }
    
    /* Advisory subtitle responsive */
    .advisory .section-subtitle {
        font-size: 1.15rem;
        white-space: normal;
        line-height: 1.5;
    }
    
    /* Speaking gallery responsive */
    .speaking-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .speaking-gallery-item {
        height: 300px;
    }
    
    /* Career timeline mobile */
    .career-timeline {
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        margin: 2rem 0;
        min-height: auto;
    }
    
    .timeline-line {
        display: none; /* Hide horizontal line on mobile */
    }
    
    .timeline-stage {
        min-width: auto;
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
        padding: 1rem;
        background: var(--card-white);
        border-radius: 1rem;
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--border-gray);
    }
    
    .timeline-arrow {
        min-width: auto;
        height: 40px;
        margin: 0.5rem 0;
        transform: rotate(90deg); /* Point downward on mobile */
    }
    
    .timeline-arrow:last-of-type {
        display: none; /* Hide last arrow on mobile */
    }
    
    .stage-content {
        max-width: none;
    }
    
    .stage-content h4 {
        font-size: 1.1rem;
    }
    
    .stage-content p {
        font-size: 0.9rem;
    }
    
    /* Current roles mobile - stack vertically */
    .current-roles-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
        margin: 1.5rem 0 2rem 0;
    }
    
    .role-card {
        min-height: auto;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        padding: 1.5rem 1.25rem;
    }
    
    .role-card .company-info h4,
    .role-card .role-details h5,
    .role-card .company-type {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        text-overflow: clip !important;
    }
    
    .role-skills {
        flex-wrap: wrap !important;
        justify-content: center;
        gap: 0.4rem;
    }
    
    .skill-tag {
        white-space: normal !important;
        word-wrap: break-word !important;
        max-width: 100%;
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }
    
    .company-logo {
        min-width: 70px;
        width: 70px;
        height: 70px;
    }
    
    /* Education cards mobile */
    .education-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0 2rem 0;
    }
    
    .education-card {
        flex-direction: column;
        text-align: left;
        gap: 1rem;                      /* Reduced gap */
        align-items: center;
        padding: 0.75rem;               /* Less padding on mobile */
    }
    
    .education-content {
        text-align: left !important;
        width: 100%;
        margin: 0 !important;
        padding: 0 0 0 1rem !important;    /* Maintain left padding on mobile */
    }
    
    .education-content h4,
    .education-content h5,
    .education-school,
    .education-extra {
        text-align: left !important;
        margin-left: 0 !important;
    }
    
    .education-extra {
        font-size: 0.75rem;
    }
    
    .education-mission {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    /* Less contact form padding */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* About stats become single column */
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    /* Stack hero stats vertically */
    .hero-stats {
        flex-direction: column;     /* Vertical stack */
        gap: 1rem;                  /* Reduced gap */
    }
    
    /* All grids become single column */
    .expertise-grid,
    .speaking-grid,
    .advisory-row,
    .blog-grid,
    .photo-grid {
        grid-template-columns: 1fr;
    }
    
    /* Personal gallery responsive adjustments */
    .gallery-row {
        grid-template-columns: 1fr;
    }

    .gallery-theme {
        padding: 0.75rem;
    }

    .theme-title {
        font-size: 0.9rem;
    }

    .photo-placeholder {
        aspect-ratio: 1/1;
    }
    
    /* Adjust timeline for mobile */
    .timeline::before {
        left: 1rem;                 /* Move timeline line closer */
    }
    
    .timeline-item {
        padding-left: 3rem;         /* Less left padding */
    }
    
    .timeline-item::before {
        left: 0.5rem;              /* Adjust dot position */
    }
}

/* MOBILE PHONES - 480px and below */
@media (max-width: 480px) {
    /* Advisory row mobile */
    .advisory-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Adjust hero spacing for mobile */
    .hero {
        padding: 11.5rem 0 5rem;    /* Maximum space below navigation, more bottom space for buttons */
        min-height: 100vh;          /* Ensure full screen height to accommodate all content */
    }
    
    /* Hide scroll indicator on mobile */
    .scroll-indicator {
        display: none;
    }
    
    /* Even smaller night toggle on mobile */
    .theme-toggle-label {
        width: 28px;
        height: 28px;
        right: 12px;
    }
    
    .moon-icon,
    .sun-icon {
        font-size: 0.75rem;
    }
    
    /* Reduce container padding */
    .container {
        padding: 0 0.75rem;         /* Less horizontal padding */
    }
    
    /* Hero banner mobile */
    .hero-banner {
        padding: 6rem 1rem 2.5rem;
    }
    
    .hero-banner-name {
        font-size: 2rem;
        letter-spacing: 0.02em;
        margin-bottom: 0.75rem;
    }
    
    .hero-banner-tagline {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
        white-space: normal;
        text-align: center;
        padding: 0 0.5rem;
        line-height: 1.5;
    }
    
    /* Show mobile breaks on mobile */
    .hero-banner-tagline .mobile-break,
    .hero-banner-tagline .mobile-break-2 {
        display: block;
    }
    
    /* Reduce divider spacing on mobile */
    .hero-banner-tagline .divider {
        margin: 0 0.4rem;
    }
    
    /* Theme toggle in nav on mobile */
    .nav-right {
        margin-right: 0.5rem;
        gap: 0.5rem;
    }
    
    .nav-theme-toggle {
        position: static !important;
        width: 24px !important;
        height: 24px !important;
        margin-left: 0;
        flex-shrink: 0;
    }
    
    .nav-theme-toggle .theme-toggle-button {
        width: 24px;
        height: 24px;
        border-width: 2px;
    }
    
    .nav-theme-toggle .moon-icon,
    .nav-theme-toggle .sun-icon {
        font-size: 0.7rem;
    }
    
    /* Hide fixed theme toggle on mobile */
    .theme-toggle-label:not(.nav-theme-toggle) {
        display: none;
    }
    
    /* Ensure menu toggle has proper spacing and doesn't get blocked */
    .menu-toggle {
        margin-left: 0;
        flex-shrink: 0;
        z-index: 1000;
        min-width: 32px;
    }
    
    /* Ensure nav content has proper spacing */
    .nav-content {
        gap: 0.75rem;
        padding: 1rem 0.75rem;
    }
    
    .logo {
        margin-right: auto;
        max-width: calc(100% - 100px);
    }
    
    .nav-right {
        margin-right: 0;
        width: 24px;
        height: 24px;
    }
    
    .hero-banner-subtitle {
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-photo-gallery {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin: 1.5rem auto;
        padding: 0 0.75rem;
    }
    
    .gallery-item {
        flex: 1 1 calc(50% - 0.25rem);
        max-width: calc(50% - 0.25rem);
        height: 140px;
    }
    
    .gallery-placeholder i {
        font-size: 2rem;
    }
    
    .gallery-placeholder span {
        font-size: 0.75rem;
    }
    
    .hero-banner-description {
        font-size: 0.9rem;
        padding: 0;
        margin: 1rem auto;
    }
    
    .hero-banner-cta {
        margin: 1.25rem 0 1rem;
    }
    
    .btn-banner {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .social-link-banner {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Ensure hero CTA buttons are visible on small mobile */
    .hero-cta-right {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;                     /* More space between buttons */
        margin-top: 1.5rem;            /* More space from profile card */
        margin-bottom: 2rem;           /* Space below buttons */
        width: 100%;
        align-items: center;
        padding: 0 1rem;               /* Side padding */
    }
    
    .hero-cta-right .btn {
        display: block !important;     /* Ensure both buttons show */
        width: 100%;
        max-width: 280px;
        height: 3.5rem;
        font-size: 0.875rem;
        padding: 0.875rem 1.25rem;
        text-align: center;
        line-height: 1.2;
        border-radius: 0.5rem;
    }
    
    /* Smaller hero profile card */
    .hero-image {
        width: 300px;
        height: 450px;              /* Increased height to prevent cutting */
    }
    
    .hero-card {
        padding: 1.5rem 2rem;       /* Less top/bottom padding, maintain horizontal */
    }
    
    /* Smaller profile image */
    .profile-image {
        width: 140px;
        height: 140px;
        font-size: 3rem;            /* Smaller placeholder text */
    }
    
    /* Smaller hero card text */
    .hero-card h2 {
        font-size: 1.5rem;
    }
    
    .hero-card .subtitle {
        font-size: 0.9rem;
    }
    
    /* Smaller social icons */
    .social-link {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1rem;
    }
    
    /* Current roles extra small mobile */
    .current-roles-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .role-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.25rem 1rem;
    }
    
    /* Smaller section titles */
    .section-title {
        font-size: 1.75rem;
    }
    
    /* Less contact form padding */
    .contact-form {
        padding: 1rem;
    }
    
    /* Smaller buttons */
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.8rem;
    }
}

/* 
==============================================
ADVANCED ANIMATIONS & EFFECTS
==============================================
Enhanced animations for better user experience
*/

/* Fade in animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Floating animation for hero elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse animation for important elements */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Typing cursor animation */
@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Gradient animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Particle floating animation */
@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Scale in animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide in from bottom */
@keyframes slideInBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced button animations */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Enhanced social link animations */
.social-link {
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.social-link:hover::before {
    transform: scale(1);
}

/* Animated underlines for links */
.nav-link,
.speaking-link,
.advisory-link {
    position: relative;
}

.nav-link::after,
.speaking-link::after,
.advisory-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.speaking-link:hover::after,
.advisory-link:hover::after {
    width: 100%;
}

/* Stagger animation classes */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Animation utility classes */
.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease-out forwards;
    opacity: 0;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-scaleIn {
    animation: scaleIn 0.6s ease-out forwards;
    opacity: 0;
}

/* Parallax container */
.parallax-container {
    position: relative;
    overflow: hidden;
}

/* Particle system */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, var(--accent), var(--primary));
    border-radius: 50%;
    animation: floatParticle 15s linear infinite;
    opacity: 0.6;
}

/* Enhanced hero section with particles */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="90" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: 1;
}

/* Typing effect cursor */
.typing-cursor::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--accent);
}

/* Gradient text effect */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

/* Loading animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--soft-gray);
    border-top: 4px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient);
    z-index: 10000;
    transition: width 0.1s ease;
}

/* Enhanced timeline animations */
.timeline-item {
    opacity: 1;                    /* Make visible by default */
    transform: translateX(0);      /* No initial transform */
    transition: all 0.8s ease;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateX(0);
}

/* 
==============================================
DARK MODE STYLES
==============================================
Dark theme implementation with smooth transitions
*/
.dark-mode {
    --warm-background: #0f172a;
    --soft-beige: #1e293b;
    --card-white: #334155;
    --light-gray: #475569;
    --soft-gray: #64748b;
    --medium-gray: #94a3b8;
    --border-gray: #475569;
    
    --text-dark: #ffffff;          /* Pure white for maximum contrast */
    --text-medium: #f1f5f9;        /* Very light gray for high contrast */
    --text-light: #e2e8f0;         /* Light gray with good contrast */
    --text-lighter: #cbd5e1;       /* Medium gray, still readable */
    
    --gray-900: #ffffff;
    --gray-800: #f1f5f9;
    --gray-700: #e2e8f0;
    --gray-600: #cbd5e1;
    --gray-500: #94a3b8;
    --gray-400: #64748b;
    --gray-300: #475569;
    --gray-200: #334155;
    --gray-100: #1e293b;
    --gray-50: #0f172a;
}

.dark-mode .nav {
    background: rgba(15, 23, 42, 0.95);
    border-bottom-color: var(--border-gray);
}

.dark-mode .nav.scrolled {
    background: rgba(15, 23, 42, 0.98);
}

.dark-mode .hero::before {
    background: radial-gradient(circle, rgba(74, 108, 247, 0.15) 0%, transparent 70%);
}

.dark-mode .hero::after {
    opacity: 0.3;
}

.dark-mode .timeline-item::before {
    border-color: var(--card-white);
}

.dark-mode .achievements {
    /* background handled by section-alt */
    color: var(--card-white);
}

.dark-mode .timeline-content h3 {
    color: var(--card-white);
}

.dark-mode .timeline-content p {
    color: var(--gray-400);
}

.dark-mode .footer {
    background: var(--gray-100);
    border-top-color: var(--border-gray);
}

/* Dark mode transitions */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dark-mode * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}



/* Dark mode hover effects */
.dark-mode .expertise-card:hover,
.dark-mode .speaking-card:hover,
.dark-mode .advisory-card:hover,
.dark-mode .blog-card:hover {
    background: linear-gradient(135deg, var(--card-white) 0%, rgba(74, 108, 247, 0.1) 100%);
}

/* Scroll down indicator - REMOVED */
.scroll-indicator {
    display: none !important;      /* Completely hidden */
}

.scroll-indicator:hover {
    color: var(--accent);
    transform: translateX(-50%) translateY(-5px);
}

.scroll-indicator i {
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Loading animations for page elements */
.loading-element {
    opacity: 0;
    transform: translateY(20px);
    animation: loadIn 0.8s ease-out forwards;
}

@keyframes loadIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger loading animations */
.hero-text > * {
    animation: loadIn 0.8s ease-out forwards;
    opacity: 0;
}

.hero-text .hero-label { animation-delay: 0.1s; }
.hero-text .hero-title { animation-delay: 0.3s; }
.hero-text .hero-description:nth-of-type(1) { animation-delay: 0.7s; }
.hero-text .hero-description:nth-of-type(2) { animation-delay: 0.9s; }
.hero-text .hero-stats { animation-delay: 1.1s; }
.hero-text .hero-cta { animation-delay: 1.3s; }

.hero-card {
    animation: loadIn 0.8s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

/* 
==============================================
PURE CSS DARK MODE TOGGLE
==============================================
No JavaScript required - works with pure CSS
*/

/* Hide the checkbox */
.theme-toggle-checkbox {
    display: none;
}

/* Theme toggle container */
.theme-toggle-label {
    position: fixed;
    top: 20%;
    right: 20px;
    width: 35px;
    height: 35px;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
}

/* Toggle button styling */
.theme-toggle-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--card-white);
    border: 3px solid var(--accent);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Icon styling */
.moon-icon,
.sun-icon {
    position: absolute;
    font-size: 1rem;               /* Reduced from 1.2rem */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Default state - show moon icon */
.moon-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.sun-icon {
    opacity: 0;
    transform: scale(0.5) rotate(180deg);
}

/* Hover effects */
.theme-toggle-label:hover .theme-toggle-button {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(74, 108, 247, 0.4);
}

/* When checkbox is checked (dark mode) - styles handled by :has() selector below */

.theme-toggle-checkbox:checked + .theme-toggle-label .theme-toggle-button {
    background: var(--gray-700);
    border-color: var(--accent);
}

.theme-toggle-checkbox:checked + .theme-toggle-label .moon-icon {
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
}

.theme-toggle-checkbox:checked + .theme-toggle-label .sun-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Dark mode styles when checkbox is checked */
.theme-toggle-checkbox:checked ~ body,
.theme-toggle-checkbox:checked ~ * {
    --warm-background: #0f172a;
    --soft-beige: #1e293b;
    --card-white: #334155;
    --light-gray: #475569;
    --soft-gray: #64748b;
    --medium-gray: #94a3b8;
    --border-gray: #475569;
    
    --text-dark: #f8fafc;
    --text-medium: #e2e8f0;
    --text-light: #cbd5e1;
    --text-lighter: #94a3b8;
    
    --gray-900: #f8fafc;
    --gray-800: #e2e8f0;
    --gray-700: #cbd5e1;
    --gray-600: #94a3b8;
    --gray-500: #64748b;
    --gray-400: #475569;
    --gray-300: #334155;
    --gray-200: #1e293b;
    --gray-100: #0f172a;
    --gray-50: #020617;
}

/* Alternative approach using :has() selector for modern browsers */
body:has(.theme-toggle-checkbox:checked) {
    --warm-background: #0f172a;
    --soft-beige: #1e293b;
    --card-white: #334155;
    --light-gray: #475569;
    --soft-gray: #64748b;
    --medium-gray: #94a3b8;
    --border-gray: #475569;
    
    --text-dark: #ffffff;          /* Pure white for maximum contrast */
    --text-medium: #f1f5f9;        /* Very light gray for high contrast */
    --text-light: #e2e8f0;         /* Light gray with good contrast */
    --text-lighter: #cbd5e1;       /* Medium gray, still readable */
    
    --gray-900: #ffffff;
    --gray-800: #f1f5f9;
    --gray-700: #e2e8f0;
    --gray-600: #cbd5e1;
    --gray-500: #94a3b8;
    --gray-400: #64748b;
    --gray-300: #475569;
    --gray-200: #334155;
    --gray-100: #1e293b;
    --gray-50: #0f172a;
}

/* Navigation dark mode */
body:has(.theme-toggle-checkbox:checked) .nav {
    background: rgba(15, 23, 42, 0.95);
    border-bottom-color: #475569;
}

body:has(.theme-toggle-checkbox:checked) .nav.scrolled {
    background: rgba(15, 23, 42, 0.98);
}

/* Hero section dark mode */
body:has(.theme-toggle-checkbox:checked) .hero::before {
    background: radial-gradient(circle, rgba(74, 108, 247, 0.15) 0%, transparent 70%);
}

body:has(.theme-toggle-checkbox:checked) .hero::after {
    opacity: 0.3;
}

/* Timeline dark mode */
body:has(.theme-toggle-checkbox:checked) .timeline-item::before {
    border-color: #f8fafc;
}

/* Achievements section dark mode */
body:has(.theme-toggle-checkbox:checked) .achievements {
    /* background handled by section-alt */
    color: #f8fafc;
}

body:has(.theme-toggle-checkbox:checked) .timeline-content h3 {
    color: #f8fafc;
}

body:has(.theme-toggle-checkbox:checked) .timeline-content p {
    color: #cbd5e1;
}

/* Comprehensive Dark Mode Text Contrast */
body:has(.theme-toggle-checkbox:checked) .section-title {
    color: #ffffff !important;
}

body:has(.theme-toggle-checkbox:checked) .section-subtitle {
    color: #e2e8f0 !important;
}

body:has(.theme-toggle-checkbox:checked) .hero-title {
    color: #ffffff !important;
}


body:has(.theme-toggle-checkbox:checked) .hero-description {
    color: #e2e8f0 !important;
}

body:has(.theme-toggle-checkbox:checked) .about-text h3 {
    color: #ffffff !important;
}

body:has(.theme-toggle-checkbox:checked) .about-text p {
    color: #e2e8f0 !important;
}

/* Career timeline dark mode */
body:has(.theme-toggle-checkbox:checked) .journey-intro {
    color: #e2e8f0 !important;
}

body:has(.theme-toggle-checkbox:checked) .timeline-line {
    background: linear-gradient(90deg, #60a5fa 0%, #f59e0b 100%) !important;
}

body:has(.theme-toggle-checkbox:checked) .stage-node {
    background: var(--card-dark) !important;
    border-color: #60a5fa !important;
    color: #60a5fa !important;
}



body:has(.theme-toggle-checkbox:checked) .stage-content h4 {
    color: #ffffff !important;
}

body:has(.theme-toggle-checkbox:checked) .stage-content p {
    color: #e2e8f0 !important;
}

body:has(.theme-toggle-checkbox:checked) .stage-content em {
    color: #f59e0b !important;
}

body:has(.theme-toggle-checkbox:checked) .timeline-stage {
    background: var(--card-dark) !important;
    border-color: #374151 !important;
}

body:has(.theme-toggle-checkbox:checked) .timeline-arrow i {
    color: #60a5fa !important;
}

body:has(.theme-toggle-checkbox:checked) .timeline-arrow:hover i {
    color: #f59e0b !important;
}

/* Education cards dark mode */
body:has(.theme-toggle-checkbox:checked) .education-card {
    background: var(--card-dark) !important;
    border-color: #374151 !important;
}

body:has(.theme-toggle-checkbox:checked) .education-content h4 {
    color: #ffffff !important;
}

body:has(.theme-toggle-checkbox:checked) .education-content h5 {
    color: #60a5fa !important;
}

body:has(.theme-toggle-checkbox:checked) .education-school {
    color: #e2e8f0 !important;
}

body:has(.theme-toggle-checkbox:checked) .education-mission {
    background: linear-gradient(135deg, #1e293b, #0f172a) !important;
    border-left-color: #60a5fa !important;
    color: #e2e8f0 !important;
}

body:has(.theme-toggle-checkbox:checked) .education-extra {
    color: #cbd5e1 !important;
}

/* Current roles dark mode */
body:has(.theme-toggle-checkbox:checked) .role-card {
    background: var(--card-dark) !important;
    border-color: #374151 !important;
}

body:has(.theme-toggle-checkbox:checked) .company-info h4 {
    color: #ffffff !important;
}

body:has(.theme-toggle-checkbox:checked) .company-type {
    color: #e2e8f0 !important;
}

body:has(.theme-toggle-checkbox:checked) .role-details h5 {
    color: #ffffff !important;
}

/* Personal gallery section dark mode */
body:has(.theme-toggle-checkbox:checked) .personal-life {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

body:has(.theme-toggle-checkbox:checked) .gallery-theme {
    background: #374151 !important;
    border-color: #4b5563 !important;
}

body:has(.theme-toggle-checkbox:checked) .theme-title {
    color: #ffffff !important;
    border-bottom-color: #4b5563 !important;
}

body:has(.theme-toggle-checkbox:checked) .theme-title i {
    color: #60a5fa !important;
}

body:has(.theme-toggle-checkbox:checked) .instagram-handle {
    color: #cbd5e1 !important;
}

body:has(.theme-toggle-checkbox:checked) .instagram-handle a {
    color: #60a5fa !important;
}

body:has(.theme-toggle-checkbox:checked) .instagram-handle a:hover {
    color: #3b82f6 !important;
}

body:has(.theme-toggle-checkbox:checked) .photo-placeholder {
    border-color: #6b7280 !important;
}

body:has(.theme-toggle-checkbox:checked) .photo-placeholder:hover {
    border-color: #60a5fa !important;
}

body:has(.theme-toggle-checkbox:checked) .photo-caption {
    color: #d1d5db !important;
}

body:has(.theme-toggle-checkbox:checked) .highlight-box .quote {
    color: #f1f5f9 !important;
}

body:has(.theme-toggle-checkbox:checked) .highlight-box .author {
    color: #cbd5e1 !important;
}

body:has(.theme-toggle-checkbox:checked) .expertise-card h3 {
    color: #ffffff !important;
}

body:has(.theme-toggle-checkbox:checked) .expertise-card p {
    color: #e2e8f0 !important;
}

body:has(.theme-toggle-checkbox:checked) .speaking-title {
    color: #ffffff !important;
}

body:has(.theme-toggle-checkbox:checked) .speaking-description {
    color: #e2e8f0 !important;
}

body:has(.theme-toggle-checkbox:checked) .speaking-meta {
    color: #cbd5e1 !important;
}

body:has(.theme-toggle-checkbox:checked) .advisory-title {
    color: #ffffff !important;
}

body:has(.theme-toggle-checkbox:checked) .advisory-description {
    color: #e2e8f0 !important;
}

body:has(.theme-toggle-checkbox:checked) .blog-title {
    color: #ffffff !important;
}

body:has(.theme-toggle-checkbox:checked) .blog-excerpt {
    color: #e2e8f0 !important;
}

body:has(.theme-toggle-checkbox:checked) .blog-meta {
    color: #cbd5e1 !important;
}

body:has(.theme-toggle-checkbox:checked) .contact-info h3 {
    color: #ffffff !important;
}

body:has(.theme-toggle-checkbox:checked) .contact-info p {
    color: #e2e8f0 !important;
}

body:has(.theme-toggle-checkbox:checked) .contact-method h4 {
    color: #ffffff !important;
}

body:has(.theme-toggle-checkbox:checked) .contact-method p {
    color: #e2e8f0 !important;
}

body:has(.theme-toggle-checkbox:checked) .form-group label {
    color: #ffffff !important;
}

body:has(.theme-toggle-checkbox:checked) .timeline-year {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
}

/* Navigation dark mode text */
body:has(.theme-toggle-checkbox:checked) .logo {
    color: #ffffff !important;
}

body:has(.theme-toggle-checkbox:checked) .nav-link {
    color: #e2e8f0 !important;
}

body:has(.theme-toggle-checkbox:checked) .nav-link:hover,
body:has(.theme-toggle-checkbox:checked) .nav-link.active {
    color: #60a5fa !important;
}

/* Dark mode mobile navigation */
body:has(.theme-toggle-checkbox:checked) .nav-links.active {
    background: #1e293b !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3) !important;
}

body:has(.theme-toggle-checkbox:checked) .nav-links.active li {
    border-bottom-color: #475569 !important;
}

body:has(.theme-toggle-checkbox:checked) .nav-links.active .nav-link {
    color: #f1f5f9 !important;
}

body:has(.theme-toggle-checkbox:checked) .nav-links.active .nav-link:hover {
    background: #334155 !important;
}

/* Stats and numbers dark mode */
body:has(.theme-toggle-checkbox:checked) .stat-number,
body:has(.theme-toggle-checkbox:checked) .about-stat-number {
    color: #60a5fa !important;  /* Brighter blue for visibility */
}

body:has(.theme-toggle-checkbox:checked) .stat-label,
body:has(.theme-toggle-checkbox:checked) .about-stat-label {
    color: #cbd5e1 !important;
}

/* Hero card dark mode */
body:has(.theme-toggle-checkbox:checked) .hero-card h2 {
    color: #ffffff !important;
}

body:has(.theme-toggle-checkbox:checked) .hero-card .subtitle {
    color: #e2e8f0 !important;
}

body:has(.theme-toggle-checkbox:checked) .tagline {
    color: #cbd5e1 !important;
}

/* Tech tags dark mode */
body:has(.theme-toggle-checkbox:checked) .tech-tag {
    background: #475569 !important;
    color: #e2e8f0 !important;
    border-color: #64748b !important;
}

/* Blog category dark mode */
body:has(.theme-toggle-checkbox:checked) .blog-category {
    background: #475569 !important;
    color: #e2e8f0 !important;
}

/* Advisory role badge dark mode */
body:has(.theme-toggle-checkbox:checked) .advisory-role {
    background: #475569 !important;
    color: #e2e8f0 !important;
}

body:has(.theme-toggle-checkbox:checked) .advisory-organization {
    color: #60a5fa !important;
}

/* Form inputs dark mode */
body:has(.theme-toggle-checkbox:checked) .form-group input,
body:has(.theme-toggle-checkbox:checked) .form-group select,
body:has(.theme-toggle-checkbox:checked) .form-group textarea {
    background: #475569 !important;
    border-color: #64748b !important;
    color: #ffffff !important;
}

body:has(.theme-toggle-checkbox:checked) .form-group input::placeholder,
body:has(.theme-toggle-checkbox:checked) .form-group textarea::placeholder {
    color: #cbd5e1 !important;
}

body:has(.theme-toggle-checkbox:checked) .form-group input:focus,
body:has(.theme-toggle-checkbox:checked) .form-group select:focus,
body:has(.theme-toggle-checkbox:checked) .form-group textarea:focus {
    border-color: #60a5fa !important;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1) !important;
}

/* Button text dark mode - Fix readability */
body:has(.theme-toggle-checkbox:checked) .btn-primary {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    color: #ffffff !important;
    border: none !important;
}

body:has(.theme-toggle-checkbox:checked) .btn-secondary {
    background: #475569 !important;
    color: #ffffff !important;
    border: 2px solid #60a5fa !important;
}

body:has(.theme-toggle-checkbox:checked) .btn-secondary:hover {
    background: #60a5fa !important;
    color: #ffffff !important;
}

/* Advisory links dark mode - Fix readability */
body:has(.theme-toggle-checkbox:checked) .advisory-link {
    background: #475569 !important;
    color: #ffffff !important;
    border: 1px solid #64748b !important;
}

body:has(.theme-toggle-checkbox:checked) .advisory-link:hover {
    background: #60a5fa !important;
    color: #ffffff !important;
    border-color: #60a5fa !important;
}

/* Speaking links dark mode */
body:has(.theme-toggle-checkbox:checked) .speaking-link {
    color: #60a5fa !important;
}

body:has(.theme-toggle-checkbox:checked) .speaking-link:hover {
    color: #93c5fd !important;
}

/* Contact method links dark mode */
body:has(.theme-toggle-checkbox:checked) .contact-method a {
    color: #60a5fa !important;
}

body:has(.theme-toggle-checkbox:checked) .contact-method a:hover {
    color: #93c5fd !important;
}

/* New Contact Section Dark Mode */
body:has(.theme-toggle-checkbox:checked) .contact-intro h3 {
    color: #ffffff !important;
}

body:has(.theme-toggle-checkbox:checked) .contact-intro p {
    color: #e2e8f0 !important;
}

body:has(.theme-toggle-checkbox:checked) .contact-quick-item {
    background: #374151 !important;
    border-color: #4b5563 !important;
}

body:has(.theme-toggle-checkbox:checked) .contact-quick-item:hover {
    border-color: #60a5fa !important;
    box-shadow: 0 10px 25px rgba(96, 165, 250, 0.1) !important;
}

body:has(.theme-toggle-checkbox:checked) .contact-quick-content h4 {
    color: #ffffff !important;
}

body:has(.theme-toggle-checkbox:checked) .contact-quick-content p {
    color: #d1d5db !important;
}

body:has(.theme-toggle-checkbox:checked) .contact-quick-link {
    color: #60a5fa !important;
}

body:has(.theme-toggle-checkbox:checked) .contact-quick-link:hover {
    color: #93c5fd !important;
}

body:has(.theme-toggle-checkbox:checked) .contact-stats {
    background: #374151 !important;
    border-color: #4b5563 !important;
}

body:has(.theme-toggle-checkbox:checked) .contact-stat-number {
    color: #60a5fa !important;
}

body:has(.theme-toggle-checkbox:checked) .contact-stat-label {
    color: #9ca3af !important;
}

body:has(.theme-toggle-checkbox:checked) .contact-social h4 {
    color: #ffffff !important;
}

body:has(.theme-toggle-checkbox:checked) .contact-form-header h3 {
    color: #ffffff !important;
}

body:has(.theme-toggle-checkbox:checked) .contact-form-header p {
    color: #d1d5db !important;
}

/* Section dividers and year headers dark mode - Fix readability */
body:has(.theme-toggle-checkbox:checked) .section-divider h3 {
    color: #ffffff !important;
}

body:has(.theme-toggle-checkbox:checked) .year-header {
    color: #ffffff !important;
}

/* Speaking engagement years dark mode */
body:has(.theme-toggle-checkbox:checked) .year-section h3 {
    color: #ffffff !important;
}

/* Advisory subsection headers dark mode */
body:has(.theme-toggle-checkbox:checked) .advisory-container h3 {
    color: #ffffff !important;
}

/* Enhanced Speaking Section Dark Mode */
body:has(.theme-toggle-checkbox:checked) .speaking-stats .stat-number {
    color: #60a5fa !important;
}

body:has(.theme-toggle-checkbox:checked) .speaking-stats .stat-label {
    color: #9ca3af !important;
}

body:has(.theme-toggle-checkbox:checked) .speaking-youtube-link .youtube-link-text {
    color: #60a5fa !important;
}

body:has(.theme-toggle-checkbox:checked) .speaking-youtube-link .youtube-link-text:hover {
    color: #93c5fd !important;
}

body:has(.theme-toggle-checkbox:checked) .year-nav-btn {
    background: #374151 !important;
    color: #d1d5db !important;
    border-color: #4b5563 !important;
}

body:has(.theme-toggle-checkbox:checked) .year-nav-btn:hover,
body:has(.theme-toggle-checkbox:checked) .year-nav-btn.active {
    background: #60a5fa !important;
    color: #ffffff !important;
    border-color: #60a5fa !important;
}

body:has(.theme-toggle-checkbox:checked) .speaking-card-compact {
    background: #374151 !important;
    border-color: #4b5563 !important;
}

body:has(.theme-toggle-checkbox:checked) .speaking-card-compact:hover {
    border-color: #60a5fa !important;
    box-shadow: 0 10px 25px rgba(96, 165, 250, 0.1) !important;
}

body:has(.theme-toggle-checkbox:checked) .speaking-header {
    border-bottom-color: #4b5563 !important;
}

body:has(.theme-toggle-checkbox:checked) .speaking-type {
    background: #374151 !important;
    color: #e5e7eb !important;
    font-weight: 700;
}

body:has(.theme-toggle-checkbox:checked) .speaking-type i {
    color: #60a5fa !important;
}

body:has(.theme-toggle-checkbox:checked) .speaking-venue {
    color: #60a5fa !important;
}

body:has(.theme-toggle-checkbox:checked) .btn-link.primary {
    background: #60a5fa !important;
    color: #ffffff !important;
}

body:has(.theme-toggle-checkbox:checked) .btn-link.primary:hover {
    background: #3b82f6 !important;
}

body:has(.theme-toggle-checkbox:checked) .btn-link.secondary {
    background: #4b5563 !important;
    color: #d1d5db !important;
    border-color: #6b7280 !important;
}

body:has(.theme-toggle-checkbox:checked) .btn-link.secondary:hover {
    background: #60a5fa !important;
    color: #ffffff !important;
    border-color: #60a5fa !important;
}

/* Footer dark mode */
body:has(.theme-toggle-checkbox:checked) .footer {
    background: #0f172a;
    border-top-color: #475569;
}



/* Company logos maintain original colors in dark mode */

/* Card hover effects in dark mode */
body:has(.theme-toggle-checkbox:checked) .expertise-card:hover,
body:has(.theme-toggle-checkbox:checked) .speaking-card:hover,
body:has(.theme-toggle-checkbox:checked) .advisory-card:hover,
body:has(.theme-toggle-checkbox:checked) .blog-card:hover {
    background: linear-gradient(135deg, #334155 0%, rgba(74, 108, 247, 0.1) 100%);
}

/* Accessibility: Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .animate-float,
    .animate-pulse,
    .particle,
    .scroll-indicator {
        animation: none !important;
    }
    
    .hero-text > *,
    .hero-card {
        opacity: 1 !important;
        transform: none !important;
    }
}