:root {
    --primary-color: #0A2540; 
    --accent-color: #00D4FF; 
    --text-main: #333333;
    --text-light: #666666;
    --bg-light: #F6F9FC;
    --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden; /* Prevents horizontal scrolling on mobile */
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary-color); letter-spacing: 1px;}
.nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-main); font-weight: 600; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-color); }
.btn-nav { background: var(--primary-color); color: var(--white) !important; padding: 0.5rem 1rem; border-radius: 5px; }

/* Navbar Logo and Text Alignment */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px; 
    text-decoration: none;
    color: inherit;
}
.nav-logo { height: 45px; width: auto; display: block; }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #113A63 100%);
    color: var(--white);
    padding: 8rem 5%;
    text-align: center;
}
.hero-sub { padding: 5rem 5%; }
.hero-content { max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 3.5rem; margin-bottom: 1.5rem; line-height: 1.2; font-weight: 800; }
.hero-sub h1 { font-size: 2.8rem; }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; color: #E0E0E0; }
.btn-primary {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-weight: 800;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); }

/* General Sections */
.section { padding: 5rem 5%; }
.section h2 { text-align: center; font-size: 2.2rem; margin-bottom: 1rem; color: var(--primary-color); }
.section-subtitle { text-align: center; max-width: 700px; margin: 0 auto 3rem auto; color: var(--text-light); font-size: 1.1rem;}
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-color); color: var(--white); }
.bg-dark h2, .bg-dark p { color: var(--white); }

/* Grids */
.content-grid, .tech-grid, .advantage-container { display: flex; gap: 2rem; max-width: 1100px; margin: 0 auto; flex-wrap: wrap; justify-content: center;}
.card, .tech-item, .competitor-card { background: var(--white); padding: 2.5rem; border-radius: 8px; flex: 1; min-width: 300px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.card h3, .tech-item h4, .competitor-card h4 { color: var(--primary-color); margin-bottom: 1rem; font-size: 1.3rem;}
.border-highlight { border-top: 4px solid var(--accent-color); }
.highlight-card { background: var(--primary-color); color: var(--white); }
.highlight-card h4 { color: var(--accent-color); }

/* Traction Grid */
.traction-grid { display: flex; gap: 2rem; max-width: 1000px; margin: 0 auto; text-align: center; flex-wrap: wrap; }
.traction-item { flex: 1; min-width: 250px; padding: 2rem; border: 1px solid #E0E0E0; border-radius: 8px; }
.traction-item h4 { font-size: 1.2rem; color: var(--accent-color); margin-bottom: 0.5rem; }

/* =========================================
   TEAM HERO SECTION
   ========================================= */
.team-hero-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-hero-member {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.team-hero-member:hover {
    transform: translateY(-5px);
}

/* Make every even card flip the image to the right for a beautiful alternating layout! */
.team-hero-member:nth-child(even) {
    flex-direction: row-reverse;
}

.team-hero-photo {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
    background-color: #E0E0E0;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* NEW: For transparent icons without backgrounds/borders */
.team-hero-icon {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
    /* Optional: helps ensure the icon image fits well inside */
    background-repeat: no-repeat;
}

.team-hero-info {
    flex: 1;
    text-align: left;
}

/* Force left-align text even on reverse rows */
.team-hero-member:nth-child(even) .team-hero-info {
    text-align: left;
}

.team-hero-info h4 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.team-hero-info .role {
    color: var(--accent-color);
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-hero-info .bio {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Update Mobile Query to handle the new hero cards */
@media screen and (max-width: 768px) {
    .team-hero-member, .team-hero-member:nth-child(even) {
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
    }
    
    .team-hero-info, .team-hero-member:nth-child(even) .team-hero-info {
        text-align: center;
    }
    
    .team-hero-photo, .team-hero-icon {
        width: 200px;
        height: 200px;
    }
}

/* Roadmap Timeline */
.timeline { max-width: 800px; margin: 0 auto; border-left: 3px solid var(--accent-color); padding-left: 2rem; }
.timeline-step { margin-bottom: 2.5rem; position: relative; }
.timeline-step::before { content: ''; position: absolute; left: -2.75rem; top: 0; width: 1rem; height: 1rem; background: var(--accent-color); border-radius: 50%; }
.timeline-step h4 { color: var(--primary-color); font-size: 1.3rem; margin-bottom: 0.5rem; }

/* Contact Form */
.contact-container { max-width: 600px; margin: 0 auto; text-align: center; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: 1rem; border: 1px solid #ccc; border-radius: 5px; font-family: 'Inter', sans-serif; }

/* Footer */
footer { text-align: center; padding: 2rem; background: #071A2D; color: #888; }

/* =========================================
   MOBILE RESPONSIVENESS (Media Queries)
   ========================================= */
@media screen and (max-width: 768px) {
    /* Stack Navbar */
    .navbar {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    /* Shrink Hero Text for smaller screens */
    .hero { padding: 5rem 5%; }
    .hero h1 { font-size: 2.5rem; }
    .hero-sub h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }

    /* Adjust Padding for standard sections */
    .section { padding: 3.5rem 5%; }
    .section h2 { font-size: 1.8rem; }
    
    /* Fix Timeline Alignment for Mobile */
    .timeline { padding-left: 1.5rem; }
    .timeline-step::before { left: -2.2rem; }
}