/* ==========================================================================
   CSS Variables & Design System
   ========================================================================== */
:root {
    --primary-blue: #142CFF;
    --deep-navy: #000336;
    --light-grey: #EDEDED;
    --white: #FFFFFF;
    --dark-overlay: rgba(0, 3, 54, 0.85);
    --blue-glow: rgba(20, 44, 255, 0.3);
    --blue-mid: #4A6FFF;
    --blue-light: #7A9AFF;
    --dark-card: #000A40;

    /* Typography */
    --font-primary: 'Barlow Condensed', 'Bebas Neue', sans-serif;
    /* Fallback for Asen Pro */
    --font-secondary: 'Montserrat', sans-serif;

    /* Font sizes */
    --fs-hero: clamp(72px, 10vw, 140px);
    --fs-section: clamp(42px, 6vw, 80px);
    --fs-subhead: clamp(22px, 3vw, 32px);
    --fs-body: 18px;
    --fs-caption: 12px;
}

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

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--fs-body);
    line-height: 1.7;
    background-color: var(--deep-navy);
    color: var(--light-grey);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Typography Utilities */
.text-white {
    color: var(--white);
}

.text-blue {
    color: var(--primary-blue);
}

.text-navy {
    color: var(--deep-navy);
}

.text-center {
    text-align: center;
}

/* Filter logic for logo */
.logo-white {
    /* filter: brightness(0) invert(1); Disabled to prevent non-transparent logos from becoming a solid white block */
}

.logo-blue {
    /* filter: brightness(0) saturate(100%) invert(21%) sepia(98%) saturate(2000%) hue-rotate(220deg); */
}

/* ==========================================================================
   Components
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: capitalize;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(20, 44, 255, 0.4);
    filter: brightness(1.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

.section-label {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 12px;
    color: var(--primary-blue);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(0, 3, 54, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--primary-blue);
    padding: 15px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo .logo-img {
    height: 40px;
    width: auto;
}

.nav-wordmark {
    display: flex;
    flex-direction: column;
}

.wordmark-main {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 18px;
    color: var(--white);
    letter-spacing: 3px;
    line-height: 1;
}

.wordmark-sub {
    font-family: var(--font-secondary);
    font-weight: 300;
    font-size: 14px;
    color: var(--white);
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 15px;
    color: var(--white);
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    font-size: 14px;
}

.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--deep-navy);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-logo {
    margin-bottom: 40px;
}

.mobile-logo .logo-img {
    height: 50px;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mobile-link {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

/* ==========================================================================
   Section 1: Hero
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.blueprint-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 60px 60px;
    background-image:
        linear-gradient(to right, rgba(20, 44, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(20, 44, 255, 0.04) 1px, transparent 1px);
}

.radial-glow {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(20, 44, 255, 0.12) 0%, transparent 70%);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: var(--fs-hero);
    letter-spacing: -2px;
    margin: 10px 0 20px 0;
    text-transform: uppercase;
}

.hero-title .line {
    overflow: hidden;
    line-height: 0.9;
}

.hero-title .line span {
    display: inline-block;
}

.hero-subhead {
    font-size: 18px;
    color: var(--light-grey);
    opacity: 0.85;
    max-width: 520px;
    margin-bottom: 40px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.trust-stats {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-stat {
    font-weight: 600;
    font-size: 13px;
    color: var(--light-grey);
}

.trust-stats .divider {
    width: 1px;
    height: 15px;
    background-color: var(--light-grey);
    opacity: 0.3;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 600px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.bg-logo-large {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    height: 600px;
    opacity: 0.05;
    animation: spin 200s linear infinite;
}

.visual-composition {
    position: relative;
    width: 450px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-logo {
    height: 220px;
    z-index: 10;
    position: relative;
}

.orbit-ring {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px dashed var(--primary-blue);
    border-radius: 50%;
    animation: spin 30s linear infinite;
}

.dashed-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashed-ring {
    position: absolute;
    border: 1px solid var(--primary-blue);
    border-radius: 50%;
    animation: pulseRing 3s infinite ease-out;
}

.r1 {
    width: 250px;
    height: 250px;
    animation-delay: 0s;
}

.r2 {
    width: 250px;
    height: 250px;
    animation-delay: 1s;
}

.r3 {
    width: 250px;
    height: 250px;
    animation-delay: 2s;
}

.floating-labels {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 20;
}

.data-label {
    position: absolute;
    padding: 4px 12px;
    border: 1px solid var(--primary-blue);
    border-radius: 20px;
    font-weight: 600;
    font-size: 11px;
    color: var(--white);
    background: rgba(0, 3, 54, 0.6);
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

/* Hardcoded positions for now */
.l1 {
    top: 10%;
    left: 20%;
    animation: float 4s ease-in-out infinite;
}

