
/* ==================================================
   ROZEE BEAUTY — RESPONSIVE HOMEPAGE FIXES
   Add at the END of css/style.css
================================================== */

/* 1. Prevent horizontal overflow */
html {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: clip;
}

img {
    max-width: 100%;
}

.container,
.container-fluid,
.container-fluid-1,
.testimonial-inner,
.testimonial-section,
.rozee-contact-section {
    min-width: 0;
}

/* 2. Navigation */
.container-fluid-1 {
    width: 100%;
    max-width: 100%;
}

.container-fluid-1 .navbar {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-width: 0;
    gap: 12px;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
    max-width: 70%;
}

.navbar-brand img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 66px;
    object-fit: contain;
}

.navbar-toggler {
    flex-shrink: 0;
}

.navbar-collapse {
    min-width: 0;
}

.navbar-nav .nav-link {
    overflow-wrap: anywhere;
}

/* 3. Hero carousel */
#carouselId,
#carouselId .carousel-inner,
#carouselId .carousel-item,
#carouselId .item.img {
    width: 100%;
    max-width: 100%;
}

#carouselId .item.img {
    overflow: hidden;
}

#carouselId .carousel-item img {
    display: block;
    width: 100%;
    height: clamp(240px, 48vw, 620px);
    object-fit: cover;
    object-position: center;
}

/* 4. Animated beauty gallery */
.rozee-motion-gallery,
.rozee-gallery-window,
.rozee-gallery-track,
.beauty-gallery,
.gallery-track {
    min-width: 0;
    max-width: 100%;
}

.rozee-gallery-window,
.beauty-gallery {
    width: 100%;
    overflow: hidden;
}

.rozee-gallery-track,
.gallery-track {
    width: max-content;
}

/* 5. About section */
.container-fluid.py-5.my-5 > .container.pt-5 > .row {
    align-items: center;
}

.container-fluid.py-5.my-5 .h-100.position-relative {
    min-height: 360px;
    height: 100%;
}

.container-fluid.py-5.my-5 .h-100.position-relative img {
    max-width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: cover;
}

/* 6. Branch cards and contact section */
.rozee-contact-section,
.rozee-branches,
.branch-card,
.branch-info {
    min-width: 0;
    max-width: 100%;
}

.branch-address,
.branch-info p,
.rozee-contact-section p,
.footer_section p,
.footer_section a {
    overflow-wrap: anywhere;
    word-break: normal;
}

.branch-card {
    height: 100%;
}

/* 7. Category and testimonial headings */
.section-heading,
.testimonial-head {
    max-width: 100%;
}

.section-heading h1,
.section-heading h2,
.testimonial-head h1,
.testimonial-head h2 {
    font-size: clamp(27px, 5vw, 44px);
    line-height: 1.25;
    overflow-wrap: break-word;
}

.section-heading p,
.testimonial-head p {
    line-height: 1.75;
}

/* 8. Testimonial cards — original grid version */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

.testimonial-card {
    min-width: 0;
    overflow-wrap: anywhere;
}

.testimonial-card blockquote {
    overflow-wrap: anywhere;
}

.testimonial-card .reviewer {
    min-width: 0;
}

.testimonial-card .reviewer > div {
    min-width: 0;
}

/* 9. Footer */
.footer_section .row {
    align-items: flex-start;
}

.footer_section .col-lg-3,
.footer_section .col-md-6 {
    min-width: 0;
}

.footer_section .ROZEEBEAUTY-link {
    flex-wrap: wrap;
    gap: 8px;
}

.copyright_section {
    padding: 16px 12px;
    text-align: center;
}

.copyright_section p {
    line-height: 1.8;
    overflow-wrap: anywhere;
    margin-bottom: 0;
}

/* Floating WhatsApp button */
#whatsapp-button {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1000;
}

#whatsapp-button img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* ==================================================
   TABLET
================================================== */
@media (max-width: 991.98px) {

    .container-fluid-1 .navbar {
        justify-content: space-between;
    }

    .container-fluid-1 .navbar-expand-lg {
        flex-wrap: wrap;
    }

    .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .container-fluid.py-5.my-5 .h-100.position-relative {
        min-height: 320px;
    }
}

