/* ============================================
   GSS WEBSITE - PREMIUM REDESIGN
   Dark Professional Theme
   ============================================ */

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

:root {
    /* Caribbean Water Light Theme */
    --black:        #0a2a2a;
    --dark:         #f0fafa;
    --dark-2:       #e0f5f5;
    --dark-3:       #d0eeee;
    --green-deep:   #006d6d;
    --green-mid:    #008080;
    --green-bright: #009b8d;
    --green-accent: #00b4a0;
    --green-light:  #00c9b1;
    --green-glow:   #00e5cc;
    --white:        #ffffff;
    --off-white:    #f5fffe;
    --gray-1:       #e0f5f5;
    --gray-2:       #2d6b6b;
    --gray-3:       #4a8f8f;
    --gold:         #c9a84c;
    --text-dark:    #0a2a2a;
    --text-mid:     #1a4a4a;
    --text-light:   #2d6b6b;
    --header-h:     80px;
}

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

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

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--dark);
    color: var(--text-dark);
    overflow-x: hidden;
    min-height: 100vh;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* ============================================
   TOP CONTACT BAR
   ============================================ */
.top-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 36px;
    background: #1a2332;
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem;
    font-family: var(--font-body);
    z-index: 10000;
    display: flex;
    align-items: center;
}
.top-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
}
.top-bar a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s;
}
.top-bar a:hover { color: #fff; }
.top-bar-cta {
    background: #2d6a4f;
    color: #fff !important;
    padding: 0.2rem 0.85rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    transition: background 0.2s !important;
}
.top-bar-cta:hover { background: #245a42 !important; }

/* ============================================
   HEADER / NAV
   ============================================ */
header {
    position: fixed;
    top: 36px; left: 0; right: 0;
    height: var(--header-h);
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,180,160,0.25);
    z-index: 9999;
    display: flex;
    align-items: center;
}

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

/* Logo */
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-wrap img {
    height: 54px;
    width: 54px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(0,180,160,0.4));
    transition: transform 0.3s;
}

.logo-wrap:hover img { transform: rotate(5deg) scale(1.05); }

.logo-text-wrap { display: flex; flex-direction: column; }

.logo-main {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-dark);
    letter-spacing: 1px;
    line-height: 1;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--green-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 3px;
}

/* Nav Links */
nav ul {
    display: flex;
    list-style: none;
    gap: 0.2rem;
    align-items: center;
}

nav a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-mid);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.25s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%; height: 2px;
    background: var(--green-light);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

nav a:hover { color: var(--green-deep); background: rgba(0,180,160,0.1); }
nav a:hover::after { transform: translateX(-50%) scaleX(1); }
nav a.active { color: var(--green-deep); }
nav a.active::after { transform: translateX(-50%) scaleX(1); }

.nav-cta {
    background: linear-gradient(135deg, var(--green-bright), var(--green-light)) !important;
    color: var(--white) !important;
    padding: 0.6rem 1.4rem !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 20px rgba(46,204,113,0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(46,204,113,0.5) !important;
}

.nav-cta::after { display: none; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    margin-top: calc(var(--header-h) + 36px);
    background:
        linear-gradient(160deg, rgba(0,100,120,0.88) 0%, rgba(0,60,80,0.92) 60%),
        url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1920&q=80') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(46,204,113,0.08) 0%, transparent 70%);
    animation: pulse-glow 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--dark), transparent);
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-left { }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(46,204,113,0.1);
    border: 1px solid rgba(46,204,113,0.3);
    color: var(--green-light);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-badge span { width: 8px; height: 8px; background: var(--green-light); border-radius: 50%; animation: blink 1.5s infinite; }

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

.hero h1 {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--green-accent), var(--green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 540px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.3s backwards;
}

.hero-logo-display {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-display::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46,204,113,0.15) 0%, transparent 70%);
    animation: pulse-glow 4s ease-in-out infinite;
}

.hero-logo-display::after {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 1px solid rgba(46,204,113,0.2);
    animation: spin 20s linear infinite;
}

.hero-logo-ring {
    position: absolute;
    inset: -40px;
    border-radius: 50%;
    border: 1px dashed rgba(46,204,113,0.15);
    animation: spin 30s linear infinite reverse;
}

@keyframes spin { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

.hero-logo-display img {
    width: 280px;
    height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0,229,204,0.5));
    position: relative;
    z-index: 2;
    animation: float-logo 6s ease-in-out infinite;
}

@keyframes float-logo {
    0%,100%{transform:translateY(0)} 50%{transform:translateY(-15px)}
}

