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

body {
    font-family: Inter;
    color: #333;
    line-height: 1.6;
}

/* =========================
   ROOT VARIABLES
========================= */
:root {
    --titles: #171717;
    --subtitles: #525252;
    --border1: #4b5563;
    --accent1: #2563eb;
    --accent2: #102a43;
    --white1: #ffffff;
    --card-color: #1f2937;
    --tabs-color: #e2e8f0;
    --text-size: 20px;
    --h1-size: 48px;
    --h3-size: 48px;
    --h2-size: 54px;
    --h4-size: 24px;
}

/* =========================
   TYPOGRAPHY
========================= */
h1,
h2,
h3,
h4 {
    font-family: Oswald;
    letter-spacing: 1px;
    line-height: normal;
}

p,
a,
li,
span {
    font-size: var(--text-size);
    font-family: Inter;
    font-weight: 400;
}

h2 {
    font-size: var(--h2-size);
}

h3 {
    font-size: var(--h3-size);
}

h4 {
    font-size: var(--h4-size);
}

/* RESPONSIVE GLOBAL TYPOGRAPHY */
@media (max-width: 1200px) {
    :root {
        --text-size: 18px;
        --h3-size: 28px;
        --h4-size: 22px;
        --h2-size: 36px;
    }
}

@media (max-width: 768px) {
    :root {
        --text-size: 16px;
        --h3-size: 24px;
        --h4-size: 20px;
        --h2-size: 32px;
    }
}

.section-title {
    margin-bottom: 20px;
    color: var(--accent1);
    line-height: 60px;
}

.section-subtitle {
    color: var(--subtitles);
    margin-bottom: 20px;
    font-size: 24px;
}

/* =========================
   RESPONSIVE TYPOGRAPHY
========================= */

@media (max-width: 480px) {
    :root {
        --text-size: 15px;
        --h3-size: 22px;
        --h4-size: 18px;
    }
}

/* LARGE TABLET */
@media (max-width: 1200px) {
    .section-title {
        font-size: 48px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .section-description {
        font-size: 17px;
    }
}

/* TABLET */
@media (max-width: 1024px) {
    .section-title {
        font-size: 42px;
        line-height: 1.1;
    }

    .section-subtitle {
        font-size: 17px;
    }

    .section-description {
        font-size: 16px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .section-title {
        font-size: 34px;
        line-height: 1.1;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .section-description {
        font-size: 15px;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .section-description {
        font-size: 14px;
    }
}

/* =========================
   SECTION UTILITIES
========================= */
.section-title-container {
    padding: 0 160px;
    text-align: center;
}

/* 1400px */
@media (max-width: 1400px) {
    .section-title-container {
        padding: 0 100px;
    }
}

/* 1200px */
@media (max-width: 1200px) {
    .section-title-container {
        padding: 0 60px;
    }
}

/* 1024px */
@media (max-width: 1024px) {
    .section-title-container {
        padding: 0 40px;
    }
}

/* 768px */
@media (max-width: 768px) {
    .section-title-container {
        padding: 0 20px;
    }
}

/* 480px */
@media (max-width: 480px) {
    .section-title-container {
        padding: 0 16px;
    }
}

/* REVEAL SYSTEM */
html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 101px;
}

/* Default project section offset */
#project-management-construction-projects,
#environmental-services-projects,
#civil-engineering-projects,
#military-projects {
    scroll-margin-top: 160px;
}

/* Deeper/lower sections needing more offset */
#claims,
#inspection,
#technology,
#additional {
    scroll-margin-top: 260px;
}

/* =========================
   TABS SECTION
========================= */
.tabs-section {
    width: 100%;
    background: var(--card-color);
    padding: 20px 0;
    position: sticky;
    top: 81px;
    z-index: 100;
    border-bottom: 1px solid transparent;
}

/* ALIGN WITH SITE */
.tabs-container {
    margin: 0 auto;
    padding: 0 160px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* TAB ITEMS */
.tabs-container a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    cursor: pointer;

    min-height: 60px;
    padding: 15px 10px;

    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98),
        rgba(248, 251, 255, 0.96)
    );

    border: 1px solid rgba(16, 42, 67, 0.12);

    line-height: 1.4;
    font-weight: 500;
    color: var(--subtitles);

    border-radius: 6px;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

/* HOVER */
.tabs-container a:hover {
    background: var(--accent2);
    color: #fff;
    transform: translateY(-4px);

    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);

    border-color: rgba(255, 255, 255, 0.2);
}

/* ACTIVE */
.tabs-container a.active {
    background: var(--accent1);
    color: #fff;
    border-color: var(--accent1);

    box-shadow:
        0 18px 40px rgba(37, 99, 235, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* =========================
   1400
========================= */
@media (max-width: 1400px) {
    .tabs-section {
        padding: 20px 0;
    }

    .tabs-container {
        padding: 0 100px;
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =========================
   1200
========================= */
@media (max-width: 1200px) {
    .tabs-section {
        padding: 20px 0;
    }

    .tabs-container {
        padding: 0 60px;
        grid-template-columns: repeat(3, 1fr);
    }

    .tabs-container a {
        padding: 14px 16px;
        min-height: 58px;
    }
}

/* =========================
   1024 (FORCE ONE ROW SCROLL)
========================= */
@media (max-width: 1024px) {
    .tabs-section {
        padding: 16px 0;
    }

    .tabs-container {
        padding: 0 40px;

        display: flex !important;
        flex-wrap: nowrap !important;

        gap: 10px;

        overflow-x: auto;
        overflow-y: hidden;

        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }

    .tabs-container::-webkit-scrollbar {
        display: none;
    }

    .tabs-container a {
        flex: 0 0 auto;
        min-width: 220px;
        max-width: 220px;

        min-height: 56px;
        padding: 14px 16px;

        line-height: 1.3;
        white-space: normal;
    }

    .tabs-container a:hover {
        transform: none;
    }
}

/* =========================
   768
========================= */
@media (max-width: 768px) {
    .tabs-section {
        padding: 14px 0;
    }

    .tabs-container {
        padding: 0 20px;
        gap: 8px;
    }

    .tabs-container a {
        min-width: 200px;
        max-width: 200px;

        min-height: 54px;

        padding: 13px 14px;
    }
}

/* =========================
   480
========================= */
@media (max-width: 480px) {
    .tabs-section {
        padding: 12px 0;
    }

    .tabs-container {
        padding: 0 16px;
    }

    .tabs-container a {
        min-width: 180px;
        max-width: 180px;

        min-height: 52px;

        padding: 12px 14px;
        border-radius: 5px;
    }
}

/* =========================
   SCROLL TO TOP BUTTON
========================= */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;

    width: 52px;
    height: 52px;
    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.08);

    background:
        radial-gradient(
            circle at top left,
            rgba(255, 255, 255, 0.06),
            transparent 35%
        ),
        linear-gradient(135deg, #0f2f4a 0%, var(--accent2) 55%, #153d5f 100%);

    color: #ffffff;
    font-size: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);

    transition: all 0.3s ease;
}

/* SHOW */
#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* HOVER */
#scrollTopBtn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* ICON */
#scrollTopBtn i {
    pointer-events: none;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    #scrollTopBtn {
        width: 46px;
        height: 46px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    #scrollTopBtn {
        width: 42px;
        height: 42px;
        bottom: 16px;
        right: 16px;
        font-size: 14px;
    }
}

