/* 
   HimAI V2 - Design System 
   Theme: Warm Minimalist / Architectural AI
   Updated: Nov 29, 2025
*/

/* =========================================
   1. Variables & Design Tokens
   ========================================= */
:root {
    /* Palette - Warm Monochrome */
    --bg-body: #F3F2EF;       /* Warm paper background */
    --bg-card: #FFFFFF;       /* Clean white for surfaces */
    --bg-dark: #111111;       /* Stark black for contrast elements */
    --bg-accent: #F7F7F5;     /* Slightly darker paper for secondary backgrounds */
    
    /* Text Colors */
    --text-primary: #111111;  /* Almost black */
    --text-secondary: #555555; /* Warm grey */
    --text-tertiary: #999999;  /* Light grey */
    --text-inverse: #FFFFFF;   /* White text on dark backgrounds */
    
    /* Borders & Lines */
    --border-light: #E5E5E5;
    --border-dark: #333333;
    --grid-line: rgba(0, 0, 0, 0.04);
    
    /* Brand Accents (Subtle) */
    --accent-purple: #8B5CF6; /* Preserved from V1 for continuity */
    --accent-success: #10B981;
    
    /* Typography */
    --font-heading: 'Newsreader', serif; /* The "Startup" Serif */
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    /* Layout */
    --container-width: 1200px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Transitions */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --duration-fast: 0.2s;
    --duration-normal: 0.4s;
}

/* Dark Mode (Optional Future Proofing, currently unused per request) */
@media (prefers-color-scheme: dark) {
    /* Kept strictly light mode per user request for "Paper" aesthetic */
}

/* =========================================
   2. Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 17px; /* Increased from 16px */
}

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.7; /* Increased from 1.6 */
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Subtle Grain Texture Overlay */
    background-image: 
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 40px 40px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em; /* Tighter tracking for editorial look */
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--duration-fast) var(--ease-out);
}

ul {
    list-style: none;
}

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

/* =========================================
   3. Utility Classes
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-divider {
    border: 0;
    height: 1px;
    background: var(--border-light);
    margin: 0;
}

.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.85rem;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
}

.btn-primary {
    background-color: var(--bg-dark);
    color: var(--text-inverse);
    border: 1px solid var(--bg-dark);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    background-color: var(--bg-card);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

/* =========================================
   4. Header & Navigation
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    background: rgba(243, 242, 239, 0.8); /* Matches bg-body with opacity */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--duration-normal);
}

.header.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--border-light);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600; /* Bold serif for logo */
    color: var(--text-primary);
}

.logo-image {
    height: 32px;
    width: auto;
    /* Optional: Add a filter if logo needs to be monochrome */
    /* filter: grayscale(100%); */
}

/* Team Member Hover Effect */
.team-photo {
    filter: grayscale(100%);
    transition: filter var(--duration-normal);
}

