/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    --navy:        #0A1628;
    --navy-mid:    #0F2040;
    --navy-light:  #162952;
    --blue:        #1565C0;
    --blue-mid:    #1976D2;
    --blue-light:  #42A5F5;
    --water:       #29B6F6;
    --white:       #FFFFFF;
    --off-white:   #F8FAFC;
    --grey:        #64748B;
    --grey-light:  #E2E8F0;
    --grey-lighter:#F1F5F9;

    --font-display: 'Barlow Condensed', sans-serif;
    --font-body:    'Barlow', sans-serif;

    --container: 1200px;
    --radius:    8px;
    --radius-lg: 16px;

    --shadow:    0 4px 24px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 40px rgba(0,0,0,0.14);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.22);

    --ease: 0.25s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--navy);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all var(--ease);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
    line-height: 1;
}

.btn--primary {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}
.btn--primary:hover {
    background: var(--blue-mid);
    border-color: var(--blue-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(21,101,192,0.45);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.55);
}
.btn--outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* --- Section headers --- */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: 0.75rem;
}

.section-tag--light { color: var(--water); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-title--light { color: var(--white); }

.section-desc {
    font-size: 1.05rem;
    color: var(--grey);
    max-width: 560px;
    margin: 0 auto;
}

/* --- Scroll animation --- */
.animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* required asterisk */
.required { color: #EF4444; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.1rem 0;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--ease);
}

.header.scrolled {
    padding: 0.6rem 0;
    box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__logo-img {
    height: 64px;
    width: 64px;
    display: block;
    object-fit: contain;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

.nav__link {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    transition: color var(--ease);
    position: relative;
    padding-bottom: 2px;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0; right: 0;
    height: 2px;
    background: var(--water);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--ease);
}

.nav__link:hover,
.nav__link.active { color: var(--white); }

.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }

.nav__cta {
    font-size: 0.85rem;
    padding: 0.55rem 1.2rem;
}

.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
    z-index: 110;
    position: relative;
}

.nav__hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all var(--ease);
    border-radius: 2px;
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding-top: 80px; /* offset for fixed nav */
}

/* Full-width banner image — side to side, no padding */
.hero__banner {
    width: 100%;
    line-height: 0;
    background: var(--navy);
}

.hero__banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* CTA bar below the banner */
.hero__cta-bar {
    background: var(--navy);
    padding: 2.5rem 0 3rem;
}

.hero__cta-inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    justify-content: space-between;
}

.hero__subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    max-width: 560px;
    flex: 1;
    margin: 0;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats {
    background: var(--blue);
    padding: 2.25rem 0;
    position: relative;
    z-index: 1;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat { transition-delay: 0s; }

.stat__number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.stat__label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.72);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
    padding: 6rem 0;
    background: var(--off-white);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--grey-light);
    position: relative;
    overflow: hidden;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

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

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

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

.service-card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    transition: transform var(--ease), background var(--ease);
}

.service-card:hover .service-card__icon {
    background: linear-gradient(135deg, var(--blue-mid) 0%, var(--water) 100%);
    transform: rotate(-5deg) scale(1.06);
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.625rem;
    letter-spacing: 0.02em;
}

.service-card__desc {
    font-size: 0.95rem;
    color: var(--grey);
    line-height: 1.65;
}

/* ============================================================
   WHY US
   ============================================================ */
.why-us {
    background: var(--navy);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(21,101,192,0.12) 0%, transparent 65%);
    pointer-events: none;
}

.why-us__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    position: relative;
}

.why-card {
    padding: 2rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--ease);
}

.why-card:hover {
    background: rgba(255,255,255,0.035);
    border-color: rgba(21,101,192,0.5);
    transform: translateY(-5px);
}

.why-card__icon {
    width: 62px;
    height: 62px;
    background: rgba(21,101,192,0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--blue-light);
    font-size: 1.5rem;
    transition: all var(--ease);
}

.why-card:hover .why-card__icon {
    background: var(--blue);
    color: var(--white);
    transform: scale(1.1);
}

.why-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.why-card p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.58);
    line-height: 1.68;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
    padding: 6rem 0;
    background: var(--white);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery__item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.gallery__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
    display: block;
}

.gallery__item:hover img { transform: scale(1.06); }