.reveal {
    opacity: 0;
    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
    will-change: opacity, transform;
}

.reveal-up {
    transform: translateY(32px);
}

.reveal-left {
    transform: translateX(-32px);
}

.reveal-right {
    transform: translateX(32px);
}

.reveal.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* DELAYS */
.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.4s;
}

.delay-4 {
    transition-delay: 0.5s;
}

/* =========================
   GLOBAL REDUCED MOTION
========================= */
@media (prefers-reduced-motion: reduce) {
    .hero-img,
  .hero-content>*,
  .reveal,
  .about-img,
  .service-card,
  .service-icon,
  .learnmore-btn,
  .learnmore-btn::after,
  .primary-btn,
  .primary-btn-projects,
  .primary-btn::before,
  .primary-btn-projects::before,
  .safety-card img,
  .safety-overlay,
  .diff-card img,
  .diff-content,
  .diff-overlay,
  .project img,
  .project-content,

  /* services hero */
  .services-hero-content>*,
  .services-hero-image-container,
  .services-hero-image-container img,
  .stat-item,

  /* tabs */
  .tabs-container a,


  /* additional */
  .additional-item span,
  .additional-item span i,

  /* tech */
  .tech-card,
  .tech-circle,
  .tech-circle::before,
  .procore-image img,

  /* claims */
  .claims-right,
  .step,
  .circle,

  /* inspection */
  .feature,
  .feature .icon,
  .info-box,
  .info-right,
  .progress,
  .verified,

  /* projects */
  .projects-hero-content>*,
  .projects-hero-image-container,
  .projects-hero-image-container img,
  .tabs-container a,
  .project-card,
  .project-card img,

  /* environmental (old section) */
  .env-right img,
  .environmental-list li,

  /* military */
  .military-card,
  .military-card img,

  /* civil */
  .civil-card,
  .civil-cta,
  .civil-cta a,

  /* about */
  .about-hero-content>*,
  .about-hero-image-container,
  .about-hero-image-container img,
  .mission-grid img,
  .leadership-grid img,
  .value-card,
  .value-card::before,
  .value-card::after,
  .value-card span,
  .team-card,
  .team-card img,
  .name-tag,

  /* cae */
  .cae-hero-content>*,
  .cae-hero-image-container,
  .cae-hero-image-container img,
  .cae-capabilities-card,
  .cae-capabilities-card i,
  .cae-capabilities-card-highlight,
  .cae-capabilities-card-highlight .icon-box,
  .cae-cta-img-container img,

  /* environmental page */
  .environmental-hero-content>*,
  .environmental-hero-image-container,
  .environmental-hero-image-container img,
  .environmental-services-card,
  .environmental-services-card i,
  .environmental-cta-img-container img,

  /* pagm */
  .pagm-hero-content>*,
  .pagm-hero-image-container,
  .pagm-hero-image-container img,
  .pagm-service-card,
  .pagm-service-card i,
  .pagm-cta-img-container img,

  /* === NEW (SPC) === */
  .spc-hero-content>*,
  .spc-hero-image-container,
  .spc-hero-image-container img,
  .spc-item,
  .spc-panel,
  .spc-connector,
  .spc-cta-img-container img {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;

    /* DARK GRADIENT (MATCHES YOUR THEME) */
    background: linear-gradient(
        135deg,
        rgba(16, 42, 67, 0.98) 0%,
        /* accent2 */ rgba(10, 25, 41, 0.95) 50%,
        /* deeper navy */ rgba(0, 0, 0, 0.9) 100% /* near black */
    );

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    display: flex;
    align-items: center;
    z-index: 999;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        backdrop-filter 0.3s ease;
}

.navbar.scrolled {
    background: linear-gradient(
        135deg,
        rgba(16, 42, 67, 0.9) 0%,
        rgba(10, 25, 41, 0.85) 50%,
        rgba(0, 0, 0, 0.75) 100%
    );

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

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

/* LEFT SIDE */
.nav-left {
    display: flex;
    align-items: center;
    gap: 64px;
    min-width: 0;
    flex: 1;
}

/* LOGO */
.nav-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.nav-logo img {
    display: block;
    width: 200px;
    height: auto;
    object-fit: contain;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.navbar.scrolled .nav-logo img {
    opacity: 1;
}

/* NAV LINKS */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 42px;
    min-width: 0;
}

.nav-menu > a,
.dropdown-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 81px;
    font-family: "Oswald", sans-serif;
    line-height: 1;
    letter-spacing: 1px;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    padding: 0;
    transition:
        color 0.3s ease,
        transform 0.3s ease,
        opacity 0.3s ease;
}

.navbar.scrolled .nav-menu > a,
.navbar.scrolled .dropdown-toggle {
    color: var(--white1);
}

.nav-menu > a::after,
.dropdown-toggle::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 20px;
    width: 0;
    height: 2px;
    background: var(--accent1);
    transition: width 0.3s ease;
}

.nav-menu > a:hover,
.dropdown-toggle:hover {
    color: var(--accent1);
    transform: translateY(-1px);
}

.nav-menu > a:hover::after,
.nav-menu > a.active::after,
.dropdown-toggle:hover::after,
.dropdown-toggle.active::after,
.nav-dropdown:hover .dropdown-toggle::after {
    width: 100%;
}

.nav-menu > a.active,
.dropdown-toggle.active,
.nav-dropdown:hover .dropdown-toggle {
    color: var(--accent1);
    font-weight: 500;
}

/* DESKTOP DROPDOWN */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 81px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    min-width: 360px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(23, 23, 23, 0.08);
    box-shadow: 0 18px 40px rgba(16, 42, 67, 0.12);
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease;
    z-index: 1000;
}

