@import url('https://fonts.googleapis.com/css2?family=Lobster+Two&family=Michroma&family=Momo+Signature&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&family=Tangerine:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geom:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Engagement&display=swap');

:root {
    /* Primary background – deep bronze stone */
    --bg: #2F2923;

    /* Glass / card background – refined warm glass */
    --card: rgba(220, 210, 198, 0.16);

    /* Glass overlay – subtle highlight */
    --glass: rgba(235, 226, 215, 0.18);

    /* Primary text – warm ivory */
    --white: #FAF7F3;

    /* Muted text – soft limestone */
    --muted: rgba(250, 247, 243, 0.78);

    /* Accent – rich champagne gold */
    --accent: #EAD6A8;

    /* Light background – polished marble */
    --light-bg: #FAF7F3;

    /* Dark text – carved bronze */
    --text-dark: #2E2A24;

    /* Secondary text – warm taupe */
    --text-light: #B7A58C;

    /* Layout */
    --radius: 18px;
    --container-width: 1200px;

    /* Bootstrap overrides */
    --bs-primary-bg-subtle: rgba(160, 140, 115, 0.14) !important;
    --bs-accordion-btn-focus-border-color: rgba(234, 214, 168, 0.6) !important;

    /* Bread / overlay gradient – smoother depth */
    --bread-overlay: linear-gradient(to bottom,
            #ead6a8d7,
            var(--bg));



}



* {
    box-sizing: border-box;
}

html,
body {
    /* height: 100%; */
    min-height: 100vh;
}

body {
    /* font-family: "Montserrat", sans-serif; */
    font-family: "Geom", sans-serif;
    background: var(--bg);

    color: var(--white) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

.button,
.button-light {
    position: relative;
    height: 3.5em;
    border: 3px ridge var(--accent);
    outline: none;
    background-color: transparent;
    color: white;
    transition: 1s;
    border-radius: 0.3em;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    padding: 15px 30px;
}

.button-light {
    color: var(--bg);
}

/* TOP HIGHLIGHT */
.button::after,
.button-light::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 3%;
    width: 95%;
    height: 40%;
    background-color: var(--bg);
    transition: 0.5s;
    transform-origin: center;
}

.button-light::after,
.button-light::before {
    background-color: #faf8f8 !important;
}

/* BOTTOM HIGHLIGHT */
.button::before,
.button-light::before {
    content: "";
    transform-origin: center;
    position: absolute;
    top: 80%;
    left: 3%;
    width: 95%;
    height: 40%;
    background-color: var(--bg);
    transition: 0.5s;
}

/* HOVER EFFECTS */
.button:hover::before,
.button:hover::after,
.button-light:hover::before,
.button-light:hover::after {
    transform: scale(0);
}

.button:hover,
.button-light:hover {
    box-shadow: inset 0px 0px 25px var(--accent);
}

