/* Goal Tech Services Website CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-main: #02060c;
    --bg-card: rgba(8, 18, 30, 0.88);
    --bg-card-soft: rgba(10, 24, 39, 0.72);
    --blue: #159eff;
    --blue-soft: #0c65a8;
    --blue-glow: rgba(21, 158, 255, 0.35);
    --text-main: #ffffff;
    --text-muted: #a9b8c8;
    --border: rgba(21, 158, 255, 0.22);
    --border-strong: rgba(21, 158, 255, 0.55);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(21, 158, 255, 0.18), transparent 32%),
        radial-gradient(circle at top right, rgba(21, 158, 255, 0.10), transparent 30%),
        linear-gradient(135deg, #02060c 0%, #06101d 45%, #02060c 100%);
    color: var(--text-main);
    min-height: 100vh;
}

body::before,
body::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    width: 170px;
    pointer-events: none;
    opacity: 0.28;
    z-index: -1;
}

body::before {
    left: 0;
    background:
        linear-gradient(90deg, rgba(21, 158, 255, 0.25), transparent),
        repeating-linear-gradient(
            135deg,
            transparent 0,
            transparent 18px,
            rgba(21, 158, 255, 0.20) 19px,
            transparent 20px
        );
}

body::after {
    right: 0;
    background:
        linear-gradient(270deg, rgba(21, 158, 255, 0.25), transparent),
        repeating-linear-gradient(
            45deg,
            transparent 0,
            transparent 18px,
            rgba(21, 158, 255, 0.20) 19px,
            transparent 20px
        );
}

a {
    color: inherit;
}

.site-shell {
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 20px clamp(14px, 3vw, 42px);
}

/* Header */

.site-header {
    position: sticky;
    top: 14px;
    z-index: 100;
    min-height: 76px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: rgba(4, 10, 18, 0.82);
    border: 1px solid var(--border);
    border-radius: 14px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.45);
}

.logo-area {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    width: auto;
    height: 54px;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2.2vw, 34px);
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 9px 0;
    border-bottom: 2px solid transparent;
    transition: 0.25s ease;
}

.main-nav a:hover {
    color: var(--blue);
    border-bottom-color: var(--blue);
    text-shadow: 0 0 10px var(--blue-glow);
}

.nav-cta,
.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: 0.25s ease;
}

.nav-cta,
.primary-btn {
    background: linear-gradient(135deg, #159eff, #0076d8);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 0 22px rgba(21, 158, 255, 0.25);
}

.nav-cta:hover,
.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 32px rgba(21, 158, 255, 0.45);
}

.secondary-btn {
    background: rgba(255,255,255,0.04);
    color: #ffffff;
    border: 1px solid var(--border-strong);
}

.secondary-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
    box-shadow: 0 0 22px var(--blue-glow);
}

/* Common */

main {
    min-height: 70vh;
}

.section-eyebrow {
    color: var(--blue);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.page-section,
.hero-section {
    margin-top: 24px;
    padding: clamp(34px, 5vw, 70px);
    background: rgba(3, 9, 17, 0.72);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow:
        inset 0 0 60px rgba(21, 158, 255, 0.035),
        0 0 30px rgba(0,0,0,0.35);
    overflow: hidden;
    position: relative;
}

.page-section::before,
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 0%, rgba(21, 158, 255, 0.055) 45%, transparent 80%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 42px;
    position: relative;
    z-index: 1;
}

.section-title h1 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
    margin-bottom: 14px;
}

.title-line {
    width: 82px;
    height: 3px;
    background: var(--blue);
    margin: 0 auto;
    box-shadow: 0 0 18px var(--blue-glow);
}

.section-subtitle {
    margin: 18px auto 0;
    color: var(--text-muted);
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.7;
}

/* Home */

.hero-section {
    min-height: 620px;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(28px, 5vw, 70px);
}

.hero-text {
    max-width: 690px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(21, 158, 255, 0.10);
    border: 1px solid var(--border);
    color: var(--blue);
    border-radius: 999px;
    padding: 8px 13px;
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 13px;
}

