/* GLOBAL RESET*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* MAIN CONTENT AREA */
main.content {
    flex: 1 0 auto;
    width: 100%;
}

/* HEADER */

.beauty-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 139, 161, 0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.beauty-header .header-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
}

.header-left {
    justify-content: flex-start;
}

.header-center {
    display: flex;
    justify-content: center;
}

.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

@media (max-width: 991px) {
    .beauty-header .header-wrapper {
        grid-template-columns: 1fr auto;
        /* logo + toggle */
    }

    .header-center,
    .header-right {
        display: none !important;
        /* hide in collapsed mode */
    }

    .navbar-collapse.show {
        display: block !important;
    }
}

.beauty-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(212, 139, 161, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05);
    border-bottom-color: rgba(212, 139, 161, 0.15);
}

/* HEADER CONTAINER */
.beauty-header .container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.beauty-header .d-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.beauty-header .py-3 {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    transition: padding 0.3s ease;
}

.beauty-header.scrolled .py-3 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* LOGO SECTION - PREMIUM STYLE */
.logo {
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e4b1c8, #f2c6d8);
    transition: width 0.4s ease, background 0.3s ease;
}

.logo:hover::after {
    width: 100%;
    background: linear-gradient(90deg, #b94b73, #7b1fa2);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-img {
    height: 55px;
    width: 55px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(212, 139, 161, 0.25));
    transition: all 0.3s ease;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 4px 12px rgba(212, 139, 161, 0.4));
    transform: scale(1.05);
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    background: purple;
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

/* NAVIGATION - PROFESSIONAL DESIGN */
.navbar-collapse {
    flex-grow: 0;
    transition: all 0.3s ease-in-out;
}

@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        position: static !important;
        background: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }
}

.beauty-header .navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

@media (min-width: 992px) {
    .beauty-header .navbar-nav {
        flex-direction: row !important;
        align-items: center;
    }
}

.beauty-header .nav-item {
    list-style: none;
    position: relative;
}

.beauty-header .nav-link {
    font-size: 15px;
    font-weight: 500;
    padding: 10px 20px;
    color: #4a3540;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 10px;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.beauty-header .nav-link::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6f42c1, transparent);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.beauty-header .nav-link:hover {
    color: #6f42c1;
    transform: translateY(-2px);
}

.beauty-header .nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.beauty-header .nav-link:hover::after {
    opacity: 1;
}


/* MOBILE TOGGLE - MODERN DESIGN */
.navbar-toggler {
    border: none;
    padding: 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(212, 139, 161, 0.12), rgba(228, 177, 200, 0.12));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    display: none;
    position: relative;
    width: 46px;
    height: 46px;
    cursor: pointer;
}

@media (max-width: 991px) {
    .navbar-toggler {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.navbar-toggler:hover {
    background: linear-gradient(135deg, rgba(212, 139, 161, 0.2), rgba(228, 177, 200, 0.2));
    transform: scale(1.05);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(212, 139, 161, 0.2);
    outline: none;
}

.navbar-toggler:active {
    transform: scale(0.95);
}

/* OPTION 1: Font Awesome Icon (Simple Fix) */
.navbar-toggler .fa-bars {
    color: #d48ba1;
    font-size: 22px;
    display: block !important;
}

/* Show custom icon */
.navbar-toggler-icon {
    font-size: 0 !important;
}

@media (min-width: 992px) {
    .collapse:not(.show) {
        display: flex !important;
    }
}

/* MOBILE RESPONSIVE - PREMIUM DESIGN */
@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: calc(100% + 10px);
        left: 20px;
        right: 20px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 10px 40px rgba(212, 139, 161, 0.15),
            0 4px 15px rgba(0, 0, 0, 0.08);
        padding: 25px;
        border-radius: 20px;
        z-index: 1000;
        display: none;
        border: 1px solid rgba(212, 139, 161, 0.1);
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .navbar-collapse.show {
        display: block !important;
    }

    .beauty-header .navbar-nav {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .beauty-header .nav-link {
        padding: 14px 18px;
        border-radius: 12px;
        margin-bottom: 4px;
        width: 100%;
        font-size: 16px;
    }

    .beauty-header .nav-link::before {
        display: none;
    }

    .book-btn {
        width: 100%;
        margin-top: 15px;
        padding: 16px 32px;
        text-align: center;
        justify-content: center;
        font-size: 16px;
    }

    .logo-text {
        font-size: 26px;
    }

    .logo-img {
        height: 48px;
        width: 48px;
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 22px;
    }

    .logo-img {
        height: 42px;
        width: 42px;
    }

    .beauty-header .py-3 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .beauty-header .container {
        padding: 0 15px;
    }

    .navbar-collapse {
        left: 15px;
        right: 15px;
    }
}

/* UTILITY CLASSES */
.d-flex {
    display: flex !important;
}

.align-items-center {
    align-items: center !important;
}

.align-items-lg-center {
    align-items: flex-start;
}

@media (min-width: 992px) {
    .align-items-lg-center {
        align-items: center !important;
    }
}

.justify-content-between {
    justify-content: space-between !important;
}

.d-lg-none {
    display: block;
}

@media (min-width: 992px) {
    .d-lg-none {
        display: none !important;
    }
}

/* CUSTOM SCROLLBAR - PREMIUM */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #fef5f8;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d48ba1 0%, #e4b1c8 100%);
    border-radius: 6px;
    border: 2px solid #fef5f8;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #c67890 0%, #d48ba1 100%);
}

/* LOADING ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.beauty-header {
    animation: fadeIn 0.5s ease;
}

/* FOCUS STATES - ACCESSIBILITY */
.beauty-header a:focus-visible,
.beauty-header button:focus-visible {
    outline: 2px solid #d48ba1;
    outline-offset: 3px;
    border-radius: 8px;
}

/* ===================================
   PREMIUM HOVER EFFECTS
   =================================== */
@media (hover: hover) {
    .beauty-header .nav-item {
        transition: transform 0.3s ease;
    }

    .beauty-header .nav-item:hover {
        transform: scale(1.02);
    }
}

/* ===================================
   AUTH BUTTONS
   =================================== */
.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 2px solid #6f42c1;
    color: #6f42c1;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #6f42c1;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.35);
}