@font-face {
    font-family: "Southmore";
    src: url("../fonts/Southmore.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "bookman";
    src: url("../fonts/BOOKmanOpti-Light.otf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

.cursive-text {
    /* font-family: "Momo Signature", cursive; */
    /* font-family: "Lobster Two", sans-serif; */
    /* font-family: "Engagement", cursive; */
    font-family: "Geom", sans-serif;
    color: var(--bg);
}


section {
    width: 95%;
    background: rgb(250, 248, 248);
    color: black;
    margin: 0 auto;
}

section:nth-of-type(2) {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}


section:last-of-type {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}


.section-title {
    font-size: 35px;
    font-weight: 700 !important;
}

/* NAVBAR */
header.navbar-custom {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1050;
    padding: 0.6rem 1rem;

}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    padding: 10px 0;
}

.brand-logo img {
    height: 100%;
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

nav {
    /* .navbar-custom { */
    box-shadow: 0 8px 20px #2f29237b;
    border-radius: 50px;
    padding: 0 10px;
    color: white;
    background: var(--bg);
}

.nav-link {

    font-size: 1.2rem;
    padding: 10px 20px;
    transition:
        all 0.3s ease;

    text-decoration: none;
    /* clean links */
    display: inline-block;
    position: relative;
}


.nav-link:hover,
.nav-link.active {
    color: var(--accent) !important;
}

/* Optional: add a nice underline effect */
.nav-link::after {
    content: '';
    display: block;
    height: 2px;
    width: 0;
    background: var(--accent);
    transition: width 0.3s ease;
    margin-top: 5px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


/* ---------- SERVICES LIST DROPDOWN ---------- */
.services-list {
    display: none;
    background-color: #fff;
    color: var(--bg);
    padding: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    width: 530px;
    z-index: 999;
    border-radius: 8px;
}

/* Show dropdown on hover - desktop only */
@media (min-width: 992px) {
    .nav-link:hover .services-list {
        display: block;
    }
}

a {
    color: #333;
}

/* Dropdown links */
.services-list a {
    text-decoration: none;
    padding: 10px 6px;
    display: block;
    transition: background 0.2s ease;
}

.services-list a:hover {
    background-color: #f0f0f0;
}


/* ---------- MOBILE RESPONSIVENESS ---------- */
@media (max-width: 991px) {
    .services-list {
        position: relative;
        width: 100% !important;
        min-width: 100%;
        box-shadow: none;
        padding-left: 0;
        padding-right: 0;
        background: #f8f8f8;
        margin-top: 6px;
        border-radius: 6px;
    }

    /* Convert dropdown grid into simple full-width list */
    .services-list .row {
        display: block;
    }

    .services-list .col-md-6 {
        width: 100%;
    }
}

/* ---------- MOBILE MENU STYLING ---------- */
#mobileMenu a {
    padding: 10px 0;
    font-size: 16px;
}

/* Navbar scroll effect smooth */
.navbar-custom {
    transition: all 0.3s ease-in-out;
}


.btn-cta {
    border-radius: 50px;
    border: 1px solid var(--bg);
    background: transparent;
    color: var(--bg);
    padding: 0.5rem 1.05rem;
    font-weight: 600;
}

a {
    text-decoration: none;
}

/* HERO */
.hero {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, var(--accent), var(--bg));
    color: var(--white);
}

.bread-crumb {
    width: 100%;
}

.breadcrumb {
    gap: 5px !important;
    /* background: var(--accent);
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 30px; */
}

.bread-crumb .section-title {
    text-shadow: 0px 0px 2px rgb(0, 0, 0);
}

.breadcrumb-item.active {
    color: var(--bg) !important;
}

.inner-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bread-overlay);
    z-index: 1;
}


.hero h1 {
    font-size: 2.8rem;
    color: var(--bg);
    font-weight: 700;
    text-shadow: 0px 0px 2px rgb(255, 255, 255);
    /* margin-top: 35px; */
    /* font-family: "bookman"; */
    /* font-family: "Lobster Two", sans-serif; */
    /* font-family: "Engagement", cursive; */
    font-family: "Geom", sans-serif;
}

.hero p.lead {
    color: white;
    font-size: 1.05rem;
    font-weight: 400;
}

/* small cards under hero */
.small-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card);
    padding: 5px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    width: 140px;
}

.small-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
}