.hero-text h1 {
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.hero-text h1 span,
.hero-text h2 span {
    color: var(--blue);
    text-shadow: 0 0 20px rgba(21, 158, 255, 0.35);
}

.hero-text h2 {
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-text p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.75;
    max-width: 620px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 620px;
}

.hero-mini-card {
    background: var(--bg-card-soft);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
}

.hero-mini-card strong {
    display: block;
    color: #ffffff;
    margin-bottom: 6px;
}

.hero-mini-card span {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.4;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    width: min(100%, 440px);
    min-height: 440px;
    border-radius: 28px;
    background:
        radial-gradient(circle at center, rgba(21,158,255,0.25), transparent 45%),
        linear-gradient(145deg, rgba(8,18,30,0.95), rgba(2,6,12,0.98));
    border: 1px solid var(--border-strong);
    box-shadow:
        inset 0 0 50px rgba(21,158,255,0.08),
        0 0 48px rgba(21,158,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 34px;
    position: relative;
    overflow: hidden;
}

.visual-card::before {
    content: "";
    position: absolute;
    width: 72%;
    height: 72%;
    border: 2px solid rgba(21,158,255,0.35);
    border-radius: 50%;
    box-shadow: 0 0 35px var(--blue-glow);
}

.visual-card::after {
    content: "GTS";
    position: absolute;
    font-size: 96px;
    font-weight: 700;
    color: rgba(21, 158, 255, 0.08);
    letter-spacing: 0.08em;
}

.visual-card-content {
    position: relative;
    z-index: 2;
}

.visual-card h3 {
    color: var(--blue);
    font-size: 28px;
    margin-bottom: 10px;
}

.visual-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Cards and grids */

.card-grid,
.service-grid,
.value-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.info-card,
.service-card,
.feature-card,
.contact-card,
.consulting-card,
.highlight-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: inset 0 0 28px rgba(21, 158, 255, 0.025);
    transition: 0.25s ease;
}

.info-card:hover,
.service-card:hover,
.feature-card:hover,
.contact-card:hover,
.consulting-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
    box-shadow: 0 0 32px rgba(21,158,255,0.12);
}

.card-icon,
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(21, 158, 255, 0.12);
    border: 1px solid var(--border-strong);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.info-card h2,
.service-card h2,
.feature-card h2,
.contact-card h2,
.consulting-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #ffffff;
}

.info-card p,
.service-card p,
.feature-card p,
.contact-card p,
.highlight-box p,
.consulting-card li,
.service-text p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
}

/* Services */

.service-block {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 28px;
    align-items: stretch;
    margin-bottom: 24px;
}

.service-block.reverse {
    grid-template-columns: 1fr 320px;
}

.service-block.reverse .service-image {
    order: 2;
}

.service-image {
    min-height: 220px;
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    background:
        radial-gradient(circle, rgba(21,158,255,0.26), transparent 58%),
        rgba(8,18,30,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: inset 0 0 40px rgba(21,158,255,0.05);
}

.service-text {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
}

.service-text h2 {
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 14px;
}

.service-list {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.service-list span,
.tech-chip {
    background: rgba(21,158,255,0.08);
    border: 1px solid var(--border);
    color: #dceeff;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
}

/* Consultancy */

.consulting-hero,
.about-layout,
.contact-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: start;
}

.consulting-text,
.about-description {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px;
}

.consulting-text h2,
.about-description h2 {
    font-size: clamp(26px, 3vw, 38px);
    margin-bottom: 18px;
}

.consulting-text p,
.about-description p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.consulting-card ul {
    list-style: none;
}

.consulting-card li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.consulting-card li::before {
    content: "✓";
    color: var(--blue);
    font-weight: 700;
    margin-right: 10px;
}

/* About */

.about-features {
    position: relative;
    z-index: 1;
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* Contact */

.contact-form-box,
.contact-info-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
}

.contact-form-box h2,
.contact-info-box h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-form-box form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form-box label {
    font-weight: 700;
    font-size: 14px;
}

.contact-form-box input,
.contact-form-box textarea,
.contact-form-box select {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(21,158,255,0.18);
    border-radius: 10px;
    outline: none;
    color: #ffffff;
    padding: 13px 14px;
    font-size: 15px;
}

.contact-form-box textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form-box input::placeholder,
.contact-form-box textarea::placeholder {
    color: #718499;
}

.contact-form-box button {
    margin-top: 8px;
    border: none;
    cursor: pointer;
}

.contact-item {
    padding: 16px;
    border: 1px solid rgba(21,158,255,0.14);
    border-radius: 14px;
    background: rgba(255,255,255,0.025);
    margin-bottom: 14px;
}

.contact-item h3 {
    color: var(--blue);
    margin-bottom: 8px;
    font-size: 16px;
}

.contact-item p,
.contact-item a {
    color: var(--text-muted);
    line-height: 1.6;
    text-decoration: none;
}

/* Footer */

.site-footer {
    margin-top: 24px;
    background: rgba(4, 10, 18, 0.90);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
    gap: 24px;
    padding: 30px;
}

.footer-brand img {
    height: 54px;
    width: auto;
    margin-bottom: 14px;
}

.footer-brand p,
.footer-contact p,
.footer-bottom p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 14px;
}

.footer-links h3,
.footer-contact h3 {
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 16px;
}

