/********** Template CSS **********/



html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Prevent content from hiding behind fixed navbar on scroll */
#hero, #about, #services, #team, #faqs, #contact {
    scroll-margin-top: 120px;
}


:root {
    --primary: #9c406c;
    --secondary: #d993b5;
    --light: #EEF9FF;
    --dark: #091E3E;
}

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-brand {
    display: flex;
    align-items: center;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 20px 15px;
    font-size: 18px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.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;
    }

    .navbar .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .navbar-brand img {
        height: 45px !important;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #ffffff;
        z-index: 1050;
        transition: right 0.4s ease;
        display: block !important;
        padding-top: 60px;
        padding-left: 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        overflow-y: auto;
    }

    .navbar-collapse.show {
        right: 0;
    }

    .navbar-collapse.collapsing {
        right: -100%;
        transition: right 0.4s ease !important;
        height: 100vh !important;
        position: fixed;
        top: 0;
        z-index: 1050;
        background: #ffffff;
        display: block !important;
    }

    .navbar-toggler {
        z-index: 1060;
        position: relative;
    }

    .navbar-brand h1 {
        font-size: 22px;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, 0.63);
     /* background: rgba(175, 107, 139, 0.493); */
    z-index: 1;
}

#hero .carousel-item {
    height: 100vh;
    min-height: 500px;
    margin-top: 20px;
}

#hero .carousel-item img {
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .heading_main{
        display: block;
        font-size: 14px;
        white-space: normal;
        line-height: 1.2;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    #hero .carousel-item {
        height: 100vh;
    }
    
    #hero .carousel-item img {
        height: 100%;
        object-fit: cover;
    }

    .carousel-caption {
        padding-left: 15%;
        padding-right: 15%;
    }
}

@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-caption .btn {
        padding: 8px 15px !important;
    }

    .navbar-brand h1 {
        font-size: 15px;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
}

.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);
}

.twentytwenty-wrapper {
    height: 100%;
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.bg-appointment {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: rgba(6, 163, 218, .7);
}

.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;
}

.bg-offer {
    background:url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.offer-text {
    background: rgba(6, 163, 218, .85);
}

.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;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.bg-testimonial {
    background: url(../img/test.png) center center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: #d993b5e0;
}

.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 {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.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% !important;
}

.team-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;
    transition: .5s;
}