@keyframes fadeInUp {
    from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)}
}
@keyframes fadeInRight {
    from{opacity:0;transform:translateX(40px)} to{opacity:1;transform:translateX(0)}
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green-bright), var(--green-light));
    color: var(--white);
    box-shadow: 0 6px 25px rgba(46,204,113,0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(46,204,113,0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: var(--green-light);
    color: var(--green-light);
    transform: translateY(-3px);
    background: rgba(46,204,113,0.05);
}

.btn-white {
    background: var(--white);
    color: var(--green-deep);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: linear-gradient(135deg, #006d6d, #008080);
    border-top: none;
    border-bottom: none;
    padding: 3rem 0;
}

.stats-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--green-accent), var(--green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* ============================================
   SECTION COMMONS
   ============================================ */
.section {
    padding: 7rem 0;
}

.section-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.section-tag {
    display: inline-block;
    color: var(--green-light);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 1.5rem; height: 2px;
    background: var(--green-light);
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-dark);
}

.section-title .accent {
    background: linear-gradient(135deg, var(--green-accent), var(--green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 600px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: #f0fafa;
}

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

.about-img-wrap {
    position: relative;
}

.about-img-wrap img {
    width: 100%;
    border-radius: 20px;
    display: block;
    filter: brightness(0.85) saturate(0.9);
}

.about-img-badge {
    position: absolute;
    bottom: -20px; right: -20px;
    background: linear-gradient(135deg, var(--green-bright), var(--green-light));
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(46,204,113,0.3);
}

.about-img-badge .big { font-size: 2.5rem; font-weight: 900; font-family: 'Montserrat', sans-serif; line-height: 1; }
.about-img-badge .small { font-size: 0.8rem; font-weight: 600; opacity: 0.9; }

.about-text { }

.about-text .section-desc { max-width: 100%; margin-bottom: 2rem; }

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--dark-2);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.04);
    transition: border-color 0.3s;
}

.about-feature:hover { border-color: rgba(46,204,113,0.3); }

.about-feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--white);
}

.about-feature p {
    font-size: 0.8rem;
    color: var(--gray-3);
    line-height: 1.5;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    background: var(--dark-2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-bright), var(--green-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(46,204,113,0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    background: var(--dark-2);
}

.service-icon {
    width: 60px; height: 60px;
    background: rgba(46,204,113,0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: background 0.3s;
}

.service-card:hover .service-icon {
    background: rgba(46,204,113,0.2);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray-3);
    line-height: 1.7;
}

/* ============================================
   FEDERAL SECTION
   ============================================ */
.federal-section {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.federal-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 80% 50%, rgba(46,204,113,0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 50%, rgba(10,61,31,0.3) 0%, transparent 60%);
}

.federal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.federal-badges-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 3rem;
}

.fed-badge {
    background: var(--dark-2);
    border: 1px solid rgba(46,204,113,0.2);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.fed-badge:hover {
    background: rgba(46,204,113,0.08);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.fed-badge .icon { font-size: 2rem; margin-bottom: 0.5rem; }
.fed-badge h4 { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 0.2rem; }
.fed-badge p { font-size: 0.75rem; color: var(--green-light); font-weight: 600; }

.agencies-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 2rem;
}

.agency-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: var(--dark-2);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.04);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-2);
    transition: all 0.3s;
}

.agency-item:hover {
    border-color: rgba(46,204,113,0.3);
    color: var(--white);
}

.agency-item::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--green-light);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners-section {
    background: var(--dark-2);
}

.partners-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
    margin-top: 4rem;
}

.partner-card {
    background: #ffffff;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.partner-card.primary {
    border-color: rgba(46,204,113,0.3);
    background: linear-gradient(135deg, rgba(10,61,31,0.5), var(--dark-3));
}

.partner-card.primary::before {
    content: 'PRIMARY PARTNER';
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    background: linear-gradient(135deg, var(--green-bright), var(--green-light));
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border-color: rgba(46,204,113,0.3);
}

.partner-logo-placeholder {
    width: 80px; height: 80px;
    background: rgba(46,204,113,0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.partner-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.partner-card .partner-role {
    font-size: 0.8rem;
    color: var(--green-light);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.partner-card p {
    font-size: 0.9rem;
    color: var(--gray-3);
    line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 50%, var(--green-bright) 100%);
    padding: 7rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="100" cy="100" r="80" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/><circle cx="100" cy="100" r="50" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>') center/400px repeat;
}

.cta-section h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 1;
}

.cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
    margin-top: calc(var(--header-h) + 36px);
    padding: 6rem 0 4rem;
    background:
        linear-gradient(160deg, rgba(10,61,31,0.95) 0%, rgba(10,10,10,0.98) 70%),
        url('https://images.unsplash.com/photo-1497436072909-60f360e1d4b1?w=1920&q=80') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--dark), transparent);
}

.page-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--gray-2);
    max-width: 600px;
}

/* ============================================
   CONTENT SECTIONS (inner pages)
   ============================================ */
.content-section {
    padding: 5rem 0;
    background: var(--dark);
}

.content-section.alt {
    background: #e0f5f5;
}

.content-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* ============================================
   CARDS (generic)
   ============================================ */