/* video container */
.video-card {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.video-card img,
.video-card video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.stat-cards {
    justify-content: center;
}

.stat-card {
    background: var(--card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.2rem 1rem;
    border-radius: var(--radius);
    text-align: center;
    min-width: 140px;
}

.stat-card h3 {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-card p {
    margin: 0;
    margin-top: 4px;
    font-size: 0.9rem;
    color: var(--white);
}

.swiper-pagination-bullet-active {
    background-color: var(--bg) !important;
}

.swiper-slide {
    border-radius: 20px;
    height: -webkit-fill-available !important;
}

.swiper-slide img {
    height: -webkit-fill-available !important;
}

.video-card .swiper-slide img {
    height: 390px !important;
}

.why-cards .card {
    transition: all 0.5s ease;
}

.why-cards .card:hover {
    transform: scale(1.1) translateY(-10px) !important;
    cursor: pointer;
    box-shadow: 0 0 30px 3px rgba(0, 0, 0, 0.6);
}

/* SERVICES */
.services .card {
    border: none;
    border-radius: 14px;
    position: relative;
    z-index: 1;
    text-align: center;
    transition: all 0.3s ease;
    background: #faf8f8;
}

.services .card:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.service-title {
    /* font-weight: 700; */
    margin-top: 8px;
    font-size: 12px;
    color: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.services img {
    width: 70px;
}

/* WHY CHOOSE */
.why {
    padding: 3rem 0;
    text-align: center;
}

.why p.subtitle {
    margin-top: 0.5rem;
    font-weight: 500;
    color: #555;
}

.why-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
}

.why-cards .card {
    position: relative;
    width: 250px;
    padding: 1.5rem 1rem 1.5rem 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgb(0 0 0 / 0.1);
    font-size: 0.9rem;
    color: #333;
    background: #fefefe;
}

/* Card background colors */
.card-yellow {
    border: 5px solid var(--bg);
}

.card-purple {
    border: 5px solid var(--accent);
}

.card-pink {
    border: 5px solid var(--bg);
}

.card-blue {
    border: 5px solid var(--accent);
}

/* Colored icon circles */
.icon {
    position: absolute;
    top: -15px;
    left: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
}

.icon-yellow,
.icon-green {
    background: var(--accent);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 0px 0px 3px black;
}

.icon-green {
    background: var(--bg);
}

/* Card headings */
.why-cards .card h6 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.why-cards .card p {
    margin: 0;
    font-weight: 400;
    color: #555;
}

.why-cards .card:nth-child(1) {
    transform: rotate(-3deg);
}

.why-cards .card:nth-child(2) {
    transform: rotate(3deg);
}

.why-cards .card:nth-child(3) {
    transform: rotate(-3deg);
}

.why-cards .card:nth-child(4) {
    transform: rotate(3deg);
}

/* gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    border-radius: 20px;
}

.gallery-grid a:hover img {
    transform: scale(1.08);
}

.awards-section .container {
    background-color: var(--bg);
    color: white;
    padding: 100px;
    border-radius: 88px 0px 87px 0px;
    -webkit-border-radius: 88px 0px 87px 0px;
    -moz-border-radius: 88px 0px 87px 0px;
}


/* CONTACT */
.contact {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.contact .form-control {
    background: transparent;
    border: 1px solid var(--bg);
    color: var(--bg);
}

.contact label {
    color: var(--bg);
}

footer {
    padding: 28px 0;
    color: var(--muted);
    /* border-top: 1px solid rgba(255, 255, 255, 0.03); */
    margin-top: 40px;
    background: linear-gradient(to top,
            var(--accent),
            var(--bg));
}

footer li a:hover{
    color:var(--bg) !important;
}

/* small devices */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .brand-logo span {
        display: none;
    }
}

.swiper-pagination {
    bottom: -5px !important;
}


.compare-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.compare-container {
    position: relative;
    width: 100%;
    height: 250px;
    position: relative;
}

.compare-container img {
    width: 100%;
    height: 100%;
}

.compare-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.182);
    opacity: 0;
    transition: opacity 0.3s;
}

.compare-container:hover::after {
    opacity: 1;
}

.compare-before,
.compare-after {
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.compare-after {
    clip-path: inset(0 0 0 50%);
}




.compare-slider {
    position: absolute;
    bottom: 50%;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    appearance: none;
    height: 4px;
    background: transparent;
    cursor: pointer;
    z-index: 5;
}

.compare-slider::-webkit-slider-thumb {
    appearance: none;
    width: 3px;
    height: 250px;
    background: #fff;
}

.square {
    /* position: absolute;
    left: calc(47% + 0px);
    bottom: 50%;
    width: 20px;
    height: 20px;
    background-color: red;
    transform: translateY(50%); */
}

.services-section {
    padding: 50px 0;
}



.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.service-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    padding-bottom: 25px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.service-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.service-card h4 {
    font-size: 20px;
    margin: 18px 18px 10px;
    font-weight: 600;
    color: #272727;
}

.service-card p {
    margin: 0 18px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

}


@media(max-width:992px) {

    .nav-w-100 {
        width: 100% !important;
    }

    .equal-img {
        max-height: 350px !important;
        margin-bottom: 0 !important;
    }

    .section-title {
        margin: 10px !important;
    }

    .hero {
        background: linear-gradient(to bottom,
                var(--accent) 0%,
                var(--bg) 20%,
                var(--bg) 100%);
    }

    #mobileMenuToggle {
        color: var(--bg);
        border: 1px solid var(--bg) !important;

    }

    .nav-link {
        color: var(--bg) !important;
    }

    .inner-hero {
        /* height: 45vh !important; */
    }

    .awards-section .container {
        padding: 50px 16px !important;
    }

    .container {
        width: 100%;
    }

    .hero .container {
        width: 90%;
    }

    .section-title {
        text-align: center;
        font-size: 30px;
    }

}

#dental-health {
    border-radius: 20px;
    -webkit-border-radius: 88px 0px 87px 0px;
    border: 1px solid rgba(0, 0, 0, 0.129);
    max-height: 700px;
    overflow: hidden;
}

