/********** Template CSS **********/
:root {
    --primary: #32a0db;
    --bs-primary: #32a0db;
    --secondary: #14B8C9;
    --light: #F4F1FF;
    --dark: #1B0F3A;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 32px 13px;
    font-size: 16px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 18px 13px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #e187cf;
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 15, 58, .85);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.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);
}

.hero-header {
    background: linear-gradient(rgba(27, 15, 58, .88), rgba(27, 15, 58, .88)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius:100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}


/********** Brand / Shared Components **********/

.navbar-brand img {
    max-height: 112px;
    width: auto;
}

@media (max-width: 991.98px) {
    .navbar-brand img {
        max-height: 98px;
    }
}

/* Service category tabs (Services page) */
.service-tabs .nav-link {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    color: var(--dark);
    background: var(--light);
    border-radius: 50px;
    padding: 12px 30px;
    margin: 0 6px 12px;
    transition: .3s;
}

.service-tabs .nav-link.active,
.service-tabs .nav-link:hover {
    color: #e187cf;
    background: var(--primary);
}

.treatment-card {
    background: var(--light);
    border-radius: 8px;
    padding: 35px;
    height: 100%;
    transition: .4s;
    border-top: 4px solid var(--primary);
}

.treatment-card:hover {
    box-shadow: 0 10px 30px rgba(27, 15, 58, .12);
    transform: translateY(-6px);
}

.treatment-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.treatment-card ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 8px;
}

.treatment-card ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary);
    font-size: 13px;
}

/* FAQ accordion */
.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 16px;
    border-radius: 8px !important;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--dark);
    background: var(--light);
    padding: 22px 30px;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
}

.faq-accordion .accordion-button::after {
    filter: brightness(0) saturate(100%);
}

.faq-accordion .accordion-body {
    padding: 25px 30px;
    background: #FFFFFF;
    border: 1px solid var(--light);
    border-top: none;
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: .5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(27, 15, 58, .85), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: .4s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Testimonial placeholder cards */
.testimonial-placeholder {
    background: var(--light);
    border: 2px dashed #C9B8F5;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
}

.testimonial-placeholder i {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 15px;
    display: inline-block;
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    left: 25px;
    bottom: 45px;
    z-index: 99;
    background: #25D366;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,.25);
    color: #FFFFFF;
    font-size: 28px;
    transition: .3s;
}

.whatsapp-float:hover {
    color: #FFFFFF;
    transform: scale(1.08);
}


/*** Contact / Appointment form status messages (php-email-form) ***/
.php-email-form .loading,
.php-email-form .error-message,
.php-email-form .sent-message {
    display: none;
    border-radius: 6px;
    padding: 12px 15px;
    margin-top: 10px;
    font-weight: 500;
}

.php-email-form .loading {
    background: #FFFFFF;
    border: 1px solid var(--bs-primary, #0d6efd);
    color: var(--bs-primary, #0d6efd);
}

.php-email-form .loading::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: -3px;
    border: 3px solid #b9d4f9;
    border-top-color: var(--bs-primary, #0d6efd);
    border-radius: 50%;
    animation: php-email-form-spin 0.75s linear infinite;
}

@keyframes php-email-form-spin {
    to { transform: rotate(360deg); }
}

.php-email-form .error-message {
    background: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

.php-email-form .sent-message {
    background: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}