/* SEDEF KLİNİK - Modern Design System & CSS */

:root {
    --primary-teal: #09a89c;
    --primary-teal-hover: #078c82;
    --primary-teal-light: rgba(9, 168, 156, 0.1);
    --dark-navy: #070c14;
    --dark-navy-card: #0c1524;
    --light-bg: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    
    --font-main: 'Outfit', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    --card-shadow-hover: 0 20px 40px rgba(9, 168, 156, 0.08);
}

/* General Reset & Reset Defaults */
body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6 {
    color: #ffffff !important;
}

p {
    color: var(--text-muted);
}

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

.bg-light-section {
    background-color: var(--light-bg);
}

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

/* Custom Buttons & Interactions */
.btn-teal-cta {
    background-color: var(--primary-teal);
    color: #ffffff;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    border: 2px solid var(--primary-teal);
    transition: var(--transition-smooth);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-teal-cta:hover {
    background-color: var(--primary-teal-hover);
    border-color: var(--primary-teal-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(9, 168, 156, 0.3);
}

.btn-whatsapp-cta {
    background-color: var(--primary-teal);
    color: #ffffff;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    border: 2px solid var(--primary-teal);
    transition: var(--transition-smooth);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp-cta:hover {
    background-color: var(--primary-teal-hover);
    border-color: var(--primary-teal-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(9, 168, 156, 0.3);
}

.btn-outline-white-cta {
    background-color: transparent;
    color: #ffffff;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition-smooth);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-white-cta:hover {
    background-color: #ffffff;
    color: var(--dark-navy);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.btn-outline-teal {
    background-color: transparent;
    color: var(--primary-teal);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    border: 2px solid var(--primary-teal);
    transition: var(--transition-smooth);
    font-size: 0.9rem;
}

.btn-outline-teal:hover {
    background-color: var(--primary-teal);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(9, 168, 156, 0.2);
}

/* Header & Navbar */
.main-navbar {
    background-color: transparent;
    transition: var(--transition-smooth);
    z-index: 1050;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.main-navbar.scrolled {
    background-color: rgba(7, 12, 20, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-container {
    width: 44px;
    height: 44px;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid var(--primary-teal);
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
    line-height: 1;
}

.brand-sub {
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 3.5px;
    color: var(--primary-teal);
    line-height: 1;
    margin-top: 2px;
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    padding: 8px 16px !important;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    position: relative;
}

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

.navbar-nav .nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: var(--primary-teal);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.navbar-nav .nav-link:not(.dropdown-toggle).active::after,
.navbar-nav .nav-link:not(.dropdown-toggle):hover::after {
    transform: scaleX(1);
}

/* Navbar Dropdown Premium Styling */
.main-navbar .dropdown-menu {
    background: rgba(12, 21, 36, 0.96) !important; /* Dark navy matching theme cards */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 10px 0 !important;
    margin-top: 10px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.3s ease;
}

.main-navbar .dropdown-item {
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.75) !important;
    padding: 8px 20px !important;
    letter-spacing: 0.5px !important;
    transition: var(--transition-smooth) !important;
    background: transparent !important;
}

.main-navbar .dropdown-item:hover {
    background-color: var(--primary-teal-light) !important;
    color: var(--primary-teal) !important;
    transform: translateX(4px);
}

.main-navbar .dropdown-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.main-navbar .dropdown-toggle::after {
    vertical-align: 0.15em !important;
    margin-left: 0.35em !important;
    transition: transform 0.2s ease !important;
}

.main-navbar .dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Hover Dropdown on Desktop */
@media (min-width: 992px) {
    .main-navbar .dropdown:hover .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    .main-navbar .dropdown-menu {
        display: block !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(10px) !important;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 80px;
    background-color: var(--dark-navy);
    display: flex;
    align-items: center;
    color: #ffffff;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 75% 50%, rgba(9, 168, 156, 0.22) 0%, transparent 75%),
                linear-gradient(90deg, var(--dark-navy) 0%, var(--dark-navy) 25%, transparent 85%);
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    opacity: 1.0;
    filter: brightness(1.1) contrast(1.03) saturate(1.05); /* Boost vibrancy and brightness */
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tagline {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-teal);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 35px;
    max-width: 520px;
}

/* Premium Slider Content Animations (Fade In Up + Ken Burns Image Zoom) */
.carousel-item .hero-title, 
.carousel-item .hero-desc, 
.carousel-item .hero-content .d-flex {
    opacity: 0;
}

.carousel-item.active .hero-title {
    animation: fadeInUpSlider 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.carousel-item.active .hero-desc {
    animation: fadeInUpSlider 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.25s forwards;
}

.carousel-item.active .hero-content .d-flex {
    animation: fadeInUpSlider 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.45s forwards;
}

.carousel-item.active .hero-bg-image {
    animation: kenBurnsSlider 15s ease-out forwards;
}

@keyframes fadeInUpSlider {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes kenBurnsSlider {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

.hero-badge-container {
    margin-top: 45px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 20px;
    border-radius: 12px;
    display: inline-flex;
    backdrop-filter: blur(5px);
}

.hero-badge-icon {
    font-size: 2rem;
    color: var(--primary-teal);
    line-height: 1;
}

.hero-badge-text h6 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 0.95rem;
}

.hero-badge-text p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
    font-size: 0.8rem;
}

/* Slider Controls */
.hero-slider-prev,
.hero-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(9, 168, 156, 0.3);
}

.hero-slider-prev { left: 30px; }
.hero-slider-next { right: 30px; }

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.hero-dot.active {
    background: var(--primary-teal);
    width: 24px;
    border-radius: 4px;
}

/* Section Header styling */
.section-tagline {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-teal);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark-navy);
    line-height: 1.2;
}

/* Treatments Section */
.treatment-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px 25px 25px 25px;
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--card-shadow);
}

.treatment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(9, 168, 156, 0.2);
}

.treatment-icon-container {
    width: 60px;
    height: 60px;
    background-color: var(--primary-teal-light);
    color: var(--primary-teal);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.75rem;
    transition: var(--transition-smooth);
}

.treatment-card:hover .treatment-icon-container {
    background-color: var(--primary-teal);
    color: #ffffff;
    transform: rotate(6deg);
}

.treatment-image-container {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.treatment-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.treatment-card:hover .treatment-image-container {
    transform: scale(1.08) rotate(4deg);
    box-shadow: 0 6px 15px rgba(9, 168, 156, 0.25);
    border-color: var(--primary-teal);
}

.treatment-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.treatment-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.treatment-link {
    color: var(--primary-teal);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.treatment-link i {
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.treatment-card:hover .treatment-link {
    color: var(--primary-teal-hover);
}

.treatment-card:hover .treatment-link i {
    transform: translateX(4px);
}

/* Why Us Section */
.why-feature-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: var(--card-shadow);
    height: 100%;
}

.why-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(9, 168, 156, 0.15);
}

.why-icon {
    font-size: 1.75rem;
    color: var(--primary-teal);
    background-color: var(--primary-teal-light);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.why-desc {
    font-size: 0.8rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

/* Campaigns Section */
.campaign-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--card-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.campaign-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(9, 168, 156, 0.2);
}

.campaign-img-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.campaign-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.campaign-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-featured {
    background-color: #ef4444; /* Red badge */
}

.badge-popular {
    background-color: #f59e0b; /* Amber badge */
}

.badge-deal {
    background-color: var(--primary-teal); /* Teal badge */
}

.campaign-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.campaign-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.campaign-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-teal);
    margin-bottom: 12px;
}

.campaign-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Testimonials / Happy Patients Section */
.testimonials-section {
    position: relative;
    padding: 100px 0;
    background-color: #ffffff;
}

.testimonial-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(9, 168, 156, 0.1);
}

.patient-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.patient-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-teal);
}