#dental-health .right-img {
    background: white;
    background: url('../images/Gemini_Generated_Image_riitrsriitrsriit.jpg');
    background-size: contain;
    background-position: top;
    background-repeat: no-repeat;
}

#dental-health button {
    color: black;
}

#dental-health button::after,
#dental-health button::before {
    background-color: var(--accent) !important;
}

#dental-health .section-title {
    font-size: 2rem;
    font-weight: 700;
}

#dental-health p {
    font-size: 1rem;
    line-height: 1.6;
}



/* New Card Design (Using info-card-alt for Types of Crowns) */
.info-card-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Info Card Alt Design */
.info-card-alt {
    position: relative;
    width: 250px;
    height: 350px;
    border-radius: 12px;
    background-color: #ffffff;
    color: black;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    text-align: center;
}

.info-card-alt:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

/* Icon Style */
.info-card-alt .info-card-icon {
    font-size: 3rem;
    margin-top: 30px;
    color: var(--bg);
    /* Using primary color for icon */
}

/* Content Style */
.info-card-alt .info-card-content {
    padding: 20px;
    background-color: var(--light-bg);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 12px;
}

.info-card-alt h5 {
    font-size: 1.1rem;
    color: var(--bg);
    font-weight: bold;
    margin: 15px 0;
}

.info-card-alt p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.4;
}

/* Floating Button */
.floating-appt-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--accent);
    color: #fff;
    padding: 14px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: 0.3s ease;
}

.floating-appt-btn:hover {
    background: var(--bg);
    color: #fff;
    transform: translateY(-3px);
}


.info-card {
    position: relative;
    /* width: 300px; */
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 8px 0;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.info-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.info-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover .info-card-content {
    opacity: 1;
}

.info-card h5 {
    font-size: 1.2rem;
    font-weight: 600;
}

.info-card p {
    font-size: 1rem;
    line-height: 1.4;
    margin: 10px 0;
}

/* Floating Button */
.floating-appt-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--accent);
    color: #fff;
    padding: 14px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: 0.3s ease;
}

.floating-appt-btn:hover {
    background: var(--bg);
    color: #fff;
    transform: translateY(-3px);
}

