/******** Template CSS - Rounded Corner Version (Fade on Scroll) ********/
:root {
    --primary: #06A3DA;
    --secondary: #F57E57;
    --light: #EEF9FF;
    --dark: #091E3E;
}

/* Typography */
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; }

/* Buttons */
.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    border-radius: 6px;
}
.btn-primary, .btn-secondary { color: #fff; }
.btn-primary:hover { background: var(--secondary); border-color: var(--secondary); }
.btn-secondary:hover { background: var(--primary); border-color: var(--primary); }

/* Button Shapes */
.btn-square { width: 36px; height: 36px; border-radius: 6px; }
.btn-sm-square { width: 28px; height: 28px; border-radius: 6px; }
.btn-lg-square { width: 46px; height: 46px; border-radius: 8px; }
.btn-square, .btn-sm-square, .btn-lg-square { padding-left: 0; padding-right: 0; text-align: center; }

/* Spinner */
#spinner {
    opacity: 0;
    visibility: hidden;
    z-index: 99999;
    border-radius: 8px;
}
#spinner.show {
    visibility: visible;
}

/* Back to Top Button */
.back-to-top {
    position: fixed; display: none;
    right: 45px; bottom: 45px;
    z-index: 99; border-radius: 50%;
}

/* Navbar */
.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: 35px 15px; font-size: 18px;
    color: var(--dark); outline: none;
}
.sticky-top.navbar-light .navbar-nav .nav-link { padding: 20px 15px; }
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active { color: var(--primary); }

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

/* Carousel */
.carousel-caption {
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(9, 30, 62, .85);
    z-index: 1; border-radius: 12px;
}
@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; border-radius: 50%;
}

/* Banner */
@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
        border-radius: 12px;
    }
}

/* Section Title */
.section-title h5::before {
    position: absolute; content: "";
    width: 45px; height: 3px;
    right: -55px; bottom: 11px;
    background: var(--primary);
    border-radius: 2px;
}
.section-title h5::after {
    position: absolute; content: "";
    width: 15px; height: 3px;
    right: -75px; bottom: 11px;
    background: var(--secondary);
    border-radius: 2px;
}

/* Backgrounds */
.hero-header,
.bg-appointment,
.bg-offer,
.bg-testimonial {
    background-size: cover;
    border-radius: 12px;
    background-position: center center;
}

/* Forms */
.appointment-form {
    background: rgba(6, 163, 218, .7);
    border-radius: 8px;
}

/* Service & Team Items */
.service-item img { border-radius: 8px; }
.service-item .bg-light { border-radius: 8px; }
.service-item .bg-light h5 { }
.team-item .team-text { border-radius: 8px; }

/* Offer */
.offer-text {
    background: rgba(6, 163, 218, .85);
    border-radius: 8px;
}

/* Price Carousel */
.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
}
.price-carousel:hover .owl-nav { opacity: 1; }
.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    width: 45px; height: 45px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; background: var(--primary);
    font-size: 22px; border-radius: 50%;
}
.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover { background: var(--secondary); }

/* Testimonial Section */
.testimonial-carousel {
    background: rgba(6, 163, 218, .85);
    border-radius: 10px;
}
.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px; display: flex;
    justify-content: space-between;
    z-index: 1;
}
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; background: var(--primary);
    font-size: 22px; border-radius: 50%;
}
.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover { background: var(--secondary); }
.testimonial-carousel .owl-item img {
    width: 120px; height: 120px;
    border-radius: 50%;
}

/* ===== Fade-in Scroll Animation ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}