/* ==========================================================
   SERVICES PAGE
========================================================== */


/* ==========================================================
   GENERAL
========================================================== */

.services-section {
    background: #ffffff;
}

.services-heading,
.process-heading {
    align-items: end;
}

.services-heading > p,
.process-heading > p {
    max-width: 560px;
}


/* ==========================================================
   SERVICES HERO
========================================================== */

.services-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(49, 94, 251, 0.14),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 85%,
            rgba(20, 184, 166, 0.08),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #f7f9ff 0%,
            #ffffff 55%,
            #f8fbff 100%
        );
}

.services-hero::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(49, 94, 251, 0.08);
    border-radius: 50%;
    right: -100px;
    top: -120px;
}

.services-hero .hero-content {
    max-width: 780px;
}

.services-hero h1 {
    max-width: 700px;
    margin: 14px 0 18px;
}

.services-hero p {
    max-width: 680px;
    font-size: 17px;
    line-height: 1.8;
    color: #64748b;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}
/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 235, 242, .85);
  transition: .3s ease;
}
.site-header.scrolled {
  box-shadow: 0 10px 35px rgba(21, 33, 59, .07)
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none
}

.logo img {
  width: 185px;
  height: 68px;
  object-fit: contain;
  display: block
}
/* ==========================================================
   BUTTONS
========================================================== */

.btn {
    min-height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary {
    background: #315efb;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(49, 94, 251, 0.18);
}

.btn.primary:hover {
    background: #244bd5;
    box-shadow: 0 14px 30px rgba(49, 94, 251, 0.25);
}

.btn.secondary {
    background: #ffffff;
    color: #172033;
    border-color: #dce3ef;
}

.btn.secondary:hover {
    border-color: #315efb;
    color: #315efb;
}


/* ==========================================================
   SERVICES GRID
========================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 48px;
}


/* ==========================================================
   SERVICE CARD
========================================================== */

.service-card {
    position: relative;
    min-height: 310px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e6eaf1;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.045);
    overflow: hidden;

    display: flex;
    flex-direction: column;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        #315efb,
        #6c8cff
    );

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(49, 94, 251, 0.18);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09);
}

.service-card:hover::before {
    transform: scaleX(1);
}


/* ==========================================================
   SERVICE TOP
========================================================== */

.service-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.service-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;
    background: #f1f5ff;

    font-size: 26px;

    border: 1px solid #e2e9ff;
}

.service-number {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #94a3b8;
}


/* ==========================================================
   SERVICE CONTENT
========================================================== */

.service-card h3 {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.3;
    color: #172033;
}

.service-card p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.75;
}


/* ==========================================================
   SERVICE LINK
========================================================== */

.service-link {
    margin-top: auto;
    padding-top: 24px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    width: fit-content;

    color: #315efb;
    background: transparent;
    border: 0;

    font-size: 13px;
    font-weight: 800;

    text-decoration: none;
    cursor: pointer;

    transition:
        gap 0.25s ease,
        color 0.25s ease;
}

.service-link span {
    font-size: 17px;
    line-height: 1;
}

.service-link:hover {
    gap: 12px;
    color: #244bd5;
}

.service-button {
    font-family: inherit;
}


/* ==========================================================
   PROCESS SECTION
========================================================== */

.process-section {
    background: #f7f9fc;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 46px;
}

.step-card {
    position: relative;

    padding: 28px;

    display: flex;
    align-items: flex-start;
    gap: 20px;

    background: #ffffff;

    border: 1px solid #e5eaf1;
    border-radius: 17px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.07);
}

.step-number {
    flex: 0 0 auto;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #315efb;
    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
}

.step-content h3 {
    margin: 2px 0 9px;

    color: #172033;

    font-size: 18px;
}

.step-content p {
    margin: 0;

    color: #64748b;

    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================================
   CTA
========================================================== */

.service-cta {
    background: #ffffff;
}

.cta-box {
    position: relative;

    padding: 55px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    overflow: hidden;

    border-radius: 24px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(255, 255, 255, 0.16),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #172033,
            #24355c
        );

    color: #ffffff;
}

.cta-box::after {
    content: "";
    position: absolute;

    width: 220px;
    height: 220px;

    right: -80px;
    bottom: -100px;

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-box .eyebrow {
    color: #a9bcff;
}

.cta-box h2 {
    max-width: 650px;
    margin: 12px 0 15px;

    color: #ffffff;
}

.cta-box h2 span {
    color: #8fa8ff;
}

.cta-box p {
    max-width: 600px;
    margin: 0;

    color: rgba(255, 255, 255, 0.72);

    line-height: 1.75;
}

.cta-action {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    gap: 12px;

    position: relative;
    z-index: 2;
}

.cta-action .btn.secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.cta-action .btn.secondary:hover {
    border-color: #ffffff;
}


/* ==========================================================
   FOOTER
========================================================== */

.footer {
  background: #0a142d;
  color: #aeb9cf;
  padding: 60px 0 0;
}


/* ==========================================================
   FOOTER GRID
========================================================== */

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 55px;
  align-items: start;
}


/* ==========================================================
   FOOTER LOGO
========================================================== */

.footer-logo img {
  width: 170px;
  height: 58px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  display: block;
}


/* ==========================================================
   FOOTER BRAND
========================================================== */

.footer-brand p {
  max-width: 400px;
  font-size: 13px;
  line-height: 1.8;
  margin-top: 14px;
}