/* ==================================================
   MOBILE
================================================== */
@media (max-width: 767.98px) {

    /* General spacing */
    .container-fluid.py-5.my-5 {
        padding-top: 35px !important;
        padding-bottom: 35px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .container-fluid.py-5.my-5 > .container.pt-5 {
        padding-top: 10px !important;
    }

    .container-fluid.py-5.my-5 .row {
        --bs-gutter-x: 1.25rem;
        --bs-gutter-y: 1.5rem;
    }

    /* Navigation */
    .container-fluid-1 .container {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .container-fluid-1 .navbar {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .navbar-brand {
        max-width: calc(100% - 60px);
    }

    .navbar-brand img {
        max-height: 54px;
    }

    /* Hero */
    #carouselId .carousel-item img {
        height: 300px;
        object-position: center;
    }

    /* Gallery: smaller cards on mobile */
    .rozee-motion-gallery {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .rozee-gallery-group,
    .rozee-gallery-track {
        gap: 10px;
    }

    .rozee-gallery-group img {
        flex-shrink: 0;
        width: 150px;
        height: 175px;
        object-fit: cover;
        border-radius: 9px;
    }

    .gallery-group {
        gap: 10px;
        padding-right: 10px;
    }

    .gallery-card {
        flex: 0 0 190px;
        width: 190px;
        height: 245px;
    }

    /* About image becomes part of normal document flow */
    .container-fluid.py-5.my-5 .h-100.position-relative {
        height: auto !important;
        min-height: 0;
        text-align: center;
    }

    .container-fluid.py-5.my-5 .h-100.position-relative img {
        position: static !important;
        display: block;
        width: 100% !important;
        max-width: 350px;
        max-height: 380px;
        margin: 0 auto;
        transform: none !important;
        object-fit: cover;
    }

    /* Contact introduction */
    .rozee-contact-section > .container {
        padding-top: 35px !important;
    }

    .rozee-contact-section .pb-5 {
        padding-bottom: 25px !important;
    }

    .rozee-contact-section h1 {
        font-size: clamp(27px, 7vw, 36px);
        line-height: 1.25;
    }

    /* Original testimonial grid */
    .testimonial-section {
        padding: 50px 16px;
        background-attachment: scroll;
    }

    .testimonial-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .testimonial-card {
        padding: 24px 20px;
    }

    .testimonial-card:hover {
        transform: translateY(-3px);
    }

    /* Footer */
    .footer_section .row {
        --bs-gutter-y: 2rem;
    }

    .footer_section h3,
    .footer_section .h3 {
        font-size: 21px;
    }

    #whatsapp-button {
        right: 12px;
        bottom: 12px;
    }

    #whatsapp-button img {
        width: 44px;
        height: 44px;
    }
}

/* ==================================================
   SMALL PHONES
================================================== */
@media (max-width: 380px) {

    .container-fluid-1 .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    #carouselId .carousel-item img {
        height: 235px;
    }

    .gallery-card {
        flex-basis: 165px;
        width: 165px;
        height: 220px;
    }

    .testimonial-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .testimonial-card {
        padding: 22px 17px;
    }

    .section-heading h1,
    .testimonial-head h1 {
        font-size: 27px;
    }
}

/*** Spinner Start ***/

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }

/*** Spinner End ***/
.layout_padding {
    padding-top: 90px;
    padding-bottom: 0px;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-md-square {
    width: 46px;
    height: 46px;
}

.btn-lg-square {
    width: 58px;
    height: 58px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    left: 30px;
    bottom: 30px;
    z-index: 99;
}

/*** Button End ***/


/*** Topbar Start ***/

.topbar .top-info {
    letter-spacing: 1px;
    font-size: 15px !important;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

#note {
    width: 550px;
    overflow: hidden;
}

#note small {
    position: relative;
    display: inline-block;
    animation: mymove 15s infinite;
    animation-timing-function: all;
    font-size: 20px !important;
}

@keyframes mymove {
    from {left: -90%;}
    to {left: 100%;}
}

/*** Topbar End ***/




/*** Carousel Start ***/

.carousel-item {
    position: relative;
}

.carousel-item::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
}

