:root {
    --primary: #0f766e;
    --primary-dark: #0b4f4a;
    --secondary: #f59e0b;
    --accent: #ecfeff;
    --text: #18313f;
    --muted: #64748b;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --info-blue: #18A8E0;
    --info-navy: #0D2348;
    --info-orange: #F97A52;
    --info-button-text: #111;
    --info-title-size: 24px;
    --info-body-size: 15px;
    --info-phone-size: 36px;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #fdfefe 0%, #f4fbfb 100%);
}

/* ensure no browser-default gaps around the page */
html, body {
    margin: 0;
    padding: 0;
}

/* Make the top info bar and navbar flush with the top edge */
body > .container-fluid.bg-light {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
nav.navbar {
    margin-top: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Jost', sans-serif;
    color: var(--primary-dark);
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 999px;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

.btn-secondary:hover {
    background: #d97706;
    border-color: #d97706;
    color: #fff;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 25px;
    bottom: 25px;
    z-index: 99;
    border-radius: 50%;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 36px;
    height: 100%;
    top: 0;
    left: -18px;
    background: var(--primary);
    transform: skew(38deg);
}

.navbar {
    border-bottom: 1px solid rgba(15, 118, 110, 0.08);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 20px 14px;
    font-size: 16px;
    color: var(--text);
    font-weight: 600;
    transition: 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(8, 31, 31, 0.88) 0%, rgba(12, 60, 57, 0.72) 100%);
    z-index: 1;
}

.carousel-caption h1 {
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.hero-header {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.94), rgba(11, 79, 74, 0.92)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.section-title h5 {
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.service-item,
.team-item {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 118, 110, 0.08);
    background: var(--surface);
}

.service-item img,
.team-item img {
    transition: transform 0.4s ease;
}

.service-item:hover img,
.team-item:hover img {
    transform: scale(1.05);
}

.service-item .bg-light,
.team-item .team-text {
    transition: all 0.3s ease;
}

.service-item:hover .bg-light,
.team-item:hover .team-text {
    background: var(--accent) !important;
}

.card-soft {
    background: var(--surface);
    border: 1px solid rgba(15, 118, 110, 0.08);
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(15, 118, 110, 0.08);
}

.branch-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.96), #ffffff);
    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 22px 45px rgba(15, 118, 110, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.branch-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(15, 118, 110, 0.14);
}

.branch-card__icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 18px;
    background: rgba(15, 118, 110, 0.08);
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
}

.branch-card h5 {
    margin-bottom: 12px;
    font-weight: 700;
}

.branch-card p {
    color: var(--muted);
    line-height: 1.7;
}

.branch-card strong {
    color: var(--text);
}

.banner-card {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 15px 40px rgba(15, 118, 110, 0.16);
}

.banner-card h5,
.banner-card p {
    color: #fff;
}

.banner-card p {
    opacity: 0.95;
    font-size: 15px;
}

.banner-card .icon-box {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.info-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--accent);
    color: var(--primary-dark);
    border-radius: 999px;
    font-weight: 600;
}
@keyframes infoZoomIn {
    from {
        opacity: 0;
        transform: scale(0.3);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.info-section {
    position: relative;
    z-index: 2;
    margin-top: -170px;
    padding: 40px 0 50px;
}

.info-section__wrap {
    width: min(1300px, calc(100% - 40px));
    margin: 0 auto;
}

.info-section__grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: stretch;
}

.info-card {
    flex: 1 1 calc(33.333% - 13px);
    min-width: 0;
    padding: 36px 32px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(3, 12, 35, 0.12);
    min-height: 420px;
}

.info-card--blue {
    background: linear-gradient(180deg, #08a8e0 0%, #0470a1 100%);
}

.info-card--navy {
    background: linear-gradient(180deg, #041b3f 0%, #0a2a5a 100%);
}

.info-card--orange {
    background: linear-gradient(180deg, #f87954 0%, #f34f31 100%);
}

.info-card__title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 24px;
    line-height: 1.1;
}

.info-card__hours {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.info-card__hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    color: rgba(255,255,255,0.95);
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

.info-card__hours-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.info-card__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.info-card__field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 15px;
    color: rgba(255,255,255,0.9);
}

.info-card__field input,
.info-card__field select {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 14px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 15px;
    box-sizing: border-box;
}

.info-card__field input::placeholder,
.info-card__field select option:first-child {
    color: rgba(255,255,255,0.75);
}

.info-card__field select {
    appearance: none;
}

.info-card__button--dark {
    background: rgba(255,255,255,0.18);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.22);
}

.info-card__button--dark:hover {
    background: rgba(255,255,255,0.28);
}

.info-card__text {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.95);
    margin: 0 0 24px;
}

.info-card__phone {
    display: inline-block;
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    line-height: 1.05;
    margin-bottom: 28px;
}

.info-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 20px;
    background: #fff;
    color: var(--info-button-text);
    font-weight: 800;
    text-decoration: none;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    margin-top: auto;
    font-size: 15px;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.12);
}