.dropdown-menu a {
    display: block;
    width: 100%;
    padding: 13px 18px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.2px;
    color: var(--titles);
    text-decoration: none;
    white-space: nowrap;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        padding-left 0.3s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    background: rgba(37, 99, 235, 0.06);
    color: var(--accent1);
    padding-left: 24px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* RIGHT SIDE */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* CONTACT BUTTON */
.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 60px;
    background: linear-gradient(135deg, var(--accent1) 0%, #1d4ed8 100%);
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        filter 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
    filter: brightness(1.03);
}

/* SEARCH BOX */
.nav-search {
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: rgba(14, 20, 30, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: none;
    overflow: hidden;
}

.search-suggestions.active {
    display: block;
}

.search-suggestion-item {
    width: 100%;
    border: 0;
    background: transparent;
    color: #fff;
    text-align: justify;
    padding: 14px 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.search-suggestion-item:hover {
    background: rgba(37, 99, 235, 0.18);
}

.search-suggestion-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.search-suggestion-url {
    font-size: 12px;
    opacity: 0.65;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .search-suggestions {
        top: calc(100% + 8px);
    }

    .search-suggestion-item {
        padding: 12px 14px;
    }

    .search-suggestion-title {
        font-size: 14px;
    }

    .search-suggestion-url {
        font-size: 11px;
    }
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 170px;
    padding: 11px 18px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.12);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.navbar.scrolled .search-box {
    border: 1px solid rgba(37, 99, 235, 0.22);
    background: #ffffff;
}

.search-box:focus-within {
    border-color: var(--accent1);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
    background: rgba(255, 255, 255, 0.16);
}

.navbar.scrolled .search-box:focus-within {
    background: #ffffff;
}

.search-box input {
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: #ffffff;
}

.navbar.scrolled .search-box input {
    color: var(--titles);
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.navbar.scrolled .search-box input::placeholder {
    color: #8a8a8a;
}

.search-icon {
    flex-shrink: 0;
    font-size: 12px;
    color: #ffffff;
}

.navbar.scrolled .search-icon {
    color: var(--accent1);
}

/* HAMBURGER */
.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: #ffffff;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease,
        background 0.3s ease;
}

.navbar.scrolled .menu-toggle span,
.menu-toggle.active span {
    background: var(--white1);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE MENU PANEL */
.mobile-menu {
    position: fixed;
    top: 81px;
    left: 0;
    width: 100%;
    height: calc(100vh - 81px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 28px 20px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease;
    overflow-y: auto;
    z-index: 1002;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-menu-top {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-menu-top > a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 58px;
    font-family: "Oswald", sans-serif;

    line-height: 1;
    letter-spacing: 1px;
    color: var(--titles);
    text-decoration: none;
    padding: 0;
    border-bottom: 1px solid rgba(23, 23, 23, 0.08);
    transition:
        color 0.3s ease,
        padding-left 0.3s ease;
}

.mobile-menu-top > a:hover,
.mobile-menu-top > a.active {
    color: var(--accent1);
    padding-left: 6px;
}

/* MOBILE DROPDOWN */
.mobile-dropdown {
    border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.mobile-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
}

.mobile-services-link {
    display: inline-flex;
    align-items: center;
    flex: 1;
    min-height: 58px;
    font-family: "Oswald", sans-serif;
    line-height: 1;
    letter-spacing: 1px;
    color: var(--titles);
    text-decoration: none;
    transition:
        color 0.3s ease,
        padding-left 0.3s ease;
}

.mobile-services-link:hover,
.mobile-services-link.active {
    color: var(--accent1);
    padding-left: 6px;
}

.mobile-dropdown-toggle {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    padding: 0;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-dropdown-toggle span {
    position: absolute;
    width: 16px;
    height: 2px;
    background: var(--titles);
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.mobile-dropdown-toggle span:last-child {
    transform: rotate(90deg);
}

.mobile-dropdown.active .mobile-dropdown-toggle span:last-child {
    transform: rotate(0deg);
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition:
        max-height 0.35s ease,
        padding 0.35s ease;
    padding: 0;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    max-height: 320px;
    padding: 0 0 8px;
}

.mobile-dropdown-menu a {
    display: block;
    width: 100%;
    font-family: "Inter", sans-serif;
    line-height: 1.4;
    letter-spacing: 0.2px;
    color: var(--titles);
    text-decoration: none;
    padding: 10px 0 10px 14px;
    transition:
        color 0.3s ease,
        padding-left 0.3s ease;
}

.mobile-dropdown-menu a:hover,
.mobile-dropdown-menu a.active {
    color: var(--accent1);
    padding-left: 20px;
}

/* MOBILE CTA + SEARCH */
.mobile-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    width: 100%;
    margin-top: 20px;
    padding: 0 18px;
    background: linear-gradient(135deg, var(--accent1) 0%, #1d4ed8 100%);
    color: #ffffff !important;
    font-family: "Oswald", sans-serif;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 1px;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        filter 0.3s ease;
}

.mobile-contact-btn:hover,
.mobile-contact-btn.active {
    color: #ffffff !important;
    padding-left: 0 !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
    filter: brightness(1.03);
}

.mobile-search-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    margin-top: 16px;
    padding: 0 14px;
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: 4px;
    background: #fff;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.mobile-search-box:focus-within {
    border-color: var(--accent1);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.mobile-search-box input {
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: var(--titles);
}

.mobile-search-box input::placeholder {
    color: #8a8a8a;
}

.mobile-search-icon {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--accent1);
}

/* MOBILE SEARCH SUGGESTIONS */
.mobile-search-box .search-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.18);
    box-shadow: 0 12px 24px rgba(16, 42, 67, 0.12);
    border-radius: 4px;
    z-index: 1005;
    display: none;
    overflow: hidden;
}

.mobile-search-box .search-suggestions.active {
    display: block;
}

.mobile-search-box .search-suggestion-item {
    width: 100%;
    border: 0;
    background: #ffffff;
    color: var(--titles);
    text-align: left;
    padding: 12px 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: background 0.25s ease;
}

.mobile-search-box .search-suggestion-item:hover {
    background: rgba(37, 99, 235, 0.06);
}

.mobile-search-box .search-suggestion-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--titles);
}

.mobile-search-box .search-suggestion-url {
    font-size: 11px;
    line-height: 1.3;
    color: var(--subtitles);
    opacity: 1;
}

/* LARGE DESKTOP */
@media (max-width: 1400px) {
    .nav-container {
        padding: 0 100px;
    }

    .nav-left {
        gap: 48px;
    }

    .nav-menu {
        gap: 32px;
    }
}

/* DESKTOP / SMALL LAPTOP */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 60px;
    }

    .nav-left {
        gap: 36px;
    }

    .nav-menu {
        gap: 24px;
    }

    .search-box {
        min-width: 150px;
    }

    .dropdown-menu {
        min-width: 320px;
    }
}

/* TABLET LANDSCAPE */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 20px;
        gap: 12px;
    }

    .nav-left {
        gap: 0;
        flex: unset;
    }

    .nav-menu,
    .search-box,
    .contact-btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

/* TABLET */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
        gap: 12px;
    }

    .nav-left {
        gap: 0;
        flex: unset;
    }

    .nav-menu,
    .search-box,
    .contact-btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