.carousel-caption {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-item p {
    max-width: 700px;
    margin: 0 auto 35px auto;
}

.carousel-control-prev {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 0;
    background: var(--bs-primary);
    border-radius: 0 50px 50px 0;
    opacity: 1;
}

.carousel-control-prev:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-control-next {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    right: 0;
    background: var(--bs-primary);
    border-radius: 50px 0 0 50px;
    opacity: 1;
}

.carousel-control-next:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-caption .carousel-content a button.carousel-content-btn1 {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn1:hover {
    background: var(--bs-primary);
    color: #ffffff;
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2 {
    background: var(--bs-primary);
    color: var(--bs-white);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2:hover {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

#carouselId .carousel-indicators li {
    width: 30px;
    height: 10px;
    background: var(--bs-primary);
    margin: 10px;
    border-radius: 30px;
    opacity: 1;
}

#carouselId .carousel-indicators li:hover {
    background: var(--bs-secondary);
    opacity: 1;
}

@media (max-width: 992px) {
    .carousel-item {
        min-height: 500px;
    }
    
    .carousel-item img {
        min-height: 500px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 40px !important;
    }

    .carousel-item p {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-height: 400px;
    }
    
    .carousel-item img {
        min-height: 400px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 28px !important;
    }

    .carousel-item p {
        font-size: 14px !important;
    }
}

.contact-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/contact.jpg) center center no-repeat;
    background-size: cover;
}

.contact-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.contact-header .breadcrumb-item,
.contact-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

.about-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/About.jpeg) center center no-repeat;
    background-size: cover;
}

.about-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.about-header .breadcrumb-item,
.about-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

.blog-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/blog.jpeg) center center no-repeat;
    background-size: cover;
}

.blog-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.blog-header .breadcrumb-item,
.blog-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

.product-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/pro.jpg) center center no-repeat;
    background-size: cover;
}

.product-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.product-header .breadcrumb-item,
.product-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

.service-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/ser.png) center center no-repeat;
    background-size: cover;
}

.service-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.service-header .breadcrumb-item,
.service-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

.test-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/Testimony.jpg) center center no-repeat;
    background-size: cover;
}

.test-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.test-header .breadcrumb-item,
.test-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

/*** Carousel End ***/


/*** Services Start ***/

.services .services-item {
    box-shadow: 0 0 60px rgba(0, 0, 0, .2);
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 10px 0;
    position: relative;
}


.services-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 10px 10px 0 0;
    background: rgba(3, 43, 243, 0.8);
    transition: .5s;
}

.services-content::after {
    top: 0;
    bottom: auto;
    border-radius: 10px 10px 10px 10px;
}

.services-item:hover .services-content::after {
    height: 100%;
    opacity: 1;
    transition: .5s;
}

.services-item:hover .services-content-icon {
    position: relative;
    z-index: 2;
}

.services-item .services-content-icon i,
.services-item .services-content-icon p {
    transition: .5s;
}

.services-item:hover .services-content-icon i {
    color: var(--bs-secondary) !important;
}

.services-item:hover .services-content-icon p {
    color: var(--bs-white);
}

/*** Services End ***/


/*** Project Start ***/

.project-img {
    position: relative;
    padding: 15px;
}
.imgs {
    height:10%;
    padding:0px;
}

.project-img::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    top: 0;
    left: 0;
    background: var(--bs-secondary);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-img::after {
    content: "";
    width: 150px;
    height: 150px;
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--bs-primary);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.project-content a {
    display: inline-block;
    padding: 20px 25px;
    background: var(--bs-primary);
    border-radius: 10px;
}

.project-item:hover .project-content {
    opacity: 1;
    transition: .5s;
}

.project-item:hover .project-img::before,
.project-item:hover .project-img::after {
    opacity: 0;
}

/*** Project End ***/

/*** Blog Start ***/
.blog-item .blog-btn {
    z-index: 2;
}

.blog-btn .blog-btn-icon {
    height: 50px;
    position: relative;
    overflow: hidden;
}

.blog-btn-icon .blog-icon-2 {
    display: flex;
    position: absolute;
    top: 6px;
    left: -140px;
    
}

