/* :root {
    --gold: #C59B2E;
    --gold-light: #DFBD69;
    --dark: #001742;
    --dark-grey: #001742;
    --light: #FAF9F6;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
} */

:root {
    --gold: #D4A437;
    --gold-light: #E8C76A;

    --dark: #123D6A;
    --dark-grey: #1E4E79;

    --light: #F9FBFF;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--dark-grey);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
.font-heading {
    font-family: var(--font-heading);
    font-weight: 600;

}

.text-gold {
    color: var(--gold) !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}

.bg-gold {
    background-color: var(--dark) !important;
}

.text-dark {
    --bs-text-opacity: 1;
    color: rgba(var(--dark), var(--bs-text-opacity)) !important;
}


/* --- Glassmorphism Navbar --- */
.glass-nav {
    /* background: rgba(15, 15, 15, 0.85); */
    background: var(--dark);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(197, 155, 46, 0.2);
    padding: 0px 0;
    transition: 0.4s;
}

.custom-link {
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
}

.custom-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background: var(--gold);
    bottom: 0;
    left: 0;
    transition: 0.3s;
}

.custom-link:hover::after,
.custom-link.active::after {
    width: 100%;
}

/* --- Premium Buttons --- */
.btn-premium {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 12px 35px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    display: inline-block;
    transition: 0.4s;
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-in-out;
}

.btn-premium:hover {
    color: #fff;
}

.btn-premium:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: linear-gradient(to right, rgba(15, 15, 15, 0.1) 0%, rgba(15, 15, 15, 0.1) 100%), url('../image/banner/1.jpeg') center/cover;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    margin-top: 80px;
}

.hero-subtitle {
    font-family: var(--font-body);
    letter-spacing: 4px;
    font-size: 12px;
    color: var(--gold);
    text-transform: uppercase;
}

/* --- Asymmetric Image Collage (Replicating the PDF) --- */
.collage-wrapper {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 5vw);
    gap: 15px;
    position: relative;
}

.collage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.img-1 {
    grid-column: 1 / 7;
    grid-row: 1 / 8;
}

.img-2 {
    grid-column: 7 / 13;
    grid-row: 2 / 7;
}

.img-3 {
    grid-column: 4 / 10;
    grid-row: 7 / 13;
    z-index: 2;
    margin-top: -30px;
    border: 10px solid var(--light);
}

.about-section-img .img-4 {
    grid-column: 4 / 10;
    grid-row: 5 / 12;
    z-index: 2;
    margin-top: -30px;
    border: 10px solid var(--light);
}


.collage-wrapper.about-section-img {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(8, 4vw);
    gap: 15px;
    position: relative;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: #ffffff;
}

/* --- Reveal Treatment Cards --- */
.treatment-card {
    height: 450px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.treatment-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.treatment-card:hover img {
    transform: scale(1.08);
}

.treatment-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 40px 30px 20px;
    color: #fff;
    transform: translateY(20px);
    transition: 0.4s ease;
}

.treatment-card:hover .treatment-info {
    transform: translateY(0);
}

.treatment-info p {
    opacity: 0;
    height: 0;
    transition: 0.4s ease;
    font-size: 14px;
    margin: 0;
}

.treatment-card:hover .treatment-info p {
    opacity: 1;
    height: auto;
    margin-top: 10px;
}

/* --- Video / Patient Speak --- */
.video-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(197, 155, 46, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.video-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--gold);
}

.nav-link:focus,
.nav-link:hover {
    color: #fff;
}

/* --- Floating Form --- */
.glass-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transform: translateY(-80px);
    /* Overlaps previous section */
}

.custom-input {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    padding: 15px 0;
    background: transparent;
    box-shadow: none !important;
}

.custom-input:focus {
    border-bottom-color: var(--gold);
}

/* --- Before & After Patient Cases --- */
.ba-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.ba-label {
    background: var(--dark);
    color: #fff;
    font-family: var(--font-heading);
    padding: 10px 20px;
    font-size: 14px;
    text-align: center;
    width: 50%;
    float: left;
    letter-spacing: 1px;
}

/* --- Smile Stories Grid --- */
.story-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 300px;
}

.story-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.story-card:hover img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.story-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px 20px 20px;
    color: #fff;
}

/* --- Parallax Banner --- */
.parallax-banner {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5)), url(../image/bg/2.jpg) center/cover fixed;
    padding: 120px 0;
    text-align: center;
    color: #fff;
}