.team-photo:hover {
    filter: grayscale(0%);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

/* Button style nav link */
.btn-nav {
    background: var(--bg-dark);
    color: var(--text-inverse);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    font-weight: 500;
}

.btn-nav:hover {
    background: #333;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    cursor: pointer;
    color: var(--text-primary);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .hamburger { 
        display: block; 
        z-index: 1002;
        position: relative;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        border-left: 1px solid var(--border-light);
        z-index: 1001;
        display: flex;
    }
    
    .nav-menu.active { 
        right: 0; 
    }
    
    .nav-menu .nav-link,
    .nav-menu .btn-nav {
        font-size: 1.2rem;
    }
}

/* =========================================
   5. Hero Section (New)
   ========================================= */
.hero-section {
    position: relative;
    padding: 10rem 0 6rem; /* Top padding for fixed header */
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0 auto 1rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-success); /* or Purple */
    border-radius: 50%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-title em {
    font-style: italic;
    font-family: var(--font-heading); /* Ensure italic serif */
    color: var(--text-secondary); /* Subtle contrast */
}

/* Remove the old hero-description block to avoid duplication */

/* Visual Anchor: The Dark Terminal/Card */
.hero-visual-container {
    margin-top: 2rem;
    position: relative;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    perspective: 1000px;
}

.hero-terminal {
    background: #0A0A0A; /* Deep black */
    border-radius: var(--radius-lg);
    padding: 2rem;
    color: #fff;
    text-align: left;
    box-shadow: 
        0 20px 40px -10px rgba(0,0,0,0.1),
        0 0 0 1px rgba(255,255,255,0.1); /* Subtle border */
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.terminal-content {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: #E0E0E0;
}

.typing-cursor {
    display: inline-block;
    width: 8px;
    height: 1.4rem;
    background: var(--accent-purple);
    margin-left: 4px;
    animation: blink 1s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Trusted By Strip */
.trusted-by {
    margin-top: 6rem;
    text-align: center;
    padding-bottom: 2rem;
}

.trusted-label {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 4rem; /* Increased gap */
    flex-wrap: wrap;
    opacity: 1; /* Fully visible for colors */
}

.tech-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.logos-grid svg {
    height: 48px; /* Larger icons */
    width: 48px;
    transition: all 0.3s;
    color: #999; /* Default monochrome */
}

/* Tooltip */
.tech-icon-wrapper::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: var(--bg-dark);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s;
    z-index: 10;
}

.tech-icon-wrapper:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* Hover Colors - Using Devicon Classes */
.tech-icon-wrapper i {
    font-size: 48px;
    color: #999;
    transition: all 0.3s;
    display: inline-block;
}

.tech-icon-wrapper:hover i {
    transform: translateY(-4px);
}

.tech-icon-wrapper:hover .devicon-python-plain { color: #3776AB; }
.tech-icon-wrapper:hover .devicon-pytorch-original { color: #EE4C2C; }
.tech-icon-wrapper:hover .devicon-react-original { color: #61DAFB; }
.tech-icon-wrapper:hover .devicon-amazonwebservices-plain-wordmark { color: #FF9900; }
.tech-icon-wrapper:hover .devicon-docker-plain { color: #2496ED; }
.tech-icon-wrapper:hover .devicon-nodejs-plain { color: #339933; }


/* Map Styles */
#nepal-map {
    z-index: 1;
    /* Grayscale filter for minimal look, allow color on interaction if needed */
    filter: grayscale(100%);
    transition: filter 0.3s;
}

#nepal-map:hover {
    filter: grayscale(0%);
}

.leaflet-container {
    background: var(--bg-body) !important;
    font-family: var(--font-mono) !important;
}

/* Custom Pulsing Marker */
.pulse-marker {
    position: relative;
    width: 20px; /* Increased size */
    height: 20px; /* Increased size */
    background: var(--accent-purple);
    border-radius: 50%;
    border: 3px solid #fff; /* Slightly thicker border */
    box-shadow: 0 0 0 rgba(139, 92, 246, 0.4);
}

.pulse-marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--accent-purple); /* Thicker ripple */
    animation: ripple 2.5s infinite cubic-bezier(0, 0.2, 0.8, 1);
}

@keyframes ripple {
    0% {
        width: 0%;
        height: 0%;
        opacity: 0.8;
    }
    100% {
        width: 400%; /* Larger expansion */
        height: 400%; /* Larger expansion */
        opacity: 0;
    }
}

/* =========================================
   6. Services Section (Minimalist Cards)
   ========================================= */
.services-section {
    padding: 6rem 0;
    background: var(--bg-card); /* Break up the page background */
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.section-header {
    margin-bottom: 4rem;
    text-align: left; /* Align left for variety */
}

.section-supertitle {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--text-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: stretch;
}

/* Responsive: 1 column on mobile */
@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Team Preview Grid - 2 columns centered */
.team-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: stretch;
}

@media (max-width: 767px) {
    .team-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* 2-Column Grid for About Page Values */
.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: stretch;
}

/* Responsive: 1 column on mobile */
@media (max-width: 767px) {
    .grid-2-col {
        grid-template-columns: 1fr;
    }
}

/* Compact Industry Cards */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

@media (min-width: 768px) {
    .industry-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .industry-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.industry-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-normal);
    height: 100%;
    min-height: 120px;
}

.industry-card:hover {
    border-color: var(--text-primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.industry-card .service-icon {
    margin-bottom: 1rem;
    width: 24px; 
    height: 24px;
    flex-shrink: 0;
}

.industry-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0;
    text-align: center;
}

.service-card {
    background: #ffffff !important; /* Force white background */
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light); /* Ensure border exists */
    transition: all var(--duration-normal);
    display: flex;
    flex-direction: column;
    height: 100%; /* Required for grid stretch to work */
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); /* Increased shadow for pop */
    opacity: 1 !important; /* Force visibility */
}

.service-card:hover {
    background: #fff;
    border-color: var(--border-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-4px);
}

.service-card:hover img {
    filter: grayscale(0%);
}

.service-icon {
    width: 40px;
    height: 40px;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    stroke-width: 1.5px;
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.service-card h3 {
    font-size: 1.35rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.service-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Description paragraph should grow to push content down */
.service-card p:last-child {
    flex-grow: 1;
}

/* =========================================
   Team Card Variant (for team member cards)
   ========================================= */
.team-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all var(--duration-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.team-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-4px);
}

.team-card .team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin-bottom: 1rem;
}

.team-card .team-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
}

.team-card h3 {
    font-size: 1.35rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.team-card .team-role {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.team-card .team-bio {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 0;
}

/* Team Preview Section (Index page) */
.team-preview-section {
    background-color: var(--bg-body);
}

.team-preview-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.team-preview-link {
    margin-top: 2rem;
}

.team-preview-link a {
    font-size: 1.05rem;
    text-decoration: underline;
    color: var(--text-secondary);
}

.team-preview-link a:hover {
    color: var(--text-primary);
}

.hero-description {
    font-size: 1.4rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.6;
}

/* Connecting Lines for Process Steps */
.process-steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
}

.process-step-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--border-dark);
    margin-bottom: 1rem;
    background: var(--bg-body);
    display: inline-block;
    padding: 0 10px;
    position: relative;
    z-index: 2;
}