.blog-btn-icon:hover .blog-icon-2 {
    transition: 1s;
    left: 5px;
    top: 6px;
    padding-bottom: 5px;
}
.blog-icon-1 {
    position: relative;
    top: -4px;
}
.blog-btn-icon:hover .blog-icon-1 {
    top: 0;
    right: -140px;
    transition: 1s;
}

/*** Blog End ***/


/*** Team Start ***/

.team-item {
    border-top: 30px solid var(--bs-secondary) !important;
    background: rgba(239, 239, 241, 0.8);
}

.team-content::before {
    height: 200px;
    display: block;
    content: "";
    position: relative;
    top: -101px;
    background: var(--bs-secondary);
    clip-path: polygon(50% 50%, 100% 50%, 50% 100%, 0% 50%);
    padding: 60px;
    opacity: 1;
}

.team-img-icon {
    position: relative;
    margin-top: -200px;
    padding: 30px;
    padding-bottom: 0;
}

.team-img {
    border: 15px solid var(--bs-white);
}

.team-img img {
    border: 10px solid var(--bs-secondary);
    transition: .5s;
}

.team-item:hover h4 {
    color: var(--bs-primary);
    transition: .5s;
}

.team-item:hover .team-img img {
    transform: scale(1.05);
    border: 10px solid var(--bs-secondary);
}

.team-carousel .owl-stage {
    position: relative;
    width: 100%;
    height: 100%;
}

.team-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 50px;
    display: flex;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    width: 56px;
    height: 56px;
    border-radius: 56px;
    margin-left: 15px;
    background: var(--bs-secondary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (max-width: 992px) {
    .team-carousel {
        margin-top: 3rem;
    }

    .team-carousel .owl-nav {
        top: -85px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        margin-left: -15px;
    }
}

/*** Team End ***/


/*** Testimonial Start ***/

.testimonial-item {
    background: #e3f0eb;

}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #c1dad0;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}

/*** Testimonial End ***/


/*** Contact Start ***/
.contact-detail::before {
    position: absolute;
    content: "";
    height: 50%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgb(210, 243, 235, 1), rgba(230, 250, 245, .3)), url(../img/background.jpg) center center no-repeat;
    background-size: cover;
    border-radius: 10px;
    z-index: -1;
}

.contact-map {
    background: blue;
}

.contact-form {
    background: blue;
}

/*** Contact End ***/


/*** Footer Start ***/

.footer .short-link a,
.footer .help-link a,
.footer .contact-link a {
    transition: .5s;
}

.footer .short-link a:hover,
.footer .help-link a:hover,
.footer .contact-link a:hover {
    letter-spacing: 1px;
}

.footer_section {
    width: 100%;
    float: left;
    background-color: #1C1A1D;
    height: auto;
    padding: 45px 0px;
}

.footer_text {
    width: 100%;
    float: left;
    font-size: 14px;
    color: #ffffff;
    margin: 0px;
}

.footer_menu {
    width: 100%;
    float: left;
}

.footer_menu ul {
    margin: 0px;
    padding: 0px;
}

.footer_menu li {
    font-size: 14px;
    color: #ffffff;
}

.footer_menu li a {
    color: #ffffff;
}

.footer_menu li a:hover {
    color: #d63384;
}

.footer_menu li.active a{
    color: #d63384;
}

.footer .ROZEEBEAUTY-link a:hover {
    background: var(--pink);
    border: 0;
}
/*** Footer End ***/

.copyright_section {
    width: 100%;
    float: left;
    background-color: #d63384;
    height: auto;
    border-top: 1px solid #fff;
}

.copyright_text {
    width: 100%;
    color: #1C1A1D;
    text-align: center;
    font-size: 16px;
    margin: 0 auto;
    padding: 0px 1px;
}

.copyright_text a {
    color: #ffffff;
}

.copyright_text a:hover {
    color: #1c1a1d;
}


/* Text Content on the Right */
.text-content {
    max-width: 100%;
    animation: slideInFromRight 1.5s ease-in-out;
    margin-right: 2%; /* Adjusted to ensure alignment */
}

.text-content h1 {
    font-size: 2.5em; /* Responsive font size */
    color: #ff4d4d;
    margin-bottom: 20px;
}

/* Text Content on the left */