.card {
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(46,204,113,0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.card h3 { color: var(--white); margin-bottom: 1rem; font-size: 1.3rem; }
.card p { color: var(--gray-3); line-height: 1.7; font-size: 0.95rem; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

/* ============================================
   FEATURE LIST
   ============================================ */
.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.95rem;
    color: var(--gray-2);
    line-height: 1.6;
}

.feature-list li::before {
    content: '✓';
    color: var(--green-light);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-card {
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem; left: 2rem;
    font-size: 5rem;
    color: var(--green-light);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card p {
    font-style: italic;
    color: var(--gray-2);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.testimonial-author strong { color: var(--white); font-weight: 700; }
.testimonial-author span { color: var(--green-light); font-size: 0.85rem; display: block; margin-top: 0.2rem; }

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-2);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: var(--white);
    font-size: 0.95rem;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-3);
}

.form-group textarea { resize: vertical; min-height: 140px; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--green-light);
    box-shadow: 0 0 0 3px rgba(46,204,113,0.1);
    background: var(--dark-2);
}

.form-group select option { background: var(--dark-3); }

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 15px;
    transition: border-color 0.3s;
}

.contact-info-card:hover { border-color: rgba(46,204,113,0.3); }

.contact-icon {
    width: 48px; height: 48px;
    background: rgba(46,204,113,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info-card h4 { font-size: 0.85rem; color: var(--green-light); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.3rem; }
.contact-info-card p { font-size: 0.9rem; color: var(--gray-2); line-height: 1.6; }

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--black);
    border-top: 1px solid rgba(46,204,113,0.15);
    padding: 5rem 0 2rem;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-brand img {
    height: 60px;
    filter: invert(1) brightness(10) drop-shadow(0 0 8px rgba(0,229,204,0.4));
    margin-bottom: 1.5rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 1.5rem;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 0.8rem; color: rgba(255,255,255,0.65); font-size: 0.9rem; }

.footer-col a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col a:hover { color: #ffffff; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a { color: var(--green-light); text-decoration: none; }

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-right { display: none; }
    .hero-btns { justify-content: center; }
    .hero-desc { margin: 0 auto 2.5rem; }
    .about-grid { grid-template-columns: 1fr; }
    .federal-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --header-h: 70px; }
    header { height: auto; padding: 0.8rem 0; }
    .nav-container { flex-direction: column; gap: 0.8rem; }
    nav ul { flex-wrap: wrap; justify-content: center; gap: 0.2rem; }
    nav a { font-size: 0.75rem; padding: 0.4rem 0.8rem; }
    .hero h1 { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .page-header { margin-top: calc(120px + 36px); }
    .top-bar { font-size: 0.72rem; }
    .top-bar-inner { gap: 0.75rem; padding: 0 1rem; }
    .page-header h1 { font-size: 2.2rem; }
}
/* ============================================
   DYNAMIC FEATURES CSS
   ============================================ */

/* --- SEARCH OVERLAY --- */
#searchToggle {
    background: none;
    border: 1px solid rgba(0,180,160,0.3);
    color: var(--text-mid);
    cursor: pointer;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    white-space: nowrap;
}
#searchToggle:hover { border-color: var(--green-light); color: var(--green-light); }
#searchToggle kbd {
    font-size: 0.7rem;
    background: rgba(0,180,160,0.1);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
}

#searchOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10vh;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    backdrop-filter: blur(10px);
}
#searchOverlay.active { opacity: 1; pointer-events: all; }

.search-box {
    width: 100%;
    max-width: 680px;
    padding: 0 1.5rem;
}
.search-input-wrap {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid rgba(46,204,113,0.4);
    border-radius: 16px;
    padding: 0.8rem 1.2rem;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.search-input-wrap:focus-within { border-color: var(--green-light); box-shadow: 0 0 0 4px rgba(46,204,113,0.1); }
.search-icon { font-size: 1.2rem; color: var(--green-light); }
#globalSearch {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-dark);
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
}
#globalSearch::placeholder { color: var(--gray-3); }
#searchClose {
    background: none;
    border: none;
    color: var(--gray-3);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    transition: color 0.2s;
}
#searchClose:hover { color: var(--white); }

#searchResults {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    max-height: 60vh;
    overflow-y: auto;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0,180,160,0.1);
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
}
.search-result-item:hover { background: rgba(0,180,160,0.08); }
.search-result-category {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--green-light);
    background: rgba(46,204,113,0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
}
.search-result-title { flex: 1; color: var(--text-dark); font-size: 0.95rem; }
.search-result-title mark { background: rgba(46,204,113,0.3); color: var(--green-light); border-radius: 3px; padding: 0 2px; }
.search-result-arrow { color: var(--gray-3); font-size: 1.1rem; }
.search-hint, .search-no-results { color: var(--gray-3); padding: 2rem; text-align: center; font-size: 0.95rem; }