/* Line connecting numbers */
.process-steps-container::before {
    content: '';
    position: absolute;
    top: 2rem; /* Adjust based on number height */
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--border-light);
    z-index: 0;
    display: none;
}

@media (min-width: 768px) {
    .process-steps-container::before {
        display: block;
    }
}

/* Animated Line overlay */
.process-line-animated {
    position: absolute;
    top: 2rem;
    left: 10%;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    z-index: 0;
    transition: width 2s ease-out;
}

/* Service List Styling */
.service-feature-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.service-feature-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-success);
}

.tech-tag {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: var(--bg-accent);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    margin-right: 0.5rem;
    margin-top: 1rem;
}

/* =========================================
   7. About & Stats Section
   ========================================= */
.about-section {
    padding: 8rem 0;
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
}

.stat-item h4 {
    font-size: 2rem;
    font-family: var(--font-heading);
    margin-bottom: 0;
    color: var(--text-primary);
}

.stat-item p {
    font-size: 1.05rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* =========================================
   8. Contact Section (Clean)
   ========================================= */
.contact-section {
    padding: 6rem 0;
    background: var(--bg-dark);
    color: var(--text-inverse);
    text-align: center;
}

.contact-section h2 {
    color: var(--text-inverse);
    font-size: 3rem;
}

.contact-section p {
    color: #888;
    font-size: 1.25rem;
    max-width: 500px;
    margin: 0 auto 3rem;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #333;
    padding: 0.75rem 0;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.15rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #fff;
}

.btn-submit {
    width: 100%;
    background: #fff;
    color: #000;
    border: none;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: #e0e0e0;
}

/* Form Alerts */
.form-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.form-alert svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.form-alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--accent-success);
    color: #059669;
}

.form-alert-success svg {
    color: var(--accent-success);
}

.form-alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #dc2626;
}

.form-alert-error svg {
    color: #ef4444;
}

/* =========================================
   9. Footer
   ========================================= */
.footer {
    background: var(--bg-body);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-light);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-copyright {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-tertiary);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.footer-links a:hover {
    text-decoration: underline;
    color: var(--text-primary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .about-grid { grid-template-columns: 1fr; }
    
    /* Stats row - prevent overflow */
    .stats-row {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .stat-item {
        min-width: auto;
    }
    
    /* Hero badge margin for mobile */
    .hero-badge {
        margin-bottom: 1.5rem;
    }
    
    /* Team member cards - single column on mobile */
    .team-member-card {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 1.5rem !important;
        padding: 1.5rem !important;
    }
    
    .team-member-card .text-center {
        order: 0;
    }
    
    .team-member-card > div:last-child {
        text-align: left;
    }
}