.l2 {
    top: 20%;
    right: 10%;
    animation: float 5s ease-in-out infinite 1s;
}

.l3 {
    bottom: 30%;
    right: 5%;
    animation: float 6s ease-in-out infinite 0.5s;
}

.l4 {
    bottom: 10%;
    left: 30%;
    animation: float 4.5s ease-in-out infinite 1.5s;
}

.l5 {
    top: 40%;
    left: 0%;
    animation: float 5.5s ease-in-out infinite 0.2s;
}

.l6 {
    top: 60%;
    right: 0%;
    animation: float 4.8s ease-in-out infinite 0.8s;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--light-grey);
    opacity: 0.4;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 600;
}

/* ==========================================================================
   Section 2: Stats
   ========================================================================== */
.stats-section {
    background-color: var(--primary-blue);
    padding: 60px 0;
    width: 100%;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-num {
    font-family: var(--font-primary);
    font-size: 64px;
    color: var(--white);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.stat-divider {
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Section 3: About
   ========================================================================== */
.about-section {
    padding: 120px 0;
    position: relative;
}

.blueprint-bg-subtle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 60px 60px;
    background-image:
        linear-gradient(to right, rgba(20, 44, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(20, 44, 255, 0.02) 1px, transparent 1px);
    z-index: -1;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-content {
    flex: 1;
}

.section-title {
    font-family: var(--font-primary);
    font-size: var(--fs-section);
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.body-text {
    margin-bottom: 20px;
    opacity: 0.9;
}

.slogan-callout {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(20, 44, 255, 0.2);
    border-bottom: 1px solid rgba(20, 44, 255, 0.2);
}

.quote-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-blue);
    opacity: 0.5;
}

.slogan-text {
    font-size: 24px;
    font-weight: 700;
    font-style: italic;
    color: var(--primary-blue);
}

.mission-vision-cards {
    display: flex;
    gap: 20px;
}

.mv-card {
    flex: 1;
    padding: 30px;
    border-radius: 4px;
}

.mv-card h3 {
    font-size: 16px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.mv-card p {
    font-size: 14px;
    opacity: 0.9;
}

.mission {
    background-color: var(--deep-navy);
    border-left: 4px solid var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.vision {
    background-color: var(--primary-blue);
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.visual-card {
    position: relative;
    width: 450px;
    height: 500px;
    background-color: var(--dark-card);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(20, 44, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.rotating-border-ring {
    position: absolute;
    width: 350px;
    height: 350px;
    border: 2px dashed rgba(20, 44, 255, 0.3);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.about-logo {
    height: 180px;
    position: relative;
    z-index: 2;
}

.animated-tags {
    position: absolute;
    bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 40px;
    z-index: 3;
}

.animated-tags .tag {
    padding: 6px 14px;
    border: 1px solid var(--primary-blue);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--white);
    background-color: rgba(0, 10, 64, 0.8);
}

/* ==========================================================================
   Section 4: Services
   ========================================================================== */
.services-section {
    padding: 120px 0;
    background-color: var(--deep-navy);
}

.section-subtitle {
    font-size: 18px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    background-color: var(--dark-card);
    border-left: 3px solid var(--primary-blue);
    padding: 40px 30px;
    border-radius: 4px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--deep-navy));
    border-left-color: var(--blue-light);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(20, 44, 255, 0.3);
}

.service-num {
    position: absolute;
    top: 20px;
    right: 20px;
    font-weight: 800;
    font-size: 32px;
    color: var(--primary-blue);
    opacity: 0.15;
    line-height: 1;
}

.service-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.service-card:hover .service-icon {
    color: var(--white);
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.service-desc {
    font-size: 14px;
    color: var(--light-grey);
    opacity: 0.8;
}

.hover-arrow {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 24px;
    color: var(--white);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.service-card:hover .hover-arrow {
    opacity: 1;
    transform: translateX(0);
}

.service-card.flagship {
    grid-column: 1 / -1;
    background-color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 50px;
    animation: flagshipPulse 4s infinite alternate;
}

.service-card.flagship .service-icon {
    color: var(--white);
    width: 48px;
    height: 48px;
    margin-bottom: 0;
}

.service-card.flagship .service-num {
    color: var(--white);
    opacity: 0.2;
    top: 30px;
    right: 40px;
    font-size: 48px;
}

.flagship-content {
    flex: 1;
}

.service-card.flagship .service-title {
    font-size: 28px;
    margin-bottom: 10px;
}

.service-card.flagship .service-desc {
    font-size: 16px;
    opacity: 1;
    margin-bottom: 20px;
}

.equipment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.equipment-tags span {
    padding: 6px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
}

/* ==========================================================================
   Section 5: R&D
   ========================================================================== */
.rd-section {
    width: 100%;
}

.rd-split {
    display: flex;
    width: 100%;
}

.rd-content {
    width: 40%;
    padding: 120px 80px 120px 10%;
    background-color: var(--deep-navy);
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-blue);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.equipment-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.equipment-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    border-radius: 0 4px 4px 0;
}

.equipment-row:hover {
    background-color: rgba(20, 44, 255, 0.1);
    border-left-color: var(--primary-blue);
}

.eq-icon {
    color: var(--primary-blue);
    width: 24px;
    height: 24px;
}

.equipment-row:hover .eq-icon {
    transform: scale(1.1);
}

.eq-details h4 {
    font-size: 16px;
    color: var(--white);
    margin-bottom: 5px;
}

.eq-details span {
    font-size: 13px;
    color: var(--light-grey);
    opacity: 0.7;
}

.rd-visual {
    width: 60%;
    background-color: #000520;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.orbit-composition {
    position: relative;
    width: 600px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-bg-large {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(20, 44, 255, 0.08) 0%, transparent 60%);
    border-radius: 50%;
}

.outer-dashed-circle {
    position: absolute;
    width: 600px;
    height: 600px;
    border: 1px dashed var(--primary-blue);
    border-radius: 50%;
    animation: spin 30s linear infinite;
}

.middle-dashed-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px dashed var(--primary-blue);
    border-radius: 50%;
    animation: spinReverse 20s linear infinite;
}

.pulse-rings {
    position: absolute;
    width: 220px;
    height: 220px;
}

.p-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    animation: pulseExpand 3s infinite;
}

.pr1 {
    animation-delay: 0s;
}

.pr2 {
    animation-delay: 1s;
}

.pr3 {
    animation-delay: 2s;
}

.rd-center-logo {
    height: 220px;
    position: relative;
    z-index: 10;
}

.orbit-labels {
    position: absolute;
    width: 100%;
    height: 100%;
}

.o-label {
    position: absolute;
    padding: 6px 16px;
    background-color: var(--deep-navy);
    border: 1px solid var(--primary-blue);
    border-radius: 20px;
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.ol1 {
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.ol2 {
    top: 25%;
    right: -30px;
}

.ol3 {
    bottom: 25%;
    right: -30px;
}

.ol4 {
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.ol5 {
    bottom: 25%;
    left: -30px;
}

.ol6 {
    top: 25%;
    left: -30px;
}

/* ==========================================================================
   Section 6: Skills
   ========================================================================== */
.skills-section {
    padding: 120px 0;
    background-color: var(--light-grey);
}

.skills-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.skill-block {
    background-color: var(--white);
    border-left: 4px solid var(--deep-navy);
    padding: 40px;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.skill-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.skill-cat {
    font-size: 16px;
    color: var(--deep-navy);
    margin-bottom: 20px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tags span {
    padding: 4px 12px;
    background-color: #E8EEFF;
    color: var(--primary-blue);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.dark-block {
    background-color: var(--deep-navy);
    border-left-color: var(--primary-blue);
}

.dark-block .skill-cat {
    color: var(--white);
}

.dark-block .skill-tags.bright span {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* ==========================================================================
   Section 7: Why Us
   ========================================================================== */
.why-section {
    padding: 120px 0;
    background-color: var(--deep-navy);
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.why-card {
    position: relative;
    background-color: var(--dark-card);
    padding: 50px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.why-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bg-num {
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: var(--font-primary);
    font-size: 80px;
    color: var(--primary-blue);
    opacity: 0.12;
    line-height: 1;
}

.why-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.why-title {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 15px;
}

.why-desc {
    font-size: 14px;
    opacity: 0.8;
}

/* ==========================================================================
   Section 8: Contact
   ========================================================================== */
.contact-section {
    background-color: var(--deep-navy);
}

.contact-split {
    display: flex;
    width: 100%;
}

.contact-form-side {
    width: 50%;
    padding: 120px 80px 120px 10%;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--light-grey);
}

.contact-item i {
    color: var(--primary-blue);
    width: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row input {
    flex: 1;
}

input,
select,
textarea {
    width: 100%;
    padding: 16px 20px;
    background-color: var(--dark-card);
    border: 1px solid rgba(20, 44, 255, 0.3);
    border-radius: 4px;
    color: var(--white);
    font-family: var(--font-secondary);
    font-size: 15px;
    transition: all 0.3s ease;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 15px rgba(20, 44, 255, 0.2);
}

.btn-submit {
    width: max-content;
    border: none;
}

.contact-visual {
    width: 50%;
    position: relative;
    background-color: #000220;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.blueprint-grid-subtle {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(20, 44, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(20, 44, 255, 0.05) 1px, transparent 1px);
}

.contact-bg-logo {
    height: 380px;
    opacity: 0.07;
}

.floating-contact-cards {
    position: absolute;
    width: 100%;
    height: 100%;
}

.fc-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background-color: var(--dark-card);
    border-left: 3px solid var(--primary-blue);
    border-radius: 4px;
    color: var(--white);
    font-size: 14px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    animation: floatVertical 4s ease-in-out infinite;
}

.fc-card i {
    color: var(--primary-blue);
}

.fcc1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.fcc2 {
    top: 50%;
    right: 10%;
    animation-delay: 1s;
}

.fcc3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--deep-navy);
    border-top: 1px solid rgba(20, 44, 255, 0.15);
    padding-top: 80px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 60px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-col h3 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 25px;
}

.footer-logo {
    height: 52px;
    margin-bottom: 20px;
}

.footer-wordmark {
    font-weight: 700;
    font-size: 20px;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.footer-slogan {
    font-weight: 300;
    font-style: italic;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14px;
    opacity: 0.7;
    max-width: 300px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--light-grey);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-blue);
    opacity: 1;
    padding-left: 4px;
}

.footer-col ul li.highlight a {
    color: var(--primary-blue);
    opacity: 1;
    font-weight: 600;
}

.footer-col p {
    font-size: 14px;
    color: var(--light-grey);
    opacity: 0.8;
    margin-bottom: 15px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    border-top: 1px solid rgba(20, 44, 255, 0.2);
    max-width: 1400px;
    margin: 0 auto;
}

.copyright {
    font-size: 14px;
    opacity: 0.7;
}

.social-link i {
    width: 24px;
    height: 24px;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-link:hover i {
    color: var(--primary-blue);
    transform: scale(1.15);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes spinReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

@keyframes pulseExpand {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatVertical {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

@keyframes flagshipPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(20, 44, 255, 0.4);
    }

    100% {
        box-shadow: 0 0 0 15px rgba(20, 44, 255, 0);
    }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {

    /* Tablet */
    .hero-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 60px;
    }

    .hero-subhead {
        margin: 0 auto 40px auto;
    }

    .hero-ctas,
    .trust-stats {
        justify-content: center;
    }

    .about-container {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rd-split,
    .contact-split {
        flex-direction: column;
    }

    .rd-content,
    .rd-visual,
    .contact-form-side,
    .contact-visual {
        width: 100%;
        padding: 60px 40px;
    }

    .rd-visual {
        height: 600px;
    }

    .contact-visual {
        height: 400px;
        display: none;
        /* Hide on smaller screens to save space */
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    /* Mobile */
    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-container,
    .hero-container,
    .about-container,
    .stats-container,
    .services-grid,
    .skills-container,
    .why-container,
    .footer-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .rd-content,
    .rd-visual,
    .contact-form-side,
    .contact-visual {
        padding: 40px 20px;
    }

    .hero {
        padding-top: 100px;
        height: auto;
        min-height: auto;
    }

    .hero-visual {
        height: 400px;
    }

    .hero-title {
        font-size: 50px;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 15px;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .trust-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .visual-composition {
        transform: scale(0.6);
    }

    .stats-container {
        flex-wrap: wrap;
        gap: 30px;
    }

    .stat-item {
        min-width: 40%;
    }

    .stat-divider {
        display: none;
    }

    .about-visual {
        overflow: hidden;
    }

    .visual-card {
        width: 100%;
        max-width: 350px;
        height: 400px;
    }

    .rotating-border-ring {
        width: 250px;
        height: 250px;
    }

    .about-logo {
        height: 120px;
    }

    .services-grid,
    .skills-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .service-card.flagship {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .orbit-composition {
        transform: scale(0.5);
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        flex-direction: column;
    }

    .mission-vision-cards {
        flex-direction: column;
    }
}