/* =============================================
   Dt. Nebahat Bilge - Diş Hekimi
   Modern Dental Clinic Theme 2026
   ============================================= */

:root {
    --primary: #1a6b5c;
    --primary-light: #2a9d8f;
    --primary-dark: #0f4037;
    --secondary: #d4a574;
    --secondary-light: #e8c9a8;
    --accent: #264653;
    --gold: #c9a96e;
    --text: #2d3436;
    --text-light: #636e72;
    --bg: #ffffff;
    --bg-light: #f8f9fa;
    --bg-cream: #faf8f5;
    --border: #e9ecef;
    --shadow: 0 4px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--accent);
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--secondary-light);
}

.top-bar .separator {
    color: rgba(255,255,255,0.3);
    margin: 0 15px;
}

.top-bar-right a {
    margin-left: 15px;
    font-size: 1rem;
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: -2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 5px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary);
    background: rgba(26,107,92,0.05);
}

.btn-nav {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
}

.btn-nav:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26,107,92,0.3);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    list-style: none;
    min-width: 220px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 10px 16px !important;
    border-radius: 8px;
    font-size: 0.85rem !important;
}

.dropdown a:hover {
    background: var(--bg-light) !important;
}

/* Nav Toggle (Mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-cream) 0%, #e8f4f0 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(26,107,92,0.05) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(2deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: var(--primary-light);
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(26,107,92,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 450px;
    height: 550px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,107,92,0.08), transparent 40%);
    pointer-events: none;
}

.hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255,255,255,0.3);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 10px;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(26,107,92,0.1), rgba(42,157,143,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 500px;
    box-shadow: var(--shadow-lg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--primary-light);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f4f0, #d4edda);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-light);
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1rem;
}

.about-features {
    list-style: none;
    margin-top: 30px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-weight: 500;
}

.about-features li i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 35px;
    position: relative;
}

.cta-section .btn {
    position: relative;
}

.btn-white {
    background: #fff;
    color: var(--primary-dark);
}

.btn-white:hover {
    background: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

/* ===== TESTIMONIALS ===== */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--primary-light);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 25px;
    line-height: 1;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 0.85rem;
}

/* ===== APPOINTMENT FORM ===== */
.appointment-section {
    background: var(--bg-cream);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26,107,92,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 0 auto;
}

.form-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 30px;
    text-align: center;
}

/* ===== BLOG ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-thumb {
    height: 200px;
    background: linear-gradient(135deg, #e8f4f0, #d4edda);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-light);
}

.blog-body {
    padding: 25px;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.blog-body h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.blog-body p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.contact-info-card i {
    font-size: 1.2rem;
    color: var(--primary);
    margin-top: 3px;
}

.contact-info-card h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.contact-info-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, var(--bg-cream) 0%, #e8f4f0 100%);
    padding: 80px 0 60px;
    text-align: center;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.85rem;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb span {
    color: var(--text-light);
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    height: 300px;
}

.gallery-item.gallery-large {
    grid-row: 1 / 3;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item,
    .gallery-item.gallery-large {
        height: 250px;
        grid-row: auto;
    }
}

/* ===== SEO CONTENT SECTION ===== */
.seo-section {
    padding: 60px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

.seo-content-wrapper {
    position: relative;
    max-height: 400px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--border);
}

.seo-content-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, #fff 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s;
}

.seo-content-wrapper.expanded {
    max-height: none;
}

.seo-content-wrapper.expanded::after {
    opacity: 0;
}

.seo-content {
    padding: 40px;
    overflow-y: auto;
    max-height: 400px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) var(--bg-light);
}

.seo-content-wrapper.expanded .seo-content {
    max-height: none;
    overflow-y: visible;
}

.seo-content::-webkit-scrollbar {
    width: 6px;
}

.seo-content::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 3px;
}

.seo-content::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 3px;
}

.seo-content h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-light);
}

.seo-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin: 30px 0 12px;
}

.seo-content p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.seo-content ul {
    margin: 10px 0 15px 20px;
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.8;
}

.seo-content ul li {
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .seo-content {
        padding: 25px;
    }
    .seo-content h2 {
        font-size: 1.3rem;
    }
    .seo-content h3 {
        font-size: 1.05rem;
    }
}

/* ===== TREATMENT PAGE LAYOUT ===== */
.treatment-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
    align-items: start;
}

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

.treatment-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 3px solid var(--primary-light);
    line-height: 1.3;
}

.treatment-content h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--primary-dark);
    margin: 40px 0 16px;
    padding-left: 16px;
    border-left: 4px solid var(--primary-light);
    line-height: 1.4;
}

.treatment-content p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 18px;
}

.treatment-content ul {
    margin: 15px 0 22px 0;
    padding: 0;
    list-style: none;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.9;
}

.treatment-content ul li {
    margin-bottom: 10px;
    padding-left: 28px;
    position: relative;
}

.treatment-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-light);
}

.treatment-content strong {
    color: var(--text);
    font-weight: 600;
}

/* Treatment Sidebar */
.treatment-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.sidebar-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.sidebar-card .btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
}

.sidebar-card .btn:last-child {
    margin-bottom: 0;
}

.sidebar-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-light);
}