.patient-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.stars {
    color: #f59e0b;
    font-size: 0.8rem;
}

.testimonial-text {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.6;
}

.clinic-interior-bg {
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    min-height: 350px;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.clinic-interior-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(7, 12, 20, 0.8) 0%, rgba(7, 12, 20, 0.2) 100%);
}

.clinic-interior-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    color: #ffffff;
}

/* Contact & Info Forms */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.contact-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.form-control, .form-select {
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-family: var(--font-main);
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 4px rgba(9, 168, 156, 0.1);
}

/* Footer elements */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-teal);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-icon:hover {
    background-color: var(--primary-teal);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(9, 168, 156, 0.3);
}

.badge-metro {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 8px;
    display: inline-flex;
}

/* Floating Contact Buttons Container */
.floating-contact-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    z-index: 9999;
}

.floating-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.floating-btn i {
    font-size: 1.25rem;
}

.floating-btn-whatsapp {
    background-color: #25d366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.floating-btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.03);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.floating-btn-phone {
    background-color: #09a89c;
    box-shadow: 0 4px 15px rgba(9, 168, 156, 0.35);
}

.floating-btn-phone:hover {
    transform: translateY(-3px) scale(1.03);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(9, 168, 156, 0.5);
}

@media (max-width: 575.98px) {
    .floating-contact-container {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    .floating-btn {
        padding: 10px 16px;
        font-size: 0.875rem;
    }
    .floating-btn i {
        font-size: 1.1rem;
    }
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
    .main-navbar {
        background-color: rgba(7, 12, 20, 0.96) !important;
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }
    
    .navbar-collapse {
        margin-top: 15px;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 0 !important;
    }
    
    .navbar-nav .nav-link::after {
        left: 0;
        right: 0;
    }
    
    .header-cta {
        margin-top: 15px;
        width: 100%;
    }
    
    .header-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-bg-image {
        display: block;
        width: 100%;
        height: 100%;
        opacity: 0.7; /* Görseli çok daha belirgin hale getirdik */
        object-position: center;
    }
    
    .hero-overlay {
        background: linear-gradient(180deg, rgba(7, 12, 20, 0.65) 0%, rgba(7, 12, 20, 0.45) 50%, rgba(7, 12, 20, 0.75) 100%);
    }
    
    .hero-section {
        background: radial-gradient(circle at center, rgba(9, 168, 156, 0.18) 0%, transparent 80%),
                    var(--dark-navy);
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
        color: rgba(255, 255, 255, 0.95) !important;
        font-size: 1.05rem;
    }
    
    .hero-title {
        font-weight: 800 !important;
        font-size: 2.4rem;
        line-height: 1.25;
        text-shadow: 0 4px 12px rgba(0, 0, 0, 0.9);
    }
    
    .hero-content .d-flex {
        justify-content: center !important;
        align-items: center !important;
        flex-direction: row !important;
        gap: 15px !important;
    }
    
    .hero-content .btn {
        width: auto !important;
        min-width: 200px !important;
        max-width: 250px !important;
        justify-content: center;
        padding: 10px 20px !important;
        font-size: 0.85rem !important;
    }
    
    .hero-slider-prev,
    .hero-slider-next {
        display: none; /* Hide slider arrows on mobile */
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.85rem !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    
    .hero-desc {
        font-size: 0.88rem !important;
        margin-bottom: 25px !important;
        line-height: 1.55 !important;
        padding: 0 10px !important;
    }
    
    .hero-content .d-flex {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }
    
    .hero-content .btn {
        width: 100% !important;
        max-width: 250px !important;
        min-width: 200px !important;
    }
}

/* Custom 5-Column layout for desktop */
@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* Custom FAQ Accordion */
#faqAccordion .accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 4px solid transparent;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 16px;
    overflow: hidden;
}

#faqAccordion .accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(9, 168, 156, 0.06);
    border-color: rgba(9, 168, 156, 0.15);
}