/* MOBILE */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 16px;
    }

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

    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .mobile-menu {
        padding: 24px 16px 24px;
    }

    .mobile-menu-top > a,
    .mobile-services-link {
        min-height: 54px;
    }

    .mobile-dropdown-header {
        min-height: 54px;
    }

    .mobile-contact-btn {
        min-height: 46px;
        font-size: 17px;
    }

    .mobile-search-box {
        min-height: 44px;
    }
}

/* =========================
   HERO SECTION
========================= */
.hero {
    width: 100%;
    min-height: 800px;
    position: relative;
    overflow: hidden;
    margin-top: 81px;
    display: flex;
    align-items: center;
    isolation: isolate;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-position: top center;
    object-fit: cover;
    transform: scale(1.02);
    animation: heroImageZoom 10s ease-out forwards;
    will-change: transform;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(5, 20, 35, 0.82) 0%,
        rgba(5, 20, 35, 0.62) 42%,
        rgba(5, 20, 35, 0.22) 72%,
        rgba(5, 20, 35, 0.06) 100%
    );
    z-index: 1;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 20% 35%,
            rgba(37, 99, 235, 0.12) 0%,
            rgba(37, 99, 235, 0.04) 22%,
            transparent 52%
        ),
        radial-gradient(
            circle at center,
            transparent 45%,
            rgba(0, 0, 0, 0.12) 100%
        );
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(5, 20, 35, 0.06) 0%,
        rgba(5, 20, 35, 0.12) 58%,
        rgba(5, 20, 35, 0.38) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* =========================
   HERO CONTENT
========================= */
.hero .container {
    width: 100%;
    max-width: 100%;
    padding: 0 160px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: 50px 0;
    color: var(--white1);
}

.hero-content > * {
    opacity: 0;
    transform: translateY(28px);
    animation: heroFadeUp 0.9s ease forwards;
}

.hero-location {
    display: inline-flex;
    align-items: center;
    margin-bottom: 24px;
    padding: 9px 18px;
    font-family: "Oswald", sans-serif;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: 2px;
    color: #8ed0ff;
    background: linear-gradient(
        90deg,
        rgba(30, 143, 255, 0.22),
        rgba(30, 143, 255, 0.08)
    );
    border-left: 3px solid #1e8fff;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
    animation-delay: 0.15s;
}

/* TITLE */
.hero h1 {
    margin: 0 0 20px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 0.95;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    color: var(--accent1);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
    animation-delay: 0.3s;
}

.hero h1 span {
    display: block;
    color: transparent;
    background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* TEXT */
.hero-content p {
    margin: 0;
    color: var(--white1);

    line-height: 1.7;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.2);
    animation-delay: 0.45s;
}

/* BUTTONS */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
    animation-delay: 0.6s;
}

/* =========================
   BUTTONS
========================= */
.primary-btn,
.primary-btn-projects {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 14px 28px;
    text-decoration: none;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}

.primary-btn::before,
.primary-btn-projects::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.22),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

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

.primary-btn {
    background: var(--accent1);
    border: 1px solid var(--accent1);
    color: #fff;
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.22);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.28);
}

.primary-btn:active {
    transform: translateY(0);
}

.primary-btn-projects {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(4px);
}

.primary-btn-projects:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.primary-btn-projects:active {
    transform: translateY(0);
}

/* =========================
   ANIMATIONS
========================= */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroImageZoom {
    from {
        transform: scale(1.02);
    }

    to {
        transform: scale(1.08);
    }
}

/* =========================
   1400
========================= */
@media (max-width: 1400px) {
    .hero .container {
        padding: 0 100px;
    }

    .hero {
        min-height: 680px;
    }

    .hero-content {
        padding: 50px 0;
        max-width: 820px;
    }

    .hero-location {
        font-size: 22px;
    }
}

/* =========================
   1200
========================= */
@media (max-width: 1200px) {
    .hero .container {
        padding: 0 60px;
    }

    .hero {
        min-height: 640px;
    }

    .hero-content {
        padding: 50px 0;
        max-width: 760px;
    }

    .hero-location {
        font-size: 20px;
        letter-spacing: 1.5px;
        padding: 8px 16px;
    }
}

/* =========================
   1024
========================= */
@media (max-width: 1024px) {
    .hero {
        min-height: 600px;
        margin-top: 76px;
    }

    .hero .container {
        padding: 0 40px;
    }

    .hero-content {
        padding: 36px 0;
        max-width: 680px;
    }

    .hero-location {
        font-size: 18px;
        letter-spacing: 1.5px;
        padding: 8px 14px;
        margin-bottom: 20px;
    }

    .hero h1 {
        line-height: 1;
    }

    .hero-content p {
        line-height: 1.65;
    }

    .hero-actions {
        margin-top: 28px;
    }
}

/* =========================
   768
========================= */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        margin-top: 76px;
        padding: 28px 0;
    }

    .hero .container {
        padding: 0 20px;
    }

    .hero-gradient {
        background: linear-gradient(
            180deg,
            rgba(5, 20, 35, 0.86) 0%,
            rgba(5, 20, 35, 0.68) 60%,
            rgba(5, 20, 35, 0.38) 100%
        );
    }

    .hero::before {
        background:
            radial-gradient(
                circle at 20% 20%,
                rgba(37, 99, 235, 0.12) 0%,
                rgba(37, 99, 235, 0.04) 24%,
                transparent 54%
            ),
            radial-gradient(
                circle at center,
                transparent 42%,
                rgba(0, 0, 0, 0.12) 100%
            );
    }

    .hero-content {
        padding: 28px 0;
        max-width: 100%;
    }

    .hero-location {
        font-size: 14px;
        letter-spacing: 1px;
        padding: 6px 10px;
        margin-bottom: 16px;
    }

    .hero h1 {
        font-size: clamp(30px, 9vw, 46px);
        line-height: 1;
        margin-bottom: 16px;
    }

    .hero-content p {
        line-height: 1.6;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
    }

    .primary-btn,
    .primary-btn-projects {
        width: 100%;
        text-align: center;
        margin-top: 0;
    }
}

/* =========================
   480
========================= */
@media (max-width: 480px) {
    .hero .container {
        padding: 0 16px;
    }

    .hero {
        padding: 28px 0;
    }

    .hero-content {
        padding: 28px 0;
    }

    .hero-location {
        font-size: 13px;
        padding: 6px 9px;
    }

    .hero h1 {
        font-size: 28px;
        margin-bottom: 14px;
    }

    .hero-content p {
        line-height: 1.6;
    }

    .hero-actions {
        gap: 10px;
        margin-top: 20px;
    }
}

/* =========================
   ACCESSIBILITY
========================= */
@media (prefers-reduced-motion: reduce) {
    .hero-img,
    .hero-content > * {
        animation: none;
        transform: none;
        opacity: 1;
    }

    .primary-btn,
    .primary-btn-projects,
    .primary-btn::before,
    .primary-btn-projects::before {
        transition: none;
    }
}

