/* ==========================================================================
   Clinic'O Ağız ve Diş Sağlığı Polikliniği - Ana Stil Dosyası
   Modern Medical Design System & Responsive Layout
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700&display=swap');

:root {
    --primary: #0e9f6e;
    --primary-hover: #057a55;
    --primary-light: #def7ec;
    --cyan: #06b6d4;
    --blue: #0284c7;
    --dark: #0f172a;
    --dark-lighter: #1e293b;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #0f172a;
    --white: #ffffff;
    --accent-gradient: linear-gradient(135deg, #0e9f6e 0%, #06b6d4 100%);
    --accent-gradient-hover: linear-gradient(135deg, #057a55 0%, #0891b2 100%);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-dark: rgba(15, 23, 42, 0.85);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px -5px rgba(14, 159, 110, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 12px 32px 0 rgba(15, 23, 42, 0.08);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--gray-50);
    color: var(--gray-700);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
}

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

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.badge-pill {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(14, 159, 110, 0.39);
}

.btn-primary:hover {
    background: var(--accent-gradient-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(14, 159, 110, 0.45);
}

.btn-secondary {
    background: var(--dark);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--dark-lighter);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--dark);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background: var(--gray-100);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark);
    color: var(--gray-200);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-bar-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
    white-space: nowrap;
}

.top-bar-item a {
    color: #cbd5e1;
}

.top-bar-item a:hover {
    color: var(--cyan);
}

.top-bar-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
    white-space: nowrap;
    margin-right: 12px;
    font-weight: 500;
}

.top-bar-phone a {
    color: #cbd5e1;
    text-decoration: none;
    white-space: nowrap;
}

.top-bar-phone a:hover {
    color: var(--cyan);
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar-social a.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.top-bar-social a.social-icon-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* Main Header & Navbar */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.95);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
}

.brand-logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    position: relative;
    padding: 8px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav li.active a::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    padding: 8px;
}

/* Mobile Drawer Menu */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--dark);
    color: var(--white);
    z-index: 2000;
    padding: 40px 24px;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
}

.drawer-logo {
    margin-bottom: 30px;
}

.drawer-logo img {
    height: 45px;
}

.drawer-menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.drawer-menu a {
    color: var(--gray-200);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-menu a:hover, .drawer-menu li.active a {
    color: var(--cyan);
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Slider Section */
.hero-slider-section {
    position: relative;
    overflow: hidden;
    background: var(--dark);
}

.hero-slider {
    position: relative;
    width: 100%;
    min-height: 600px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    color: var(--white);
    padding: 100px 0;
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
    text-align: left;
}

.hero-content p {
    font-size: 1.15rem;
    color: #e2e8f0;
    margin-bottom: 32px;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
}

.slider-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

/* Page Banner Header */
.page-banner {
    position: relative;
    background: var(--dark);
    padding: 90px 0 70px;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(14, 159, 110, 0.25), transparent 70%);
}

.page-banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-banner h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.page-banner p {
    font-size: 1.1rem;
    color: #cbd5e1;
}

/* Stats Counter Bar */
.stats-section {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

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

.stat-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px 0 rgba(14, 159, 110, 0.12);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-500);
}

/* Section Padding & Headings */
.section-padding {
    padding: 90px 0;
}

.section-header {
    max-width: 680px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-title {
    font-size: 2.3rem;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-500);
}

/* About / Overview Section */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.overview-images {
    position: relative;
}

.overview-img-main {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    object-fit: cover;
    width: 100%;
    height: 420px;
}

.overview-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent-gradient);
    color: var(--white);
    padding: 24px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.overview-experience-badge span {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
}

.overview-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.overview-content p {
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--dark);
}

.feature-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Treatments Cards Grid */
.treatments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.treatments-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.treatment-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    position: relative;
}

.treatment-card-page {
    text-align: left;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
}

.treatment-card-page .treatment-icon-wrap {
    margin: 0 0 20px 0;
}

.treatment-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-card);
}

.treatment-icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--gray-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    transition: var(--transition);
}

.treatment-card:hover .treatment-icon-wrap {
    background: var(--primary-light);
    transform: scale(1.1);
}

.treatment-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.treatment-card p {
    font-size: 0.92rem;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.treatment-link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.treatment-card:hover .treatment-link {
    color: var(--primary-hover);
    gap: 10px;
}

/* Doctors Section */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.doctor-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.doctor-card:hover {
    transform: translateY(-8px);
}

.doctor-img-wrap {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #e2e8f0;
}

.doctor-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.doctor-card:hover .doctor-img-wrap img {
    transform: scale(1.06);
}

.doctor-info {
    padding: 24px;
    text-align: center;
}

.doctor-name {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.doctor-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.doctor-edu {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Clinic Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 240px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 159, 110, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
    font-size: 2rem;
}

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

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

/* Forms (Contact, Appointment, Survey) */
.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-200);
}

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

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

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-label span.req {
    color: #e11d48;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--gray-50);
    color: var(--dark);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(14, 159, 110, 0.15);
}

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

