/* 
==============================================
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,
.advisory-organization,
.timeline-year {
    text-align: left !important;   /* Override justify for meta content */
}

/* 
==============================================
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;
    max-width: 1200px;
    margin: 0 auto;                /* Center within viewport */
}

/* LOGO STYLING */
.logo {
    font-weight: 700;              /* Bold font weight */
    font-size: 1.5rem;             /* Prominent size */
    color: var(--primary);         /* Navy brand color */
    letter-spacing: -0.02em;       /* Tight letter spacing */
}

/* NAVIGATION LINKS CONTAINER */
.nav-links {
    display: flex;
    list-style: none;              /* Remove bullet points */
    gap: 2rem;                     /* Space between links */
    align-items: center;
}

/* 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 SECTION
==============================================
Main landing section with profile card and intro content
*/
.hero {
    min-height: 100vh;             /* Full viewport height */
    display: flex;
    align-items: center;           /* Vertically center content */
    padding: 6rem 0 4rem;          /* Top padding accounts for fixed nav */
    background: linear-gradient(135deg, var(--warm-background) 0%, var(--soft-beige) 100%); /* Subtle gradient */
    position: relative;            /* For pseudo-element positioning */
    overflow: hidden;              /* Hide decorative overflow */
}

/* DECORATIVE BACKGROUND GRADIENT */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -30%;                   /* Extend beyond container */
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(74, 108, 247, 0.08) 0%, transparent 70%);
    pointer-events: none;          /* Don't interfere with interactions */
}

/* HERO CONTENT GRID - Two column layout */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 450px; /* Text content + profile card */
    gap: 4rem;                     /* Large gap between columns */
    align-items: center;           /* Vertically align items */
    position: relative;
    z-index: 2;                    /* Above background decoration */
}

/* TEXT CONTENT COLUMN */
.hero-text {
    max-width: 600px;              /* Limit line length for readability */
}

/* 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: 1rem;
    color: var(--text-dark);       /* Darkest text for readability */
    letter-spacing: -0.02em;       /* Slightly tighter spacing */
}

/* HERO SUBTITLE */
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--accent);          /* Blue accent color */
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;     /* All caps for style */
    letter-spacing: 0.02em;        /* Spaced letters */
}

/* HERO DESCRIPTION PARAGRAPHS */
.hero-description {
    font-size: 1rem;
    color: var(--text-light);      /* Readable gray */
    margin-bottom: 2rem;
    line-height: 1.7;              /* Generous line height */
    text-align: justify;           /* Clean paragraph edges */
}

/* 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 */
}

/* 
==============================================
SECTION FOUNDATIONS
==============================================
Base styles for all content sections
*/
.section {
    padding: 5rem 0;               /* Generous vertical padding */
}

/* 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 */
}

/* 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 */
}

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

/* 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);
}

/* CURRENT ROLES CARDS */
.current-roles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0 3rem 0;
}

.role-card {
    background: var(--card-white);
    border-radius: 1rem;
    padding: 1.25rem;
    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 {
    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.75rem;
    text-align: center;
}

.company-logo {
    width: 100px;
    height: 100px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    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.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: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

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

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

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

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

.skill-tag {
    background: var(--soft-blue);
    color: var(--primary-color);
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.65rem;
    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 {
    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: 2rem;
    border-radius: 1rem;           /* Rounded corners */
    box-shadow: var(--shadow);     /* Depth with shadow */
    border-left: 4px solid var(--accent); /* Blue accent border */
    margin: 2rem 0;
    border: 1px solid var(--border-gray);
}

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

/* 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, #FFF8F0 0%, var(--soft-beige) 100%); /* Warm gradient */
}

/* PERSONAL GALLERY CONTAINER */
.personal-gallery {
    display: flex;
    flex-direction: column;
    gap: 3rem;                     /* Space between themes */
}

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

/* THEME TITLE WITH ICON */
.theme-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;                  /* Space between icon and text */
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--soft-gray); /* Underline separator */
}

.theme-title i {
    font-size: 1.25rem;
    color: var(--accent);          /* Blue accent for icons */
}

/* 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(180px, 1fr)); /* Even narrower for true portrait aspect */
    gap: 1.5rem;                   /* Space between photo items */
}

/* INDIVIDUAL PHOTO ITEM */
.photo-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;                  /* Space between photo and caption */
}