/* =========================
   ABOUT SECTION
========================= */
.about {
    background: linear-gradient(
        180deg,
        rgba(248, 250, 252, 0.95) 0%,
        var(--white1) 100%
    );
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
    min-height: 620px;
}

/* LEFT IMAGE FULL BLEED */
.about-image-wrap {
    position: relative;
    overflow: hidden;
    min-height: 620px;
}

.about-image-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(16, 42, 67, 0.08) 0%,
        rgba(16, 42, 67, 0.02) 45%,
        rgba(16, 42, 67, 0) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.about-image-wrap::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 0;
    width: 140px;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        var(--white1) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% center;
    display: block;
    transform: scale(1.02);
    transition: transform 0.7s ease;
}

.about-image-wrap:hover .about-img {
    transform: scale(1.06);
}

/* RIGHT CONTENT */
.about-content {
    padding: 50px 160px 50px 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(
            circle at top right,
            rgba(37, 99, 235, 0.08),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.96),
            rgba(248, 250, 252, 0.98)
        );
}

.about-content::before {
    content: "";
    position: absolute;
    top: 50px;
    left: 24px;
    width: 3px;
    height: calc(100% - 100px);
    background: linear-gradient(
        180deg,
        rgba(37, 99, 235, 0.95) 0%,
        rgba(37, 99, 235, 0.18) 100%
    );
    border-radius: 999px;
}

.about-content::after {
    content: "";
    position: absolute;
    top: 50px;
    right: 160px;
    width: 96px;
    height: 96px;
    border-top: 1px solid rgba(37, 99, 235, 0.2);
    border-right: 1px solid rgba(37, 99, 235, 0.2);
    pointer-events: none;
}

/* EYEBROW */
.about-eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent1);
}

.about-eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--accent1);
    border-radius: 999px;
}

/* TITLE */
.about-title {
    text-align: left;
    margin-bottom: 24px;
    position: relative;
}

/* PARAGRAPH */
.about-content p {
    margin: 0;
    line-height: 1.8;
    color: var(--text, #444);
    text-align: justify;
    max-width: 680px;
}

/* =========================
   1400
========================= */
@media (max-width: 1400px) {
    .about-grid {
        grid-template-columns: 1.05fr 0.95fr;
        min-height: 560px;
    }

    .about-image-wrap {
        min-height: 560px;
    }

    .about-img {
        object-position: 60% center;
    }

    .about-content {
        padding: 50px 100px 50px 40px;
    }

    .about-content::before {
        left: 18px;
    }

    .about-content::after {
        right: 100px;
    }
}

/* =========================
   1200
========================= */
@media (max-width: 1200px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        min-height: 520px;
    }

    .about-image-wrap {
        min-height: 520px;
    }

    .about-img {
        object-position: 58% center;
    }

    .about-content {
        padding: 50px 60px 50px 32px;
    }

    .about-content::before {
        left: 12px;
        top: 50px;
        height: calc(100% - 100px);
    }

    .about-content::after {
        right: 60px;
        width: 76px;
        height: 76px;
    }

    .about-content p {
        line-height: 1.7;
    }
}

/* =========================
   1024
========================= */
@media (max-width: 1024px) {
    .about {
        padding-bottom: 36px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .about-image-wrap {
        min-height: 420px;
    }

    .about-image-wrap::after {
        display: none;
    }

    .about-img {
        object-position: 56% center;
    }

    .about-content {
        padding: 36px 40px 0;
    }

    .about-content::before {
        top: 36px;
        left: 40px;
        width: 64px;
        height: 3px;
        background: linear-gradient(
            90deg,
            rgba(37, 99, 235, 0.9) 0%,
            rgba(37, 99, 235, 0.18) 100%
        );
    }

    .about-content::after {
        display: none;
    }

    .about-eyebrow {
        margin-top: 18px;
    }

    .about-title {
        margin-bottom: 20px;
    }

    .about-content p {
        line-height: 1.7;
        margin-bottom: 0;
        max-width: 100%;
    }

    .reveal-left,
    .reveal-right {
        transform: translateY(42px);
    }
}

/* =========================
   768
========================= */
@media (max-width: 768px) {
    .about {
        padding-bottom: 28px;
    }

    .about-image-wrap {
        min-height: 300px;
    }

    .about-img {
        object-position: 54% center;
    }

    .about-content {
        padding: 28px 20px 0;
    }

    .about-content::before {
        top: 28px;
        left: 20px;
        width: 56px;
    }

    .about-eyebrow {
        margin-top: 16px;
        font-size: 12px;
        letter-spacing: 0.14em;
    }

    .about-title {
        margin-bottom: 18px;
    }

    .about-content p {
        line-height: 1.65;
        text-align: left;
    }
}

/* =========================
   480
========================= */
@media (max-width: 480px) {
    .about {
        padding-bottom: 28px;
    }

    .about-image-wrap {
        min-height: 240px;
    }

    .about-img {
        object-position: 52% center;
    }

    .about-content {
        padding: 28px 16px 0;
    }

    .about-content::before {
        top: 28px;
        left: 16px;
        width: 48px;
    }

    .about-eyebrow {
        margin-top: 14px;
    }

    .about-title {
        margin-bottom: 16px;
    }

    .about-content p {
        line-height: 1.6;
    }
}
/* =========================
   SERVICES SECTION
========================= */
.services {
    position: relative;
    padding: 50px 160px;
    background: var(--white1);
    overflow: hidden;
}

.services::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 38%),
        radial-gradient(
            circle at 90% 10%,
            rgba(255, 255, 255, 0.08),
            transparent 30%
        );
    pointer-events: none;
}

.services > * {
    position: relative;
    z-index: 1;
}

.services-subtitle {
    color: var(--subtitles);
}

.section-title-container {
    margin-bottom: 34px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* =========================
   SERVICE CARD
========================= */
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 30px;
    border-radius: 22px;
    text-decoration: none;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98),
        rgba(248, 251, 255, 0.96)
    );
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
    overflow: hidden;
    cursor: pointer;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
}

.service-card::after {
    content: "";
    position: absolute;
    top: -45px;
    right: -45px;
    width: 140px;
    height: 140px;
    background: rgba(37, 99, 235, 0.07);
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.24);
    box-shadow: 0 26px 52px rgba(0, 0, 0, 0.2);
}

.service-card:hover::after {
    transform: scale(1.2);
}

/* =========================
   ICON
========================= */
.service-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white1);
    font-size: 28px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent1), #3b82f6);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.service-card:hover .service-icon {
    transform: translateY(-3px) rotate(-3deg);
    box-shadow: 0 18px 32px rgba(37, 99, 235, 0.28);
}