.btn-signup {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #d48ba1, #e4b1c8);
    border: 2px solid transparent;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-signup:hover {
    background: linear-gradient(135deg, #c67890, #d48ba1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 139, 161, 0.4);
    color: #fff;
}

/* User Dropdown */
.user-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6f42c1;
    font-weight: 600;
}

.user-dropdown i {
    font-size: 20px;
}

.dropdown-menu {
    background: #fff;
    border: 1px solid rgba(111, 66, 193, 0.2);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    min-width: 200px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: #333;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(111, 66, 193, 0.1);
    color: #6f42c1;
}

.dropdown-item i {
    width: 20px;
    color: #6f42c1;
}

/* ===================================
   RESPONSIVE FOR AUTH BUTTONS
   =================================== */
@media (max-width: 991px) {

    .btn-login,
    .btn-signup {
        width: 100%;
        justify-content: center;
        margin: 10px 0;
    }

    .user-dropdown {
        width: 100%;
        justify-content: center;
        padding: 10px 0;
    }
}

/* ===================================
   PROFESSIONAL FOOTER STYLES
   =================================== */
.beauty-footer {
    background: linear-gradient(180deg, #1e1424 0%, #120b18 100%);
    color: #d8cfee;
    position: relative;
    overflow: hidden;
    margin: 0 !important;
    padding: 0;
    margin-top: auto;
    /* This pushes footer to bottom */
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    margin: 0 !important;
    margin-bottom: 0 !important;
}

.beauty-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #6f42c1, transparent);
}

/* ===================================
   MAIN FOOTER CONTENT
   =================================== */
.footer-main {
    padding: 80px 0 50px;
    position: relative;
}

.footer-main::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(111, 66, 193, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ===================================
   FOOTER ABOUT SECTION
   =================================== */
.footer-about {
    padding-right: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(111, 66, 193, 0.4));
}

.footer-logo-text {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #6f42c1 0%, #b89df3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Playfair Display', serif;
}

.footer-description {
    color: #6f42c1;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 15px;
}

/* ===================================
   SOCIAL LINKS
   =================================== */
.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(111, 66, 193, 0.1);
    border: 1px solid rgba(111, 66, 193, 0.25);
    color: #6f42c1;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.social-link:hover {
    background: linear-gradient(135deg, #6f42c1, #9b7ad6);
    box-shadow: 0 8px 20px rgba(111, 66, 193, 0.4);
    color: #fff;
    transform: translateY(-5px);
    border-color: transparent;
}

/* ===================================
   FOOTER LINKS
   =================================== */
.footer-links {
    margin-bottom: 30px;
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #6f42c1, transparent);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #6f42c1;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 18px;
}

.footer-menu a::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    font-size: 10px;
    color: #6f42c1;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: #6f42c1;
    padding-left: 25px;
}

.footer-menu a:hover::before {
    opacity: 1;
}

/* ===================================
   CONTACT INFO
   =================================== */
.footer-contact {
    margin-bottom: 30px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #6f42c1;
    font-size: 15px;
    line-height: 1.6;
}

.contact-info i {
    color: #6f42c1;
    font-size: 18px;
    width: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info a {
    color: #6f42c1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #6f42c1;
}

/* ===================================
   FOOTER BUTTON
   =================================== */
.footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #6f42c1, #9b7ad6);
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.35);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(111, 66, 193, 0.5);
}

.footer-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.footer-btn:hover i {
    transform: translateX(5px);
}

/* ===================================
   NEWSLETTER SECTION
   =================================== */
.footer-newsletter {
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.15), rgba(155, 122, 214, 0.1));
    border-top: 1px solid rgba(111, 66, 193, 0.2);
    border-bottom: 1px solid rgba(111, 66, 193, 0.2);
}

.newsletter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 250px;
}

.newsletter-icon {
    font-size: 48px;
    color: #6f42c1;
    opacity: 0.8;
}

.newsletter-text h3 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.newsletter-text p {
    color: #6f42c1;
    margin: 0;
    font-size: 14px;
}

.newsletter-form {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.newsletter-form .input-group {
    display: flex;
    gap: 0;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.newsletter-form .form-control {
    border: none;
    padding: 15px 25px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    flex: 1;
}

.newsletter-form .form-control:focus {
    outline: none;
    box-shadow: none;
}

.newsletter-form .form-control::placeholder {
    color: #999;
}

.btn-subscribe {
    background: linear-gradient(135deg, #6f42c1, #9b7ad6);
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.btn-subscribe:hover {
    background: linear-gradient(135deg, #5a35a3, #6f42c1);
}

.btn-subscribe i {
    font-size: 16px;
}

/* ===================================
   BOTTOM FOOTER
   =================================== */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.copyright p {
    margin: 0;
    color: #6f42c1;
    font-size: 14px;
}

.copyright strong {
    color: #6f42c1;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #6f42c1;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #6f42c1;
}

.footer-bottom-links .separator {
    color: rgba(111, 66, 193, 0.3);
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #6f42c1;
    font-size: 14px;
}

.payment-methods i {
    font-size: 24px;
    color: #6f42c1;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.payment-methods i:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* ===================================
   BACK TO TOP BUTTON
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6f42c1, #9b7ad6);
    box-shadow: 0 4px 20px rgba(111, 66, 193, 0.45);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #5a35a3, #6f42c1);
    box-shadow: 0 8px 30px rgba(111, 66, 193, 0.6);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 991px) {
    .footer-main {
        padding: 60px 0 40px;
    }

    .newsletter-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-content {
        flex-direction: column;
    }

    .newsletter-form {
        width: 100%;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 767px) {

    /* Center all footer sections on mobile */
    .footer-about,
    .footer-links,
    .footer-contact {
        text-align: center;
        padding-right: 0;
    }

    /* Center logo */
    .footer-logo {
        justify-content: center;
    }

    /* Center social icons */
    .footer-social {
        justify-content: center;
    }

    /* Center footer menu items */
    .footer-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-menu a {
        padding-left: 0;
    }

    .footer-menu a::before {
        display: none;
    }

    /* Center contact info */
    .contact-info li {
        justify-content: center;
        text-align: center;
    }

    /* Center footer button */
    .footer-btn {
        margin: 0 auto;
        display: inline-flex;
    }

    /* Center title underline */
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .footer-main {
        padding: 50px 0 30px;
    }

    .newsletter-form .input-group {
        flex-direction: column;
        border-radius: 10px;
    }

    .newsletter-form .form-control {
        border-radius: 10px 10px 0 0;
    }

    .btn-subscribe {
        border-radius: 0 0 10px 10px;
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .payment-methods {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Privacy Policy Container Styling */
.container.py-5 {
    background: #ffffff;
    padding: 40px 30px !important;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(255, 155, 185, 0.15);
    max-width: 900px;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Main Title */
.container.py-5 h1 {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(90deg, #ff99b9, #ffbed3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Section Headings */
.container.py-5 h3 {
    color: #c2185b;
    font-size: 22px;
    font-weight: 600;
    margin-top: 35px;
    position: relative;
}

/* Heading underline */
.container.py-5 h3::after {
    content: "";
    width: 50px;
    height: 3px;
    background: #ffb6cf;
    display: block;
    margin-top: 6px;
    border-radius: 3px;
}

/* Text & Paragraphs */
.container.py-5 p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

/* List Items */
.container.py-5 ul {
    padding-left: 20px;
}

.container.py-5 ul li {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.8;
}

/* Strong highlight */
.container.py-5 ul li strong {
    color: #b01550;
}

/* Divider Line */
.container.py-5 hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, #ffd6e6, #ff9bb9);
    margin: 25px 0;
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 768px) {
    .container.py-5 {
        padding: 25px 18px !important;
    }

    .container.py-5 h1 {
        font-size: 26px;
    }

    .container.py-5 h3 {
        font-size: 20px;
    }
}

/* Terms & Conditions Container */
.terms-container {
    background: #ffffff;
    padding: 40px 30px !important;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(255, 155, 185, 0.15);
    max-width: 900px;
}

/* Title */
.terms-container h1 {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(90deg, #ff99b9, #ffbed3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Section Headings */
.terms-container h3 {
    color: #c2185b;
    font-size: 22px;
    font-weight: 600;
    margin-top: 35px;
}

/* Heading Underline */
.terms-container h3::after {
    content: "";
    width: 50px;
    height: 3px;
    background: #ffb6cf;
    display: block;
    margin-top: 6px;
    border-radius: 3px;
}

/* Paragraphs */
.terms-container p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

/* List Items */
.terms-container ul {
    padding-left: 20px;
}

.terms-container ul li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
}

/* Divider */
.terms-container hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, #ffd6e6, #ff9bb9);
    margin: 25px 0;
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 768px) {
    .terms-container {
        padding: 25px 18px !important;
    }
}

/* --- Slider Styling --- */
.slider-img {
    object-fit: cover;
}

/* Indicator Dots */
.carousel-indicators button {
    width: 30px;
    height: 23px;
    border-radius: 50%;
    background-color: black;
    border: none;
}

.carousel-indicators .active {
    background-color: purple !important;
    width: 30px;
    height: 23px;
    /* Beauty Parlor Pink */
}

/* Control Arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
    /* White Arrows */
}

/* Responsive */
@media(max-width: 768px) {
    .slider-img {
        height: 280px;
    }
}

.hero-slider {
    width: 100%;
    height: 550px;
    /* Adjust height as needed (500–650px works best) */
    overflow: hidden;
    position: relative;
}

.hero-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Makes image fill area without distortion */
    object-position: center;
    /* Keeps main image centered */
    display: block;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 350px;
        /* Mobile height */
    }
}

/* Video Slider Styles */
#videoSlider {
    max-width: 100%;
    margin: 0 auto;
    background: #000;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #000;
}

.slider-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Carousel Controls for Video Slider */
#videoSlider .carousel-control-prev-icon,
#videoSlider .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    color: purple;
    /* icon color */
    border-radius: 50%;
    padding: 0.75rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    border: 2px solid white;
    /* border stays white */
}

#videoSlider .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='purple' viewBox='0 0 16 16'%3E%3Cpath d='M11 1L3 8l8 7'/%3E%3C/svg%3E");
}

#videoSlider .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='purple' viewBox='0 0 16 16'%3E%3Cpath d='M5 1l8 7-8 7'/%3E%3C/svg%3E");
}

#videoSlider .carousel-indicators {
    margin-bottom: 1.5rem;
}

#videoSlider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    transition: all 0.3s ease;
}

#videoSlider .carousel-indicators button.active {
    background-color: #667eea;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .video-wrapper {
        padding-bottom: 75%;
        /* Adjust for mobile if needed */
    }
}