/* ==========================================================
   FOOTER HEADINGS
========================================================== */

.footer h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 16px;
}


/* ==========================================================
   FOOTER LINKS
========================================================== */

.footer a:not(.logo) {
  display: block;
  color: #aeb9cf;
  text-decoration: none;
  font-size: 13px;
  margin: 8px 0;
  transition: 0.2s ease;
}

.footer a:not(.logo):hover {
  color: #fff;
  transform: translateX(3px);
}


/* ==========================================================
   FOOTER TEXT
========================================================== */

.footer p {
  font-size: 13px;
  line-height: 1.7;
  margin: 8px 0;
}


/* ==========================================================
   SOCIAL ICONS
========================================================== */

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer-socials a {
  width: 32px;
  height: 32px !important;
  display: grid !important;
  place-items: center;
  border: 1px solid #293753;
  border-radius: 9px;
  color: #dbe3f2 !important;
  font-size: 11px !important;
  margin: 0 !important;
  transition: 0.25s ease;
}

.footer-socials a:hover {
  background: #fff;
  color: #0a142d !important;
  border-color: #fff;
  transform: translateY(-2px) !important;
}


/* ==========================================================
   COPYRIGHT
========================================================== */

.copyright {
  text-align: center;
  border-top: 1px solid #202f4b;
  margin-top: 45px;
  padding: 20px;
  font-size: 11px;
  color: #8290a9;
  line-height: 1.6;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 992px) {

  .footer {
    padding-top: 50px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 600px;
  }

  .copyright {
    margin-top: 40px;
  }
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

  .footer {
    padding: 45px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-logo img {
    width: 155px;
    height: auto;
    max-height: 55px;
  }

  .footer-brand p {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.8;
  }

  .footer h4 {
    margin-bottom: 13px;
  }

  .footer a:not(.logo) {
    font-size: 13px;
    margin: 9px 0;
  }

  .footer p {
    font-size: 13px;
    line-height: 1.7;
  }

  .footer-socials {
    margin-top: 15px;
  }

  .copyright {
    margin-top: 35px;
    padding: 18px 15px;
    font-size: 10px;
  }
}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

  .footer {
    padding-top: 40px;
  }

  .footer-grid {
    gap: 28px;
  }

  .footer-logo img {
    width: 145px;
    max-height: 52px;
  }

  .footer-brand p {
    font-size: 12px;
  }

  .footer h4 {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .footer a:not(.logo) {
    font-size: 12px;
    margin: 8px 0;
  }

  .footer p {
    font-size: 12px;
  }

  .footer-socials a {
    width: 31px;
    height: 31px !important;
  }

  .copyright {
    margin-top: 30px;
    padding: 16px 10px;
    font-size: 10px;
  }
}



/* ==========================================================
   MODAL
========================================================== */

.modal {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;
}

.modal.active,
.modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;

    inset: 0;

    background: rgba(15, 23, 42, 0.62);

    backdrop-filter: blur(5px);
}

.modal-box {
    position: relative;
    z-index: 2;

    width: min(100%, 560px);
    max-height: 90vh;

    overflow-y: auto;

    padding: 38px;

    background: #ffffff;

    border-radius: 20px;

    box-shadow:
        0 30px 80px rgba(15, 23, 42, 0.25);

    animation: modalIn 0.25s ease;
}

@keyframes modalIn {

    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}

.modal-close {
    position: absolute;

    top: 16px;
    right: 16px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: #f1f5f9;

    color: #475569;

    font-size: 24px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.modal-close:hover {
    background: #e2e8f0;
    color: #172033;
}

.modal-box h2 {
    margin: 10px 0 8px;
}

.modal-intro {
    margin: 0 0 25px;

    color: #64748b;

    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================================
   FORM
========================================================== */

#enquiryForm {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

#enquiryForm label {
    display: flex;
    flex-direction: column;
    gap: 7px;

    color: #334155;

    font-size: 13px;
    font-weight: 700;
}

#enquiryForm input,
#enquiryForm select,
#enquiryForm textarea {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #dce3eb;
    border-radius: 9px;

    background: #ffffff;

    color: #172033;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

#enquiryForm input:focus,
#enquiryForm select:focus,
#enquiryForm textarea:focus {
    border-color: #315efb;

    box-shadow:
        0 0 0 3px rgba(49, 94, 251, 0.1);
}

#enquiryForm textarea {
    resize: vertical;
    min-height: 110px;
}

#enquiryForm input::placeholder,
#enquiryForm textarea::placeholder {
    color: #a1adbd;
}

.full {
    width: 100%;
}

.form-status {
    min-height: 20px;

    text-align: center;

    font-size: 13px;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1100px) {

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px;
    }

}


@media (max-width: 850px) {

    .steps {
        grid-template-columns: 1fr;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px;
    }

}


@media (max-width: 700px) {

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-heading,
    .process-heading {
        display: block;
    }

    .services-heading > p,
    .process-heading > p {
        margin-top: 16px;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        flex: 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .cta-box {
        padding: 32px 25px;
        border-radius: 18px;
    }

    .cta-action {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .cta-action .btn {
        width: 100%;
    }

    .modal-box {
        padding: 30px 22px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 480px) {

    .services-hero h1 {
        font-size: 38px;
    }

    .service-card {
        padding: 24px;
        min-height: auto;
    }

    .step-card {
        padding: 22px;
        gap: 15px;
    }

    .step-number {
        width: 45px;
        height: 45px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

}