#faqAccordion .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-left-color: var(--primary-teal);
    border-color: rgba(9, 168, 156, 0.15);
    box-shadow: 0 10px 30px rgba(9, 168, 156, 0.08);
}

#faqAccordion .accordion-button {
    font-family: var(--font-main);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    padding: 22px 28px !important;
    border-radius: 12px !important;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border: none;
}

#faqAccordion .accordion-button:not(.collapsed) {
    color: var(--primary-teal);
    background-color: #ffffff;
    font-weight: 700;
    box-shadow: none;
}

#faqAccordion .accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

#faqAccordion .accordion-button::after {
    background-size: 1rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#faqAccordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2309a89c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Icon rotation and color transition */
#faqAccordion .accordion-button .bi-question-circle {
    font-size: 1.15rem;
    color: var(--primary-teal);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}

#faqAccordion .accordion-button:not(.collapsed) .bi-question-circle {
    transform: rotate(15deg) scale(1.15);
    color: var(--primary-teal);
}

#faqAccordion .accordion-body {
    padding: 0 28px 24px 28px !important;
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.7;
    border-radius: 0 0 12px 12px;
    background-color: #ffffff;
}

/* ==========================================
   HOMEPAGE ENHANCEMENTS (STATS, BEFORE/AFTER, MARQUEE)
   ========================================== */