.sidebar-contact-item:last-child {
    border-bottom: none;
}

.sidebar-contact-item i {
    width: 20px;
    text-align: center;
    color: var(--primary);
    font-size: 1rem;
}

.sidebar-contact-item a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

.treatment-nav {
    list-style: none;
    padding: 0;
}

.treatment-nav li {
    border-bottom: 1px solid var(--border);
}

.treatment-nav li:last-child {
    border-bottom: none;
}

.treatment-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
}

.treatment-nav a:hover,
.treatment-nav a.active {
    color: var(--primary);
    font-weight: 600;
}

.treatment-nav a i {
    width: 18px;
    text-align: center;
    font-size: 0.8rem;
}

/* Treatment Hero Banner */
.treatment-hero-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 25px 30px;
    border-radius: var(--radius-lg);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
}

.treatment-hero-icon {
    width: 65px;
    height: 65px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.treatment-hero-banner h2 {
    border: none;
    padding: 0;
    margin: 0;
    color: #fff;
    font-size: 1.6rem;
}

.treatment-hero-banner p {
    color: rgba(255,255,255,0.85);
    margin: 5px 0 0;
    font-size: 0.92rem;
}

@media (max-width: 992px) {
    .treatment-layout {
        grid-template-columns: 1fr;
    }
    .treatment-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .treatment-content h2 { font-size: 1.6rem; }
    .treatment-content h3 { font-size: 1.1rem; padding-left: 12px; }
    .treatment-hero-banner { flex-direction: column; text-align: center; }
    .treatment-hero-banner h2 { font-size: 1.3rem; }
    .treatment-sidebar {
        grid-template-columns: 1fr;
    }
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 0;
    z-index: 999;
    text-decoration: none;
    animation: wa-pulse 2s ease-in-out infinite;
}

@keyframes wa-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.whatsapp-float i {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
    flex-shrink: 0;
}

.whatsapp-float:hover i {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

.whatsapp-float:hover {
    animation: none;
}

.wa-tooltip {
    background: #fff;
    color: var(--text);
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    white-space: nowrap;
    position: absolute;
    right: 70px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    pointer-events: none;
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #fff;
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float i {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
    .wa-tooltip {
        display: none;
    }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--accent);
    color: rgba(255,255,255,0.8);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 15px;
}

.footer h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer ul a:hover {
    color: var(--secondary-light);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-light);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
}

.footer-legal {
    margin-top: 10px;
    font-size: 0.8rem !important;
    opacity: 0.6;
}

/* ===== ADMIN STYLES ===== */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
}

.login-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
}

.login-card h2 {
    font-family: var(--font-heading);
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 30px;
}

/* ===== ALERTS ===== */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 35px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        display: flex;
        order: -1;
        margin-bottom: 20px;
    }

    .hero-image-wrapper {
        width: 200px;
        height: 240px;
        border-radius: 30px;
        margin: 0 auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        height: 350px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    /* === MOBILE NAV TOGGLE === */
    .nav-toggle {
        display: flex;
        z-index: 1002;
        position: relative;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* === MOBILE MENU OVERLAY === */
    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* === MOBILE MENU === */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        height: 100dvh;
        background: #fff;
        flex-direction: column;
        padding: 0;
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: stretch;
        gap: 0;
        z-index: 1001;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu::before {
        content: '';
        display: block;
        padding: 25px 25px 20px;
        background: linear-gradient(135deg, var(--primary-dark), var(--primary));
        font-size: 0;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border);
    }

    .nav-menu > li:first-child {
        margin-top: 0;
    }

    .nav-menu a {
        width: 100%;
        padding: 16px 25px !important;
        font-size: 0.95rem !important;
        border-radius: 0 !important;
        display: flex !important;
        align-items: center;
        gap: 12px;
        background: transparent !important;
        color: var(--text) !important;
        transition: var(--transition);
    }

    .nav-menu a:hover,
    .nav-menu a:active {
        background: var(--bg-light) !important;
        color: var(--primary) !important;
    }

    .nav-menu .btn-nav {
        margin: 20px 25px !important;
        padding: 16px 24px !important;
        border-radius: 50px !important;
        background: var(--primary) !important;
        color: #fff !important;
        justify-content: center;
        width: calc(100% - 50px) !important;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 15px;
        background: var(--bg-light);
        border-radius: 0;
        min-width: auto;
    }

    .dropdown a {
        padding: 12px 25px !important;
        font-size: 0.85rem !important;
    }

    .dropdown li {
        border-bottom: 1px solid rgba(0,0,0,0.04);
    }

    .dropdown li:last-child {
        border-bottom: none;
    }

    .mobile-menu-header,
    .mobile-menu-contact {
        display: list-item !important;
    }

    .nav-menu::before {
        display: none !important;
    }

    /* === MOBILE HERO === */
    .hero {
        min-height: auto;
        padding: 40px 0 60px;
    }

    .hero-visual {
        display: flex !important;
        order: -1;
        margin-bottom: 25px;
    }

    .hero-image-wrapper {
        width: 160px;
        height: 200px;
        border-radius: 24px;
        margin: 0 auto;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 25px;
        margin-top: 30px;
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 2rem;
    }
}