/* ===================================
   CSS CUSTOM PROPERTIES (Variables)
   Centralized color and spacing values for easy theme management
   =================================== */
:root {
    /* Color Palette - Dark theme with vibrant accents */
    --bg-primary: #0a0e27;        /* Deep navy background */
    --bg-secondary: #151935;      /* Slightly lighter navy for cards */
    --bg-tertiary: #1e2443;       /* Even lighter for hover states */
    --text-primary: #e4e4e7;      /* Off-white for main text */
    --text-secondary: #a0a0ab;    /* Muted gray for secondary text */
    --accent-primary: #6366f1;    /* Vibrant indigo accent */
    --accent-secondary: #8b5cf6;  /* Purple accent */
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    
    /* Spacing system */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    
    /* Shadows - subtle and elegant */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
}

/* ===================================
   RESET & BASE STYLES
   Normalize browser defaults
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* ===================================
   TYPOGRAPHY STYLES
   Consistent heading and text styles
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-secondary);
}

/* ===================================
   UTILITY CLASSES
   Reusable container and section styles
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

/* Animated section title with underline effect */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

/* Decorative underline that animates on scroll */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

/* ===================================
   NAVIGATION BAR
   Fixed top navigation with backdrop blur
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.8); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: background var(--transition-normal);
}

/* Scrolled state - more opaque background */
.navbar.scrolled {
    background: rgba(10, 14, 39, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo/Brand text */
.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation menu list */
.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

/* Individual nav links */
.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

/* Hover effect with background */
.nav-link:hover {
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
}

/* Active link indicator */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--accent-primary);
}

/* Mobile menu toggle button - hidden on desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hamburger icon lines */
.hamburger,
.hamburger::before,
.hamburger::after {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

/* ===================================
   HERO SECTION
   Main landing area with animated background
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Account for fixed navbar */
}

/* Animated particle background */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Individual particle styling (created via JavaScript) */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s infinite ease-in-out;
}

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

/* Hero content container */
.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: var(--spacing-md);
}

/* Main hero title */
.hero-title {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}

/* Typing effect animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero subtitle */
.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Hero description */
.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Button container */
.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* Base button styles */
.btn {
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

/* Primary button with gradient background */
.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* Secondary button with outline style */
.btn-secondary {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

/* Social media links container */
.social-links {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.8s both;
}

/* Individual social link */
.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* Scroll indicator at bottom of hero */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 30px;
    border: 2px solid var(--accent-primary);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

/* Bouncing animation for scroll indicator */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    40% {
        opacity: 1;
    }
    80% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    100% {
        opacity: 0;
    }
}

/* ===================================
   ABOUT SECTION
   Personal introduction and highlights
   =================================== */
.about-section {
    background: var(--bg-secondary);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Lead paragraph with emphasis */
.lead {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Highlights grid - key statistics */
.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

/* Individual highlight card */
.highlight-item {
    background: var(--bg-primary);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-primary);
}

/* Large number display */
.highlight-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

/* Label below number */
.highlight-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   EXPERIENCE SECTION
   Timeline-based work history
   =================================== */
.experience-section {
    background: var(--bg-primary);
}

/* Timeline container */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* Vertical line connecting timeline items */
.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
}

/* Individual timeline item */
.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: var(--spacing-lg);
}

/* Timeline dot marker */
.timeline-marker {
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: 3px solid var(--bg-primary);
    box-shadow: var(--shadow-glow);
    z-index: 1;
}

/* Content card for each timeline item */
.timeline-content {
    background: var(--bg-secondary);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent-primary);
    transition: all var(--transition-normal);
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

/* Timeline header styling */
.timeline-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-company {
    display: block;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-date {
    display: inline-block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-right: var(--spacing-sm);
}

.timeline-location {
    display: inline-block;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Description list */
.timeline-description {
    margin-top: var(--spacing-sm);
    padding-left: var(--spacing-sm);
}

.timeline-description li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* ===================================
   PROJECTS SECTION
   Portfolio showcase grid
   =================================== */
.projects-section {
    background: var(--bg-secondary);
}

/* Grid layout for project cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual project card */
.project-card {
    background: var(--bg-primary);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

/* Project header with title and year */
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--spacing-sm);
}

.project-header h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    flex: 1;
}