.type-card {
    background: linear-gradient(135deg, var(--bg));
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #fff;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.type-card i {
    font-size: 50px;
    margin-bottom: 15px;
    color: #fff;
    transition: transform 0.3s ease;
}

.type-card:hover i {
    transform: scale(1.2);
}

.type-card h5 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.type-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.equal-img {
    width: 100%;
    height: auto;
    /* natural height */
    max-height: 500px;
    /* you can adjust this value */
    object-fit: cover;
    border-radius: 8px;
}

.commonlist {
    list-style: none;
    /* remove default bullets */
    padding-left: 0;
}

.commonlist li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.commonlist li::before {
    content: "\F26A";
    /* Unicode for check in Bootstrap icons */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--bg);
    /* green tick color */
    font-size: 1rem;
}

.service-sidebar {
    position: sticky;
    top: 135px;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    height: 550px;
    overflow: auto;
}

.service-sidebar a {
    display: block;
    padding: 10px 12px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 5px;
    font-weight: 500;
    border-bottom: 1px solid var(--bg);
}

.service-sidebar a:hover,
.service-sidebar a.active {
    background: var(--accent);
    color: var(--bg) !important;
}

.service-sidebar i {
    color: var(--accent);
}

.service-sidebar a:hover i,
.service-sidebar a.active i {
    color: var(--bg) !important;
}


.awards-header {
    text-align: center;
    margin-bottom: 3rem;
}

.awards-timeline {
    position: relative;
}

.awards-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent) 0%, var(--bg) 100%);
    display: none;
}

@media (min-width: 768px) {
    .awards-timeline::before {
        display: block;
    }

}

.timeline-item {
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .timeline-item {
        display: flex;
        margin-bottom: 4rem;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 0;
        margin-right: auto;
        width: calc(50% - 2rem);
        text-align: right;
    }

    .timeline-item:nth-child(even) .timeline-content {
        margin-left: auto;
        margin-right: 0;
        width: calc(50% - 2rem);
        text-align: left;
    }

    .timeline-dot {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 20px;
        height: 20px;
        background: var(--accent);
        border: 4px solid white;
        border-radius: 50%;
        z-index: 2;
        top: 1rem;
        box-shadow: 0 0 0 4px var(--bg);
    }
}

@media (max-width: 767px) {

    .small-card {
        width: 100%;
    }

    .timeline-item {
        padding-left: 2rem;
        position: relative;
    }

    .timeline-item::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 3px;
        height: 100%;
        background: linear-gradient(180deg, var(--accent) 0%, var(--bg) 100%);
    }

    .timeline-dot {
        position: absolute;
        left: -9.5px;
        width: 16px;
        height: 16px;
        background: var(--accent);
        border: 3px solid white;
        border-radius: 50%;
        z-index: 2;
        top: 1rem;
        box-shadow: 0 0 0 3px var(--bg);
    }

    .timeline-content {
        text-align: left !important;
    }
}

.timeline-content {
    position: relative;
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--bg);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: #f0ebe3;
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
    .timeline-item:nth-child(odd) .timeline-content:hover {
        transform: translateX(-8px);
    }
}

.badge {
    background: var(--bg);
    color: var(--accent);
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 50px;
}

.award-badge {
    display: inline-block;
    background: var(--bg);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.award-badge.highlight {
    background: var(--accent);
    color: var(--bg);
}

.award-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bg);
    margin-bottom: 0.5rem;
}