/* 1. Stats Counter Section */
.stats-section {
    padding: 60px 0;
    position: relative;
    z-index: 5;
    background-color: var(--light-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-section {
        padding: 50px 0;
    }
}

@media (max-width: 575px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stats-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.stats-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(9, 168, 156, 0.15);
    border-color: var(--primary-teal);
}

.stats-icon-wrap {
    width: 60px;
    height: 60px;
    background-color: var(--primary-teal-light);
    color: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.stats-card:hover .stats-icon-wrap {
    background-color: var(--primary-teal);
    color: #ffffff;
    transform: scale(1.1);
}

.stats-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--secondary-blue);
    margin-bottom: 8px;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.stats-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

/* Override stats card for specific theme card presets globally */
.card-style-glassmorphism .stats-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
}

.card-style-dark-glow .stats-card {
    background: #111b21;
    border: 1px solid rgba(9, 168, 156, 0.2);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.35);
}
.card-style-dark-glow .stats-card .stats-number {
    color: #ffffff;
}
.card-style-dark-glow .stats-card:hover {
    border-color: var(--primary-teal);
    box-shadow: 0 0 15px rgba(9, 168, 156, 0.5);
}

.card-style-sharp-retro .stats-card {
    border-radius: 0;
    border: 3px solid #111b21;
    box-shadow: 6px 6px 0px #111b21;
    background-color: #ffffff;
}
.card-style-sharp-retro .stats-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0px #111b21;
}

.card-style-minimal-shadow .stats-card {
    border: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}
.card-style-minimal-shadow .stats-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}


/* 2. Before/After Smile Gallery Slider */
.smile-gallery-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.ba-wrapper {
    position: relative;
    width: 100%;
    max-width: 750px;
    height: 480px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    user-select: none;
    -webkit-user-select: none;
}

@media (max-width: 767px) {
    .ba-wrapper {
        height: 350px;
    }
}

@media (max-width: 575px) {
    .ba-wrapper {
        height: 280px;
    }
}

.ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

.ba-before {
    z-index: 1;
}

.ba-after {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 2;
    width: 50%; /* Initial split width */
    overflow: hidden;
    border-right: 3px solid #ffffff;
    box-shadow: 10px 0 20px rgba(0, 0, 0, 0.15);
}

.ba-after .ba-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    /* width will be set dynamically via JS to match the wrapper's width */
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