.project-year {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Project description text */
.project-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

/* Technology tags container */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Individual technology tag */
.tag {
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

/* ===================================
   SKILLS SECTION
   Technical competencies display
   =================================== */
.skills-section {
    background: var(--bg-primary);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

/* Skill category container */
.skill-category {
    background: var(--bg-secondary);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.category-title {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    color: var(--accent-primary);
}

/* Skills list with progress bars */
.skills-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* Individual skill item with progress bar */
.skill-item {
    margin-bottom: var(--spacing-sm);
}

.skill-name {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Progress bar container */
.skill-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

/* Animated progress fill */
.skill-progress {
    height: 100%;
    background: var(--accent-gradient);
    width: var(--progress);
    border-radius: 4px;
    transition: width 1s ease;
}

/* Tag-based skills display */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(99, 102, 241, 0.3);
    transition: all var(--transition-fast);
}

.skill-tag:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Language skills display */
.language-skills {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.language-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm);
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.language-name {
    color: var(--text-primary);
    font-weight: 500;
}

.language-level {
    color: var(--accent-primary);
    font-size: 0.9rem;
}

/* Certifications section */
.certifications {
    margin-top: var(--spacing-lg);
    background: var(--bg-secondary);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* Individual certification item */
.cert-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all var(--transition-fast);
}

.cert-item:hover {
    border-color: var(--accent-primary);
    transform: translateX(5px);
}

.cert-icon {
    color: var(--accent-primary);
    flex-shrink: 0;
}

/* ===================================
   EDUCATION SECTION
   Academic background cards
   =================================== */
.education-section {
    background: var(--bg-secondary);
}

/* Grid layout for education cards */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual education card */
.education-card {
    background: var(--bg-primary);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all var(--transition-normal);
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

/* Emoji icon for degree type */
.education-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.education-card h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.education-institution {
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.education-location,
.education-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: block;
}

.education-gpa {
    color: var(--text-primary);
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Coursework section within education card */
.coursework {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.coursework h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.coursework-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.coursework-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

/* ===================================
   CONTACT SECTION
   Contact information and methods
   =================================== */
.contact-section {
    background: var(--bg-primary);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

/* Contact methods container */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    max-width: 600px;
    margin: 0 auto;
}

/* Individual contact method */
.contact-method {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all var(--transition-normal);
    text-align: left;
}

.contact-method:hover {
    border-color: var(--accent-primary);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.contact-method div {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.method-value {
    color: var(--text-primary);
    font-weight: 500;
}

/* ===================================
   FOOTER
   Bottom section with copyright
   =================================== */
.footer {
    background: var(--bg-secondary);
    padding: var(--spacing-md) 0;
    text-align: center;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.footer p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.footer-note {
    font-size: 0.9rem;
}

/* ===================================
   RESPONSIVE DESIGN
   Mobile and tablet breakpoints
   =================================== */

/* Tablet breakpoint */
@media (max-width: 768px) {
    /* Adjust hero title size */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    /* Stack hero buttons */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Show mobile menu toggle */
    .nav-toggle {
        display: flex;
        position: relative;
    }
    
    /* Hide navigation menu by default on mobile */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-secondary);
        width: 100%;
        text-align: center;
        transition: left var(--transition-normal);
        padding: var(--spacing-md) 0;
        box-shadow: var(--shadow-lg);
    }
    
    /* Show menu when active */
    .nav-menu.active {
        left: 0;
    }
    
    /* Adjust section title size */
    .section-title {
        font-size: 2rem;
    }
    
    /* Timeline adjustments */
    .timeline::before {
        left: 10px;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .timeline-marker {
        left: 1px;
    }
    
    /* Single column layouts */
    .projects-grid,
    .skills-container,
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    /* Adjust highlight grid */
    .highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile breakpoint */
@media (max-width: 480px) {
    /* Further reduce hero title */
    .hero-title {
        font-size: 2rem;
    }
    
    /* Reduce spacing */
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    /* Single column highlights */
    .highlights {
        grid-template-columns: 1fr;
    }
    
    /* Adjust padding */
    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* ===================================
   SCROLL ANIMATIONS
   Fade-in effect for sections
   =================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   ACCESSIBILITY
   Screen reader only text
   =================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus styles for keyboard navigation */
*:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Remove focus outline for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}