/* ===== FIX VIDEO SLIDER HEIGHT ===== */
#videoSlider,
#videoSlider .carousel-inner,
#videoSlider .carousel-item,
#videoSlider .video-wrapper {
    height: 700px;
    /* adjust as needed */
    padding-bottom: 0;
}

#videoSlider .slider-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {

    #videoSlider,
    #videoSlider .carousel-inner,
    #videoSlider .carousel-item,
    #videoSlider .video-wrapper {
        height: 240px;
    }
}

/* Safety Standards Section Styles */
.safety-standards-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.safety-standards-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.safety-standards-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Section Header */
.section-badge {
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.badge-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #ec4899);
    border-radius: 2px;
}

.section-title {
    font-size: 2.5rem;
    color: #1f2937;
}

.text-gradient {
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Safety Cards */
.safety-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.safety-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #ec4899);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.safety-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.safety-card:hover::before {
    transform: scaleX(1);
}

/* Safety Icons */
.safety-icon-wrapper {
    position: relative;
    display: inline-block;
}

.safety-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.safety-card:hover .safety-icon {
    transform: scale(1.1);
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.4s ease;
    z-index: 1;
}

.safety-card:hover .icon-glow {
    opacity: 0.6;
}

/* Gradient Backgrounds */
.bg-gradient-blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.bg-gradient-purple {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
}