/* --- FILTER BUTTONS --- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}
.filter-btn {
    padding: 0.55rem 1.3rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: var(--gray-2);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}
.filter-btn:hover { border-color: var(--green-light); color: var(--green-light); }
.filter-btn.active {
    background: linear-gradient(135deg, var(--green-bright), var(--green-light));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(46,204,113,0.3);
}

.filter-item {
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.filter-item.hidden {
    display: none;
}
.filter-item.show {
    animation: filterShow 0.4s ease forwards;
}
@keyframes filterShow {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* --- EXPANDABLE SERVICE CARDS --- */
.expand-card {
    background: #ffffff;
    border: 1px solid rgba(0,180,160,0.15);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.expand-card:hover { border-color: rgba(46,204,113,0.2); }
.expand-card.open { border-color: rgba(46,204,113,0.35); box-shadow: 0 8px 30px rgba(46,204,113,0.1); }

.expand-toggle {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.4rem 1.8rem;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}
.expand-toggle:hover { background: rgba(0,180,160,0.05); }

.expand-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(46,204,113,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.expand-title { flex: 1; }
.expand-title h3 { margin: 0; font-size: 1.1rem; color: var(--text-dark); }
.expand-title p { margin: 0.2rem 0 0; font-size: 0.85rem; color: var(--text-light); }
.toggle-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--green-light);
    font-weight: 300;
    transition: transform 0.3s, background 0.3s;
    flex-shrink: 0;
}
.expand-card.open .toggle-icon { background: rgba(46,204,113,0.15); transform: rotate(0deg); }

.expand-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.expand-body-inner {
    padding: 0 1.8rem 1.8rem;
    border-top: 1px solid rgba(0,180,160,0.1);
    padding-top: 1.5rem;
}

/* --- LIVE FORM VALIDATION --- */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}
.form-group.focused label { color: var(--green-light); }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid rgba(0,180,160,0.25);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
    outline: none;
    box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--green-light);
    box-shadow: 0 0 0 3px rgba(46,204,113,0.12);
    background: rgba(46,204,113,0.03);
}
.form-group.success input,
.form-group.success textarea,
.form-group.success select {
    border-color: rgba(46,204,113,0.5);
    padding-right: 2.5rem;
}
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: rgba(255,80,80,0.6);
    box-shadow: 0 0 0 3px rgba(255,80,80,0.08);
}
.form-group.success::after {
    content: '✓';
    position: absolute;
    right: 1rem;
    top: 2.6rem;
    color: var(--green-light);
    font-size: 1rem;
    font-weight: 700;
}
.field-error {
    display: block;
    color: #ff6b6b;
    font-size: 0.78rem;
    margin-top: 0.4rem;
    padding-left: 0.2rem;
    animation: slideDown 0.2s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
.char-counter {
    text-align: right;
    font-size: 0.75rem;
    color: var(--gray-3);
    margin-top: 0.3rem;
    transition: color 0.3s;
}
.form-group.shake {
    animation: shake 0.4s ease;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}
.form-success {
    text-align: center;
    padding: 3rem 2rem;
}
.success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-bright), var(--green-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes popIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* --- TABS --- */
.tab-nav {
    display: flex;
    gap: 0.3rem;
    border-bottom: 2px solid rgba(0,180,160,0.2);
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.tab-btn {
    padding: 0.8rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.25s;
    border-radius: 8px 8px 0 0;
}
.tab-btn:hover { color: var(--text-dark); background: rgba(0,180,160,0.06); }
.tab-btn.active { color: var(--green-light); border-bottom-color: var(--green-light); background: rgba(46,204,113,0.05); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* --- PROGRESS BARS --- */
.progress-item { margin-bottom: 1.2rem; }
.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-2);
    font-weight: 600;
}
.progress-track {
    height: 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 50px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--green-bright), var(--green-light));
    width: 0;
    transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--green-light);
    box-shadow: 0 0 8px rgba(46,204,113,0.6);
}

/* --- DONUT CHARTS --- */
.donut-chart { display: inline-block; }
.charts-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
}
.chart-item { text-align: center; }
.chart-label { font-size: 0.8rem; color: var(--gray-3); margin-top: 0.5rem; }

/* --- BAR CHART --- */
.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    height: 180px;
    padding: 1rem 0;
}
.bar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    gap: 0.5rem;
}
.bar-fill {
    width: 100%;
    background: linear-gradient(180deg, var(--green-light), var(--green-bright));
    border-radius: 6px 6px 0 0;
    height: 0;
    transition: height 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.bar-label { font-size: 0.7rem; color: var(--text-light); text-align: center; }
.bar-value { font-size: 0.75rem; font-weight: 700; color: var(--green-light); }

/* --- SCROLL TO TOP --- */
#scrollTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-bright), var(--green-light));
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(46,204,113,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}
#scrollTop.visible { opacity: 1; transform: translateY(0); }
#scrollTop:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(46,204,113,0.5); }

/* --- CURSOR GLOW --- */
#cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,180,160,0.06) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: left 0.1s, top 0.1s;
}

/* --- TOAST NOTIFICATIONS --- */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #ffffff;
    border: 1px solid rgba(46,204,113,0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    min-width: 280px;
    max-width: 500px;
}
.toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-success { border-color: rgba(46,204,113,0.4); }
.toast-error { border-color: rgba(255,80,80,0.4); }
.toast span { flex: 1; color: var(--text-dark); font-size: 0.9rem; }
.toast button { background: none; border: none; color: var(--gray-3); cursor: pointer; font-size: 1.1rem; }