.team-carousel:hover .owl-nav {
    opacity: 1;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

/* Team Carousel Equal Height */
.team-carousel .owl-stage {
    display: flex;
}

.team-carousel .owl-item {
    display: flex;
    flex: 1 0 auto;
}

.team-item {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.team-item img {
    height: 400px;
    object-fit: cover;
}

.team-item .team-text {
    flex-grow: 1;
}






/* Services */
:root {
    --primary: #9c406c;
    --secondary: #d993b5;
    --light: #edd5df;
    --dark: #091E3E;
    --white: #ffffff;
}

.rh-services-section {
    padding: 20px 0;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.rh-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1350px;
    margin: 0 auto;
    padding: 20px;
}

/* Card Container */
.rh-card {
    position: relative;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: var(--dark);
}

.rh-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Static title at bottom before hover */
.rh-card-title-static {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    font-weight: 700;
    text-align: center;
    transition: opacity 0.3s;
}

/* Hover Overlay */
.rh-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(156, 64, 108, 0.9); /* Primary color with transparency */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    transform: translateY(101%); /* Hidden below */
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.rh-card:hover .rh-card-overlay {
    transform: translateY(0);
}

.rh-card:hover .rh-card-img {
    transform: scale(1.1);
}

.rh-card:hover .rh-card-title-static {
    opacity: 0;
}

.rh-overlay-content h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.rh-overlay-content p {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.rh-btn-sm {
    display: inline-block;
    padding: 8px 20px;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: 0.3s;
}

.rh-btn-sm:hover {
    background: var(--dark);
    color: white;
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .rh-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .rh-grid { grid-template-columns: 1fr; }
}



.rh-header {
    text-align: center;
    margin-bottom: 40px;
}

.rh-subtitle{
    font-size: 25px;
    font-weight: 700;
}

.rh-main-title{
    font-size: 50px;
    font-weight: 700;

}

.rh-underline {
    width: 80px;
    height: 3px;
    background: var(--primary);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* FAQS Section */

.rh-faq-section {
    padding: 100px 0;
    background-color: #ebd5de;
}

.rh-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.rh-faq-item {
    margin-bottom: 15px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.rh-faq-item.active {
    border-color: #d991b1; /* Pink */
    box-shadow: 0 10px 25px rgba(155, 61, 100, 0.05);
}

.rh-faq-question {
    padding: 20px 30px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.rh-faq-question:hover {
    background: #fdf5f8;
}

.rh-faq-question i {
    font-size: 0.9rem;
    color: #9b3d64; /* Maroon */
    transition: transform 0.4s ease;
}

/* Icon rotation when active */
.rh-faq-item.active .rh-faq-question i {
    transform: rotate(45deg);
}

.rh-faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rh-faq-item.active .rh-faq-answer {
    padding: 0 30px 25px 30px;
    max-height: 200px; /* Adjust based on content length */
}

.rh-faq-answer p {
    color: #666;
    line-height: 1.7;
    margin: 0;
    border-top: 1px solid #f9f9f9;
    padding-top: 15px;
}








/* Gallery Section */

.rh-gallery-section {
    padding: 80px 0;
    background-color: #ffffff; /* Clean white background */
}

.rh-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    grid-template-rows: repeat(2, 300px); /* 2 rows */
    gap: 20px;
    margin-bottom: 40px;
}

.rh-gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--light);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rh-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: 0.5s ease;
}

.rh-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(156, 64, 108, 0.15);
}

.rh-gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Pagination Styling */
.rh-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.rh-page-btn {
    padding: 10px 20px;
    border: 1px solid var(--secondary);
    background: transparent;
    color: var(--primary);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.rh-page-btn:hover:not(:disabled) {
    background: var(--primary);
    color: white;
}

.rh-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.rh-page-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    color: var(--dark);
    transition: 0.3s;
}

.rh-page-num.active {
    background: var(--secondary);
    color: white;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .rh-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
}

@media (max-width: 576px) {
    .rh-gallery-grid {
        grid-template-columns: 1fr;
    }
}












/* Video Section General Styles */
.rh-video-row {
    padding: 100px 0;
    display: flex;
    align-items: center;
}

.rh-light-row {
    background-color: var(--light);
}

.rh-dark-row {
    background-color: var(--dark); /* Dark BG as requested */
}

.rh-split {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Content Sides */
.rh-content-side {
    flex: 1;
}

.rh-content-side p {
    margin: 20px 0;
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: justify;
}

.rh-feature-list {
    list-style: none;
    padding: 0;
}

.rh-feature-list li {
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--primary);
}

.rh-feature-list i {
    margin-right: 10px;
}

/* Video Wrapper */
.rh-video-side {
    flex: 1;
}

.rh-video-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    aspect-ratio: 16 / 9;
}

.rh-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Flip order on Mobile */
@media (max-width: 992px) {
    .rh-split {
        flex-direction: column !important; /* Stack them */
        text-align: center;
    }
    
    .rh-video-row:nth-child(even) .rh-split {
        flex-direction: column-reverse !important; /* Keep video on top if preferred */
    }

    .rh-video-side {
        width: 100%;
    }
}













/* Contact Section Styling */
.rh-subtitle {
    color: #9b3d64; /* Rama Maroon */
    font-weight: 700;
    letter-spacing: 1px;
}

.rh-icon-square {
    width: 60px;
    height: 60px;
    background: #fdf5f8;
    color: #9b3d64;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 24px;
    transition: 0.3s;
}

.rh-contact-info:hover .rh-icon-square {
    background: #9b3d64;
    color: #ffffff;
    transform: rotateY(360deg);
}

.rh-form-container {
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border-top: 5px solid #d991b1; /* Rama Pink */
}

.form-control:focus {
    box-shadow: none;
    border-color: #d991b1;
    background: #fff !important;
}

/* Ensure existing Bootstrap buttons match your custom scheme */
.bg-primary {
    background-color: #9b3d64 !important;
}

.btn-primary {
    background-color: #9b3d64;
    border: none;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #7a2f4e;
    transform: translateY(-2px);
}

/* Lightbox Styles */
.rh-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rh-lightbox.active {
    display: flex;
    opacity: 1;
}

.rh-lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.rh-lightbox.active img {
    transform: scale(1);
}

.rh-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    transition: 0.3s;
}

.rh-lightbox-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

@media (max-width: 991.98px) {
    #about {
        text-align: center;
    }
    #about p {
        text-align: justify;
    }
    #about .section-title h5::before,
    #about .section-title h5::after {
        display: none;
    }
    #about img {
        left: 0;
        top: 0;
    }
}

/* Services Pagination */
#services-pagination {
    margin-bottom: 40px;
}