/* ======================================== */
/* DENTAL HERO SECTION - WARM THEME */
/* ======================================== */

.dental-hero {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #e8dcc8 0%, #f5efe6 100%);
}

/* Decorative Elements */
.dental-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 115, 85, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.dental-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(196, 154, 108, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* ======================================== */
/* LEFT PANEL - WARM THEME */
/* ======================================== */

.teal-panel {
    flex: 1.2;
    background: linear-gradient(135deg, #4A3228 0%, #6B5544 50%, #8B6B4A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
    z-index: 2;
    position: relative;
    overflow: hidden;
}

/* Panel Decorative Background */
.teal-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 154, 108, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatBlob 20s ease-in-out infinite;
}

.teal-panel::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 115, 85, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatBlob 25s ease-in-out infinite reverse;
}

@keyframes floatBlob {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.content-wrapper {
    max-width: 600px;
    position: relative;
    z-index: 3;
}

/* ======================================== */
/* BADGE/TAG */
/* ======================================== */

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.sub-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 15px;
    text-transform: uppercase;
    position: relative;
    padding-left: 20px;
}

.sub-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: linear-gradient(to bottom, #C49A6C, #E8B86D);
    border-radius: 10px;
}

.main-heading {
    color: #ffffff;
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

.main-heading span {
    background: linear-gradient(135deg, #E8B86D, #C49A6C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ======================================== */
/* HERO DESCRIPTION */
/* ======================================== */

.hero-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 20px;
    max-width: 500px;
}

/* ======================================== */
/* CTA BUTTON - MATCHING ROOM SECTION */
/* ======================================== */

.hero-cta {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #8B6B4A 0%, #A8825A 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(139, 115, 85, 0.4);
    background: linear-gradient(135deg, #6B5544 0%, #8B6B4A 100%);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-decoration: none;
}

/* ======================================== */
/* ✅ FIXED: RIGHT IMAGE SECTION - NO CUTTING */
/* ======================================== */

.image-panel {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    background: #3D2D22;
}

.image-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 50, 40, 0.1), rgba(107, 85, 68, 0.05));
    z-index: 1;
    pointer-events: none;
}

.image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ✅ Container ko poora bharega */
    object-position: 20% center;
    /* ✅ Left side se cut karega, building focus */
    transition: transform 0.8s ease;
    display: block;
}

.image-panel:hover img {
    transform: scale(1.02);
}

/* ======================================== */
/* FLOATING UI TABS - WARM THEME */
/* ======================================== */

.floating-tabs {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 2;
}