/* Interactive Star Rating Widget */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 1.8rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: var(--transition);
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #f59e0b;
}

/* CTA Banner */
.cta-banner {
    background: var(--accent-gradient);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 60px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-banner h2 {
    color: var(--white);
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.cta-banner p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Info List */
.contact-info-card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-card);
    height: 100%;
}

.info-item {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
}

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

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.info-text p, .info-text a {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: #cbd5e1;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-about p {
    margin-top: 16px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--cyan);
    padding-left: 6px;
}

.bottom-footer {
    padding: 24px 0;
    font-size: 0.88rem;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bottom-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.bottom-footer-inner p {
    margin: 0;
}

.footer-credit a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-credit a:hover {
    color: var(--cyan);
}

/* Floating Action Widgets */
.floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 990;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.float-whatsapp {
    background: #25d366;
}

.float-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.float-phone {
    background: var(--primary);
}

.float-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(14, 159, 110, 0.4);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 3000;
}

.toast {
    background: var(--white);
    color: var(--dark);
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border-left: 5px solid var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease forwards;
}

.toast.error {
    border-left-color: #e11d48;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.95);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox-img {
    max-width: 85vw;
    max-height: 75vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-caption {
    margin-top: 14px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 30px;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 3010;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--cyan);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3010;
    transition: var(--transition);
}

.lightbox-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: 30px;
}

.lightbox-nav.next {
    right: 30px;
}

@media (max-width: 768px) {
    .lightbox-nav.prev { left: 10px; }
    .lightbox-nav.next { right: 10px; }
    .lightbox-nav { width: 42px; height: 42px; font-size: 1.1rem; }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .treatments-grid, .treatments-grid-3, .doctors-grid, .stats-grid, .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .overview-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2.6rem;
    }
}

@media (max-width: 991px) {
    .main-nav { 
        display: none; 
    }
    .mobile-toggle { 
        display: block; 
    }
    .header-action .btn-nav { 
        display: none !important; 
    }
    .header-inner { 
        height: 70px; 
    }
    .brand-logo img { 
        height: 42px; 
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section-padding {
        padding: 54px 0;
    }

    /* Page Banner Header Mobile Typography & Padding */
    .page-banner {
        padding: 54px 0 44px 0;
    }
    .page-banner-content {
        padding: 0 20px;
    }
    .page-banner h1 {
        font-size: 1.65rem;
        line-height: 1.3;
        margin-bottom: 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .page-banner p {
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .section-header {
        margin-bottom: 32px;
        padding: 0 10px;
    }
    .section-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    .overview-content h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .top-bar-info { 
        display: none; 
    }
    .top-bar-inner { 
        justify-content: center; 
        padding: 4px 0;
    }
    .top-bar-phone { 
        font-size: 0.88rem; 
        margin-right: 8px; 
    }
    .top-bar-social a.social-icon-btn { 
        width: 28px; 
        height: 28px; 
        font-size: 0.85rem; 
    }

    /* Hero Slider & Content Mobile Overlap Fix */
    .hero-slider-section {
        position: relative;
    }
    .hero-slider { 
        min-height: auto; 
        height: auto;
    }
    .hero-slide {
        position: relative;
        display: none;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        min-height: 480px;
        opacity: 1;
        visibility: visible;
    }
    .hero-slide.active {
        display: flex;
    }
    .hero-content {
        padding: 50px 20px 60px 20px;
        text-align: left;
        max-width: 100%;
        margin: 0;
    }
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.25;
        margin-bottom: 14px;
    }
    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 24px;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-top: 16px;
    }
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 14px 20px;
    }
    .slider-controls {
        padding: 0 6px;
    }
    .slider-btn {
        width: 34px;
        height: 34px;
        font-size: 0.88rem;
        background: rgba(15, 23, 42, 0.65);
        border: 1px solid rgba(255, 255, 255, 0.25);
    }

    /* Stats Counter Mobile Spacing Fix */
    .stats-section {
        margin-top: 24px !important;
        position: relative;
        z-index: 10;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .stat-card {
        padding: 20px 14px;
    }
    .stat-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 10px;
    }
    .stat-number {
        font-size: 2.2rem;
    }

    .treatments-grid, .treatments-grid-3, .doctors-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    .treatment-card-page {
        padding: 24px 18px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .form-card {
        padding: 24px 16px;
    }
    .cta-banner {
        padding: 32px 18px;
    }
    .cta-banner h2 {
        font-size: 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .bottom-footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    .survey-options-grid {
        grid-template-columns: 1fr;
    }
    .floating-actions {
        bottom: 14px;
        right: 12px;
        gap: 8px;
        z-index: 999;
    }
    .float-btn {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}

.survey-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 8px;
}