/* PHOTO PLACEHOLDER - Actual images */
.photo-placeholder {
    width: 100%;
    aspect-ratio: 3/4;             /* Perfect portrait aspect ratio (3:4) */
    object-fit: contain;           /* Show full image without cropping */
    object-position: center;       /* Center the image */
    border-radius: 0.75rem;        /* Rounded corners */
    border: 1px solid var(--border-gray); /* Light border */
    transition: all 0.3s ease;     /* Smooth hover effects */
    background: var(--light-gray); /* Light background for loading */
}

.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;            /* Center align captions */
    font-size: 0.875rem;
    color: var(--text-light);      /* Gray text */
    font-style: italic;            /* Italic for placeholder text */
    margin-top: 0.5rem;            /* Space above caption */
    padding: 0 0.5rem;             /* Side padding */
}

/* 
==============================================
EXPERTISE SECTION
==============================================
Skills and technical capabilities showcase
*/
.expertise {
    background: var(--soft-beige); /* Soft beige background */
}

/* EXPERTISE GRID LAYOUT */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 1.5rem;                   /* Space between cards */
}

/* INDIVIDUAL EXPERTISE CARD */
.expertise-card {
    background: var(--card-white); /* White background */
    padding: 2rem;
    border-radius: 1rem;           /* Rounded corners */
    box-shadow: var(--shadow);     /* Depth with shadow */
    transition: all 0.2s ease;     /* Smooth hover effects */
    border: 1px solid var(--border-gray);
}

/* EXPERTISE CARD HOVER EFFECT */
.expertise-card:hover {
    transform: translateY(-8px) scale(1.03);   /* Enhanced lift effect and scale */
    box-shadow: var(--shadow-xl);  /* Extra large shadow */
    border-color: var(--accent);   /* Blue border on hover */
    background: linear-gradient(135deg, var(--card-white) 0%, rgba(74, 108, 247, 0.02) 100%);
}

/* Expertise card icon hover animation */
.expertise-card:hover .expertise-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(74, 108, 247, 0.3);
}

/* EXPERTISE ICON - Colored icon container */
.expertise-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient);   /* Brand gradient background */
    border-radius: 0.75rem;        /* Rounded square */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);  /* Subtle shadow */
}

.expertise-icon i {
    font-size: 1.25rem;            /* Icon size */
    color: white;                  /* White icon on gradient */
}

/* EXPERTISE CARD TITLE */
.expertise-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);       /* Dark for readability */
}

/* EXPERTISE CARD DESCRIPTION */
.expertise-card p {
    font-size: 0.875rem;
    color: var(--text-light);      /* Readable gray */
    margin-bottom: 1rem;
    line-height: 1.6;              /* Comfortable spacing */
    text-align: justify;           /* Clean edges */
}

/* TECHNOLOGY TAGS CONTAINER */
.tech-tags {
    display: flex;
    flex-wrap: wrap;               /* Wrap tags to new lines */
    gap: 0.5rem;                   /* Space between tags */
}

/* INDIVIDUAL TECHNOLOGY TAG */
.tech-tag {
    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: 500;
    border: 1px solid var(--medium-gray);
}

/* 
==============================================
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 */
}

/* 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);
}

/* SPEAKING EVENTS GRID */
.speaking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Responsive grid */
    gap: 1.5rem;                   /* Space between cards */
}

/* 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: 1.5rem;               /* Internal spacing */
}

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

/* SPEAKING EVENT DESCRIPTION */
.speaking-description {
    font-size: 0.875rem;
    color: var(--text-light);      /* Readable gray */
    line-height: 1.6;              /* Comfortable spacing */
    margin-bottom: 1rem;
    text-align: justify;           /* Clean edges */
}

/* 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 {
    color: var(--accent);          /* Blue accent color */
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;                  /* Space between text and icon */
}

.speaking-link:hover {
    text-decoration: underline;    /* Underline on hover */
}

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

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

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

.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;
}

/* 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);
}

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

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

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

.speaking-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--gradient);
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    min-width: 60px;
}

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

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

.speaking-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

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

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

.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); /* Soft beige background */
}

/* ADVISORY CONTENT CONTAINER */
.advisory-container {
    display: grid;
    gap: 3rem;                     /* Space between sections */
}

/* ADVISORY ROLES GRID LAYOUT */
.advisory-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Responsive grid */
    gap: 2rem;                     /* Space between cards */
}