.bg-gradient-teal {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.bg-gradient-pink {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.bg-gradient-orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.bg-gradient-red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* Glow Colors */
.blue-glow {
    background: #3b82f6;
}

.purple-glow {
    background: #a855f7;
}

.teal-glow {
    background: #14b8a6;
}

.pink-glow {
    background: #ec4899;
}

.orange-glow {
    background: #f59e0b;
}

.red-glow {
    background: #ef4444;
}

/* Safety Title & Description */
.safety-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.safety-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Why Book Section */
.why-book-section {
    background: white;
    padding: 3rem 2rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.why-card {
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }

    .safety-card {
        padding: 1.5rem;
    }

    .safety-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Animation for cards on load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.safety-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.safety-card:nth-child(1) {
    animation-delay: 0.1s;
}

.safety-card:nth-child(2) {
    animation-delay: 0.2s;
}

.safety-card:nth-child(3) {
    animation-delay: 0.3s;
}

.safety-card:nth-child(4) {
    animation-delay: 0.4s;
}

.safety-card:nth-child(5) {
    animation-delay: 0.5s;
}

.safety-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Why Book Perfect9 Section */
.why-book-perfect9 {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.why-book-perfect9::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.why-book-perfect9::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

/* Section Tag */
.section-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    letter-spacing: 0.5px;
}

/* Brand Text */
.brand-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Benefit Cards */
.benefit-card {
    background: white;
    border-radius: 25px;
    padding: 2.5rem 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.benefit-card:hover::before {
    opacity: 1;
}

/* Benefit Icon Box */
.benefit-icon-box {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: all 0.4s ease;
}

.benefit-card:hover .benefit-icon-box {
    transform: scale(1.1);
}

.icon-circle {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

/* Gradient Backgrounds */
.gradient-blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.gradient-yellow {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.3);
}

.gradient-green {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.3);
}

.gradient-cyan {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    box-shadow: 0 10px 30px rgba(67, 233, 123, 0.3);
}

/* Benefit Content */
.benefit-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.benefit-desc {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Benefit Number */
.benefit-number {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    transition: all 0.4s ease;
}

.benefit-card:hover .benefit-number {
    color: rgba(102, 126, 234, 0.1);
    transform: scale(1.2);
}

/* Features Highlight */
.features-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 25px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.3);
}

.features-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.feature-stat {
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* CTA Button */
.btn-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-cta:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .benefit-card {
        padding: 2rem 1.5rem;
    }

    .benefit-icon-box {
        width: 70px;
        height: 70px;
    }

    .icon-circle {
        font-size: 2rem;
    }

    .benefit-title {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .features-highlight {
        padding: 2rem 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.benefit-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.benefit-card:nth-child(1) {
    animation-delay: 0.1s;
}

.benefit-card:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-card:nth-child(3) {
    animation-delay: 0.3s;
}

.benefit-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Reviews Section */
.user-reviews-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

/* Reduce desktop spacing between cards */
@media (min-width: 768px) {
    #reviewsCarouselDesktop .carousel-item .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    #reviewsCarouselDesktop .carousel-item .col-lg-4,
    #reviewsCarouselDesktop .carousel-item .col-md-4 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Section Header */
.section-badge {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.badge-line {
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
}

.brand-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Review Card */
.review-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

/* Stars */
.stars-rating {
    display: flex;
    gap: 0.3rem;
}

.stars-rating i {
    color: #fbbf24;
    font-size: 1.1rem;
}

/* Review Text */
.review-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4b5563;
    font-style: italic;
    margin: 1rem 0;
    padding-left: 1rem;
    border-left: 3px solid #667eea;
    flex-grow: 1;
}

/* Reviewer Info */
.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid #f3f4f6;
    padding-top: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #667eea;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-name {
    font-weight: 600;
    margin: 0;
}

.reviewer-location {
    font-size: 0.85rem;
    color: #9ca3af;
}

/* Verified Badge */
.verified-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: blue;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
}

.user-reviews-section:hover .carousel-control-prev,
.user-reviews-section:hover .carousel-control-next {
    opacity: 1;
}

/* Mobile */
@media (max-width: 767px) {
    .review-card {
        padding: 1.5rem;
        min-height: 300px;
        margin: 0 0.5rem;
    }
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Background Shapes */
.contact-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.shape-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: -150px;
    right: -100px;
    animation: float 20s infinite ease-in-out;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    bottom: 100px;
    left: -50px;
    animation: float 15s infinite ease-in-out reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    top: 50%;
    right: 10%;
    animation: float 18s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    33% {
        transform: translateY(-30px) translateX(20px);
    }

    66% {
        transform: translateY(30px) translateX(-20px);
    }
}

/* Section Badge */
.section-badge {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.badge-line {
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
}

.brand-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contact Info Wrapper - Match Form Height */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: 100%;
}

/* Contact Info Cards - Equal Distribution */
.contact-info-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    flex: 1;
    /* Equal height distribution */
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-info-card.gradient-blue::before {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.contact-info-card.gradient-purple::before {
    background: linear-gradient(90deg, #a8edea 0%, #fed6e3 100%);
}

.contact-info-card.gradient-pink::before {
    background: linear-gradient(90deg, #ff9a9e 0%, #fecfef 100%);
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.contact-info-card:hover::before {
    opacity: 1;
}

/* Contact Info Icon */
.contact-info-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.gradient-blue .contact-info-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-purple .contact-info-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-pink .contact-info-icon {
    background: linear-gradient(135deg, #ffa751 0%, #ffe259 100%);
}

.contact-info-card:hover .contact-info-icon {
    transform: scale(1.1);
}

/* Contact Info Content */
.contact-info-content {
    flex: 1;
}

.contact-info-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.75rem;
}

.contact-info-text {
    margin: 0.3rem 0;
    color: #4a5568;
    font-size: 0.95rem;
    font-weight: 500;
}

.contact-info-time {
    color: #a0aec0;
    font-size: 0.85rem;
    display: block;
    margin-top: 0.5rem;
}

/* Social Connect Card */
.social-connect-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    text-align: center;
    flex: 1;
    /* Equal height distribution */
}

.social-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
}

.social-icons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.social-icon-link {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-icon-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-icon-link.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d5bbd 100%);
}

.social-icon-link.instagram {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.social-icon-link.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0c85d0 100%);
}

.social-icon-link.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1ebe57 100%);
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: #fff;
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.form-header {
    margin-bottom: 2rem;
}

.form-title {
    color: #2d3748;
    font-size: 1.75rem;
}

.form-subtitle {
    color: #718096;
    font-size: 1rem;
}

/* Contact Form - Allow it to grow */
.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Form Controls */
.form-floating {
    position: relative;
}

.form-floating .form-control {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.form-floating .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: #fff;
}

.form-floating label {
    padding: 1rem 1.25rem;
    color: #a0aec0;
    font-size: 0.95rem;
}

.form-floating .form-control:focus~label,
.form-floating .form-control:not(:placeholder-shown)~label {
    color: #667eea;
}

/* Submit Button */
.btn-submit-contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.btn-submit-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.btn-submit-contact i {
    transition: transform 0.3s ease;
}

.btn-submit-contact:hover i {
    transform: translateX(5px);
}

/* Quick Contact Options */
.quick-contact-options {
    padding-top: 1.5rem;
    margin-top: auto;
    border-top: 2px solid #f7fafc;
}

.quick-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    color: #4a5568;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.quick-contact-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Desktop - Equal Heights */
@media (min-width: 992px) {
    .row.align-items-stretch {
        align-items: stretch;
    }


    .contact-info-wrapper,
    .contact-form-wrapper {
        flex: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .contact-info-wrapper {
        margin-bottom: 2rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    /* Reset flex for mobile */
    .contact-info-card,
    .social-connect-card {
        flex: initial;
        height: auto;
    }
}

@media (max-width: 767px) {
    .contact-section {
        padding: 3rem 0;
    }

    .display-5 {
        font-size: 1.8rem;
    }

    .lead {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Contact Info Cards - Full Width on Mobile */
    .contact-info-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .contact-info-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        margin: 0 auto;
    }

    .contact-info-title {
        font-size: 1.1rem;
    }

    .contact-info-text {
        font-size: 0.9rem;
    }

    /* Social Icons - 2x2 Grid */
    .social-connect-card {
        padding: 1.5rem;
    }

    .social-icons-grid {
        gap: 0.75rem;
    }

    .social-icon-link {
        font-size: 1.3rem;
        border-radius: 12px;
    }

    /* Contact Form */
    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .form-header {
        margin-bottom: 1.5rem;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .form-subtitle {
        font-size: 0.9rem;
    }

    .form-floating .form-control {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }

    .form-floating label {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    .btn-submit-contact {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    /* Quick Contact Buttons */
    .quick-contact-btn {
        flex: 1;
        justify-content: center;
        font-size: 0.85rem;
        padding: 0.65rem 1rem;
    }
}

@media (max-width: 576px) {
    .section-badge {
        padding: 0.4rem 1rem;
    }

    .badge-line {
        width: 20px;
    }

    .display-5 {
        font-size: 1.5rem;
    }

    .contact-info-card {
        padding: 1.25rem;
    }

    .contact-info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .social-icons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .social-icon-link {
        font-size: 1.2rem;
    }

    .contact-form-wrapper {
        padding: 1.25rem;
    }

    .quick-contact-options .d-flex {
        flex-direction: column;
    }

    .quick-contact-btn {
        width: 100%;
    }
}

/* Animation on Scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-info-card,
.social-connect-card,
.contact-form-wrapper {
    animation: fadeInUp 0.6s ease forwards;
}

.contact-info-card:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-info-card:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-info-card:nth-child(3) {
    animation-delay: 0.3s;
}

.social-connect-card {
    animation-delay: 0.4s;
}

.contact-form-wrapper {
    animation-delay: 0.2s;
}

/* Categories Section */
.categories-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

/* Section Badge */
.section-badge {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.badge-line {
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
}

.brand-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Category Card Link */
.category-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Category Card */
.category-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    border-radius: 20px;
}

.category-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.category-card:hover::before {
    opacity: 0.05;
}

/* Image Wrapper */
.category-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    /* SAME for all cards */
    padding-top: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.category-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-card:hover .category-image {
    transform: scale(1.15) rotate(2deg);
}

/* Image Overlay */
.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    opacity: 0;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.overlay-content {
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.category-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

/* Category Info */
.category-info {
    min-height: 40px;
    padding: 1.25rem;
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.category-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.category-card:hover .category-name {
    color: #667eea;
    transform: translateY(-3px);
}

.category-count {
    font-size: 0.9rem;
    color: #718096;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    min-height: 20px;
}

.category-card:hover .category-count {
    color: #667eea;
}

.category-count i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.category-card:hover .category-count i {
    transform: rotate(360deg);
}

/* Hover Badge */
.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.category-card:hover .category-badge {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 1400px) {
    .categories-grid {
        display: grid;
        grid-template-columns: repeat(5, minmax(230px, 230px));
        justify-content: center;
        gap: 1.5rem;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .categories-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(230px, 230px));
        justify-content: center;
        gap: 1.5rem;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .categories-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(230px, 230px));
        justify-content: center;
        gap: 1.25rem;
    }
}

@media (max-width: 991px) {
    .categories-grid {
        display: grid;
        grid-template-columns: repeat(1, minmax(230px, 230px));
        justify-content: center;
        gap: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .categories-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(230px, 230px));
        justify-content: center;
        gap: 1.25rem;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .categories-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(230px, 230px));
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 575px) {
    .categories-grid {
        display: grid;
        grid-template-columns: repeat(1, minmax(230px, 230px));
        justify-content: center;
        gap: 1rem;
    }
}

.category-card-link {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.category-card-link:nth-child(1) {
    animation-delay: 0.1s;
}

.category-card-link:nth-child(2) {
    animation-delay: 0.15s;
}

.category-card-link:nth-child(3) {
    animation-delay: 0.2s;
}

.category-card-link:nth-child(4) {
    animation-delay: 0.25s;
}

.category-card-link:nth-child(5) {
    animation-delay: 0.3s;
}

.category-card-link:nth-child(6) {
    animation-delay: 0.35s;
}

.category-card-link:nth-child(7) {
    animation-delay: 0.4s;
}

.category-card-link:nth-child(8) {
    animation-delay: 0.45s;
}

.category-card-link:nth-child(9) {
    animation-delay: 0.5s;
}

.category-card-link:nth-child(10) {
    animation-delay: 0.55s;
}

/* Background decoration */
.categories-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    animation: float 20s infinite ease-in-out;
}

.categories-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.1) 0%, rgba(245, 87, 108, 0.1) 100%);
    border-radius: 50%;
    bottom: -50px;
    right: -50px;
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    33% {
        transform: translateY(-30px) translateX(20px);
    }

    66% {
        transform: translateY(30px) translateX(-20px);
    }
}

/* sub category section css */
.sub-category-section {
    background: linear-gradient(to bottom, #eef2ff, #ffffff);
    position: relative;
    overflow: hidden;
}

/* Badge (Top) */
.sub-badge .sub-dot {
    width: 14px;
    height: 14px;
    background: rgba(13, 110, 253, 0.4);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.7);
}

/* Card Link */
.sub-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* Staggered animation delays */
.sub-card-link:nth-child(1) {
    animation-delay: 0.1s;
}

.sub-card-link:nth-child(2) {
    animation-delay: 0.15s;
}

.sub-card-link:nth-child(3) {
    animation-delay: 0.2s;
}

.sub-card-link:nth-child(4) {
    animation-delay: 0.25s;
}

.sub-card-link:nth-child(5) {
    animation-delay: 0.3s;
}

.sub-card-link:nth-child(6) {
    animation-delay: 0.35s;
}

.sub-card-link:nth-child(7) {
    animation-delay: 0.4s;
}

.sub-card-link:nth-child(8) {
    animation-delay: 0.45s;
}

.sub-card-link:nth-child(9) {
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card - SAME DIMENSIONS AS CATEGORY CARDS */
.sub-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
}

.sub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    border-radius: 20px;
}

.sub-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.sub-card:hover::before {
    opacity: 0.05;
}

/* Image Wrapper - SAME HEIGHT AS CATEGORY CARDS */
.sub-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    /* SAME as category cards */
    padding-top: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.sub-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sub-card:hover .sub-img {
    transform: scale(1.15) rotate(2deg);
}

/* Overlay */
.sub-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    opacity: 0;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.sub-card:hover .sub-overlay {
    opacity: 1;
}

.overlay-content {
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.sub-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

/* Text Info */
.sub-info {
    min-height: 40px;
    padding: 1.25rem;
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sub-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.sub-card:hover .sub-title {
    color: #667eea;
    transform: translateY(-3px);
}

.sub-count {
    font-size: 0.9rem;
    color: #718096;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    min-height: 20px;
}

.sub-card:hover .sub-count {
    color: #667eea;
}

.sub-count i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.sub-card:hover .sub-count i {
    transform: rotate(360deg);
}

/* Hover Badge */
.sub-badge-hover {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.sub-card:hover .sub-badge-hover {
    opacity: 1;
    transform: translateY(0);
}

/* Grid Layout - STRICTLY 4 CARDS PER ROW */
@media (min-width: 992px) {
    .sub-category-section .row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        max-width: 1000px;
        margin: 0 auto;
        gap: 1.5rem;
    }

    .sub-card {
        max-width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .sub-category-section .row {
        display: grid;
        grid-template-columns: repeat(3, minmax(230px, 230px));
        justify-content: center;
        gap: 1.25rem;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .sub-category-section .row {
        display: grid;
        grid-template-columns: repeat(2, minmax(230px, 230px));
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 575px) {
    .sub-category-section .row {
        display: grid;
        grid-template-columns: repeat(1, minmax(230px, 230px));
        justify-content: center;
        gap: 1rem;
    }
}

/* Remove Bootstrap column classes effect */
.sub-category-section .col-lg-4,
.sub-category-section .col-md-6 {
    width: auto;
    padding: 0;
}

/* Background decoration */
.sub-category-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    animation: float 20s infinite ease-in-out;
}

.sub-category-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.1) 0%, rgba(245, 87, 108, 0.1) 100%);
    border-radius: 50%;
    bottom: -50px;
    right: -50px;
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    33% {
        transform: translateY(-30px) translateX(20px);
    }

    66% {
        transform: translateY(30px) translateX(-20px);
    }
}

/* Section Badge */
.services-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #eef4ff;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    color: #0d6efd;
    box-shadow: 0 0 12px rgba(13, 110, 253, 0.3);
}

.services-badge i {
    font-size: 20px;
}

/* Card */
.service-new-card {
    width: 100%;
    max-width: 370px;
    background: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    transition: 0.3s ease;
}

.service-new-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* Image */
.service-new-img {
    height: 280px;
    position: relative;
    overflow: hidden;
}

.service-new-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.service-new-card:hover .service-new-img img {
    transform: scale(1.12);
}

/* Hover Overlay */
.service-new-hover {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.service-new-card:hover .service-new-hover {
    opacity: 1;
}

.service-new-hover i {
    color: #fff;
    font-size: 32px;
}

/* Content */
.service-new-content {
    padding: 20px;
}

.service-new-title {
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e1e1e;
}

.service-new-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    color: #555;
    font-weight: 600;
}

/* Action Buttons */
.service-new-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-btn-outline {
    border: 2px solid #0d6efd;
    color: #0d6efd;
    padding: 6px 14px;
    border-radius: 8px;
    transition: 0.3s;
}

.service-btn-outline:hover {
    background: #0d6efd;
    color: #fff;
}

.service-btn-add,
.service-btn-remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    /* Space between icon + text */
    padding: 8px 14px;
    /* Proper padding */
    border-radius: 30px;
    /* Rounded pill shape */
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.service-btn-add {
    background-color: #1f8f5f;
    color: #fff;
}

.service-btn-add:hover {
    background-color: #0f7a47;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 122, 71, 0.35);
}

.service-btn-remove {
    background-color: #d9534f;
    color: #fff;
}

.service-btn-remove:hover {
    background-color: #a83632;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(168, 54, 50, 0.35);
}

.service-btn-add i,
.service-btn-remove i {
    font-size: 16px;
}


/* Image */
.details-img-wrap {
    position: relative;
}

.details-main-img {
    width: 100%;
}

.img-overlay-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #ffffffd8;
    backdrop-filter: blur(4px);
    padding: 12px 14px;
    font-size: 22px;
    border-radius: 50%;
    color: #2b8d68;
}

/* Back Button */
.back-btn {
    border: 2px solid #ccc;
    transition: 0.3s;
}

.back-btn:hover {
    background: #ddd;
    border-color: #aaa;
}

/* Titles */
.details-title {
    font-weight: 700;
    font-size: 30px;
}

/* Meta Info */
.meta-info .price-tag {
    font-size: 26px;
    font-weight: bold;
    color: #2b8d68;
}

.meta-info .time-tag {
    color: #666;
}

/* Info Box */
.service-info-box {
    background: #f7f7f7;
    padding: 15px 18px;
    border-radius: 10px;
}

.info-icon {
    color: #2b8d68;
    margin-right: 5px;
}

/* Sub Heading */
.sub-heading {
    font-weight: 600;
    color: #333;
    margin-top: 25px;
}

/* Buttons */
.add-btn {
    background: #1c8a5c;
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    transition: 0.3s;
}

.add-btn:hover {
    background-color: #0f7a47;
    /* premium green */
    color: #ffffff;
    /* keep text white */
    box-shadow: 0 4px 12px rgba(15, 122, 71, 0.35);
}

.remove-btn {
    background: #6f42c1;
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    transition: 0.3s;
}

.remove-btn:hover {
    background-color: #4802ca;
    /* elegant darker red */
    color: #ffffff;
    /* keep text white */
    box-shadow: 0 4px 12px rgba(168, 54, 50, 0.35);
}

.info-box p {
    margin-bottom: 6px;
    font-size: 16px;
    color: #444;
}

.modal-content {
    border-radius: 18px !important;
    padding-bottom: 10px;
}

.btn-login {
    border: 2px solid white;
    padding: 6px 16px;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-login:hover {
    background: white;
    color: #333 !important;
}

.input-group-text {
    border-radius: 50px 0 0 50px !important;
}

.modal-beauty {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.modal-image-header img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.modal-title {
    font-weight: 700;
    color: #6f42c1;
    font-size: 1.4rem;
}

#sendOtpBtn {
    background: linear-gradient(45deg, #6f42c1, #997fc9);
    border: none;
    padding: 10px;
    font-size: 1.1rem;
    border-radius: 10px;
}

#phone {
    border-radius: 10px;
    border: 1px solid #d4287380;
    padding: 10px;
}

.modal-image-header img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}


.otp-input {
    width: 55px;
    height: 55px;
    font-size: 22px;
    font-weight: bold;
}

.cart-icon-link {
    position: relative;
    padding: 8px;
}

.cart-count-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #6f42c1;
    color: #f8f8f8;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    line-height: 1;
}

/* Desktop Layout */
.cart-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.cart-page-container {
    max-width: 1400px !important;
    /* Increase as needed */
}

/* Cart Item Box */
.cart-item {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.cart-item:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.qty-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-box button {
    width: 32px;
    height: 32px;
    border: none;
    background: #c0395a;
    color: #fff;
    border-radius: 6px;
}

.qty-box span {
    font-weight: 600;
    font-size: 16px;
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #c0395a;
}

.service-meta {
    font-size: 14px;
    color: #777;
}


/* Price Box */
.price-box {
    width: 320px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
}

.price-row.total {
    font-size: 18px;
    font-weight: 700;
    color: #c0395a;
    border-top: 1px solid #ddd;
    padding-top: 12px;
}

.continue-btn {
    width: 100%;
    background: #6f42c1;
    border-radius: 8px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.coupon-box input {
    border-radius: 8px;
}

/* MOBILE FIX */
@media (max-width: 768px) {

    .cart-page-container {
        padding: 0 !important;
    }

    .cart-wrapper {
        display: block !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .cart-left {
        width: 100%;
    }

    .price-box {
        width: 100% !important;
        margin-top: 25px;
    }

    .cart-item {
        flex-direction: column !important;
        gap: 12px;
        padding: 15px;
    }

    .remove-btn {
        width: 100%;
        justify-content: center;
        padding: 10px;
        border-radius: 8px;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {

    h3 {
        font-size: 20px;
        font-weight: 700;
    }

    .service-title {
        font-size: 16px;
    }

    .service-meta {
        font-size: 13px;
    }

    .service-price {
        font-size: 15px;
    }

    .continue-btn {
        font-size: 15px;
        padding: 12px;
    }
}

#loginWithPhoneModal .form-label {
    margin-top: 0px !important;
}

#phone {
    margin-top: -6px !important;
}

/* For exactly 5 cards in one row on large & XL screens */
.col-xl-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
}

@media (max-width: 1199px) {
    .col-xl-2-4 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 992px) {
    .col-xl-2-4 {
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }
}

/* Location Box */
.location-box {
    background: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3d7df;
    margin-bottom: 10px;
}

/* Left side: icon + text */
.location-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-left i {
    background: #f9e2ea;
    color: #c0395a;
    padding: 8px;
    border-radius: 8px;
    font-size: 16px;
}

/* Location text */
.location-left span {
    font-size: 15px;
    font-weight: 600;
    color: #444;
}

/* Edit link */
.location-edit-link {
    color: #6f42c1;
    font-weight: 600;
    text-decoration: none;
}


/* Mobile */
@media (max-width: 768px) {
    .location-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .location-edit-link {
        align-self: flex-end;
    }
}

/* Popup Background */
.address-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.50);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Modal Overlay/Backdrop */
.address-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Semi-transparent backdrop */
    justify-content: center;
    align-items: center;
}

/* Popup Box - Premium Look */
.address-modal-content {
    background: #ffffff;
    width: 92%;
    max-width: 460px;
    padding: 28px 26px;
    border-radius: 14px;
    box-shadow: 0px 12px 35px rgba(0, 0, 0, 0.18);
    animation: fadeInScale 0.28s ease-out;
    position: relative;
}

/* Close Button */
.address-close {
    position: absolute;
    right: 18px;
    top: 14px;
    font-size: 26px;
    cursor: pointer;
    color: #d64d6a;
    font-weight: bold;
    transition: 0.2s;
}

.address-close:hover {
    color: #b2334d;
    transform: scale(1.1);
}

/* Smooth Popup Animation */
@keyframes fadeInScale {
    0% {
        transform: scale(0.85);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Main Card */
.service-card-modern {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    transition: 0.35s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.service-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* Image */
.service-img-box {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.service-img-modern {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: 0.4s ease;
}

.service-card-modern:hover .service-img-modern {
    transform: scale(1.08);
    filter: brightness(0.92);
}

/* Floating Icon Overlay */
.service-icon-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #ffffffeb;
    padding: 10px 12px;
    border-radius: 50%;
    font-size: 16px;
    color: #2b8d68;
    backdrop-filter: blur(3px);
    transition: 0.25s ease;
}

.service-card-modern:hover .service-icon-overlay {
    transform: scale(1.15);
}

/* Title */
.service-title {
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

/* Price */
.service-price {
    color: #1c8a5c;
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 15px;
}

/* Duration */
.service-duration {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

/* View Button */
.service-view-btn {
    background: #1c8a5c;
    color: #fff;
    padding: 6px 0;
    border-radius: 30px;
    transition: 0.25s ease;
    font-size: 13px;
}

.service-view-btn:hover {
    background: #157349;
    box-shadow: 0 6px 15px rgba(21, 115, 73, 0.35);
    color: #fff;
}

.profile-photo-wrapper {
    width: 130px;
    height: 130px;
    margin: auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ensure proper carousel display */
#homeSlider {
    position: relative;
    overflow: hidden;
}

/* ===============================
   HOME SLIDER CONTROLS
================================ */
#homeSlider .carousel-control-prev,
#homeSlider .carousel-control-next {
    opacity: 1;
    transition: all 0.3s ease;
}

#homeSlider .carousel-control-prev:hover,
#homeSlider .carousel-control-next:hover {
    opacity: 1;
}

/* ===============================
   ARROW ICONS
================================ */
#homeSlider .carousel-control-prev-icon,
#homeSlider .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    color: purple;
    border-radius: 50%;
    padding: 0.75rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

#homeSlider .carousel-control-prev-icon:hover,
#homeSlider .carousel-control-next-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* ===============================
   INDICATORS
================================ */
#homeSlider .carousel-indicators {
    margin-bottom: 1.5rem;
}

#homeSlider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    transition: all 0.3s ease;
}

#homeSlider .carousel-indicators button.active {
    background-color: #667eea;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
}

.carousel-item.active {
    display: block;
}

/* Slider Image Styling */
.slider-img {
    width: 100%;
    height: auto;
    object-fit: cover
        /* Adjust based on your design */
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .slider-img {
        max-height: 300px;
    }
}

/* Custom Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.7);
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 30px;
    height: 23px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #e91e63;
    width: 30px;
    height: 23px;
    border-radius: 50%;
}

/* Mobile Header */
.mobile-header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mobile-logo img {
    height: 35px;
}

.mobile-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Mobile Login Button */
.mobile-login-btn {
    color: #d64d6a;
    font-size: 24px;
    text-decoration: none;
    transition: 0.2s;
}

.mobile-login-btn:hover {
    color: #b2334d;
}

/* Mobile User Button */
.mobile-user-btn {
    color: #d64d6a;
    font-size: 24px;
    text-decoration: none;
}

/* Mobile Cart Button */
.mobile-cart-btn {
    color: #333;
    font-size: 22px;
    text-decoration: none;
    position: relative;
}

.mobile-cart-btn .cart-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #d64d6a;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hamburger Button */
.hamburger-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

/* Hide on Desktop */
@media (min-width: 992px) {
    .mobile-header {
        display: none !important;
    }
}

/* Mobile Header Row */
.mobile-header-row {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Mobile Icon Buttons */
.mobile-icon-btn {
    color: #d64d6a;
    font-size: 22px;
    text-decoration: none;
    transition: 0.2s;
}

.mobile-icon-btn:hover {
    color: #b2334d;
}

/* Mobile Cart Badge */
.mobile-cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #d64d6a;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Mobile Toggler */
.navbar-toggler {
    border: none;
    background: none;
    color: #333;
    font-size: 22px;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Ensure desktop header row is ONLY visible on large screens */
.desktop-header-row {
    display: none !important;
}

@media (min-width: 992px) {
    .desktop-header-row {
        display: flex !important;
    }
}

/* Force hide mobile elements on desktop */
@media (min-width: 992px) {

    .mobile-header-row,
    .navbar-collapse {
        display: none !important;
    }
}

/* Hide any duplicate secondary navbars */
.beauty-header+nav,
.beauty-header~.navbar {
    display: none !important;
}

@media (max-width: 991px) {

    .beauty-header+nav,
    .beauty-header~.navbar {
        display: block !important;
    }
}

@media (min-width: 992px) {
    #beautyNavbar {
        display: none !important;
    }
}

/* Make service page full width */
.service-details-area .container,
.service-details-area .row,
.service-details-area .col-12,
.service-full-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.details-img-wrap {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.details-main-img {
    width: 100% !important;
    display: block !important;
    border-radius: 12px 12px 0 0 !important;
}

/* ===== FIX SLIDER HEIGHT ===== */
#homeSlider,
#homeSlider .carousel-inner,
#homeSlider .carousel-item {
    height: 420px;
    /* adjust this value */
}

#homeSlider .slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {

    #homeSlider,
    #homeSlider .carousel-inner,
    #homeSlider .carousel-item {
        height: 260px;
    }
}