/* --- TOOLTIP --- */
.tooltip {
    position: absolute;
    background: #003d3d;
    color: var(--white);
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.tooltip.visible { opacity: 1; }

/* --- PAGE TRANSITIONS --- */
body.page-exit { animation: pageExit 0.3s ease forwards; }
body.page-enter { animation: pageEnter 0.4s ease forwards; }
@keyframes pageExit { to { opacity: 0; transform: translateY(-10px); } }
@keyframes pageEnter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- RIPPLE --- */
.btn { position: relative; overflow: hidden; }
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transform: scale(0);
    animation: rippleAnim 0.7s linear;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    margin-top: -50px;
    pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* --- MOBILE NAV TOGGLE --- */
#navToggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
#navToggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
}
#navToggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
#navToggle.open span:nth-child(2) { opacity: 0; }
#navToggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
    #navToggle { display: flex; }
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 1rem;
        border-top: 1px solid rgba(255,255,255,0.05);
        z-index: 100;
    }
    nav ul.open { display: flex; }
    .nav-container { position: relative; flex-wrap: wrap; }
}

/* --- HEADER SEARCH INTEGRATION --- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* --- ENHANCED HEADER --- */
header.scrolled {
    background: rgba(255,255,255,0.99);
    box-shadow: 0 2px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
}


/* ============================================
   GSS DARK PROFESSIONAL THEME — FINAL OVERRIDES
   All text white/light on dark backgrounds
   ============================================ */