/* INDIVIDUAL ADVISORY CARD */
.advisory-card {
    background: var(--card-white); /* White background */
    border-radius: 1rem;           /* Rounded corners */
    padding: 2rem;
    box-shadow: var(--shadow);     /* Depth with shadow */
    border: 1px solid var(--border-gray);
    transition: all 0.2s ease;     /* Smooth hover effects */
    position: relative;
    overflow: hidden;              /* Hide decorative overflow */
}

/* 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) scale(1.02);   /* Enhanced lift effect */
    box-shadow: var(--shadow-xl);  /* Extra large shadow */
    border-color: var(--accent);   /* Blue border on hover */
    background: linear-gradient(135deg, var(--card-white) 0%, rgba(74, 108, 247, 0.02) 100%);
}

/* Advisory card image hover effect */
.advisory-card:hover .advisory-image {
    transform: scale(1.1);
    border-color: var(--accent);
}

/* ADVISORY CARD HEADER - Logo and title area */
.advisory-header {
    display: flex;
    align-items: flex-start;       /* Align to top for multi-line titles */
    gap: 1rem;                     /* Space between logo and text */
    margin-bottom: 1.5rem;
}

/* ADVISORY ORGANIZATION LOGO/ICON */
.advisory-image {
    width: 60px;
    height: 60px;
    border-radius: 0.75rem;        /* Rounded square */
    background: var(--light-gray); /* Light background for placeholder */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;                /* Don't shrink with content */
    overflow: hidden;              /* Crop images cleanly */
    border: 2px solid var(--border-gray);
}

.advisory-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;             /* Crop to fill container */
}

.advisory-image i {
    font-size: 1.5rem;             /* Large placeholder icon */
    color: var(--accent);          /* Blue accent color */
}

/* ADVISORY TEXT INFORMATION */
.advisory-info {
    flex: 1;                       /* Take remaining space */
}

/* ADVISORY ROLE TITLE */
.advisory-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);       /* Dark for readability */
    margin-bottom: 0.25rem;
    line-height: 1.3;              /* Tight line height for titles */
}

/* ADVISORY ORGANIZATION NAME */
.advisory-organization {
    font-size: 0.875rem;
    color: var(--accent);          /* Blue accent color */
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ADVISORY ROLE BADGE */
.advisory-role {
    display: inline-block;
    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 */
}

/* ADVISORY ROLE DESCRIPTION */
.advisory-description {
    color: var(--text-light);      /* Readable gray */
    line-height: 1.6;              /* Comfortable spacing */
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-align: justify;           /* Clean edges */
}

/* 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 */
}

/* 
==============================================
ACHIEVEMENTS SECTION
==============================================
Awards and recognition timeline
*/
.achievements {
    background: var(--warm-background);  /* Use normal background */
    color: var(--text-medium);          /* Normal text color */
}

/* ACHIEVEMENTS SECTION TITLE */
.achievements .section-title {
    color: var(--text-dark);            /* Normal dark text */
}

/* ACHIEVEMENTS SECTION SUBTITLE */
.achievements .section-subtitle {
    color: var(--text-light);           /* Normal subtitle color */
}

/* 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 */
}

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

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

/* 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;
}

/* 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) {
    /* Adjust hero section padding for mobile navigation */
    .hero {
        padding: 11rem 0 5rem;      /* Extra space below navigation, more bottom space */
        min-height: 100vh;          /* Ensure full screen height */
    }
    
    /* 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 title */
    .hero-title {
        font-size: 2.5rem;          /* Reduced from 3.5rem */
    }
    
    /* 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 */
    }
    
    /* 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 */
    .current-roles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin: 1.5rem 0 2rem 0;
    }
    
    .role-card {
        min-height: 180px;
    }
    
    /* 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-theme {
        padding: 1.5rem;           /* Less padding on mobile */
    }
    
    .theme-title {
        font-size: 1.1rem;         /* Smaller title on mobile */
    }
    
    .photo-placeholder {
        aspect-ratio: 3/4;         /* Maintain portrait aspect ratio on mobile */
    }
    
    /* 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) {
    /* 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 */
    }
    
    /* Much smaller hero title */
    .hero-title {
        font-size: 2rem;            /* Significantly reduced */
    }
    
    /* 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 {
        grid-template-columns: 1fr;
    }
    
    /* 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: var(--text-dark);
    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-subtitle { animation-delay: 0.5s; }
.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: #0f172a;
    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-subtitle {
    color: #60a5fa !important;  /* Brighter blue for visibility */
}

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) .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: #4b5563 !important;
    color: #d1d5db !important;
}

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;
    }
}