/* ==========================================================================
   HAI NETWORKS Live Replica Style System (Precision Layout & Spacing)
   Color Palette:
   - Deep Dark Navy: #0A0F1D / #0B1120
   - Pure White: #FFFFFF
   - Light Gray Section: #F4F6F9
   - Gold Accent: #D4AF37
   - Crimson Red Accent: #A12525
   - Red Gradient: linear-gradient(135deg, #A12525 0%, #801A1A 100%)
   - Gold Gradient: linear-gradient(135deg, #D4AF37 0%, #B8962D 100%)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-dark: #0A0F1D;
    --bg-navy-secondary: #0B1120;
    --bg-light-section: #F4F6F9;
    --bg-white: #FFFFFF;

    --accent-gold: #D4AF37;
    --accent-gold-dark: #B8962D;
    --accent-red: #A12525;
    --accent-red-dark: #801A1A;

    --text-dark: #1E293B;
    --text-muted: #64748B;
    --text-light: #FFFFFF;
    --text-light-muted: #94A3B8;

    --border-light: #E2E8F0;
    --border-dark: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(212, 175, 55, 0.3);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-pill: 50px;

    --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    --shadow-red: 0 4px 15px rgba(161, 37, 37, 0.35);
    --shadow-gold: 0 4px 15px rgba(212, 175, 55, 0.35);

    --font-family: 'Inter', sans-serif;
    --transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-dark);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* Global Container Width & Margins */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* Top Announcement Bar */
.top-bar {
    background-color: #070B14;
    color: var(--text-light-muted);
    font-size: 0.82rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 2rem;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.top-bar-left i {
    color: var(--accent-gold);
    font-size: 0.85rem;
}

.top-bar-right {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.top-bar-social {
    color: var(--text-light-muted);
    font-size: 0.85rem;
    transition: var(--transition);
}

.top-bar-social:hover {
    color: var(--accent-gold);
}

/* Navbar Layout & Spacing */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 1.1rem 0;
}

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

.brand-badge {
    display: flex;
    align-items: center;
}

.badge-logo-container {
    display: flex;
    align-items: center;
}

.navbar nav {
    margin-left: auto;
    margin-right: 2.2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    list-style: none;
}

.nav-menu a {
    color: #333333;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.2rem 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-red);
}

.btn-nav-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #A12525 0%, #801A1A 100%);
    color: var(--text-light) !important;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 6px 20px rgba(161, 37, 37, 0.4);
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.btn-nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.4) 45%,
            rgba(255, 255, 255, 0.75) 50%,
            rgba(255, 255, 255, 0.4) 55%,
            transparent 100%);
    transform: skewX(-25deg);
    transition: left 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.btn-nav-cta:hover::before {
    left: 140%;
}

.btn-nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.6), 0 10px 28px rgba(161, 37, 37, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Hero Section Layout & Spacing */
.hero-wrapper {
    position: relative;
    padding: 6.5rem 0 7.5rem;
    background: linear-gradient(rgba(10, 15, 29, 0.65), rgba(10, 15, 29, 0.82)),
        url('/assets/img/hero_background.png') center/cover no-repeat;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-dark);
}

.hero-content {
    max-width: 860px;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
    padding-left: 0;
}

.hero-headline {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.16;
    margin-bottom: 1.4rem;
    letter-spacing: -0.5px;
    margin-left: 8rem;
}

.text-gold-highlight {
    color: var(--accent-gold);
}

.hero-paragraph {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.4rem;
    line-height: 1.65;
    max-width: 660px;
    margin-left: 8rem;
}

.hero-btn-group {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    flex-wrap: wrap;
    margin-left: 8rem;
}

.btn-hero-primary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #A12525 0%, #801A1A 100%);
    color: var(--text-light);
    padding: 0.88rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 8px 25px rgba(161, 37, 37, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition);
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.4) 45%,
            rgba(255, 255, 255, 0.75) 50%,
            rgba(255, 255, 255, 0.4) 55%,
            transparent 100%);
    transform: skewX(-25deg);
    transition: left 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.btn-hero-primary:hover::before {
    left: 140%;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.6), 0 12px 30px rgba(161, 37, 37, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
    color: #FFF;
}

.btn-hero-secondary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #D4AF37 0%, #B8962D 100%);
    color: #FFFFFF;
    padding: 0.88rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 8px 25px rgba(212, 175, 55, 0.45);
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.btn-hero-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 45%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0.4) 55%,
        transparent 100%
    );
    transform: skewX(-25deg);
    transition: left 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.btn-hero-secondary:hover::before {
    left: 140%;
}

.btn-hero-secondary:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.6), 0 12px 30px rgba(212, 175, 55, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
    color: #FFF;
}