.text-content2 {
    max-width: 120%;
    animation: slideInFromRight 1.5s ease-in-out;
    margin-right: 2%; /* Adjusted to ensure alignment */
}

.text-content2 h1 {
    font-size: 2.5em; /* Responsive font size */
    color: #ff4d4d;
    margin-bottom: 20px;
}

/* Gallery Section */
.gallery {
    padding: 30px;
    text-align: center;
    margin-top: 0px;
}

.gallery h2 {
    margin-bottom: 10px;
    font-size: 2em; /* Responsive font size */
}

.gallery-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

.gallery img {
    width: 30%;
    max-width: 300px; /* Responsive max width */
    margin: 10px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}



/* =====================================
   ROZEEBEAUTY ANIMATED IMAGE GALLERY
===================================== */

.rozee-motion-gallery {
    position: relative;
    width: 100%;
    padding: 5px 0 5px;
    overflow: hidden;

    /* Pink on the left, white on the right */
    background: linear-gradient(
        to left,
        #f3a7cd 0%,
        #e089b5 38%,
        #f14d9f 72%,
        #d63384 100%
    );
}

/* Gallery heading */
.rozee-gallery-heading {
    position: relative;
    z-index: 1;
    max-width: 750px;
    margin: 0 auto 35px;
    padding: 0 10px;
    text-align: center;
}

.rozee-gallery-heading span {
    display: inline-block;
    margin-bottom: 12px;
    color: #d63384;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.rozee-gallery-heading h2 {
    margin-bottom: 14px;
    color: #28212a;
    font-size: clamp(25px, 4vw, 40px);
    font-weight: 700;
}

.rozee-gallery-heading p {
    max-width: 600px;
    margin: 0 auto;
    color: #6d5864;
    font-size: 15px;
    line-height: 1.8;
}

/* Hide image overflow */
.rozee-gallery-window {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 15px 0;
}

/* Moving track */
.rozee-gallery-track {
    display: flex;
    width: max-content;
    animation: rozeeMoveRight 32s linear infinite;
    will-change: transform;
}

/* Each set of images */
.rozee-gallery-group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 24px;
    padding-right: 24px;
}

/* Rounded images */
.rozee-gallery-group img {
    display: block;
    flex: 0 0 auto;
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 70px;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(143, 49, 94, 0.13);
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

/* Hover effect */
.rozee-gallery-group img:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 35px rgba(143, 49, 94, 0.22);
}

/* Move continuously from left to right */
@keyframes rozeeMoveRight {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

/* Pause when the visitor hovers over the gallery */
.rozee-gallery-window:hover .rozee-gallery-track {
    animation-play-state: paused;
}

/* Tablet */
@media (max-width: 768px) {
    .rozee-motion-gallery {
        padding: 45px 0 35px;
    }

    .rozee-gallery-heading {
        margin-bottom: 5px;
    }

    .rozee-gallery-group {
        gap: 15px;
        padding-right: 15px;
    }

    .rozee-gallery-group img {
        width: 135px;
        height: 170px;
        border-width: 4px;
    }

    .rozee-gallery-track {
        animation-duration: 26s;
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    .rozee-gallery-heading h2 {
        font-size: 25px;
    }

    .rozee-gallery-heading p {
        font-size: 14px;
    }

    .rozee-gallery-group img {
        width: 115px;
        height: 145px;
    }

    .rozee-gallery-track {
        animation-duration: 22s;
    }
}

/* Respect reduced-motion accessibility settings */
@media (prefers-reduced-motion: reduce) {
    .rozee-gallery-track {
        animation: none;
        transform: none;
    }

    .rozee-gallery-window {
        overflow-x: auto;
    }
}

/* header section start */

.container-fluid-1 {
    width: 100%;
    background-color: #d63384;
}

.bg-light {
    background-color: transparent!important;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding: 0px 20px;
    font-size: 18px;
    color: #ffffff;
}
.navbar-light .navbar-nav .nav-link:focus, 
.navbar-light .navbar-nav .nav-link:hover {
    color: #252525;
}

.navbar-light .navbar-nav .active>.nav-link, 
.navbar-light .navbar-nav .nav-link.active, 
.navbar-light .navbar-nav .nav-link.show, 
.navbar-light .navbar-nav .show>.nav-link {
    color: #6f42c1;
}

.ml-auto, .mx-auto {
    margin-left: auto!important;
}

/* header section end */
/* File Upload Section */
.upload-section {
    margin-top: 20px;
}

.upload-section input[type="file"] {
    display: none;
}

.upload-section label {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.upload-section label:hover {
    background-color: #0056b3;
}


/* Image Styling on the Left */
.image-content {
    max-width: 70%;
    animation: slideInFromLeft 1.5s ease-in-out;
}

.image-content img {
    margin-top: 50%;
    width: 110%;
    height: 60%;
    margin-left: 6%; /* Use full width of the container */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.service-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/ser.png) center center no-repeat;
    background-size: cover;
}

.service-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.service-header .breadcrumb-item,
.service-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

.container1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    animation: fadeIn 1.5s ease-in-out;
}

/* Call-to-Action Button */
.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background-color: #ff4d4d;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2em; /* Responsive font size */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #cc0000;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInFromLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes slideInFromRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container1 {
        flex-direction: column;
        height: auto; /* Allow container to grow */
        padding: 20px; /* Add padding on smaller screens */
    }
    .image-content, .text-content {
        max-width: 100%; /* Full width on smaller screens */
        margin: 0 auto; /* Center elements */
    }
    .text-content h1 {
        font-size: 2em; /* Smaller font size on mobile */
    }
    .text-content p {
        font-size: 1em; /* Smaller font size on mobile */
    }
    .gallery img {
        width: 90%; /* Use most of the screen width */
    }
}

