#Services_section .service-card {
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

#Services_section .service-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

#Services_section .service-title {
    font-size: clamp(1.6rem, 1.9vw, 1.8rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

#Services_section .service-text {
    margin: 0;
    font-size: clamp(1rem, 1.1vw, 1.2rem);
    line-height: 1.55;
}

#Home_section,
#Services_section,
#AboutUs_section,
#Contact_section,
#How_we_work_section {
    scroll-margin-top: 180px;
}

body {
    font-size: 16.5px;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2.5rem, 2.6vw, 3.25rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 2vw, 2.6rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.25rem, 1.35vw, 1.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.navbar .nav-link {
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    font-size: clamp(0.95rem, 1vw, 1.05rem);
    text-align: center;
    letter-spacing: 0.05em;
}

.navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar .navbar-brand img {
    height: 96px;
    width: auto;
}

.navbar .container {
    width: min(90vw, 1200px);
    max-width: 1200px;
}

.surface-card {
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.hero-divider {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1f2937, #475569, #94a3b8);
    opacity: 0.8;
}

.cta-button-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.cta-button-group .btn {
    width: min(240px, 100%);
    border-radius: 0.5rem;
    padding: 0.45rem 1.35rem;
    line-height: 1.2;
}

.cta-button-group--inline .btn {
    width: auto;
}

@media (min-width: 576px) {
    .cta-button-group.cta-button-group--split {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.section-spacing {
    padding-top: clamp(1.5rem, 2.5vw, 2.75rem);
    padding-bottom: clamp(1.5rem, 2.5vw, 2.75rem);
}

#AboutUs_section .profile-card h2 {
    font-size: clamp(2.5rem, 3vw, 3rem);
    letter-spacing: -0.02em;
}

#AboutUs_section .profile-card .profile-tagline {
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: clamp(1.3rem, 2vw, 1.5rem);
}

#AboutUs_section .profile-card .profile-tagline span {
    display: block;
}

#AboutUs_section .profile-card .profile-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.25rem;
    margin-top: 0.5rem;
}

#AboutUs_section .profile-card .profile-list li {
    font-size: clamp(1.15rem, 1.6vw, 1.35rem);
    line-height: 1.6;
    font-weight: 600;
    padding: 0.75rem 0;
    position: relative;
}

#AboutUs_section .profile-card .profile-list li::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30%;
    height: 1px;
    background: rgba(0, 0, 0, 0.2);
}

#AboutUs_section .profile-card .profile-list li:last-child::after {
    display: none;
}

#Footer .footer-meta {
    font-size: clamp(0.8rem, 0.74rem + 0.2vw, 0.95rem);
    font-family: Montserrat, sans-serif;
}

.custom-container {
    width: min(90vw, 1200px);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

#Home_section .hero-card p:not(.lead) {
    font-size: clamp(1.05rem, 1.2vw, 1.3rem);
    line-height: 1.75;
}

#Home_section .hero-card .lead {
    font-size: clamp(1.4rem, 1.8vw, 1.75rem);
}

.surface-card p {
    max-width: 72ch;
}

#Services_section .services-intro p,
#AboutUs_section .container > div > p {
    font-size: clamp(1.05rem, 1.3vw, 1.35rem);
    line-height: 1.75;
}

#How_we_work_section .how-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    margin-bottom: 1.5rem;
}

#How_we_work_section .how-card:last-of-type {
    margin-bottom: 0;
}

#How_we_work_section .how-card-icon {
    flex: 0 0 88px;
    height: 88px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1f2937, #64748b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
}

#How_we_work_section .how-card-content p {
    margin-bottom: 0.5rem;
    font-size: clamp(1.05rem, 1.2vw, 1.3rem);
    line-height: 1.75;
}

#How_we_work_section .how-card-content p:last-child {
    margin-bottom: 0;
}

#How_we_work_section .how-card-media {
    flex: 0 0 150px;
    height: 230px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

#How_we_work_section .how-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 1440px) {
    .custom-container {
        max-width: 1320px;
    }

    .navbar .container {
        max-width: 1320px;
    }

    .section-spacing {
        padding-top: 3.25rem;
        padding-bottom: 3.25rem;
    }
}

@media (max-width: 991.98px) {
    .custom-container {
        width: min(94vw, 900px);
    }

    .navbar .container {
        width: 100%;
        max-width: min(94vw, 900px);
    }
}

@media (max-width: 767.98px) {
    #How_we_work_section .how-card {
        flex-direction: column;
        text-align: center;
    }

    #How_we_work_section .how-card-icon {
        flex: none;
        margin-bottom: 0.5rem;
    }

    #How_we_work_section .how-card-media {
        width: 100%;
        height: 220px;
    }

    .custom-container {
        width: 94vw;
    }

    .navbar .navbar-brand img {
        width: auto;
        height: 72px;
    }

    .navbar .btn {
        width: 100%;
    }

    .navbar .d-flex {
        gap: 0.75rem;
    }

    .navbar .collapse {
        padding-bottom: 1rem;
    }
}

/* Icon sizing helpers used by legacy navbar assets */
.bs-icon {
  --bs-icon-size: .75rem;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: var(--bs-icon-size);
  width: calc(var(--bs-icon-size) * 2);
  height: calc(var(--bs-icon-size) * 2);
  color: var(--bs-primary);
}

.bs-icon-xs {
  --bs-icon-size: 1rem;
  width: calc(var(--bs-icon-size) * 1.5);
  height: calc(var(--bs-icon-size) * 1.5);
}

.bs-icon-sm {
  --bs-icon-size: 1rem;
}

.bs-icon-md {
  --bs-icon-size: 1.5rem;
}

.bs-icon-lg {
  --bs-icon-size: 2rem;
}

.bs-icon-xl {
  --bs-icon-size: 2.5rem;
}

.bs-icon.bs-icon-primary {
  color: var(--bs-white);
  background: var(--bs-primary);
}

.bs-icon.bs-icon-primary-light {
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), .2);
}

.bs-icon.bs-icon-semi-white {
  color: var(--bs-primary);
  background: rgba(255, 255, 255, .5);
}

.bs-icon.bs-icon-rounded {
  border-radius: .5rem;
}

.bs-icon.bs-icon-circle {
  border-radius: 50%;
}
