:root {
    --primary-color: rgba(0, 73, 185, 1);
    --secondary-color: rgba(119, 179, 22, 1);
    --tertiary-color: #ffffff;
    --primary-font: "Times New Roman", serif;
}

/* =================================== */
.hero .carousel-caption {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    width: 90%;
    max-width: 800px;
    text-align: center;
    color: #fff;
    z-index: 10;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(20, 20, 20, 0.4));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1.2s ease-in-out;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero .carousel-caption {
        padding: 15px;
        max-width: 95%;
        width: 90%;
    }

    .hero .carousel-caption h4 {
        font-size: clamp(18px, 5vw, 24px) !important;
    }

    .hero .carousel-caption h3 {
        font-size: clamp(14px, 4vw, 18px) !important;
        white-space: normal; /* Allow multi-line text */
        min-height: auto;
    }

    .hero .carousel-caption a.btn {
        padding: 8px 20px;
        font-size: 14px;
    }
}

/* Maintain height for desktop, adjust for mobile */
.zoom-slide {
    object-fit: cover;
    height: 100vh;
}

@media (max-width: 768px) {
    .zoom-slide {
        height: 70vh; /* Reduce height for mobile */
    }
}


.hero .carousel-caption h4 {
    font-weight: 700;
    font-size: 38px;
    color: var(--tertiary-color);
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.45);
}

.hero .carousel-caption h3 {
    font-weight: 600;
    font-size: 26px;
    color: var(--tertiary-color);
    margin-bottom: 20px;
    min-height: 40px;
    white-space: nowrap;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    border-right: 2px solid #fff;
}


.zoom-slide {
    object-fit: cover;
    height: 100vh;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 40px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: white;
    }
}

/* ====================================== */
.head-title h2 {
    color: var(--primary-color);
    font-size: 40px;
    font-family: var(--primary-font);
}

.head-title span {
    color: var(--secondary-color);
    font-size: 60px;
}

/* ===================================== */
@media screen and (max-width: 768px) {
    .head-title h2 {
        font-size: 30px;
    }

    .head-title span {
        font-size: 40px;
    }

}

/* ====================================== */
.title {
    color: var(--primary-color);
    font-size: 40px;
    font-family: var(--primary-font);
}

/* ===================================== */
@media screen and (max-width: 768px) {
    .title {
        font-size: 30px;
    }
}

/* ================================================= */
.treatment {
    background: linear-gradient(rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 0.4)),
        url(../images/background/1.avif);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    color: var(--tertiary-color);
}

/* ================================================= */
.info-card h6 {
    font-weight: 600;
}

.info-card p {
    margin-bottom: 0;
    font-size: 15px;
}

.info-card {
    border: 1px solid var(--primary-color);
    transition: all 0.6s ease-in-out;
}

.contact-section .card {
    background: var(--tertiary-color);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-section label {
    margin-bottom: 10px;
    color: black;
    font-family: var(--primary-font);
    font-weight: bold;
}

.contact-section .form-control,
.contact-section .form-select {
    border-radius: 0px;
    border: 1px solid var(--primary-color);
    margin-bottom: 10px;
}

.contact,
.services,
.alcohol {
    background: url(../images/background/4.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* color: var(--tertiary-color); */
}

/* ============================================= */
.why-choose-us h2 {
    font-weight: bold;
    font-family: var(--primary-font);
}

.why-choose-us p {
    font-family: var(--primary-font);
}

.choose-card {
    background: #f9f9f9;
    transition: all 0.3s ease-in-out;
    border: 1px solid var(--primary-color);
}

.choose-card:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.choose-card i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.choose-card:hover i {
    transform: scale(1.1);
    color: var(--secondary-color);
}

/* =========================================== */
.counter-section {
    background: var(--primary-color);
}

.counter {
    font-size: 2.5rem;
    color: var(--tertiary-color);
    font-weight: bold;
    margin-bottom: 10px;
    transition: all 0.3s ease-in-out;
}

.counter+p {
    font-size: 1.1rem;
    color: var(--tertiary-color);
    font-weight: 500;
}

/* ================================================= */
.services .card {
    margin-bottom: 20px;
    border-radius: 16px;
    height: 100%;
    border: 1px solid #eaeaea;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.services .card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.services .card img {
    height: 220px;
    object-fit: cover;
    width: 100%;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    transition: transform 0.4s ease;
}

.services .card:hover img {
    transform: scale(1.05);
}

.services .card h4 {
    color: var(--secondary-color);
    font-family: var(--primary-font);
    font-size: 1.25rem;
    margin-top: 15px;
    font-weight: 600;
}

.services .card p {
    color: #333;
    font-family: var(--primary-font);
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 15px;
    margin-bottom: 20px;
}

.services .card a {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 18px;
    border-radius: 25px;
    background-color: var(--secondary-color);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.services .card a:hover {
    background-color: #333;
    color: #fff;
}

/* ================================================== */
.btn-modern {
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200%;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    text-decoration: none;
}

.btn-modern:hover {
    background-position: right center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-modern:active {
    transform: scale(0.97);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* ======================================================= */
.btn {
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    border-radius: 0.375rem;
    /* rounded-md */
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}