.award-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.award-location {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    margin-top: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Floating Call & WhatsApp */
.floating-actions {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.float-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Individual colors */
.call-btn {
    background: linear-gradient(135deg, #1e7d4d, #0f5132);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .floating-actions {
        right: 14px;
        bottom: 14px;
    }
}


/* updation */

/* =========================
   Experience Section
========================= */

.breadcrumb-item+.breadcrumb-item::before {
    color: white;
}


.experience-section .service-card {
    background: white;
    /* border-radius: 7px 180px 200px 200px; */
    border-radius: 6px;
    padding: 20px 10px;
    height: 100%;
    position: relative;
    transition: transform 0.4s ease;
}

.experience-section .service-card:hover {
    transform: translateY(-15px);
    cursor: pointer;
}

.experience-section .service-card h4 {
    font-size: 26px;
    font-weight: 700;
    color: var(--bg);
    margin-bottom: 15px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.experience-section .service-card p {
    /* color: var(--accent); */
    font-size: 16px;
    margin-bottom: 35px;
}

/* Image Circle */
.image-wrapper {
    position: relative;
    /* width: 240px; */
    height: 300px;
    margin: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    /* border-radius: 10px; */
    border: 9px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

/* Responsive */
@media (max-width: 768px) {


    .image-wrapper {
        width: 87%;
        height: 250px;
    }

    .experience-section .service-card h4 {
        font-size: 22px;
    }
}


.invest-smile-section {
    padding: 50px 0;
    overflow: hidden;
}

/* Left content */
.invest-title {
    font-size: 55px;
    font-weight: 800;
    line-height: 1.1;
}

.invest-title span {
    display: block;
}

.invest-text {
    margin: 25px 0 35px;
    font-size: 16px;
    color: #5f6c7b;
    max-width: 90%;
}

.invest-btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
    background: var(--bg);
    color: var(--accent);
}

.invest-btn:hover {
    background: var(--accent);
    color: var(--bg);
}

/* Center Image */
.tooth-image-wrapper {
    display: flex;
    justify-content: center;
}

.tooth-image-wrapper img {
    /* max-width: 100%; */
    width: 500px;
    filter: drop-shadow(0 20px 60px #EAD6A8);
}

/* Right features */
.feature-box {
    border-bottom: 1px solid #16433656;
    margin-bottom: 17px;
    cursor: pointer;
}



.feature-box h5 {
    font-size: 20px;
    font-weight: 700;
    color: var(--bg);
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-box p {
    font-size: 15px;
    color: #5f6c7b;
    margin-top: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
}



/* Responsive */
@media (max-width: 991px) {
    .invest-title {
        font-size: 42px;
    }

    .invest-text {
        max-width: 100%;
    }
}

.youtube-player-section {
    padding: 80px 0;
    background: #f6f8fb;
}

/* Sidebar */
.video-sidebar {
    background: #ffffff;
    border-radius: 18px 35px 35px 18px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-height: 465px;
    overflow-y: auto;
}

.video-sidebar h4 {
    font-size: 20px;
    font-weight: 700;
    color: #0b1c3f;
    margin-bottom: 16px;
}

/* Video List */
.video-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.video-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-item img {
    width: 80px;
    height: 55px;
    object-fit: cover;
    border-radius: 8px;
}

.video-item span {
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    line-height: 1.4;
}

/* Hover & Active */
.video-item:hover {
    background: #eef3f9;
}

.video-item.active {
    background: var(--bg);
}

.video-item.active span {
    color: #ffffff;
}

/* Player */
.video-player {
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-player iframe {
    width: 100%;
    height: 460px;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .video-player iframe {
        height: 260px;
    }


}

.mockup {
    padding: 35px 0;
}

.mockup .img {
    max-width: 900px;
    margin: 0px auto;
}

.invisalign-logo {
    width: 250px;
}

.transform-card {
    padding: 10px;
}

.transform-card img {
    border-radius: 15px;
    box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.267);
}


.feature-images {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    padding: 20px;
}

.feature-image {
    flex: 1 1 45%;
    max-width: 400px;
    max-height: 300px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

/* Hover effect */
.feature-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Tablet */
@media (max-width: 768px) {
    .feature-image {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .feature-images {
        padding: 10px;
        gap: 15px;
    }

    .feature-image {
        border-radius: 8px;
    }
}

/* Footer Social Icons */
.footer-social .social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Hover animation */
.footer-social .social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    background:var(--bg);
}