.ba-badge {
    position: absolute;
    bottom: 24px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 30px;
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.ba-badge-before {
    right: 24px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.ba-badge-after {
    left: 24px;
    border: 1px solid var(--primary-teal);
}

.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 100%;
    z-index: 20;
    cursor: ew-resize;
}

.ba-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    background-color: var(--primary-teal);
    color: #ffffff;
    border: 4px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(9, 168, 156, 0.4);
    pointer-events: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.ba-wrapper:hover .ba-handle-button {
    background-color: var(--secondary-blue);
    transform: translate(-50%, -50%) scale(1.08);
}

.ba-handle-button::before,
.ba-handle-button::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.ba-handle-button::before {
    border-right: 8px solid #ffffff;
    left: 12px;
}

.ba-handle-button::after {
    border-left: 8px solid #ffffff;
    right: 12px;
}


/* 3. Infinite Scrolling Brand Marquee */
.brand-marquee-section {
    padding: 60px 0;
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.brand-marquee-title {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 40px;
}

.marquee-container {
    display: flex;
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-marquee 30s linear infinite;
}

.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 45px;
    height: 50px;
    transition: all 0.3s ease;
}

.marquee-item svg {
    height: 32px;
    fill: var(--text-muted);
    opacity: 0.45;
    transition: all 0.3s ease;
}

.marquee-item:hover svg {
    fill: var(--primary-teal);
    opacity: 0.95;
    transform: scale(1.08);
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Detail Page Banners with Blurred Image Backgrounds */
.banner-bg-image {
    position: absolute;
    top: -15px;
    left: -15px;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    background-size: cover;
    background-position: center;
    filter: blur(14px) brightness(0.72) saturate(1.2); /* blurred, darkened for text contrast */
    z-index: 0;
    transform: scale(1.06); /* to avoid white blur borders */
}

/* ==========================================
   MOBILE UX OPTIMIZATIONS (PREMIUM MOBILE UPGRADE)
   ========================================== */

/* 1. Horizontal Swipe Row for Cards (Treatments, Campaigns, Blogs) */
@media (max-width: 767.98px) {
    .mobile-swipe-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        padding-bottom: 25px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important; /* Hide scrollbar Firefox */
    }
    
    .mobile-swipe-row::-webkit-scrollbar {
        display: none !important; /* Hide scrollbar Chrome/Safari */
    }
    
    .mobile-swipe-row > [class*="col-"] {
        flex: 0 0 82% !important; /* Visual indicator that there's a card next to it */
        max-width: 82% !important;
        scroll-snap-align: center !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Testimonials centering and swipe-friendly tweaks */
    .testimonial-card {
        padding: 24px 20px !important;
    }
}

/* 2. Compact 2x2 Stats Grid on mobile */
@media (max-width: 575.98px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .stats-card {
        padding: 20px 10px !important;
        border-radius: 12px !important;
    }
    .stats-icon-wrap {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.15rem !important;
        margin-bottom: 12px !important;
    }
    .stats-number {
        font-size: 1.6rem !important;
        margin-bottom: 4px !important;
    }
    .stats-label {
        font-size: 0.72rem !important;
        letter-spacing: 0.2px !important;
    }
}

/* 3. Sticky Bottom Mobile Action Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: rgba(12, 21, 36, 0.88); /* Dark navy theme background */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    z-index: 1040;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3);
}

.mobile-sticky-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    gap: 2px;
}

.mobile-sticky-item i {
    font-size: 1.2rem;
}

.mobile-sticky-item:hover, .mobile-sticky-item:focus {
    color: #ffffff;
}

.mobile-sticky-item.phone-action {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-sticky-item.whatsapp-action {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-sticky-item.appointment-action {
    background-color: var(--primary-teal);
    color: #ffffff;
    font-weight: 700;
}

.mobile-sticky-item.appointment-action:hover {
    background-color: var(--primary-teal-hover);
}

@media (max-width: 767.98px) {
    .floating-contact-container {
        display: none !important; /* Hide floating buttons on mobile when sticky bar is active */
    }
    body {
        padding-bottom: 65px !important; /* Prevent content from being hidden behind the sticky bar */
    }
}

/* 4. Glassmorphic Dropdown Navigation on Mobile */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(7, 12, 20, 0.94) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 14px !important;
        padding: 20px !important;
        margin-top: 15px !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4) !important;
    }
}

/* 5. Premium Modal Inputs Styling */
#appointmentModal .form-control,
#appointmentModal .form-select {
    background-color: var(--dark-navy-card) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    transition: var(--transition-smooth) !important;
}

#appointmentModal .form-control:focus,
#appointmentModal .form-select:focus {
    border-color: var(--primary-teal) !important;
    box-shadow: 0 0 0 3px rgba(9, 168, 156, 0.25) !important;
}

#appointmentModal .form-control::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
}

#appointmentModal .btn-close {
    filter: invert(1) grayscale(1) brightness(1.8) !important;
}

#appointmentModal .form-select option {
    background-color: var(--dark-navy) !important;
    color: #ffffff !important;
}

/* Cookie Consent Banner Styling */
.cookie-banner-wrapper {
    z-index: 1055 !important;
}
@media (max-width: 767.98px) {
    .cookie-banner-wrapper {
        bottom: 65px !important;
        padding: 0.75rem !important;
    }
}
.cookie-banner-wrapper .card {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45) !important;
}