.tab {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tab.blue {
    background: linear-gradient(135deg, #6B5544 0%, #8B6B4A 100%);
    color: #ffffff;
    border-radius: 4px 0 0 4px;
    box-shadow: -5px 0 20px rgba(107, 85, 68, 0.3);
}

.tab.white {
    background: rgba(255, 255, 255, 0.95);
    color: #4A3228;
    border-radius: 4px 0 0 4px;
    box-shadow: -2px 2px 15px rgba(107, 85, 68, 0.15);
    backdrop-filter: blur(10px);
}

.tab.white:hover {
    background: #ffffff;
    transform: translateX(-5px);
    box-shadow: -5px 5px 25px rgba(107, 85, 68, 0.2);
}

.tab.blue:hover {
    background: linear-gradient(135deg, #8B6B4A 0%, #C49A6C 100%);
    transform: translateX(-5px);
    box-shadow: -5px 0 30px rgba(107, 85, 68, 0.4);
}

.tab-icon {
    font-size: 18px;
}

/* Tab Active Indicator */
.tab.active {
    position: relative;
}

.tab.active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 3px;
    background: #ffffff;
    border-radius: 10px;
}

.tab.white.active::after {
    background: #8B6B4A;
}

/* ======================================== */
/* ANIMATIONS */
/* ======================================== */

.animate-top {
    opacity: 0;
    animation: dropIn 1s ease-out forwards;
}

.main-heading.animate-top {
    animation-delay: 0.3s;
}

.animate-right {
    opacity: 0;
    animation: slideFromRight 1.2s ease-out forwards;
}

.animate-fade {
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards;
}

@keyframes dropIn {
    0% {
        opacity: 0;
        transform: translateY(-60px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ======================================== */
/* FLOATING STATS ON IMAGE */
/* ======================================== */

.floating-stats {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px 30px;
    border-radius: 15px;
    z-index: 2;
    box-shadow: 0 15px 40px rgba(107, 85, 68, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    gap: 30px;
    opacity: 0;
    animation: slideFromBottom 1.2s ease-out forwards 0.6s;
}

@keyframes slideFromBottom {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-stat-item {
    text-align: center;
}

.floating-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #4A3228;
    display: block;
}

.floating-stat-label {
    font-size: 0.8rem;
    color: #6B5544;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ======================================== */
/* RESPONSIVE */
/* ======================================== */

@media (max-width: 1024px) {
    .main-heading {
        font-size: 48px;
    }

    .dental-hero {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .teal-panel {
        padding: 80px 40px;
        min-height: 50vh;
        flex: none;
        width: 100%;
    }

    .image-panel {
        min-height: 50vh;
        max-height: 60vh;
        flex: none;
        width: 100%;
    }

    .image-panel img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* ✅ Yahan bhi cover karein */
        object-position: 20% center;
        /* ✅ Left side se cut karein */
    }

    .floating-tabs {
        right: 10px;
    }

    .floating-stats {
        bottom: 20px;
        left: 20px;
        padding: 15px 20px;
        gap: 20px;
    }

    .floating-stat-number {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .main-heading {
        font-size: 36px;
    }

    .teal-panel {
        padding: 60px 30px;
        min-height: 45vh;
    }

    .content-wrapper {
        max-width: 100%;
    }

    .hero-description {
        font-size: 1rem;
    }

    .image-panel {
        min-height: 40vh;
        max-height: 50vh;
    }

    .floating-tabs {
        display: none;
    }

    .floating-stats {
        bottom: 15px;
        left: 15px;
        right: 15px;
        padding: 12px 15px;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .floating-stat-number {
        font-size: 1.2rem;
    }

    .hero-cta {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .main-heading {
        font-size: 28px;
    }

    .teal-panel {
        padding: 40px 20px;
        min-height: 40vh;
    }

    .sub-title {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .hero-badge {
        font-size: 10px;
        padding: 4px 14px;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .image-panel {
        min-height: 30vh;
        max-height: 40vh;
    }

    .floating-stats {
        flex-direction: row;
        gap: 10px;
        padding: 10px 15px;
    }

    .floating-stat-number {
        font-size: 1rem;
    }

    .floating-stat-label {
        font-size: 0.7rem;
    }

    .hero-cta {
        padding: 10px 25px;
        font-size: 0.8rem;
        width: 100%;
        text-align: center;
    }
}

/* ======================================== */
/* SCROLL INDICATOR */
/* ======================================== */

.scroll-indicator-hero {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 3;
    animation: bounceScroll 2s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.scroll-indicator-hero i {
    font-size: 20px;
}

@keyframes bounceScroll {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ======================================== */
/* DARK MODE - WARM THEME */
/* ======================================== */

@media (prefers-color-scheme: dark) {
    .dental-hero {
        background: linear-gradient(135deg, #2A1F18 0%, #3D2D22 100%);
    }

    .teal-panel {
        background: linear-gradient(135deg, #2A1F18 0%, #3D2D22 50%, #4A3228 100%);
    }

    .teal-panel::before {
        background: radial-gradient(circle, rgba(196, 154, 108, 0.08) 0%, transparent 70%);
    }

    .teal-panel::after {
        background: radial-gradient(circle, rgba(139, 115, 85, 0.1) 0%, transparent 70%);
    }

    .main-heading span {
        background: linear-gradient(135deg, #C49A6C, #E8B86D);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .floating-stats {
        background: rgba(42, 31, 24, 0.95);
        border-color: rgba(196, 154, 108, 0.1);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    }

    .floating-stat-number {
        color: #F5E6D3;
    }

    .floating-stat-label {
        color: #D4C5B5;
    }

    .tab.white {
        background: rgba(42, 31, 24, 0.95);
        color: #C49A6C;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(196, 154, 108, 0.1);
    }

    .tab.white:hover {
        background: #2A1F18;
        box-shadow: -5px 5px 25px rgba(0, 0, 0, 0.3);
    }

    .tab.white.active::after {
        background: #C49A6C;
    }

    .tab.blue {
        background: linear-gradient(135deg, #4A3228 0%, #6B5544 100%);
    }

    .tab.blue:hover {
        background: linear-gradient(135deg, #6B5544 0%, #8B6B4A 100%);
    }

    .image-panel::before {
        background: linear-gradient(135deg, rgba(42, 31, 24, 0.1), rgba(74, 50, 40, 0.05));
    }

    .image-panel {
        background: #1A120E;
    }

    .dental-hero::before {
        background: radial-gradient(circle, rgba(196, 154, 108, 0.04) 0%, transparent 70%);
    }

    .dental-hero::after {
        background: radial-gradient(circle, rgba(139, 115, 85, 0.03) 0%, transparent 70%);
    }

    .sub-title::before {
        background: linear-gradient(to bottom, #C49A6C, #E8B86D);
    }

    .scroll-indicator-hero {
        color: rgba(255, 255, 255, 0.3);
    }
}

/* ======================================== */
/* ROOT VARIABLES - WARM THEME */
/* ======================================== */

:root {
    --dental-primary: #8B6B4A;
    --dental-primary-light: #A8825A;
    --dental-primary-lighter: #C49A6C;
    --dental-primary-dark: #6B5544;
    --dental-primary-darker: #4A3228;
    --dental-gold: #E8B86D;
    --dental-bg-start: #e8dcc8;
    --dental-bg-end: #f5efe6;
}

/* ======================================== */
/* FAQ SECTION - WARM THEME */
/* ======================================== */

.faq-section {
    padding: 100px 60px;
    background: linear-gradient(135deg, #f5efe6 0%, #e8dcc8 100%);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 115, 85, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-sub-title {
    color: #8B6B4A;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.faq-sub-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: linear-gradient(to bottom, #C49A6C, #E8B86D);
    border-radius: 10px;
}

.faq-main-heading {
    color: #4A3228;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 15px 0;
}

.faq-main-heading span {
    background: linear-gradient(135deg, #C49A6C, #8B6B4A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-description {
    color: #6B5544;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(107, 85, 68, 0.08);
    border: 1px solid rgba(139, 115, 85, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(107, 85, 68, 0.15);
    transform: translateY(-2px);
}

.faq-item.active {
    box-shadow: 0 15px 40px rgba(107, 85, 68, 0.15);
    border-color: rgba(196, 154, 108, 0.3);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: all 0.3s ease;
}

.faq-question span {
    color: #4A3228;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
}

.faq-icon {
    font-size: 24px;
    font-weight: 400;
    color: #8B6B4A;
    transition: all 0.4s ease;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 115, 85, 0.1);
    border-radius: 50%;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: linear-gradient(135deg, #8B6B4A, #C49A6C);
    color: #ffffff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    color: #6B5544;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(139, 115, 85, 0.1);
}

/* ======================================== */
/* FAQ RESPONSIVE */
/* ======================================== */

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 25px;
    }

    .faq-main-heading {
        font-size: 32px;
    }

    .faq-description {
        font-size: 1rem;
    }

    .faq-question {
        padding: 20px 20px;
    }

    .faq-question span {
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .faq-section {
        padding: 40px 15px;
    }

    .faq-main-heading {
        font-size: 26px;
    }

    .faq-question {
        padding: 18px 15px;
        gap: 10px;
    }

    .faq-question span {
        font-size: 0.9rem;
    }

    .faq-icon {
        width: 26px;
        height: 26px;
        font-size: 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 15px 15px 15px;
    }
}