.gender-section {
    background: linear-gradient(180deg, #F5F5F7 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.gender-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: radial-gradient(circle at 50% 0%,
            rgba(201, 100, 128, 0.05) 0%,
            transparent 70%);
    pointer-events: none;
}

/* ===================================
   Section Header
   =================================== */

.section-badge {
    background: #ffffff;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(201, 100, 128, 0.12);
    border: 1px solid rgba(201, 100, 128, 0.15);
}

.badge-line {
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            #C96480 50%,
            transparent 100%);
}

.text-primary {
    color: #C96480 !important;
}

.brand-text {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   Gender Grid Layout
   =================================== */

.gender-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.gender-card-link {
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.gender-card-link:hover {
    text-decoration: none;
}

.gender-card {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    padding: 15px 15px;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.gender-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.gender-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gender-card:hover::before {
    opacity: 1;
}

.gender-pattern {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    opacity: 0.05;
    transition: var(--transition);
}

.gender-card:hover .gender-pattern {
    transform: scale(1.5) rotate(45deg);
    opacity: 0.08;
}

.male-card {
    background: linear-gradient(135deg, #f0f4ff 0%, var(--white) 100%);
    border-color: rgba(107, 127, 232, 0.2);
}

.male-card:hover {
    border-color: var(--accent-blue);
}

.male-card .gender-pattern {
    background: var(--accent-blue);
}

.male-card .gender-icon {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #5669d8 100%);
    box-shadow: 0 8px 25px rgba(107, 127, 232, 0.3);
}

.male-card .gender-glow {
    background: radial-gradient(circle,
            rgba(107, 127, 232, 0.3) 0%,
            transparent 70%);
}

.male-card:hover .gender-arrow {
    background: var(--accent-blue);
}

.female-card {
    background: linear-gradient(135deg, var(--light-pink) 0%, var(--white) 100%);
    border-color: rgba(201, 100, 128, 0.2);
}

.female-card:hover {
    border-color: var(--primary-pink);
}

.female-card .gender-pattern {
    background: var(--primary-pink);
}

.female-card .gender-icon {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-rose) 100%);
    box-shadow: 0 8px 25px rgba(201, 100, 128, 0.3);
}

.female-card .gender-glow {
    background: radial-gradient(circle,
            rgba(201, 100, 128, 0.3) 0%,
            transparent 70%);
}

.female-card:hover .gender-arrow {
    background: var(--primary-pink);
}

.children-card {
    background: linear-gradient(135deg, var(--light-pink) 0%, var(--white) 100%);
    border-color: rgba(201, 100, 128, 0.2);
}

.children-card:hover {
    border-color: var(--primary-pink);
}

.children-card .gender-pattern {
    background: var(--primary-pink);
}

.children-card .gender-icon {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-rose) 100%);
    box-shadow: 0 8px 25px rgba(201, 100, 128, 0.3);
}