.bodyy{
    margin: 10px;
    padding: 10px;
    box-sizing: border-box;
}
.body{
    height: 100%;
    overflow: hidden; /* Prevent scrollbars */
}


.bodyy{
    margin: 10px;
    padding: 10px;
    box-sizing: border-box;
}
.body{
    height: 100%;
    overflow: hidden; /* Prevent scrollbars */
}


/* =========================================
   ROZEEBEAUTY CONTACT & BRANCHES
========================================= */

.rozee-contact-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #fffafd 0%,
        #fff2f8 50%,
        #ffffff 100%
    );
}

/* Override the old contact background overlay */
.rozee-contact-section .contact-detail::before {
    display: none;
}

/* Section wrapper */
.rozee-branches {
    position: relative;
    padding: 10px 0 10px;
}

/* Branch section introduction */
.rozee-branches .section-intro {
    max-width: 700px;
    margin: 0 auto 45px;
}

.rozee-branches .eyebrow {
    margin-bottom: 2px;
    color: #6f42c1;
}

.rozee-branches .section-intro h2 {
    margin-bottom: 16px;
    color: #28212a;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.25;
}

.rozee-branches .section-intro h2 em {
    color: #d63384;
    font-family: Georgia, serif;
    font-weight: 400;
}

.rozee-branches .section-intro > p:last-child {
    color: #776875;
    line-height: 1.8;
}

/* Individual branch card */
.rozee-branches .branch-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 22px;
    height: 100%;
    min-height: 250px;
    padding: 38px 30px;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #f4d9e6;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(135, 45, 88, 0.07);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

/* Decorative pink glow */
.rozee-branches .branch-card::before {
    content: "";
    position: absolute;
    top: -75px;
    right: -75px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(214, 51, 132, 0.07);
    transition: transform 0.5s ease;
    pointer-events: none;
}

/* Bottom accent */
.rozee-branches .branch-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 30px;
    width: 55px;
    height: 4px;
    border-radius: 10px 10px 0 0;
    background: #d63384;
    transition: width 0.4s ease;
}

.rozee-branches .branch-card:hover {
    transform: translateY(-8px);
    border-color: #e9a7c8;
    box-shadow: 0 22px 50px rgba(135, 45, 88, 0.13);
}

.rozee-branches .branch-card:hover::before {
    transform: scale(1.4);
}

.rozee-branches .branch-card:hover::after {
    width: calc(100% - 60px);
}

