/* --- MODERN ENTERPRISE THEME --- */
:root {
    --primary-navy: #0b1d35;
    --accent-red: #e4002b;
    --bg-light: #f4f6f8;
    --white: #ffffff;
    --text-dark: #111827;
    --text-gray: #4b5563;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: var(--white); color: var(--text-dark); font-family: 'Inter', sans-serif; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.btn { display: inline-block; padding: 15px 35px; background-color: var(--accent-red); color: var(--white); text-decoration: none; font-weight: 600; border-radius: 4px; transition: all 0.2s ease; box-shadow: 0 4px 6px rgba(228, 0, 43, 0.2); }
.btn:hover { background-color: #c20024; transform: translateY(-2px); box-shadow: 0 8px 15px rgba(228, 0, 43, 0.3); }

/* HEADER */
header { background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); position: fixed; width: 100%; z-index: 1000; top: 0; box-shadow: 0 1px 0 rgba(0,0,0,0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.logo a { text-decoration: none; display: flex; align-items: center; gap: 15px; }
.logo img { height: 48px; width: auto; }
.logo-text-container { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.logo-text-large { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 1.5rem; color: var(--primary-navy); letter-spacing: -0.5px; }
.logo-text-small { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.85rem; color: var(--accent-red); letter-spacing: 3px; margin-left: 2px; }
nav ul { display: flex; list-style: none; gap: 40px; }
nav a { text-decoration: none; color: var(--primary-navy); font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
nav a:hover { color: var(--accent-red); }
nav .desktop-nav .btn { padding: 10px 20px; font-size: 0.9rem; }
.mobile-nav-toggle { display: none; }
.mobile-nav { display: none; }

/* HERO */
.hero { background-color: var(--primary-navy); background-image: linear-gradient(135deg, #0b1d35 0%, #162a47 100%); height: 85vh; display: flex; align-items: center; color: var(--white); padding-top: 80px; }
.hero h1 { font-size: 4.5rem; margin-bottom: 25px; line-height: 1.1; font-weight: 800; letter-spacing: -1px; }
.hero p { font-size: 1.4rem; margin-bottom: 40px; color: #d1d5db; font-weight: 300; max-width: 650px; line-height: 1.6; }

/* METRICS STRIP */
.metrics { padding: 40px 0; background-color: var(--white); border-bottom: 1px solid #eee; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.metric-item h3 { font-size: 2.5rem; color: var(--accent-red); font-weight: 800; line-height: 1; margin-bottom: 5px; }
.metric-item p { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-gray); font-weight: 600; }

/* SERVICES */
.services { padding: 100px 0; background-color: var(--bg-light); }
.section-title { text-align: center; font-size: 2.5rem; color: var(--primary-navy); margin-bottom: 1rem; font-weight: 800; letter-spacing: -0.5px; }
.section-subtitle { text-align: center; color: var(--text-gray); margin-bottom: 5rem; max-width: 700px; margin-left: auto; margin-right: auto; font-size: 1.15rem; font-weight: 300; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.card { background: var(--white); padding: 50px 40px; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.02), 0 10px 15px rgba(0,0,0,0.03); transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid rgba(0,0,0,0.03); }
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 25px rgba(0,0,0,0.05), 0 10px 10px rgba(0,0,0,0.02); }
.card-icon { font-size: 2rem; margin-bottom: 25px; color: var(--primary-navy); background: #f0f4f8; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 12px; }
.card h3 { color: var(--primary-navy); margin-bottom: 15px; font-size: 1.3rem; font-weight: 700; }
.card p { color: var(--text-gray); font-size: 1rem; line-height: 1.6; }

/* FORCE LINKS TO LOOK LIKE NORMAL TEXT */
.grid a {
    text-decoration: none;      /* Removes the underline */
    color: inherit;             /* Forces it to use the card's text colors */
    display: block;             /* Makes the link fill the container */
    height: 100%;               /* Keeps grid height uniform */
}

/* Ensure the title stays Navy */
.grid a h3 {
    color: var(--primary-navy); 
}

/* Ensure the text stays Gray */
.grid a p {
    color: var(--text-gray);
}

/* CONTRACT DATA */
.gov-data { padding: 60px 0; background-color: var(--white); border-bottom: 1px solid #eee; }
.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.data-item h4 { color: var(--text-gray); margin-bottom: 5px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.data-item p { font-size: 1.2rem; font-weight: 700; color: var(--primary-navy); }

/* FOOTER */
footer { background-color: #f9fafb; color: var(--text-gray); padding: 80px 0 40px 0; font-size: 0.95rem; border-top: 1px solid #eee; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 60px; margin-bottom: 60px; }
.footer-col h4 { color: var(--primary-navy); margin-bottom: 20px; font-weight: 700; font-size: 1rem; }
.footer-bottom { text-align: center; border-top: 1px solid #e5e7eb; padding-top: 40px; font-size: 0.85rem; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; margin-bottom: 15px; line-height: 1.2; }
    .hero p { font-size: 1.1rem; margin-bottom: 25px; }
    .hero { padding-top: 100px; height: auto; padding-bottom: 60px; }

    /* Specific for tech-hero in mobile */
    .tech-hero h1 { font-size: 2.5rem; margin-bottom: 15px; line-height: 1.2; }
    .tech-hero p { font-size: 1.1rem; margin-bottom: 25px; }
    .tech-hero { padding-top: 100px; height: auto; padding-bottom: 60px; }

    .nav-container { flex-direction: row; justify-content: space-between; align-items: center; }
    .desktop-nav { display: none; }
    .mobile-nav-toggle { display: block; font-size: 1.5rem; color: var(--primary-navy); cursor: pointer; margin-right: 20px; }
    .mobile-nav { 
        background-color: var(--primary-navy); 
        position: absolute; 
        top: 88px; /* Adjusted to be below the fixed header */
        left: 0; 
        right: 0; 
        padding: 20px 0; 
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        text-align: center;
        display: none; /* Hidden by default */
    }
    .mobile-nav.active { 
        display: block; 
    }
    .mobile-nav ul { 
        list-style: none; 
        padding: 0; 
        margin: 0; 
        display: flex; 
        flex-direction: column; 
        gap: 15px; 
    }
    .mobile-nav ul li a {
        color: var(--white);
        text-decoration: none;
        font-size: 1.2rem;
        font-weight: 600;
        padding: 10px 20px;
        display: block;
    }
    .mobile-nav ul li a.btn {
        background-color: var(--accent-red);
        border-radius: 4px;
        padding: 10px 20px;
        display: inline-block; /* Keep as inline-block for button styling */
        margin-top: 10px;
    }
    .mobile-nav ul li a.btn:hover {
        background-color: #c20024;
    }

    .data-grid, .metrics-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .logo img { height: 40px; }
    .logo-text-large { font-size: 1.3rem !important; }
    .logo-text-small { font-size: 0.75rem !important; }

    /* PARTNERS PAGE MOBILE OPTIMIZATIONS */
    .partner-layout { flex-direction: column; gap: 30px; padding: 30px; }
    .sidebar { border-right: none; padding-right: 0; padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid #eee; }
    .main-form { padding-left: 0; }
    .form-control, .form-btn { width: 100%; }
    .partner-layout > div {width: 100%;}
    .partner-layout > div > div {grid-template-columns: 1fr;}
}

/* --- INFRASTRUCTURE PAGE --- */
/* The infra-hero is now using .tech-hero for consistency, so this can be removed or repurposed if needed */
.infra-hero { background: linear-gradient(rgba(11, 29, 53, 0.9), rgba(11, 29, 53, 0.9)), url('https://via.placeholder.com/1200x400'); background-size: cover; color: white; padding: 100px 0; }


/* --- PARTNERS PAGE --- */
.page-header { background-color: var(--primary-navy); padding: 120px 0 60px 0; color: white; text-align: center; }
.page-header h1 { font-size: 3rem; margin-bottom: 10px; font-weight: 800; }
.page-header p { font-size: 1.2rem; color: #d1d5db; max-width: 600px; margin: 0 auto; }
.content-section { padding: 60px 0; }
.partner-layout { display: flex; gap: 60px; max-width: 1000px; margin: 0 auto; background: white; padding: 50px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.sidebar { flex: 1; padding-right: 40px; border-right: 1px solid #eee; }
.main-form { flex: 2; padding-left: 20px; }
.form-label { display: block; margin-bottom: 8px; font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }
.form-control { width: 100%; padding: 12px; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 6px; font-size: 1rem; margin-bottom: 20px; }
.form-btn { width: 100%; padding: 15px; background: var(--primary-navy); color: white; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; transition: 0.2s; }
.form-btn:hover { background-color: #0b1d35; transform: translateY(-2px); }
.check-list { list-style: none; margin-top: 30px; }
.check-list li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; color: var(--text-gray); font-size: 0.95rem; }
.check-list i { color: var(--accent-red); }



/* --- TECHNOLOGY PAGE --- */
.tech-hero { background-color: #0b1d35; color: white; padding: 120px 0 80px 0; }
.tech-hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; }
.tech-hero p { font-size: 1.25rem; color: #a8b2d1; max-width: 700px; }
.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; padding: 80px 0; }
.cap-card { background: #f9fafb; padding: 40px; border-radius: 8px; border-left: 4px solid var(--accent-red); }
.cap-card h3 { color: var(--primary-navy); margin-bottom: 15px; font-size: 1.4rem; }
.case-study { background: #111827; color: white; padding: 80px 0; }
.stat-row { display: flex; gap: 50px; margin-top: 30px; border-top: 1px solid #333; padding-top: 30px; }

/* --- ABOUT PAGE --- */
.about-hero { background-color: var(--primary-navy); color: white; padding: 100px 0; text-align: center; }
.about-hero h1 { font-size: 3rem; margin-bottom: 20px; }
.about-hero p { font-size: 1.25rem; color: #d1d5db; max-width: 700px; margin: 0 auto; } /* Added this line */

.subtitle { color: var(--accent-red); text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 15px; }
.mission-philosophy { padding: 80px 0; background: white; }
.mission-philosophy h2 { color: var(--primary-navy); font-size: 2rem; margin-bottom: 20px; }
.mission-philosophy p { color: #4b5563; margin-bottom: 20px; font-size: 1.1rem; }
.content-flex { display: flex; flex-wrap: wrap; gap: 50px; align-items: center; }
.flex-item { flex: 1; min-width: 300px; }
.core-values-card { background: #f0f4f8; padding: 40px; border-radius: 8px; border-left: 4px solid var(--accent-red); }
.core-values-card h4 { color: var(--primary-navy); margin-bottom: 15px; }
.core-values-card ul { list-style: none; padding: 0; }
.core-values-card ul li { margin-bottom: 15px; font-weight: 600; color: #374151; }
.core-values-card ul li i { color: var(--accent-red); margin-right: 10px; }

.executive-leadership { padding: 80px 0; background: #f9fafb; border-top: 1px solid #e5e7eb; }
.executive-leadership .section-title { text-align: center; margin-bottom: 50px; color: var(--primary-navy); }
.leader-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }
.leader-card { background: white; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; }
.leader-header { background: #f3f4f6; padding: 20px; border-bottom: 1px solid #e5e7eb; }
.leader-header h3 { margin: 0; color: var(--primary-navy); }
.leader-header p { margin: 0; color: var(--accent-red); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; }
.leader-body { padding: 30px; }
.leader-body p { color: #666; font-size: 0.95rem; }
.leader-body hr { border: 0; border-top: 1px solid #eee; margin: 15px 0; }
.site-footer-dark { padding: 40px 0; background: #0b1d35; color: #a8b2d1; text-align: center; }
.site-footer-dark a { color: white; }

@media (max-width: 768px) {
    .about-hero h1 { font-size: 2.5rem; margin-bottom: 15px; }
    .about-hero p { font-size: 1.1rem; }
    .content-flex { flex-direction: column; gap: 30px; }
    .flex-item { min-width: unset; width: 100%; }
    .leader-grid { grid-template-columns: 1fr; }
}
