/* ===== BRAND & NAV ===== */
.brand img {
    width: 120px;
}

.nav-link {
    color: #4a4a4a;
    font-size: 0.975rem;
    font-weight: 500;
    padding-bottom: 3px;
    position: relative;
    transition: color 0.2s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: #1A6B3A;
}

.nav-link.active {
    color: #1A6B3A;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #C8232C, #1A6B3A);
    border-radius: 2px;
}

/* ===== PRIMARY BUTTON ===== */
.terra-btnx {
    background: white;
    color: #D42B30;
    border: 1.5px solid #D42B30;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.terra-btnx:hover {
    background: linear-gradient(135deg, #D42B30 0%, #C8232C 60%, #A81C20 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(200, 35, 44, 0.4), 0 3px 8px rgba(0, 0, 0, 0.12);
}

.terra-btn {
    background: linear-gradient(135deg, #D42B30 0%, #C8232C 60%, #A81C20 100%);
    color: white;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(200, 35, 44, 0.3), 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.terra-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 55%);
}

.terra-btn:hover {
    background: linear-gradient(135deg, #E03035 0%, #C8232C 60%, #9A1A1E 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(200, 35, 44, 0.4), 0 3px 8px rgba(0, 0, 0, 0.12);
}

.terra-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(200, 35, 44, 0.25);
}

.text-red {
    color: #C8232C;
}

/* ===== PHONE BUTTON ===== */
.phone-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
}

.phone-btn:hover {
    background: white;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    transform: translateY(-1px);
}

.phone-btn i {
    color: #C8232C;
}

/* ============================== */
/* ===== TRUST BAR ===== */
.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
}

.trust-item:first-child {
    justify-content: flex-start;
}

.trust-item:last-child {
    justify-content: flex-end;
}

.trust-divider {
    width: 1px;
    height: 32px;
    background: #EDE4D4;
    flex-shrink: 0;
    margin: 0 24px;
}

.trust-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon-box img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.trust-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #1A6B3A;
    text-transform: uppercase;
}

.trust-sub {
    font-size: 10px;
    color: #888;
    margin-top: 2px;
}

.trust-stat {
    font-size: 12px;
    font-weight: 500;
    color: #2C2C2C;
}

/* ===================================== */
/* ===== SERVICES SECTION ===== */
.section-badge {
    background: #007142;
    color: #EDE4D4;
    font-size: 11px;
    letter-spacing: 2.5px;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 999px;
    display: inline-block;
}

.service-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #f0ebe3;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 113, 66, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: #d4e8dc;
}

.service-card-img {
    width: 100%;
    height: 150px;
    /* object-fit: cover; */
    display: block;
}

.service-card-body {
    padding: 22px 15px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #0F4C3A;
    margin-bottom: 8px;
    line-height: 1.3;
}

.service-card-desc {
    font-size: 13.5px;
    color: #666;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 16px;
}

.service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f0ebe3;
    gap: 8px;
}

.service-card-price {
    font-size: 12.5px;
    font-weight: 600;
    color: #C8232C;
    display: none;
}

.service-card-btn {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1.5px solid #007142;
    color: #007142;
    background: transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.service-card-btn:hover {
    background: #007142;
    color: white;
}

.service-signature-badge {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 2px 8px;
    border-radius: 4px;
    background: #007142;
    color: white;
    vertical-align: middle;
    margin-left: 6px;
}

.service-card-featured {
    border-color: #007142;
    border-width: 1.5px;
}

.service-confidential-note {
    font-size: 11.5px;
    color: #007142;
    font-weight: 500;
    margin-bottom: 12px;
}

/* ================================ */

.cert-section {
    background: #F9F5ED;
    border-top: 1px solid #EDE4D4;
    border-bottom: 1px solid #EDE4D4;
}

.cert-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #EDE4D4;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    cursor: pointer;
    margin: 0 10px;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(15, 76, 58, 0.12);
}

.cert-card .cert-img-wrap {
    overflow: hidden;
    height: 220px;
    background: #f9f6f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.cert-card .cert-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.cert-card:hover .cert-img-wrap img {
    transform: scale(1.06);
}