/* Number badge */
.rozee-branches .branch-number {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;
    border-radius: 18px;

    background: linear-gradient(135deg, #d63384, #f18ab9);
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;

    box-shadow: 0 8px 20px rgba(214, 51, 132, 0.2);
    transition: transform 0.4s ease;
}

.rozee-branches .branch-card:hover .branch-number {
    transform: rotate(-6deg) scale(1.06);
}

/* Branch text */
.rozee-branches .branch-info {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.rozee-branches .branch-info .eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
}

.rozee-branches .branch-info h3 {
    margin: 0 0 18px;
    color: #28212a;
    font-size: 25px;
    font-weight: 700;
}

.rozee-branches .branch-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;

    color: #756774;
    font-size: 14px;
    line-height: 1.8;
}

.rozee-branches .branch-address i {
    margin-top: 5px;
    color: #d63384;
}

/* Directions link */
.rozee-branches .branch-directions {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: #d63384;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;

    transition: color 0.3s ease, gap 0.3s ease;
}

.rozee-branches .branch-directions i {
    transition: transform 0.3s ease;
}

.rozee-branches .branch-directions:hover {
    color: #a51c60;
    gap: 17px;
}

.rozee-branches .branch-directions:hover i {
    transform: translateX(4px);
}

/* Keyboard accessibility */
.rozee-branches .branch-directions:focus-visible {
    outline: 2px solid #d63384;
    outline-offset: 5px;
    border-radius: 3px;
}

/* Tablet and mobile */
@media (max-width: 767.98px) {
    .rozee-branches {
        padding-top: 10px;
    }

    .rozee-branches .section-intro {
        margin-bottom: 28px;
    }

    .rozee-branches .branch-card {
        min-height: 0;
        padding: 28px 22px;
        gap: 16px;
        border-radius: 18px;
    }

    .rozee-branches .branch-number {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        border-radius: 15px;
        font-size: 16px;
    }

    .rozee-branches .branch-info h3 {
        font-size: 22px;
    }
}

@media (max-width: 420px) {
    .rozee-branches .branch-card {
        padding: 25px 17px;
        gap: 13px;
    }

    .rozee-branches .branch-number {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .rozee-branches .branch-info h3 {
        font-size: 20px;
    }

    .rozee-branches .branch-address {
        font-size: 13px;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .rozee-branches .branch-card,
    .rozee-branches .branch-card::before,
    .rozee-branches .branch-card::after,
    .rozee-branches .branch-number,
    .rozee-branches .branch-directions,
    .rozee-branches .branch-directions i {
        transition: none;
    }

    .rozee-branches .branch-card:hover {
        transform: none;
    }
}
/* ==========================================
   TESTIMONIAL SECTION — BACKGROUND + HOVER
   ========================================== */

.testimonial-section {
    position: relative;
    isolation: isolate;
    width: 100%;
    padding: 20px 24px;
    overflow: hidden;

    /* Keep your original background image */
    background-image: url('../img/Rozee Family.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

/* Soft overlay: image remains visible behind the cards */
.testimonial-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 248, 250, 0.68);
    pointer-events: none;
}

.testimonial-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.testimonial-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.2;
    color: #191416;
    margin-bottom: 14px;
}

.testimonial-head p {
    color: #5f5157;
    font-size: 15px;
    line-height: 1.8;
}

/* Three floating cards */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

.testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 30px 27px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;

    /* Translucent card lets the background subtly show through */
    background: rgba(255, 255, 255, 0.86);

    box-shadow: 0 12px 35px rgba(40, 16, 24, 0.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

/* Pink accent along the top */
.testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 27px;
    width: 55px;
    height: 3px;
    border-radius: 0 0 5px 5px;
    background: #e83e78;
}

/* Hovering effect */
.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 50px rgba(95, 30, 59, 0.17);
}

.testimonial-card blockquote {
    flex: 1;
    margin: 0 0 24px;
    color: #40343a;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-card .stars {
    color: #d5a24e;
    letter-spacing: 3px;
    font-size: 14px;
    margin-bottom: 16px;
}

.testimonial-card .reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 19px;
    border-top: 1px solid #f0e3e7;
}

.testimonial-card .reviewer-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f7e8ec;
    color: #e83e78;
}