/* --- Vertical Shorts / Reels --- */
.reel-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 500px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.reel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: #fff;
    text-align: center;
}

/* --- Technology Grid --- */
.tech-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.tech-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: grayscale(20%);
    transition: 0.4s;
}

.tech-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.tech-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 20px 15px 10px;
    color: #fff;
    font-family: var(--font-heading);
}

/* --- Blog Cards --- */
.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.blog-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

/* --- Swiper Carousel Customizations --- */
.swiper-pagination-bullet {
    background: #ccc;
    opacity: 0.5;
    width: 10px;
    height: 10px;
    transition: 0.3s;
}

.swiper-pagination-bullet-active {
    background: var(--gold);
    opacity: 1;
    width: 25px;
    /* Creates a pill shape for the active dot */
    border-radius: 5px;
}

/* Patient Cases Arrows */
.custom-swiper-nav {
    color: var(--gold) !important;
    background: #fff;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.custom-swiper-nav::after {
    font-size: 20px !important;
    font-weight: bold;
}

.custom-swiper-nav:hover {
    background: var(--gold);
    color: #fff !important;
}

/* Ensure reels overflow properly on the right side */
.reelsSwiper {
    padding-right: 50px;
    /* Gives a peek-a-boo effect for the next reel */
}

/* --- Asymmetric Treatment Grid --- */
.treatment-grid-card {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    /* Subtle border radius to keep it premium */
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.treatment-grid-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.treatment-grid-card:hover img {
    transform: scale(1.05);
}

.treatment-grid-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Tall gradient to ensure text readability */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    padding: 30px 25px 20px;
    color: #fff;
}

.treatment-grid-overlay h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.treatment-line {
    width: 40px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.6);
    transition: 0.4s ease;
}

.treatment-grid-card:hover .treatment-line {
    width: 80px;
    background-color: var(--gold);
    /* Turns gold on hover */
}

/* Define fixed heights for the masonry look on Desktop */
@media (min-width: 768px) {
    .h-tall {
        height: 450px;
    }

    .h-short {
        height: 250px;
    }

    .h-medium {
        height: 350px;
    }
}

/* Allow natural stacking heights on mobile */
@media (max-width: 767px) {

    .h-tall,
    .h-short,
    .h-medium {
        height: 300px;
    }
}

/* --- Modern Bento Box Grid (Treatments) --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    /* Base height for grid blocks */
    gap: 20px;
}