.footer-links a,
.admin-link {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 9px;
    font-size: 14px;
}

.footer-links a:hover,
.admin-link:hover {
    color: var(--blue);
}

.footer-bottom {
    border-top: 1px solid rgba(21,158,255,0.12);
    padding: 16px 30px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

/* Responsive */

@media (max-width: 1100px) {
    .hero-content,
    .consulting-hero,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .site-header {
        position: static;
        flex-direction: column;
    }

    .nav-cta {
        width: 100%;
    }

    .card-grid,
    .service-grid,
    .value-grid,
    .about-features,
    .hero-highlights {
        grid-template-columns: 1fr;
    }

    .service-block,
    .service-block.reverse {
        grid-template-columns: 1fr;
    }

    .service-block.reverse .service-image {
        order: 0;
    }

    .service-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-shell {
        padding: 12px;
    }

    .site-header {
        padding: 14px;
        border-radius: 12px;
    }

    .site-logo {
        height: 48px;
    }

    .main-nav {
        gap: 12px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .page-section,
    .hero-section {
        padding: 28px 18px;
        border-radius: 14px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .visual-card {
        min-height: 280px;
        border-radius: 20px;
    }

    .visual-card::after {
        font-size: 64px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        padding: 16px 24px;
    }
}

.hero-image-card {
    width: min(100%, 520px);
    border-radius: 28px;
    border: 1px solid rgba(21, 158, 255, 0.55);
    background: rgba(5, 12, 22, 0.85);
    box-shadow:
        0 0 45px rgba(21, 158, 255, 0.18),
        inset 0 0 35px rgba(21, 158, 255, 0.05);
    overflow: hidden;
}

.hero-image-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 1100px) {
    .hero-image-card {
        width: min(100%, 620px);
    }
}

.service-image {
    min-height: 220px;
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    background:
        radial-gradient(circle, rgba(21,158,255,0.16), transparent 58%),
        rgba(8,18,30,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(21,158,255,0.05);
}

.service-image img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
}

/* Firebase static site image size fixes */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(2, 8, 16, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(34, 169, 244, 0.16);
}

.navbar {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-wrap {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-wrap img {
    width: 150px !important;
    height: auto !important;
    max-width: 150px !important;
    display: block;
    object-fit: contain;
}

.hero-image-card img,
.service-image img,
.footer-logo {
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-image-card img {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
}

.footer-logo {
    width: 150px !important;
    height: auto !important;
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 14px 0;
    }

    .logo-wrap img {
        width: 120px !important;
        max-width: 120px !important;
    }

    .nav-links {
        width: 100%;
        order: 3;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* =====================================================
   FIREBASE STATIC SITE FINAL FIXES
   Supports new Firebase HTML class names
===================================================== */

/* Main wrapper */
.site-wrapper {
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 20px clamp(14px, 3vw, 42px);
}

/* Header / Navbar */
.site-header {
    position: sticky;
    top: 14px;
    z-index: 1000;
    min-height: 76px;
    padding: 12px 18px;
    display: block;
    background: rgba(4, 10, 18, 0.88);
    border: 1px solid var(--border);
    border-radius: 14px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.45);
}

.navbar {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

/* Logo */
.logo-wrap {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-wrap img {
    width: auto !important;
    height: 58px !important;
    max-width: 190px !important;
    object-fit: contain !important;
    display: block !important;
}

/* Navigation links */
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2.2vw, 34px);
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 9px 0;
    border-bottom: 2px solid transparent;
    transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
    text-shadow: 0 0 10px var(--blue-glow);
}

/* Admin login button */
.nav-cta {
    white-space: nowrap;
}

/* Hero image */
.hero-image-card {
    width: min(100%, 560px);
    border-radius: 28px;
    border: 1px solid rgba(21, 158, 255, 0.55);
    background: rgba(5, 12, 22, 0.85);
    box-shadow:
        0 0 45px rgba(21, 158, 255, 0.18),
        inset 0 0 35px rgba(21, 158, 255, 0.05);
    overflow: hidden;
}

.hero-image-card img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
}

/* Service images */
.service-image {
    min-height: 260px;
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    background:
        radial-gradient(circle, rgba(21,158,255,0.16), transparent 58%),
        rgba(8,18,30,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(21,158,255,0.05);
}

.service-image img {
    width: 100% !important;
    height: 100% !important;
    min-height: 260px;
    object-fit: cover !important;
    display: block !important;
}

/* Footer for Firebase HTML */
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
    gap: 24px;
    padding: 30px;
}

.footer-grid div {
    min-width: 0;
}

.footer-logo {
    width: auto !important;
    height: 58px !important;
    max-width: 190px !important;
    object-fit: contain !important;
    display: block !important;
    margin-bottom: 14px;
}

.footer-grid h3 {
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 16px;
}

.footer-grid a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 9px;
    font-size: 14px;
}

.footer-grid a:hover {
    color: var(--blue);
}

.footer-grid p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 8px;
}

/* Contact form select dropdown */
.contact-form-box select option {
    color: #000000;
}

/* Make buttons look consistent */
button.primary-btn {
    font-family: inherit;
}

/* Responsive fixes */
@media (max-width: 1100px) {
    .hero-content,
    .consulting-hero,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .site-header {
        position: static;
    }

    .navbar {
        flex-direction: column;
        align-items: stretch;
    }

    .logo-wrap {
        justify-content: center;
    }

    .logo-wrap img {
        height: 52px !important;
        max-width: 170px !important;
    }

    .nav-links {
        width: 100%;
        gap: 12px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .nav-cta {
        width: 100%;
    }

    .card-grid,
    .service-grid,
    .value-grid,
    .about-features,
    .hero-highlights {
        grid-template-columns: 1fr;
    }

    .service-block,
    .service-block.reverse {
        grid-template-columns: 1fr;
    }

    .service-block.reverse .service-image {
        order: 0;
    }

    .service-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-wrapper {
        padding: 12px;
    }

    .site-header {
        padding: 14px;
        border-radius: 12px;
    }

    .page-section,
    .hero-section {
        padding: 28px 18px;
        border-radius: 14px;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-actions {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        padding: 16px 24px;
    }
}

/* ==========================================
   IMPROVED HEADER / NAVBAR
========================================== */

.site-header {
    position: sticky;
    top: 14px;
    z-index: 1000;
    margin-bottom: 24px;
    padding: 0;
    background: linear-gradient(135deg, rgba(2, 8, 16, 0.96), rgba(4, 14, 28, 0.92));
    border: 1px solid rgba(21, 158, 255, 0.22);
    border-radius: 20px;
    backdrop-filter: blur(14px);
    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.35),
        inset 0 0 30px rgba(21, 158, 255, 0.04);
    overflow: hidden;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(21, 158, 255, 0.06), transparent 25%, transparent 75%, rgba(21, 158, 255, 0.06)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
    pointer-events: none;
}

.navbar {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 16px 26px;
}

.brand-wrap {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo-box {
    width: 74px;
    height: 74px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(6, 18, 32, 0.95), rgba(2, 8, 16, 0.98));
    border: 1px solid rgba(21, 158, 255, 0.28);
    box-shadow:
        0 0 20px rgba(21, 158, 255, 0.12),
        inset 0 0 18px rgba(21, 158, 255, 0.04);
}

.brand-logo-box img {
    max-width: 50px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.brand-subtitle {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    color: #e8f3ff;
    font-size: 15px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(21, 158, 255, 0.10);
    border-color: rgba(21, 158, 255, 0.24);
    box-shadow: 0 0 18px rgba(21, 158, 255, 0.10);
    transform: translateY(-1px);
}

.nav-links a.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(21, 158, 255, 0.18), rgba(21, 158, 255, 0.08));
    border-color: rgba(21, 158, 255, 0.45);
    box-shadow:
        0 0 18px rgba(21, 158, 255, 0.18),
        inset 0 0 10px rgba(21, 158, 255, 0.06);
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 8px;
    height: 2px;
    border-radius: 999px;
    background: var(--blue);
    box-shadow: 0 0 12px rgba(21, 158, 255, 0.55);
}

/* Responsive */
@media (max-width: 1100px) {
    .navbar {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 18px 20px;
    }

    .brand-wrap {
        justify-content: center;
    }

    .nav-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .site-header {
        top: 8px;
        border-radius: 16px;
    }

    .navbar {
        min-height: auto;
        padding: 16px;
    }

    .brand-wrap {
        gap: 12px;
    }

    .brand-logo-box {
        width: 62px;
        height: 62px;
        border-radius: 16px;
    }

    .brand-logo-box img {
        max-width: 42px;
        max-height: 42px;
    }

    .brand-title {
        font-size: 18px;
    }

    .brand-subtitle {
        font-size: 11px;
        letter-spacing: 0.10em;
    }

    .nav-links {
        width: 100%;
        gap: 8px;
    }

    .nav-links a {
        min-height: 40px;
        padding: 0 14px;
        font-size: 14px;
    }
}

@media (max-width: 560px) {
    .brand-wrap {
        flex-direction: column;
        text-align: center;
    }

    .brand-text {
        align-items: center;
    }

    .nav-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }

    .nav-links a {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .nav-links {
        grid-template-columns: 1fr;
    }
}