.testimonial-card .reviewer strong {
    display: block;
    color: #191416;
    font-size: 13px;
    line-height: 1.5;
}

.testimonial-card .reviewer small {
    display: block;
    margin-top: 3px;
    color: #71676b;
    font-size: 11px;
}

/* Tablet */
@media (max-width: 900px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .testimonial-section {
        background-attachment: scroll;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .testimonial-section {
        padding: 60px 18px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 27px 23px;
    }

    .testimonial-card:hover {
        transform: translateY(-4px);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .testimonial-card {
        transition: none;
    }

    .testimonial-card:hover {
        transform: none;
    }
}


/* BEAUTY GALLERY SECTION */
#categories {
    padding: 82px 0;
    overflow: hidden;
}

#categories .container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

#categories .section-heading {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 42px;
}

#categories .section-heading h2 {
    font: 600 clamp(30px, 4vw, 43px)/1.2
          'Playfair Display', serif;
    margin: 0 0 14px;
}

#categories .section-heading p {
    color: var(--muted);
    line-height: 1.8;
    margin: 0;
}

/* FULL-BROWSER-WIDTH GALLERY */
.beauty-gallery {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Continuous animation track */
.gallery-track {
    display: flex;
    width: max-content;
    animation: beautyGalleryScroll 25s linear infinite;
    will-change: transform;
}

/* Each group has identical dimensions */
.gallery-group {
    display: flex;
    flex: 0 0 auto;
    gap: 18px;
    padding-right: 18px;
}

/* Individual image cards */
.gallery-card {
    position: relative;
    display: block;
    flex: 0 0 285px;
    width: 285px;
    height: 360px;
    overflow: hidden;
    border-radius: 12px;
    background: #eee;
    isolation: isolate;
    text-decoration: none;
    box-shadow: 0 8px 25px #28101812;
}

/* Images */
.gallery-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.gallery-card:hover img {
    transform: scale(1.09);
}

/* Dark gradient overlay */
.gallery-card::after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(15, 10, 12, 0.88) 100%
    );
    z-index: 0;
    pointer-events: none;
}

/* Text on images */
.gallery-overlay {
    position: absolute;
    z-index: 1;
    bottom: 24px;
    left: 22px;
    right: 18px;
    color: #fff;
    pointer-events: none;
}

.gallery-overlay span {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 9px;
    color: #f8dce6;
}

.gallery-overlay h3 {
    font: 600 24px/1.25 'Playfair Display', serif;
    margin: 0;
}

/* Pause only while hovering over an image */
.gallery-card:hover ~ .gallery-card {
    /* Intentionally left empty */
}

.gallery-track:has(.gallery-card:hover) {
    animation-play-state: paused;
}

/* Seamless right-to-left movement */
@keyframes beautyGalleryScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Tablet */
@media (max-width: 768px) {
    #categories {
        padding: 60px 0;
    }

    #categories .section-heading {
        margin-bottom: 30px;
    }

    .gallery-group {
        gap: 13px;
        padding-right: 13px;
    }

    .gallery-card {
        flex-basis: 235px;
        width: 235px;
        height: 315px;
    }

    .gallery-overlay h3 {
        font-size: 21px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .gallery-card {
        flex-basis: 205px;
        width: 205px;
        height: 275px;
    }

    .gallery-overlay {
        bottom: 18px;
        left: 16px;
    }

    .gallery-overlay h3 {
        font-size: 19px;
    }
}

/* Respect reduced-motion accessibility preferences */
@media (prefers-reduced-motion: reduce) {
    .gallery-track {
        animation: none;
    }
}

/* Kui Rozee Beauty - responsive navigation */
.navbar {
    position: relative;
    z-index: 1050;
}

.navbar .container {
    min-width: 0;
}

.navbar-logo {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 70px;
    object-fit: contain;
}

.navbar-toggler {
    display: block;
    flex-shrink: 0;
    padding: 8px 10px;
    border: 1px solid #d98ba8;
    border-radius: 6px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

@media (max-width: 991.98px) {
    .navbar .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
    }

    .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
    }

    .navbar-nav {
        width: 100%;
        padding: 8px 0;
    }

    .navbar-nav .nav-link {
        display: block;
        padding: 12px 10px;
    }
}