.children-card .gender-glow {
    background: radial-gradient(circle,
            rgba(201, 100, 128, 0.3) 0%,
            transparent 70%);
}

.children-card:hover .gender-arrow {
    background: var(--primary-pink);
}

.gender-icon-wrapper {
    position: relative;
}

.gender-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.gender-icon i {
    font-size: 3.5rem;
    color: var(--white);
    transition: var(--transition);
}

.gender-card:hover .gender-icon {
    transform: scale(1.1) rotate(5deg);
}

.gender-card:hover .gender-icon i {
    transform: scale(1.1);
}

.gender-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    z-index: 1;
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
}

.gender-info {
    margin-bottom: 20px;
}

.gender-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.gender-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    margin: 0;
    font-weight: 500;
}

.gender-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(201, 100, 128, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-top: auto;
}

.gender-arrow i {
    font-size: 1.25rem;
    color: var(--white);
    transition: var(--transition);
}

.gender-card:hover .gender-arrow {
    transform: translateX(5px);
}

.gender-card:hover .gender-arrow i {
    animation: arrowBounce 0.6s ease-in-out infinite;
}

@keyframes arrowBounce {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

@media (max-width: 992px) {
    .gender-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .gender-card {
        min-height: 300px;
        padding: 35px 25px;
    }

    .gender-icon {
        width: 100px;
        height: 100px;
    }

    .gender-icon i {
        font-size: 3rem;
    }

    .gender-title {
        font-size: 1.5rem;
    }

    .gender-subtitle {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .gender-section {
        padding: 40px 0 !important;
    }

    .section-badge {
        padding: 10px 24px;
    }

    .display-5 {
        font-size: 2rem !important;
    }

    .lead {
        font-size: 1rem !important;
    }

    .gender-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }

    .gender-card {
        min-height: 280px;
        padding: 30px 20px;
    }

    .gender-icon {
        width: 90px;
        height: 90px;
    }

    .gender-icon i {
        font-size: 2.5rem;
    }

    .gender-glow {
        width: 110px;
        height: 110px;
    }

    .gender-title {
        font-size: 1.4rem;
    }

    .gender-subtitle {
        font-size: 0.9rem;
    }

    .gender-arrow {
        width: 45px;
        height: 45px;
    }

    .gender-arrow i {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .section-badge {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .badge-line {
        width: 20px;
    }

    .display-5 {
        font-size: 1.75rem !important;
    }

    .gender-card {
        min-height: 260px;
        padding: 25px 20px;
    }

    .gender-icon {
        width: 80px;
        height: 80px;
    }

    .gender-icon i {
        font-size: 2.2rem;
    }

    .gender-title {
        font-size: 1.3rem;
    }

    .gender-arrow {
        width: 40px;
        height: 40px;
    }

    .gender-arrow i {
        font-size: 1rem;
    }
}

.gender-card:focus-within {
    outline: 3px solid var(--primary-pink);
    outline-offset: 4px;
}

.gender-card-link:focus {
    outline: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gender-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.gender-card:nth-child(1) {
    animation-delay: 0.1s;
}

.gender-card:nth-child(2) {
    animation-delay: 0.2s;
}

.gender-card:nth-child(3) {
    animation-delay: 0.3s;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 230px));
    justify-content: center;
    gap: 1.5rem;
    max-width: 1600px;
    margin: 0 auto;
}

/* Single item - center it */
.categories-grid:has(.category-card-link:only-child) {
    grid-template-columns: 230px;
}

/* Two items - center them */
.categories-grid:has(.category-card-link:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 230px);
}

/* Three items - center them */
.categories-grid:has(.category-card-link:nth-child(3):last-child) {
    grid-template-columns: repeat(3, 230px);
}


/* Five items - center them */
.categories-grid:has(.category-card-link:nth-child(5):last-child) {
    grid-template-columns: repeat(5, 230px);
}

/* Extra Large screens - Max 5 columns */
@media (min-width: 1400px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(230px, 230px));
        gap: 1.5rem;
        max-width: 1600px;
    }
}