/* =========================
   TITLE
========================= */
.service-card h4 {
    margin-bottom: 16px;
    color: var(--titles);
    font-family: "Oswald", sans-serif;
    font-size: var(--h4-size);
    line-height: 1.18;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.service-card:hover h4 {
    color: var(--accent1);
}

/* =========================
   DESCRIPTION
========================= */
.service-card p {
    margin: 0;
    color: var(--subtitles);
    line-height: 1.7;
    text-align: left;
}

/* =========================
   1400
========================= */
@media (max-width: 1400px) {
    .services {
        padding: 50px 100px;
    }

    .services-grid {
        gap: 22px;
    }
}

/* =========================
   1200
========================= */
@media (max-width: 1200px) {
    .services {
        padding: 50px 60px;
    }

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

    .service-card {
        padding: 28px;
    }
}

/* =========================
   1024
========================= */
@media (max-width: 1024px) {
    .services {
        padding: 36px 40px;
    }

    .services-grid {
        gap: 20px;
    }

    .service-card {
        padding: 26px;
    }

    .service-icon {
        width: 64px;
        height: 64px;
        font-size: 26px;
    }
}

/* =========================
   768
========================= */
@media (max-width: 768px) {
    .services {
        padding: 28px 20px;
    }

    .section-title-container {
        margin-bottom: 28px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 24px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 18px;
    }
}

/* =========================
   480
========================= */
@media (max-width: 480px) {
    .services {
        padding: 28px 16px;
    }

    .service-card {
        padding: 22px;
        border-radius: 18px;
    }

    .service-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
        border-radius: 16px;
    }
}
/* INSIGHTS SECTION */
.insights {
    position: relative;
    padding: 50px 160px;
    background:
        radial-gradient(
            circle at top left,
            rgba(37, 99, 235, 0.16),
            transparent 32%
        ),
        linear-gradient(135deg, #0f2f4a 0%, var(--accent2) 58%, #153d5f 100%);
    color: var(--white1);
    overflow: hidden;
}

.insights::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 38%),
        radial-gradient(
            circle at 90% 10%,
            rgba(255, 255, 255, 0.08),
            transparent 30%
        );
    pointer-events: none;
}

.insights > * {
    position: relative;
    z-index: 1;
}

.insights-header {
    margin-bottom: 34px;
    text-align: left;
}

.insights-eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 14px;
    color: var(--white1);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.insights .section-title {
    color: var(--white1);
}

.insights-sub {
    margin-bottom: 0;
    color: var(--white1);
}

.insights-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.insight-card {
    position: relative;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 28px;
    min-height: 100%;
    padding: 30px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98),
        rgba(248, 251, 255, 0.96)
    );
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
    overflow: hidden;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.insight-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
}

.insight-card::after {
    content: "";
    position: absolute;
    right: -45px;
    top: -45px;
    width: 140px;
    height: 140px;
    background: rgba(37, 99, 235, 0.07);
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.35s ease;
}

.insight-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.24);
    box-shadow: 0 26px 52px rgba(0, 0, 0, 0.2);
}

.insight-card:hover::after {
    transform: scale(1.2);
}

.insight-logo-wrap {
    position: relative;
    z-index: 1;
    width: 150px;
    height: 150px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: start;
    background: var(--white1);
    border: 1px solid rgba(75, 85, 99, 0.12);
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
}

.insight-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.insight-card:hover .insight-logo {
    transform: scale(1.04);
    filter: saturate(1.05);
}

.insight-text {
    position: relative;
    z-index: 1;
    min-width: 0;
    text-align: left;
}

.quote-mark {
    display: block;
    height: 38px;
    margin-bottom: 8px;
    color: rgba(37, 99, 235, 0.18);
    font-family: "Oswald", sans-serif;
    font-size: 78px;
    line-height: 0.8;
    font-weight: 700;
}

.insight-text p {
    margin-bottom: 22px;
    color: var(--subtitles);
    line-height: 1.75;
    text-align: left;
}

.insight-author {
    padding-top: 18px;
    border-top: 1px solid rgba(75, 85, 99, 0.12);
}

.insight-author h4 {
    margin-bottom: 6px;
    color: var(--accent1);
    font-family: "Oswald", sans-serif;
    font-size: var(--h4-size);
    line-height: 1.15;
    text-transform: uppercase;
}

.insight-author span {
    display: block;
    color: var(--subtitles);
    font-family: "Inter", sans-serif;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

/* =========================
   1400
========================= */
@media (max-width: 1400px) {
    .insights {
        padding: 50px 100px;
    }

    .insight-card {
        grid-template-columns: 130px 1fr;
        gap: 24px;
        padding: 28px;
    }

    .insight-logo-wrap {
        width: 130px;
        height: 130px;
    }
}

/* =========================
   1200
========================= */
@media (max-width: 1200px) {
    .insights {
        padding: 50px 60px;
    }

    .insights-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .insight-card {
        grid-template-columns: 140px 1fr;
    }

    .insight-logo-wrap {
        width: 140px;
        height: 140px;
    }
}

/* =========================
   1024
========================= */
@media (max-width: 1024px) {
    .insights {
        padding: 36px 40px;
    }

    .insights-header {
        margin-bottom: 30px;
    }

    .insight-card {
        grid-template-columns: 120px 1fr;
        gap: 22px;
        padding: 26px;
    }

    .insight-logo-wrap {
        width: 120px;
        height: 120px;
        padding: 16px;
    }
}

/* =========================
   768
========================= */
@media (max-width: 768px) {
    .insights {
        padding: 28px 20px;
    }

    .insight-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
    }

    .insight-logo-wrap {
        width: 120px;
        height: 120px;
    }

    .quote-mark {
        height: 32px;
        font-size: 64px;
    }
}

/* =========================
   480
========================= */
@media (max-width: 480px) {
    .insights {
        padding: 28px 16px;
    }

    .insight-card {
        padding: 22px;
        border-radius: 18px;
    }

    .insight-logo-wrap {
        width: 100px;
        height: 100px;
        padding: 14px;
        border-radius: 16px;
    }

    .insight-author span {
        font-size: 14px;
    }
}