.cert-card .cert-body {
    padding: 14px 16px 16px;
    border-top: 1px solid #EDE4D4;
}

.cert-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #E5F2ED;
    color: #0F4C3A;
    border: 1px solid #c4ddd3;
    padding: 3px 9px;
    border-radius: 20px;
    margin-bottom: 6px;
}

.cert-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a3a2e;
    line-height: 1.35;
}

.cert-sub {
    font-size: 11px;
    color: #7a9a8a;
    margin-top: 2px;
}

/* Slick arrow overrides */
.cert-slider-wrap .slick-prev,
.cert-slider-wrap .slick-next {
    width: 38px;
    height: 38px;
    background: #fff;
    border: 1px solid #EDE4D4;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: background 0.2s, box-shadow 0.2s;
}

.cert-slider-wrap .slick-prev {
    left: -18px;
}

.cert-slider-wrap .slick-next {
    right: -18px;
}

.cert-slider-wrap .slick-prev:hover,
.cert-slider-wrap .slick-next:hover {
    background: #0F4C3A;
    box-shadow: 0 4px 14px rgba(15, 76, 58, 0.2);
}

.cert-slider-wrap .slick-prev::before,
.cert-slider-wrap .slick-next::before {
    color: #0F4C3A;
    font-size: 16px;
    opacity: 1;
}

.cert-slider-wrap .slick-prev:hover::before,
.cert-slider-wrap .slick-next:hover::before {
    color: #fff;
}

.cert-slider-wrap .slick-dots {
    bottom: -28px;
}

.cert-slider-wrap .slick-dots li button::before {
    color: #0F4C3A;
    opacity: 0.25;
    font-size: 8px;
}

.cert-slider-wrap .slick-dots li.slick-active button::before {
    opacity: 1;
    color: #0F4C3A;
}

/* KRL Lightbox */
.krl-lb-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: zoom-out;
}

.krl-lb-overlay.krl-lb-open {
    display: flex;
}

.krl-lb-box {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    cursor: default;
}

.krl-lb-box img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

.krl-lb-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 36px;
    height: 36px;
    background: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.2s, color 0.2s;
}

.krl-lb-close:hover {
    background: #0F4C3A;
    color: #fff;
}
/* ============================================== */
/* ===== Health Conditions Section (Modern Card UI) ===== */
.conditions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .conditions-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.condition-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.condition-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.condition-img-wrap {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.condition-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.condition-card:hover .condition-img {
    transform: scale(1.08);
}

.condition-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(46, 125, 50, 0.92);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}

.condition-content {
    padding: 1rem 1.1rem 1.25rem;
}

.condition-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.condition-desc {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.85rem;
    line-height: 1.4;
}

.condition-readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2e7d32;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.condition-readmore i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.condition-readmore:hover {
    color: #1b5e20;
}

.condition-readmore:hover i {
    transform: translateX(4px);
}

@media (max-width: 480px) {
    .conditions-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    .condition-img-wrap {
        height: 120px;
    }
    .condition-content {
        padding: 0.75rem;
    }
    .condition-title {
        font-size: 0.95rem;
    }
    .condition-desc {
        font-size: 0.78rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 340px) {
    .conditions-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Slick Carousel Paddings Fix */
@media (max-width: 768px) {
    .doctors-carousel,
    .cert-carousel {
        padding: 10px 10px !important;
    }
    .carousel-prev,
    .cert-carousel-prev {
        left: -4px !important;
        padding: 8px !important;
    }
    .carousel-next,
    .cert-carousel-next {
        right: -4px !important;
        padding: 8px !important;
    }
    .carousel-prev svg,
    .carousel-next svg,
    .cert-carousel-prev svg,
    .cert-carousel-next svg {
        width: 18px;
        height: 18px;
    }
}

/* Hero Slider Vertical Centering Fix */
#hero-slick-slider .slick-track {
    display: flex !important;
}

#hero-slick-slider .slick-slide {
    height: auto !important;
    display: flex !important;
}

#hero-slick-slider .slick-slide > div {
    width: 100%;
    display: flex;
}