.info-card__button:hover {
    background: #f8f9fb;
}

@media (max-width: 991px) {
    .info-card {
        flex: 1 1 calc(50% - 10px);
    }
}

@media (max-width: 767px) {
    .info-section {
        margin-top: -35px;
    }

    .info-card {
        flex: 1 1 100%;
        padding: 32px 24px;
    }

    .info-card__phone {
        font-size: 36px;
    }
}
footer a {
    text-decoration: none;
}

.pricing-card {
    background: #fff;
    border: 1px solid #e7f0f4;
    padding: 0 0 32px;
    height: 100%;
    text-align: center;
    overflow: hidden;
}

.pricing-card__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.pricing-card--featured {
    border: 2px solid var(--info-blue);
    transform: translateY(-6px);
}

.pricing-card__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.pricing-card__price {
    font-size: 42px;
    font-weight: 700;
    color: var(--info-blue);
    margin-bottom: 20px;
}

.pricing-card__price span {
    font-size: 16px;
    color: var(--muted);
    font-weight: 500;
}

.pricing-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.pricing-card__list li {
    padding: 8px 0;
    color: var(--muted);
    border-bottom: 1px solid #eef4f7;
}

.pricing-card__list li:last-child {
    border-bottom: 0;
}

.appointment-band {
    background: linear-gradient(180deg, #f8fcfe 0%, #f3f9fc 100%);
    padding: 70px 0 90px;
}

.appointment-band__wrap {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.appointment-band__content {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    background: #fff;
    padding: 0;
    border: 1px solid #e3eef3;
}

.appointment-band__text {
    flex: 0 0 60%;
    position: relative;
    min-height: 430px;
    padding: 42px 38px;
    background-image: url('../img/about.jpeg');
    background-size: cover;
    background-position: center;
    border-radius: 24px 0 0 24px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(13, 35, 72, 0.16);
}

.appointment-band__text::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(3, 85, 162, 0.62);
}

.appointment-band__text > * {
    position: relative;
    z-index: 1;
}

.appointment-band__eyebrow {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 13px;
    margin-bottom: 10px;
}

.appointment-band__text h2 {
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.appointment-band__text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.7;
}

.appointment-band__form {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 36px 30px;
    background: #0d2b57;
    border-radius: 0 24px 24px 0;
    min-height: 430px;
    color: #ffffff;
}

.appointment-band__row {
    display: flex;
    gap: 14px;
}

.appointment-band__form input,
.appointment-band__form select,
.appointment-band__form textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 15px;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.appointment-band__form select {
    background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.9) 50%),
                      linear-gradient(135deg, rgba(255,255,255,0.9) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(1em + 2px), calc(100% - 13px) calc(1em + 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.appointment-band__form input::placeholder,
.appointment-band__form textarea::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.appointment-band__form select option {
    background: #0d2b57;
    color: #ffffff;
}

.appointment-band__form textarea {
    resize: vertical;
    min-height: 120px;
}

.appointment-band__form button {
    width: 100%;
    padding: 15px 18px;
    background: #ffb600;
    color: #0d2348;
    border: 0;
    font-weight: 700;
    cursor: pointer;
    font-size: 15px;
}

.appointment-band__form button:hover {
    opacity: 0.95;
}

@media (max-width: 991.98px) {
    .appointment-band__content {
        flex-direction: column;
        align-items: stretch;
    }

    .appointment-band__text h2 {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .appointment-band {
        padding: 40px 0 60px;
    }

    .appointment-band__content {
        padding: 24px;
    }

    .appointment-band__row {
        flex-direction: column;
    }

    .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}