/* Large screens - Max 4 columns */
@media (min-width: 1200px) and (max-width: 1399px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(230px, 230px));
        gap: 1.5rem;
        max-width: 1200px;
    }
}

/* Medium Large screens - Max 4 columns */
@media (min-width: 992px) and (max-width: 1199px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(230px, 230px));
        gap: 1.25rem;
        max-width: 1050px;
    }
}

/* Medium screens - Max 3 columns */
@media (min-width: 768px) and (max-width: 991px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(230px, 230px));
        gap: 1.25rem;
        max-width: 800px;
    }
}

/* Small screens - Max 2 columns */
@media (min-width: 576px) and (max-width: 767px) {
    .categories-grid {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        gap: 1rem;
        max-width: 500px;
    }
}

/* Extra Small screens - 1 column */
@media (max-width: 575px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 350px;
    }
}

/* Alternative CSS if :has() is not supported in older browsers */
/* Use this instead of the :has() selectors above */

/* Fallback - add these classes via JavaScript */
.categories-grid.single-item {
    grid-template-columns: 230px;
}

.categories-grid.two-items {
    grid-template-columns: repeat(2, 230px);
}

.categories-grid.three-items {
    grid-template-columns: repeat(3, 230px);
}

.categories-grid.four-items {
    grid-template-columns: repeat(4, 230px);
}

.categories-grid.five-items {
    grid-template-columns: repeat(5, 230px);
}