.gallery__item--placeholder {
    background: var(--grey-lighter);
    border: 2px dashed var(--grey-light);
}

.gallery__placeholder {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--grey);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gallery__placeholder svg { opacity: 0.35; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    background: var(--navy);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: -20%; left: -10%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(21,101,192,0.12) 0%, transparent 65%);
    pointer-events: none;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 5rem;
    align-items: start;
    position: relative;
}

.contact__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.05;
    margin: 0.5rem 0 1.25rem;
}

.contact__desc {
    color: rgba(255,255,255,0.62);
    line-height: 1.72;
    margin-bottom: 2.25rem;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact__details li {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    color: rgba(255,255,255,0.78);
    font-size: 0.95rem;
}

.contact__details li i {
    width: 20px;
    color: var(--blue-light);
    font-size: 1rem;
    flex-shrink: 0;
    text-align: center;
}

.contact__details a:hover { color: var(--white); }

.contact__social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 42px; height: 42px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    transition: all var(--ease);
}

.social-link:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* --- Form card --- */
.contact__form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--grey-light);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--navy);
    background: var(--white);
    transition: border-color var(--ease), box-shadow var(--ease);
    outline: none;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #9CA3AF; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(21,101,192,0.13);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.75rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

.form-note {
    font-size: 0.78rem;
    color: var(--grey);
    text-align: center;
    margin-top: -0.25rem;
}

/* --- Success state --- */
.form-success {
    display: none;
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.form-success__icon {
    font-size: 3.5rem;
    color: #22C55E;
    margin-bottom: 1.25rem;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.form-success p {
    color: var(--grey);
    font-size: 1rem;
    line-height: 1.65;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #060C18;
    color: rgba(255,255,255,0.58);
    padding-top: 4rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer__logo {
    height: 56px;
    width: auto;
    margin-bottom: 1.1rem;
}

.footer__brand p {
    font-size: 0.875rem;
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

.footer__tagline {
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-light) !important;
    margin-top: 0.5rem;
}

.footer__col h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer__col a {
    font-size: 0.875rem;
    transition: color var(--ease);
}
.footer__col a:hover { color: var(--white); }

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer__contact li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.875rem;
}

.footer__contact i {
    color: var(--blue-light);
    width: 15px;
    text-align: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.footer__contact a:hover { color: var(--white); }

.footer__bottom {
    padding: 1.25rem 0;
}

.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer__bottom-inner p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

.footer__social {
    display: flex;
    gap: 0.625rem;
}

.footer__social a {
    width: 33px; height: 33px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.45);
    font-size: 0.8rem;
    transition: all var(--ease);
}

.footer__social a:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .why-us__grid    { grid-template-columns: repeat(2, 1fr); }
    .footer__grid    { grid-template-columns: repeat(2, 1fr); }
    .contact__grid   { gap: 3rem; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
    /* Mobile nav */
    .nav__links {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(6, 14, 26, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        z-index: 105;
    }
    .nav__links.open   { display: flex; }
    .nav__link         { font-size: 1.75rem; font-weight: 800; }
    .nav__cta          { display: none; }
    .nav__hamburger    { display: flex; }

    /* Stats */
    .stats__grid { grid-template-columns: repeat(2, 1fr); }

    /* Services */
    .services__grid { grid-template-columns: repeat(2, 1fr); }

    /* Why */
    .why-us__grid { grid-template-columns: 1fr 1fr; }

    /* Gallery */
    .gallery__grid { grid-template-columns: repeat(2, 1fr); }

    /* Contact */
    .contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }

    /* Footer */
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
    .hero__cta-inner { flex-direction: column; gap: 1.5rem; text-align: center; }

    .hero__actions { justify-content: center; }
    .hero__actions .btn--lg { flex: 1; min-width: 180px; justify-content: center; }

    .stats__grid    { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .services__grid { grid-template-columns: 1fr; }
    .why-us__grid   { grid-template-columns: 1fr; }
    .gallery__grid  { grid-template-columns: 1fr; }
    .footer__grid   { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; }

    .contact__form-wrap { padding: 1.5rem 1.25rem; }

    .footer__bottom-inner { flex-direction: column; text-align: center; gap: 0.75rem; }
}