.hero-scroll-indicator {
    text-align: center;
    margin-top: 3.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.4rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

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

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

/* Our Divisions Section Spacing */
.section-divisions {
    background-color: var(--bg-dark);
    padding: 6rem 0;
    color: var(--text-light);
}

.section-title-center {
    text-align: center;
    margin-bottom: 3.8rem;
}

.section-title-center h2 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.section-title-center p {
    color: var(--text-light-muted);
    font-size: 1.05rem;
}

.divisions-flex-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.4rem;
}

.division-live-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: 2.4rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.division-live-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--border-gold);
    transform: translateY(-6px);
}

.division-live-icon {
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 1.4rem;
}

.division-live-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.division-live-card p {
    font-size: 0.88rem;
    color: var(--text-light-muted);
    line-height: 1.55;
}

/* Why Choose Us Section Spacing */
.section-why-choose {
    background-color: var(--bg-light-section);
    padding: 6rem 0;
    color: var(--text-dark);
}

.section-title-why {
    text-align: center;
    margin-bottom: 3.8rem;
}

.section-title-why h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-title-why h2 span {
    color: var(--accent-red);
}

.section-title-why p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.why-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.4rem;
}

.why-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.why-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: rgba(212, 175, 55, 0.12);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.4rem;
}

.why-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    color: #0F172A;
}

.why-list {
    list-style: none;
}

.why-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.65rem;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    line-height: 1.4;
}

.why-list li::before {
    content: '→';
    color: var(--accent-gold);
    font-weight: 700;
}

/* Dynamic Projects Section */
.section-projects {
    background-color: var(--bg-dark);
    padding: 5.5rem 0;
    color: var(--text-light);
}

/* Split Footer Section */
.footer-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
}

.footer-left-testimonial {
    position: relative;
    background: linear-gradient(rgba(244, 246, 249, 0.88), rgba(244, 246, 249, 0.94)),
        url('/assets/img/hero_background.png') center/cover no-repeat;
    padding: 4.5rem 4.5rem 4.5rem 6.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-dark);
}

.quote-icon {
    font-size: 3rem;
    color: #0284C7;
    margin-bottom: 1rem;
    line-height: 1;
}

.testimonial-quote-text {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
    color: #1E293B;
    margin-bottom: 1.2rem;
}

.testimonial-stars-gold {
    color: var(--accent-gold);
    font-size: 1rem;
    margin-bottom: 1.2rem;
    display: flex;
    gap: 0.2rem;
}

.testimonial-author-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0284C7;
    letter-spacing: 1px;
}

.footer-right-details {
    background-color: #070B14;
    padding: 4.5rem 6.5rem 4.5rem 4.5rem;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-columns-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.footer-column-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column-title::before {
    content: '|';
    color: #0284C7;
    font-weight: 900;
}

.footer-info-list {
    list-style: none;
}

.footer-info-list li {
    font-size: 0.88rem;
    color: var(--text-light-muted);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-info-list li i {
    color: var(--text-light-muted);
}

.footer-quick-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.footer-quick-links-grid a {
    color: var(--text-light-muted);
    font-size: 0.88rem;
}

.footer-quick-links-grid a:hover {
    color: var(--text-light);
}

.footer-bottom-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-light-muted);
}

.footer-social-icons {
    display: flex;
    gap: 0.8rem;
}

.footer-social-icons a {
    color: var(--text-light-muted);
    font-size: 0.9rem;
}

.footer-social-icons a:hover {
    color: var(--accent-gold);
}

/* Responsive queries */
@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }

    .divisions-flex-grid,
    .why-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .footer-left-testimonial,
    .footer-right-details {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {

    .divisions-flex-grid,
    .why-cards-grid {
        grid-template-columns: 1fr;
    }

    .hero-headline {
        font-size: 2.4rem;
    }

    .top-bar-left {
        display: none;
    }

    .nav-menu {
        display: none;
    }
}

/* Contact Page Light Form & Card Components */
.form-input-light,
.form-select-light,
.form-textarea-light {
    width: 100%;
    padding: 0.85rem 1.1rem;
    font-size: 0.95rem;
    color: #1E293B;
    background-color: #F8FAFC;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-family: inherit;
    transition: all 0.25s ease;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.form-input-light:focus,
.form-select-light:focus,
.form-textarea-light:focus {
    outline: none;
    background-color: #FFFFFF;
    border-color: #A12525;
    box-shadow: 0 0 0 3px rgba(161, 37, 37, 0.12);
}

.contact-card-light {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 1.4rem 1.6rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #CBD5E1;
}

.contact-card-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #FAF5EE;
    border: 1px solid #F3ECE2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4AF37;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.25rem;
}

.contact-card-text {
    font-size: 0.88rem;
    color: #64748B;
    line-height: 1.45;
}