/* ── Root background ── */
body { background: #0a1628; }

/* ── Global headings ── */
h1, h2, h3, h4, h5, h6 { color: #ffffff; }

/* ── Hero (already dark overlay) ── */
.hero h1, .hero h1 * { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; }
.hero-desc { color: rgba(255,255,255,0.88) !important; }
.hero-badge { color: rgba(255,255,255,0.85) !important; }

/* ── Section backgrounds ── */
.section, .about-section, .services-section, .partners-section,
.federal-section, .content-section, .content-section.alt {
    background: #0d1f3c !important;
}
.section:nth-child(even), .content-section.alt {
    background: #0a1628 !important;
}

/* ── Section text ── */
.section-tag { color: #48cae4 !important; }
.section-tag::before { background: #48cae4 !important; }
.section-title { color: #ffffff !important; }
.section-title .accent {
    background: linear-gradient(135deg, #00b4d8, #48cae4) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}
.section-desc { color: rgba(255,255,255,0.80) !important; }

/* ── Page header ── */
.page-header { background: linear-gradient(160deg, #0a1628 0%, #0d2a4a 100%) !important; }
.page-header h1 { color: #ffffff !important; }
.page-header p { color: rgba(255,255,255,0.80) !important; }
.page-header .section-tag { color: rgba(255,255,255,0.75) !important; }
.page-header .section-tag::before { background: rgba(255,255,255,0.75) !important; }

/* ── Stats bar ── */
.stats-bar { background: linear-gradient(135deg, #0077b6, #0096c7) !important; }
.stat-number { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; }
.stat-label { color: rgba(255,255,255,0.85) !important; }
.content-section .stat-number {
    color: #48cae4 !important;
    -webkit-text-fill-color: #48cae4 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* ── Cards ── */
.card {
    background: #2a4a72 !important;
    border-color: rgba(72,202,228,0.35) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.28), 0 1px 0 rgba(72,202,228,0.10) !important;
}
.card:hover {
    border-color: rgba(72,202,228,0.55) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 20px rgba(72,202,228,0.15) !important;
    transform: translateY(-4px) !important;
}
.card h3, .service-card h3 { color: #ffffff !important; }
.card p, .service-card p { color: rgba(255,255,255,0.78) !important; }

/* ── Service image cards ── */
.service-img-card {
    background: #2a4a72 !important;
    border-color: rgba(72,202,228,0.35) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.28), 0 1px 0 rgba(72,202,228,0.10) !important;
}
.service-img-card:hover {
    border-color: rgba(72,202,228,0.55) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 20px rgba(72,202,228,0.15) !important;
}
.service-img-card h3 { color: #ffffff !important; }
.service-img-card p { color: rgba(255,255,255,0.78) !important; }
.service-img-card .sic-tag {
    background: rgba(72,202,228,0.15) !important;
    color: #48cae4 !important;
}
.service-img-card a { color: #48cae4 !important; }

/* ── About section ── */
.about-text h2 { color: #ffffff !important; }
.about-text p { color: rgba(255,255,255,0.80) !important; }
.about-feature {
    background: #2a4a72 !important;
    border-color: rgba(72,202,228,0.35) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.30), 0 1px 0 rgba(72,202,228,0.12) !important;
}
.about-feature h4 { color: #ffffff !important; }
.about-feature p { color: rgba(255,255,255,0.82) !important; }

/* ── Styled about-feature cards ── */

/* Keyframes */
@keyframes af-slide-in {
    from { opacity: 0; transform: translateY(36px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)   scale(1);    }
}
@keyframes af-border-glow {
    0%, 100% { box-shadow: 0 4px 24px rgba(0,0,0,0.28), 0 0 16px rgba(72,202,228,0.08), -4px 0 14px rgba(72,202,228,0.18); }
    50%       { box-shadow: 0 4px 24px rgba(0,0,0,0.28), 0 0 28px rgba(72,202,228,0.22), -4px 0 28px rgba(72,202,228,0.40); }
}
@keyframes af-icon-bounce {
    0%,100% { transform: translateY(0) scale(1); }
    30%     { transform: translateY(-6px) scale(1.12); }
    60%     { transform: translateY(2px) scale(0.96); }
    80%     { transform: translateY(-3px) scale(1.05); }
}
@keyframes af-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}
@keyframes af-icon-spin-in {
    from { transform: rotate(-20deg) scale(0.7); opacity: 0; }
    to   { transform: rotate(0deg)   scale(1);   opacity: 1; }
}

/* Pre-animation state — cards hidden until JS adds .af-visible */
.af-styled {
    background: linear-gradient(135deg, #243f65, #2a4a72) !important;
    border: 1px solid rgba(72,202,228,0.40) !important;
    border-left: 4px solid #48cae4 !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.28), 0 0 16px rgba(72,202,228,0.08), -4px 0 14px rgba(72,202,228,0.18) !important;
    border-radius: 14px !important;
    padding: 1.2rem 1rem !important;
    transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease !important;
    opacity: 0;
    transform: translateY(36px) scale(0.97);
    position: relative;
    overflow: hidden;
    animation: none;
}

/* Pseudo shimmer overlay */
.af-styled::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(110deg,
        transparent 30%,
        rgba(72,202,228,0.07) 50%,
        transparent 70%);
    background-size: 200% 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}
.af-styled:hover::before {
    opacity: 1;
    animation: af-shimmer 1.4s linear infinite;
}

/* Visible state triggered by IntersectionObserver */
.af-styled.af-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: af-slide-in 0.6s cubic-bezier(0.22,0.61,0.36,1) both,
               af-border-glow 3.5s ease-in-out infinite 0.8s !important;
}

/* Stagger delays */
.af-styled.af-visible:nth-child(1) { animation-delay: 0.00s, 0.8s !important; }
.af-styled.af-visible:nth-child(2) { animation-delay: 0.13s, 1.0s !important; }
.af-styled.af-visible:nth-child(3) { animation-delay: 0.26s, 1.2s !important; }
.af-styled.af-visible:nth-child(4) { animation-delay: 0.39s, 1.4s !important; }

.af-styled:hover {
    background: linear-gradient(135deg, #2d4f6e, #315675) !important;
    border-left-color: #00b4d8 !important;
    box-shadow: 0 14px 42px rgba(0,180,216,0.28), 0 0 28px rgba(72,202,228,0.18), -4px 0 20px rgba(72,202,228,0.35) !important;
    transform: translateY(-5px) scale(1.02) !important;
    animation: none !important;
}
.af-icon-wrap {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.4rem !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 15px rgba(0,119,182,0.35) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    animation: af-icon-spin-in 0.5s cubic-bezier(0.22,0.61,0.36,1) both;
}
.af-styled:nth-child(1) .af-icon-wrap { animation-delay: 0.20s; }
.af-styled:nth-child(2) .af-icon-wrap { animation-delay: 0.33s; }
.af-styled:nth-child(3) .af-icon-wrap { animation-delay: 0.46s; }
.af-styled:nth-child(4) .af-icon-wrap { animation-delay: 0.59s; }
.af-styled:hover .af-icon-wrap {
    animation: af-icon-bounce 0.6s ease !important;
    box-shadow: 0 6px 22px rgba(72,202,228,0.45) !important;
}
.af-title {
    color: #48cae4 !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.3rem !important;
    letter-spacing: 0.3px !important;
}
.about-img-badge { background: linear-gradient(135deg, #0077b6, #00b4d8) !important; }
.about-img-badge .big { color: #ffffff !important; }
.about-img-badge .small { color: rgba(255,255,255,0.85) !important; }

/* ── Feature list ── */
.feature-list li { color: rgba(255,255,255,0.82) !important; }
.feature-list li::before { background: #48cae4 !important; }

/* ── Expand cards ── */
.expand-card {
    background: #2a4a72 !important;
    border-color: rgba(72,202,228,0.38) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25), 0 1px 0 rgba(72,202,228,0.10) !important;
}
.expand-card:hover { border-color: rgba(72,202,228,0.55) !important; background: #2e5078 !important; }
.expand-card.open {
    border-color: rgba(72,202,228,0.55) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 16px rgba(72,202,228,0.10) !important;
}
.expand-toggle:hover { background: rgba(72,202,228,0.06) !important; }
.expand-title h3 { color: #ffffff !important; }
.expand-title p { color: rgba(255,255,255,0.70) !important; }
.expand-icon-wrap { background: rgba(72,202,228,0.12) !important; color: #48cae4 !important; }
.toggle-icon { background: rgba(72,202,228,0.1) !important; color: #48cae4 !important; }
.expand-card.open .toggle-icon { background: rgba(72,202,228,0.2) !important; }
.expand-body-inner { border-top-color: rgba(72,202,228,0.12) !important; }
.expand-body-inner p { color: rgba(255,255,255,0.80) !important; }
.expand-body-inner ul li { color: rgba(255,255,255,0.80) !important; }

/* ── Tabs ── */
.tab-nav { border-bottom-color: rgba(72,202,228,0.2) !important; }
.tab-btn { color: rgba(255,255,255,0.65) !important; }
.tab-btn:hover { color: #ffffff !important; background: rgba(72,202,228,0.07) !important; }
.tab-btn.active {
    color: #48cae4 !important;
    border-bottom-color: #48cae4 !important;
    background: rgba(72,202,228,0.08) !important;
}

/* ── Filter buttons ── */
.filter-btn { border-color: rgba(72,202,228,0.3) !important; color: rgba(255,255,255,0.70) !important; }
.filter-btn:hover { border-color: #48cae4 !important; color: #ffffff !important; }
.filter-btn.active {
    background: linear-gradient(135deg, #0077b6, #00b4d8) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(0,119,182,0.35) !important;
}

/* ── Partner cards ── */
.partner-card {
    background: #2a4a72 !important;
    border-color: rgba(72,202,228,0.38) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25), 0 1px 0 rgba(72,202,228,0.12) !important;
}
.partner-card h3 { color: #ffffff !important; }
.partner-card p { color: rgba(255,255,255,0.85) !important; }
.partner-card .feature-list li { color: rgba(255,255,255,0.85) !important; }

/* ── Federal badges ── */
.fed-badge {
    background: #2a4a72 !important;
    border-color: rgba(72,202,228,0.38) !important;
    box-shadow: 0 4px 18px rgba(0,0,0,0.22) !important;
}
.fed-badge h4 { color: #ffffff !important; }
.fed-badge p { color: #48cae4 !important; }

/* ── Agency items ── */
.agency-item {
    background: rgba(72,202,228,0.12) !important;
    color: rgba(255,255,255,0.90) !important;
    border-color: rgba(72,202,228,0.25) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
}

/* ── Process steps ── */
.process-step h4 { color: #ffffff !important; }
.process-step p { color: rgba(255,255,255,0.78) !important; }

/* ── Testimonials ── */
.testimonial-strip { background: linear-gradient(135deg, #0a1628, #0d2a4a) !important; }
.testimonial-card {
    background: rgba(255,255,255,0.14) !important;
    border-color: rgba(72,202,228,0.40) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25), 0 1px 0 rgba(72,202,228,0.10) !important;
}
.testimonial-card p { color: rgba(255,255,255,0.90) !important; }
.testimonial-card .t-author { color: rgba(255,255,255,0.65) !important; }

/* ── CTA section ── */
.cta-section { background: linear-gradient(135deg, #0077b6, #0096c7) !important; }
.cta-section h2 { color: #ffffff !important; }
.cta-section p { color: rgba(255,255,255,0.90) !important; }

/* ── Buttons ── */
.btn-primary {
    background: linear-gradient(135deg, #0077b6, #00b4d8) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 25px rgba(0,119,182,0.35) !important;
}
.btn-outline {
    border-color: rgba(255,255,255,0.5) !important;
    color: #ffffff !important;
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: #ffffff !important;
}
.btn-white {
    background: #ffffff !important;
    color: #0077b6 !important;
}

/* ── Progress bars ── */
.progress-fill { background: linear-gradient(90deg, #0077b6, #00b4d8) !important; }
.progress-fill::after { background: #00b4d8 !important; box-shadow: 0 0 8px rgba(0,180,216,0.6) !important; }
.progress-label span { color: rgba(255,255,255,0.80) !important; }

/* ── Bar chart ── */
.bar-fill { background: linear-gradient(180deg, #48cae4, #0077b6) !important; }
.bar-value { color: #48cae4 !important; }
.bar-label { color: rgba(255,255,255,0.70) !important; }

/* ── Donut charts ── */
.donut-chart text { fill: #ffffff !important; }

/* ── Form ── */
.form-group label { color: rgba(255,255,255,0.85) !important; }
.form-group input, .form-group textarea, .form-group select {
    background: #243f65 !important;
    border-color: rgba(72,202,228,0.35) !important;
    color: #ffffff !important;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: #48cae4 !important;
    box-shadow: 0 0 0 3px rgba(72,202,228,0.12) !important;
}
.form-group.focused label { color: #48cae4 !important; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.35) !important; }
.form-group select option { color: #ffffff !important; background: #1e3a5f !important; }

/* ── Contact info cards ── */
.contact-info-card {
    background: #2a4a72 !important;
    border-color: rgba(72,202,228,0.40) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25), 0 1px 0 rgba(72,202,228,0.10) !important;
}
.contact-info-card h4 { color: #ffffff !important; }
.contact-info-card p { color: rgba(255,255,255,0.85) !important; }
.contact-info-card p a { color: rgba(255,255,255,0.85) !important; text-decoration: none; }
.contact-info-card p a:hover { color: #ffffff !important; }
.contact-icon { background: rgba(72,202,228,0.18) !important; color: #48cae4 !important; }

/* ── Resource cards ── */
.resource-card { background: #2a4a72 !important; border-color: rgba(72,202,228,0.38) !important; box-shadow: 0 4px 18px rgba(0,0,0,0.22) !important; }
.resource-card h3 { color: #ffffff !important; }
.resource-card p { color: rgba(255,255,255,0.78) !important; }

/* ── Contract cards (federal page) ── */
.contract-card { background: #2a4a72 !important; border-color: rgba(72,202,228,0.38) !important; box-shadow: 0 4px 18px rgba(0,0,0,0.22) !important; }
.contract-card h3 { color: #ffffff !important; }
.contract-card p { color: rgba(255,255,255,0.78) !important; }

/* ── Footer ── */
footer { background: #060f1e !important; }
footer h4 { color: #ffffff !important; }
footer p { color: rgba(255,255,255,0.70) !important; }
.footer-col h4 { color: #ffffff !important; }
.footer-col a { color: rgba(255,255,255,0.60) !important; }
.footer-col a:hover { color: #ffffff !important; }
.footer-bottom span { color: rgba(255,255,255,0.40) !important; }
.footer-brand img { filter: drop-shadow(0 0 8px rgba(72,202,228,0.4)) !important; }

/* ── Header ── */
header { background: rgba(6,15,30,0.97) !important; border-bottom-color: rgba(72,202,228,0.12) !important; }
nav a { color: rgba(255,255,255,0.80) !important; }
nav a:hover { color: #ffffff !important; background: rgba(72,202,228,0.08) !important; }
nav a.active { color: #48cae4 !important; }
.logo-main { color: #ffffff !important; }
.logo-sub { color: rgba(255,255,255,0.65) !important; }

/* ── Search overlay ── */
#searchOverlay { background: rgba(6,15,30,0.95) !important; }
.search-input-wrap { background: #1e3a5f !important; border-color: rgba(72,202,228,0.4) !important; }
#globalSearch { color: #ffffff !important; }
#globalSearch::placeholder { color: rgba(255,255,255,0.35) !important; }
#searchResults { background: #1e3a5f !important; border-color: rgba(72,202,228,0.2) !important; }
.search-result-item { border-bottom-color: rgba(72,202,228,0.1) !important; }
.search-result-item:hover { background: rgba(72,202,228,0.07) !important; }
.search-result-title { color: #ffffff !important; }
.search-result-title mark { background: rgba(72,202,228,0.25) !important; color: #48cae4 !important; }
.search-result-arrow { color: #48cae4 !important; }
.search-hint, .search-no-results { color: rgba(255,255,255,0.50) !important; }
#searchClose { color: rgba(255,255,255,0.60) !important; }

/* ── Scroll to top ── */
#scrollTop { background: linear-gradient(135deg, #0077b6, #00b4d8) !important; box-shadow: 0 4px 15px rgba(0,119,182,0.4) !important; }

/* ── Cursor glow ── */
#cursor-glow { background: radial-gradient(circle, rgba(72,202,228,0.06) 0%, transparent 70%) !important; }

/* ── Mobile nav ── */
nav ul.open { background: #0d1f3c !important; }
#navToggle span { background: #ffffff !important; }

/* ── Tooltip ── */
.tooltip { background: #0d1f3c !important; border-color: rgba(72,202,228,0.2) !important; color: #ffffff !important; }

/* ── Success icon ── */
.success-icon { background: linear-gradient(135deg, #0077b6, #00b4d8) !important; }

/* ── Industry strip labels ── */
.strip-label { color: #ffffff !important; }

/* ── Hero badge checkmarks ── */
.hero-badge span, .hero-badge { color: rgba(255,255,255,0.80) !important; }

/* ── Performance page specific ── */
.case-study-card { background: #2a4a72 !important; border-color: rgba(72,202,228,0.38) !important; box-shadow: 0 4px 18px rgba(0,0,0,0.22) !important; }
.case-study-card h3 { color: #ffffff !important; }
.case-study-card p { color: rgba(255,255,255,0.78) !important; }
.metric-card { background: #2a4a72 !important; border: 1px solid rgba(72,202,228,0.38) !important; box-shadow: 0 4px 18px rgba(0,0,0,0.22) !important; }
.metric-value { color: #48cae4 !important; }
.metric-label { color: rgba(255,255,255,0.70) !important; }

/* ── Any remaining inline bg overrides ── */
[style*="background:#e0f7ff"], [style*="background: #e0f7ff"],
[style*="background:#caf0f8"], [style*="background: #caf0f8"],
[style*="background:#fff"], [style*="background: #fff"],
[style*="background:#ffffff"], [style*="background: #ffffff"] {
    background: #2a4a72 !important;
    color: rgba(255,255,255,0.80) !important;
}

/* ── Inline color text overrides — ensure white ── */
[style*="color:#003049"], [style*="color: #003049"],
[style*="color:#0a2a2a"], [style*="color: #0a2a2a"],
[style*="color:#2d6b6b"], [style*="color: #2d6b6b"],
[style*="color:#1a4a4a"], [style*="color: #1a4a4a"] {
    color: rgba(255,255,255,0.80) !important;
}