.bento-box {
    position: relative;
    border-radius: 24px;
    /* Highly modern rounded corners */
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.bento-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bento-box:hover img {
    transform: scale(1.08);
    /* Smooth zoom effect */
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
    pointer-events: none;
}

/* Glassmorphism Title Pill */
.bento-content {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.bento-pill {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0;
    transition: 0.4s ease;
}

.bento-box:hover .bento-pill {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

/* Animated Arrow Icon */
.bento-icon {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 18px;
    opacity: 0;
    /* Starts slightly down and left */
    transform: translate(-15px, 15px);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bento-box:hover .bento-icon {
    opacity: 1;
    transform: translate(0, 0);
    /* Slides up and right on hover */
    color: var(--gold);
}

/* --- Bento Grid Structural Spans --- */
/* Desktop Layout */
.bento-1 {
    grid-column: span 2;
    grid-row: span 2;
}

/* Large Left */
.bento-2 {
    grid-column: span 2;
    grid-row: span 1;
}

/* Top Right Wide */
.bento-3 {
    grid-column: span 1;
    grid-row: span 1;
}

/* Middle Right Small */
.bento-4 {
    grid-column: span 1;
    grid-row: span 1;
}

/* Middle Right Small */
.bento-5 {
    grid-column: span 2;
    grid-row: span 1;
}

/* Bottom Left Wide */
.bento-6 {
    grid-column: span 1;
    grid-row: span 1;
}

/* Bottom Right Small */
.bento-7 {
    grid-column: span 1;
    grid-row: span 1;
}

/* Bottom Right Small */

/* Tablet Layout */
@media (max-width: 991px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-1 {
        grid-column: span 2;
        grid-row: span 2;
    }

    .bento-2 {
        grid-column: span 2;
        grid-row: span 1;
    }

    .bento-3 {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-4 {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-5 {
        grid-column: span 2;
        grid-row: span 1;
    }

    .bento-6 {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-7 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Mobile Layout (Stacks everything nicely) */
@media (max-width: 575px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .bento-1,
    .bento-2,
    .bento-3,
    .bento-4,
    .bento-5,
    .bento-6,
    .bento-7 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

.reel-card a {
    color: #ffffff;
}

/* Testimonials Section */
.testimonials-section {
    padding: 0 20px 50px 20px;
    text-align: center;
    position: relative;
}

.testimonials-section h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
}

/* Swiper Container */
.testimonials-section .swiper-container {
    width: 100%;
    height: 400px;
}

.testimonials-section .swiper-slide {
    background-color: #e9e9e9;
    color: #333;
    padding: 30px;
    border-radius: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonials-section .testimonial-card {
    height: 100%;
}

.testimonials-section .stars {
    font-size: 20px;
    margin-bottom: 10px;
    color: #e67e22;
}

.testimonials-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.testimonials-section p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #666;
}

.testimonials-section .source {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.testimonials-section .icon {
    background-color: #000;
    color: white;
    padding: 8px;
    border-radius: 50%;
    font-size: 16px;
    width: 40px;
    height: 40px;
}

/* Swiper Navigation Buttons */
.testimonials-section .swiper-button-next,
.testimonials-section .swiper-button-prev {
    color: #000;
    font-size: 18px;
    top: 50%;
    z-index: 10;
    position: absolute;
}

/* Mobile responsive styling */
@media screen and (max-width: 768px) {
    .testimonials-section .swiper-container {
        height: 350px;
    }
}

#appointment {
    padding: 150px 0 100px;
}

.about-profile {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.about-profile img {
    width: 75%;
}



/* --- Multi-Level Dropdown Styling --- */

/* Base styling for the dropdown boxes */
.custom-dropdown,
.submenu-card {
    background-color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 0;
    min-width: 260px;
    margin-top: 15px;
    /* margin-top: 15px; */
    /* Spacing from navbar */
}

/* Create divider lines between items like the reference image */
.custom-dropdown>li,
.submenu-card>li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.custom-dropdown>li:last-child,
.submenu-card>li:last-child {
    border-bottom: none;
}

/* Style the links */
.dropdown-item {
    padding: 14px 20px;
    font-size: 14px;
    color: #333333;
    font-weight: 400;
    transition: 0.3s ease;
    white-space: normal;
    /* Prevents text from breaking layout */
}

/* Hover effects */
.dropdown-item:hover,
.dropdown-submenu:hover>.dropdown-item {
    background-color: var(--light);
    color: var(--gold);
}

.dropdown-item:hover .text-muted,
.dropdown-submenu:hover>.dropdown-item .text-muted {
    color: var(--gold) !important;
}

/* Desktop Hover Logic */
@media (min-width: 992px) {

    /* Main Dropdown open on hover */
    .nav-item.dropdown:hover>.dropdown-menu {
        display: block;
        animation: fadeDropdown 0.3s ease forwards;
    }

    /* Submenu positioning */
    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu .submenu-card {
        display: none;
        position: absolute;
        top: 0;
        left: 100%;
        /* Positions it to the exact right of the parent */
        margin-top: 0;
        margin-left: 0;
    }

    /* Show Submenu on hover */
    .dropdown-submenu:hover>.submenu-card {
        display: block;
        animation: fadeDropdown 0.3s ease forwards;
    }
}

/* Smooth fade-in animation */
@keyframes fadeDropdown {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Dropdown Fixes (Accordion Style) */
@media (max-width: 991px) {

    .custom-dropdown,
    .submenu-card {
        min-width: 100%;
        background: rgba(255, 255, 255, 0.05);
        /* Slight glass look on mobile */
    }

    .dropdown-item {
        color: #ffffff;
        /* White text for dark mobile menu */
    }

    .dropdown-submenu .submenu-card {
        display: none;
        padding-left: 15px;
        /* Indent submenus on mobile */
        border: none;
        margin-top: 0;
    }

    /* Toggle class for mobile */
    .dropdown-submenu.open>.submenu-card {
        display: block;
    }
}



/* --- Dark 8-Grid Why Choose Us --- */
.dark-why-card {
    text-align: center;
    padding: 20px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dark-why-icon {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dark-why-title {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.4;
    transition: color 0.3s ease;
}

/* Hover Effects */
.dark-why-card:hover .dark-why-icon {
    transform: translateY(-10px) scale(1.1);
    color: var(--gold);
}

.dark-why-card:hover .dark-why-title {
    color: var(--gold);
}

.text-justify {
    text-align: justify;
}


/* accordion  */
.accordion {
    max-width: 800px;
    margin: auto;
    font-family: Arial, sans-serif;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
    background: transparent;
}

.accordion-header {
    cursor: pointer;
    padding: 15px;
    font-weight: bold;
    background: transparent;
    transition: background 0.3s;
    display: flex;
    justify-content: space-between;
}

.accordion-header:hover {
    background: #eaeaea;
}

.accordion-content {
    display: none;
    padding: 15px;
    /* background: #fff; */
}

/* --- Contact Page Styles --- */
.contact-info-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: flex-start;
    transition: 0.3s;
    border-left: 3px solid transparent;
}

.contact-info-box:hover {
    transform: translateX(10px);
    border-left-color: var(--gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.contact-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(197, 155, 46, 0.1);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
}

/* Grayscale Map for Luxury Feel */
.luxury-map iframe {
    width: 100%;
    height: 450px;
    border: 0;
    filter: grayscale(80%) contrast(1.2);
    transition: 0.5s;
}

.luxury-map iframe:hover {
    filter: grayscale(0%) contrast(1);
    /* Turns to color on hover */
}

/* --- Luxury Accordion Styles --- */
.custom-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: transparent;
    margin-bottom: 10px;
}

.custom-accordion .accordion-button {
    background-color: transparent !important;
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    padding: 20px 0;
    box-shadow: none !important;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--gold);
}

.custom-accordion .accordion-button::after {
    filter: grayscale(100%);
    transition: 0.3s ease;
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    filter: invert(70%) sepia(40%) saturate(600%) hue-rotate(5deg) brightness(95%) contrast(90%);
    /* Approximates Gold */
}

.custom-accordion .accordion-body {
    padding: 0 0 20px 0;
    color: #666;
    font-weight: 300;
    line-height: 1.8;
}

.hero-page {
    height: 60vh;
    background: linear-gradient(to right, rgba(15, 15, 15, 0.9), rgba(15, 15, 15, 0.4)), url('../image/bg/3.webp') center/cover fixed;
}

.cta-section {
    background: linear-gradient(rgba(26, 26, 26, 0.95), rgba(26, 26, 26, 0.95)), url('../image/bg/6.jpg') center/cover;
}

p.text-muted.fw-light {
    text-align: justify;
}

.list-unstyled .bg-gold {
    width: 35px;
    height: 35px;
    display: grid !important;
    place-content: center;

}

/* --- Luxury Hub Service Cards --- */
.hub-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: none;
    border-top: 4px solid var(--gold);
    /* The distinct gold line on top */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.hub-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.hub-img-wrapper {
    position: relative;
    height: 280px;
    width: 100%;
    overflow: hidden;
}

.hub-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.hub-card:hover .hub-img-wrapper img {
    transform: scale(1.05);
    /* Smooth zoom on hover */
}

.hub-icon-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: #111;
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hub-card-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hub-card-title {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--dark);
    margin-bottom: 15px;
}

.hub-card-desc {
    color: #666;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 15px;
}

/* Replicating the button from the screenshot */
.hub-btn-outline {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    background: transparent;
    border: 1px solid #222;
    color: #222;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    /* Pushes button to the very bottom */
}

.hub-btn-outline:hover {
    background: #222;
    color: #fff;
}


/* --- Smile Stories Styling --- */
.quote-icon {
    font-size: 60px;
    color: var(--gold);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -20px;
    z-index: 0;
}

.story-text {
    font-style: italic;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.star-rating {
    color: var(--gold);
    font-size: 14px;
    margin-bottom: 15px;
}

.story-image-container {
    position: relative;
}

.story-image-container::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--gold);
    z-index: -1;
    border-radius: 8px;
}


/* --- Cinematic Video Hero Styling --- */
.hero-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Full screen height */
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #000;
    /* Fallback */
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
    /* Ensures video fills area without stretching */
    filter: brightness(0.7);
    /* Dims the video slightly */
}

/* Gradient overlay to make text pop and fade into the next section */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(75deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-video-content {
    position: relative;
    z-index: 2;
    margin-top: 60px;
    /* Adjust for fixed navbar */
}

/* --- Scroll Down Animation --- */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.8;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gold);
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .hero-video-section {
        height: 80vh;
        /* Shorter on mobile for better UX */
    }

    .hero-video-section h1 {
        font-size: 2.5rem;
    }
}


.hero-video-section .swiper-button-next,
.hero-video-section .swiper-button-prev {
    display: none !important;
}


/* --- Text-Only Smile Stories Styling --- */
.story-card-text {
    background: #fff;
    padding: 60px 40px;
    border-radius: 0;
    /* Square edges look more architectural/luxury */
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-card-text:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--gold);
}

.big-quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 120px;
    line-height: 0;
    color: var(--gold);
    opacity: 0.15;
    position: absolute;
    top: 50px;
    left: 30px;
}

.story-card-text.dark-version {
    background: var(--dark-grey);
    border-color: var(--dark-grey);
    color: #fff;
}

.story-card-text.dark-version .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.story-accent-line {
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 25px;
}

.patient-name-tag {
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 20px;
}




.section-single-img {
    z-index: 1;
    object-fit: cover;
    height: 600px;
    width: 100%;
}

.nav-link .fa-angle-down {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .fa-angle-down {
    transform: rotate(180deg);
}



/* --- Luxury Footer Redesign --- */
.footer-main {
    /* background-color: #0a0a0a; */
    /* Deeper black for luxury feel */
    background-image: linear-gradient(to right, var(--dark), var(--dark)), url(./assets/image/bg/2.jpg);
    background-position: center;
    background-size: cover;
    border-top: 1px solid rgba(197, 155, 46, 0.2);
    color: #fff;
    padding-top: 100px;
    padding-bottom: 40px;
}

.footer-logo {
    filter: brightness(0) invert(1);
    /* Ensures logo is white if it has colors */
    max-height: 70px;
    margin-bottom: 30px;
}

.footer-heading {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 35px;
    display: block;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 300;
    display: block;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--gold) !important;
    transform: translateX(5px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-contact-item i {
    color: var(--gold);
    margin-top: 5px;
    margin-right: 15px;
    font-size: 16px;
}

.social-circle {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.4s ease;
    text-decoration: none;
}

.social-circle:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: #000;
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    margin-top: 60px;
    font-size: 12px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
}

.developer-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}


/* testimonial start */
/* --- Interactive Testimonial Cards --- */
.testimonial-hover-card {
    position: relative;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    background-color: #000;
    cursor: pointer;
}

.testimonial-hover-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0.85;
}

.testimonial-hover-card:hover img {
    transform: scale(1.1);
    filter: blur(3px) brightness(0.5);
}

/* The Overlay */
.testimonial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(0px);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 2;
}

.testimonial-hover-card:hover .testimonial-overlay {
    opacity: 1;
    backdrop-filter: blur(8px);
}

/* Typing Text Styling */
.typing-text {
    font-family: var(--font-heading);
    font-size: 22px;
    color: #fff;
    line-height: 1.5;
    font-style: italic;
    min-height: 150px;
    /* Prevents card jumping */
}

.typing-text::after {
    content: '|';
    color: var(--gold);
    animation: blink 0.7s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.patient-meta {
    margin-top: 30px;
    transform: translateY(20px);
    transition: 0.5s ease;
    opacity: 0;
}

.testimonial-hover-card:hover .patient-meta {
    transform: translateY(0);
    opacity: 1;
}

/* Static label before hover */
.static-name-label {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 1;
    transition: 0.3s ease;
}

.testimonial-hover-card:hover .static-name-label {
    opacity: 0;
}

/* testimonial end */
.dropdown-toggle::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: 1px solid var(--gold);
    border-right: 1px solid transparent;
    border-bottom: 0;
    border-left: 1px solid transparent;

}


@media(max-width:1300px) {
    .hero-video-content h1 {
        font-size: 35px;
    }

    .font-heading.display-5 {
        font-size: 2.5rem;
    }
}

@media(max-width:768px) {
    .section-single-img {
        z-index: 1;
        object-fit: cover;
        height: auto;
        width: 100%;
    }

    .navbar-collapse {
        flex-basis: 100%;
        flex-grow: 1;
        align-items: center;
        min-height: 100vh;
    }

	.hero-video-content h1 {
        font-size: 24px;
    }

    .hero-video-section {
        height: 100vh;
    }
}