/* =========================
   PARTNERS
========================= */
.partners {
    padding: 50px 0;
    background:
        radial-gradient(
            circle at top left,
            rgba(37, 99, 235, 0.08),
            transparent 34%
        ),
        linear-gradient(180deg, var(--white1) 0%, #f8fafc 100%);
    text-align: center;
    overflow: hidden;
}
.partners-sub {
    color: var(--subtitles);
}
.partners-container {
    margin: 0 auto;
    padding: 0 160px;
}

.partners-header {
    margin: 0 auto 36px;
}

.partners-logo-panel {
    position: relative;
    padding: 34px;
    background: var(--white1);
    border: 1px solid rgba(75, 85, 99, 0.12);
    border-radius: 26px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.partners-logo-panel::before {
    display: none;
}

.partners-logo-panel::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 220px;
    height: 220px;
    background: rgba(37, 99, 235, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.partners-top,
.partners-bottom {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: stretch;
}

.partners-top {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 24px;
}

.partners-bottom {
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.partner-logo-card {
    min-height: 150px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid rgba(75, 85, 99, 0.1);
    border-radius: 20px;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}

.partner-logo-card.featured {
    min-height: 190px;
}

.partner-logo-card:hover {
    transform: translateY(-6px);
    background: var(--white1);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.partner-logo-card img {
    width: 100%;
    max-width: 180px;
    height: 100px;
    object-fit: contain;
    opacity: 0.86;
    transition:
        transform 0.35s ease,
        opacity 0.35s ease,
        filter 0.35s ease;
}

.partner-logo-card.featured img {
    max-width: 220px;
    height: 135px;
}

.partner-logo-card:hover img {
    transform: scale(1.04);
    opacity: 1;
    filter: saturate(1.05);
}

/* =========================
   1400
========================= */
@media (max-width: 1400px) {
    .partners-container {
        padding: 0 100px;
    }

    .partners-logo-panel {
        padding: 30px;
    }

    .partner-logo-card.featured {
        min-height: 170px;
    }

    .partner-logo-card.featured img {
        height: 120px;
    }
}

/* =========================
   1200
========================= */
@media (max-width: 1200px) {
    .partners-container {
        padding: 0 60px;
    }

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

    .partners-bottom {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================
   1024
========================= */
@media (max-width: 1024px) {
    .partners {
        padding: 36px 0;
    }

    .partners-container {
        padding: 0 40px;
    }

    .partners-logo-panel {
        padding: 26px;
    }
}

/* =========================
   768
========================= */
@media (max-width: 768px) {
    .partners {
        padding: 28px 0;
    }

    .partners-container {
        padding: 0 20px;
    }

    .partners-header {
        margin-bottom: 28px;
    }

    .partners-logo-panel {
        padding: 22px;
        border-radius: 22px;
    }

    .partners-top,
    .partners-bottom {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .partner-logo-card,
    .partner-logo-card.featured {
        min-height: 130px;
        padding: 18px;
    }

    .partner-logo-card img,
    .partner-logo-card.featured img {
        height: 82px;
        max-width: 150px;
    }
}

/* =========================
   480
========================= */
@media (max-width: 480px) {
    .partners {
        padding: 28px 0;
    }

    .partners-container {
        padding: 0 16px;
    }

    .partners-logo-panel {
        padding: 18px;
        border-radius: 18px;
    }

    .partners-top,
    .partners-bottom {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .partner-logo-card,
    .partner-logo-card.featured {
        min-height: 120px;
        padding: 16px;
        border-radius: 16px;
    }

    .partner-logo-card img,
    .partner-logo-card.featured img {
        height: 76px;
        max-width: 150px;
    }
}

/* CTA SECTION */
.cta {
    position: relative;
    width: 100%;
    padding: 100px 0;
    /* background: url("images/Maps/ctabnw.png") center/cover no-repeat; */
    background: url("../images/Maps/ctabnw.png") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

/* OVERLAY */
.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(5, 20, 35, 0.92),
        rgba(5, 20, 35, 0.78)
    );
    z-index: 1;
}

.cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(37, 99, 235, 0.14) 0%,
            rgba(37, 99, 235, 0.05) 22%,
            transparent 48%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.02) 0%,
            rgba(255, 255, 255, 0) 24%,
            rgba(0, 0, 0, 0.18) 100%
        );
    z-index: 1;
    pointer-events: none;
}

/* CONTENT */
.cta-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 0 20px;
}

/* TITLE */
.cta h2 {
    font-family: "Oswald", sans-serif;
    line-height: 1.2;
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-shadow: 0 6px 22px rgba(0, 0, 0, 0.24);
}

.cta .section-subtitle {
    color: rgba(255, 255, 255, 0.92);
    margin: 0 auto 24px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

/* BUTTON */
.primary-btn-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent1);
    padding: 14px 80px;
    color: white;
    text-decoration: none;
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.24);
    width: 100%;
}

.primary-btn-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.22),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.primary-btn-cta:hover {
    transform: translateY(-3px);
    background: #1d4ed8;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.3);
}

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

.primary-btn-cta:active {
    transform: translateY(0);
}

/* =========================
   1400
========================= */
@media (max-width: 1400px) {
    .cta {
        padding: 90px 0;
    }

    .cta h2 {
        font-size: 44px;
    }

    .primary-btn-cta {
        padding: 14px 70px;
    }
}

/* =========================
   1200
========================= */
@media (max-width: 1200px) {
    .cta {
        padding: 80px 0;
    }

    .cta h2 {
        font-size: 40px;
    }

    .primary-btn-cta {
        padding: 14px 60px;
    }
}

/* =========================
   1024
========================= */
@media (max-width: 1024px) {
    .cta {
        padding: 36px 0;
    }

    .cta h2 {
        font-size: 34px;
    }

    .primary-btn-cta {
        padding: 12px 50px;
    }
}

/* =========================
   768
========================= */
@media (max-width: 768px) {
    .cta {
        padding: 28px 0;
    }

    .cta-content {
        padding: 0 20px;
    }

    .cta h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .cta .section-subtitle {
        margin-bottom: 20px;
    }

    .primary-btn-cta {
        width: 100%;
        max-width: 320px;
        padding: 14px 0;
    }
}

/* =========================
   480
========================= */
@media (max-width: 480px) {
    .cta {
        padding: 28px 0;
    }

    .cta-content {
        padding: 0 16px;
    }

    .cta h2 {
        font-size: 22px;
    }

    .primary-btn-cta {
        font-size: 13px;
    }
}

/* FOOTER */
.footer {
    background: #171717;
    color: white;
    padding: 50px 0 20px;
}

/* =========================
   TOP AREA
========================= */
.footer-main {
    padding: 0 160px 40px;
    display: grid;
    grid-template-columns: 1.2fr 0.6fr 1.5fr 2fr;
    /* ✅ FIXED DISTRIBUTION */
    gap: 32px;
    /* ✅ tighter */
    align-items: start;
}

/* BRAND */
.footer-brand {
    max-width: 340px;
    width: 100%;
}

.footer-logo {
    display: inline-block;
    max-width: 100%;
}

.footer-logo img {
    width: auto;
    max-width: 100%;
    height: 100px;
    display: block;
    margin-bottom: 20px;
}

.footer-description {
    margin-bottom: 18px;
    font-size: 18px;
    line-height: 1.6;
    color: #fff;
}

/* HEADINGS */
.footer h4 {
    margin: 0 0 16px;
    line-height: 1.4;
    color: white;
}

/* =========================
   LIST FIX
========================= */
.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.footer li {
    margin-bottom: 8px;
    width: 100%;
}

.footer li a {
    display: inline-block;
    width: 100%;
}

/* LINKS + TEXT */
.footer li a,
.footer-contact p,
.footer-bottom p,
.footer-bottom-links a,
.footer-maps span {
    line-height: 1.6;
    color: #fff;
    text-decoration: none;
}

.footer li a,
.footer-bottom-links a {
    word-break: break-word;
}

.footer-contact {
    width: 100%;
}

.footer-contact p {
    margin: 0 0 12px;
}

/* =========================
   MAPS
========================= */
.footer-maps {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

.footer-maps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.footer-map-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.footer-map-card iframe {
    width: 100%;
    height: 160px;
    border: 0;
    border-radius: 12px;
    display: block;
}

/* =========================
   BOTTOM BAR
========================= */
.footer-bottom {
    padding: 18px 160px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1400px) {
    .footer-main {
        padding: 0 100px 36px;
        gap: 28px;
    }

    .footer-bottom {
        padding: 16px 100px 0;
    }
}

/* ✅ SINGLE COLUMN */
@media (max-width: 1024px) {
    .footer-main {
        padding: 0 40px 28px;
        grid-template-columns: 1fr;
        gap: 28px;
        width: 100%;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer ul,
    .footer-contact,
    .footer-maps {
        width: 100%;
        max-width: 100%;
        /* ✅ reset constraint on mobile */
    }

    .footer-maps-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer-map-card iframe {
        height: 200px;
    }

    .footer-bottom {
        padding: 16px 40px 0;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom-links {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 28px 0 18px;
    }

    .footer-main {
        padding: 0 20px 24px;
        gap: 24px;
    }

    .footer-map-card iframe {
        height: 180px;
    }

    .footer-bottom {
        padding: 14px 20px 0;
        gap: 14px;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 0 16px 20px;
        gap: 20px;
    }

    .footer-map-card iframe {
        height: 160px;
    }

    .footer-bottom {
        padding: 12px 16px 0;
    }
}

/* =========================
     CONTACT MODAL
  ========================= */
.contact-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.contact-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal-box {
    position: relative;
    width: min(100%, 1600px);
    min-height: 720px;
    display: grid;
    grid-template-columns: 1fr 520px;
    background: var(--white1);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.contact-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: none;
    background: rgba(16, 42, 67, 0.08);
    color: var(--accent2);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
}

.contact-modal-left {
    background: var(--accent2);
    color: var(--white1);
    position: relative;
    padding: 50px 50px;
    display: flex;
    align-items: center;
}

.contact-modal-back {
    position: absolute;
    top: 24px;
    left: 24px;
    color: var(--white1);
    text-decoration: none;
    font-size: 28px;
    line-height: 1;
}

.contact-modal-title {
    font-size: 64px;
    line-height: 0.95;
    margin-bottom: 20px;
    color: var(--white1);
}

.contact-modal-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 30px;
}

.contact-modal-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-modal-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-modal-icon {
    font-size: 18px;
    line-height: 1;
    margin-top: 4px;
    color: #7dd3fc;
    flex-shrink: 0;
}

.contact-modal-info-item h4 {
    color: var(--white1);
    margin-bottom: 4px;
}

.contact-modal-info-item p {
    margin: 0;

    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.contact-modal-right {
    background: #f3f3f3;
    padding: 50px 40px;
    display: flex;
    align-items: center;
}

.contact-modal-form {
    width: 100%;
}

.contact-form-row.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.contact-form-group {
    margin-bottom: 14px;
}

.contact-form-group label {
    display: block;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #444;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
    width: 100%;
    font-family: Inter, sans-serif;
    font-size: 14px;
    color: #222;
    background: #ececec;
    border: 1px solid #cfcfcf;
    outline: none;
    padding: 12px 14px;
    border-radius: 0;
    transition:
        border-color 0.25s ease,
        background 0.25s ease;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
    border-color: var(--accent1);
    background: #ffffff;
}

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

.contact-form-group select {
    appearance: none;
    cursor: pointer;
}

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

.contact-submit-btn {
    width: 100%;
    border: none;
    background: var(--accent1);
    color: var(--white1);
    padding: 14px 20px;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

.contact-submit-btn:hover {
    background: #1d4ed8;
}

/* =========================
     1400
  ========================= */
@media (max-width: 1400px) {
    .contact-modal-left {
        padding: 50px 100px;
    }

    .contact-modal-title {
        font-size: 58px;
    }
}

/* =========================
     1200
  ========================= */
@media (max-width: 1200px) {
    .contact-modal-overlay {
        padding: 30px;
    }

    .contact-modal-box {
        grid-template-columns: 1fr 460px;
        min-height: auto;
    }

    .contact-modal-left {
        padding: 50px 60px;
    }

    .contact-modal-right {
        padding: 50px 32px;
    }

    .contact-modal-title {
        font-size: 50px;
    }

    .contact-modal-subtitle {
        font-size: 16px;
    }
}

/* =========================
     1024
  ========================= */
@media (max-width: 1024px) {
    .contact-modal-overlay {
        padding: 24px 40px;
        align-items: flex-start;
        overflow-y: auto;
    }

    .contact-modal-box {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 900px;
    }

    .contact-modal-left {
        padding: 36px 40px;
        min-height: auto;
    }

    .contact-modal-right {
        padding: 36px 40px;
    }

    .contact-modal-content {
        max-width: 100%;
    }

    .contact-modal-title {
        font-size: 44px;
        margin-bottom: 16px;
    }

    .contact-modal-subtitle {
        margin-bottom: 24px;
    }
}

/* =========================
     768
  ========================= */
@media (max-width: 768px) {
    .contact-modal-overlay {
        padding: 20px;
    }

    .contact-modal-left,
    .contact-modal-right {
        padding: 28px 20px;
    }

    .contact-modal-title {
        font-size: 38px;
    }

    .contact-form-row.two-col {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* =========================
     480
  ========================= */
@media (max-width: 480px) {
    .contact-modal-overlay {
        padding: 16px;
    }

    .contact-modal-left,
    .contact-modal-right {
        padding: 28px 16px;
    }

    .contact-modal-title {
        font-size: 32px;
        line-height: 1;
    }

    .contact-modal-close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        font-size: 24px;
    }

    .contact-modal-back {
        top: 16px;
        left: 16px;
        font-size: 24px;
    }

    .contact-form-group input,
    .contact-form-group select,
    .contact-form-group textarea {
        font-size: 13px;
        padding: 11px 12px;
    }

    .contact-submit-btn {
        font-size: 13px;
        padding: 13px 16px;
    }
}

/*Error Handling*/
.field-error {
    display: block;
    margin-top: 6px;
    min-height: 18px;
    font-size: 13px;
    color: #d93025;
}

.input-error {
    border-color: #d93025 !important;
    box-shadow: 0 0 0 2px rgba(217, 48, 37, 0.12);
}

.form-status-message {
    margin-top: 12px;
    min-height: 20px;
    font-size: 14px;
}

.form-status-message.success {
    color: #188038;
}

.form-status-message.error {
    color: #d93025;
}

.contact-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
