/**
 * Elazığ Kadın Doğum - Modern Web Tasarımı
 * Profesyonel, Kurumsal, Mobil ve SEO Uyumlu
 * © 2026 Doç. Dr. Ebru Çelik Kavak
 */

/* ====================
   CSS VARIABLES
   ==================== */
:root {
    --primary-color: #2E7D32;
    --primary-dark: #1B5E20;
    --primary-light: #4CAF50;
    --secondary-color: #C2185B;
    --secondary-light: #E91E63;
    --accent-color: #FF9800;
    --text-dark: #212121;
    --text-light: #757575;
    --text-muted: #9E9E9E;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

/* ====================
   GLOBAL OVERFLOW FIX
   ==================== */
html,
body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
}

* {
    max-width: 100%;
    box-sizing: border-box;
}

section,
header,
footer,
main,
article,
aside,
nav,
div {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Force Body Wrapper */
body {
    position: relative;
    overflow-x: hidden !important;
    width: 100vw !important;
    max-width: 100vw !important;
}

/* Mobile Strict Fix */
@media (max-width: 768px) {
    html {
        overflow-x: hidden !important;
        position: relative;
        width: 100vw !important;
        max-width: 100vw !important;
    }

    body {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        width: 100vw !important;
        max-width: 100vw !important;
        position: relative;
        touch-action: pan-y;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Prevent horizontal scroll on all elements */
    body * {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    /* Force all sections to fit */
    section {
        width: 100vw !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Container strict fix */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        overflow-x: hidden !important;
    }
}

/* Hero Section Global Fix */
.hero-section,
.hero-content,
.hero-text,
.hero-visual {
    max-width: 100%;
    overflow-x: hidden;
}

.hero-visual {
    position: relative;
    width: 100%;
}

.hero-image-main {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.hero-image-main img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

/* Hero Text Overflow Fix */
.hero-text h2 {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.hero-text p {
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* Text Overflow Fix */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}

/* ====================
   RESET & BASE
   ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

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

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

ul,
ol {
    list-style: none;
}

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

/* ====================
   HEADER & NAVIGATION
   ==================== */
.site-header {
    background: linear-gradient(135deg, var(--bg-white) 0%, #f8f9fa 100%);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    max-width: 100vw;
    overflow: hidden;
    width: 100%;
}

@media (max-width: 768px) {
    .site-header {
        position: relative !important;
    }
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.header-top {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

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

.header-top-left,
.header-top-right {
    display: flex;
    gap: 25px;
    align-items: center;
}

.header-top a {
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-top a:hover {
    color: var(--accent-color);
}

.header-main {
    padding: 15px 0;
}

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

.header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.95rem;
    color: var(--text-light);
    display: block;
    margin-top: 3px;
}

/* ====================
   NAVIGATION MENU
   ==================== */
.main-nav {
    position: relative;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    padding: 12px 18px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
}

.nav-link i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 280px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 15px;
    z-index: 1001;
}

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

.dropdown-category {
    margin-bottom: 15px;
}

.dropdown-category:last-child {
    margin-bottom: 0;
}

.dropdown-category h4 {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--bg-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dropdown-list a {
    padding: 8px 12px;
    color: var(--text-dark);
    font-size: 0.9rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.dropdown-list a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 18px;
}

.dropdown-list a i {
    color: var(--primary-light);
    font-size: 0.75rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ====================
   HERO SECTION
   ==================== */
.hero-section {
    margin-top: 140px;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.05) 0%, rgba(194, 24, 89, 0.05) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    max-width: 100vw;
    width: 100%;
}

@media (max-width: 768px) {
    .hero-section {
        margin-top: 0;
        min-height: auto;
        padding: 30px 0;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    max-width: 100vw;
}

@media (max-width: 768px) {
    .hero-section::before {
        width: 300px;
        height: 300px;
        right: -10%;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    max-width: 100%;
}

.hero-text h2 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text h2 span {
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);
}

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

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

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-stats {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 30px;
    margin-top: 20px;
    max-width: 100%;
}

.stat-box {
    text-align: center;
}

.stat-box .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-box .label {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ====================
   SERVICES SECTION
   ==================== */
.services-section {
    padding: 60px 0;
    background: var(--bg-white);
    max-width: 100vw;
    overflow-x: hidden;
    width: 100%;
}

@media (max-width: 768px) {
    .services-section {
        padding: 40px 0 !important;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 100%;
    overflow: hidden;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .section-header {
        padding: 0 10px !important;
        margin-bottom: 40px !important;
    }
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: block;
    max-width: 100%;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
    max-width: 100%;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 100%;
    margin: 25px auto 0;
    padding: 0 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 100%;
    overflow: hidden;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    word-wrap: break-word;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1) 0%, rgba(194, 24, 89, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-links a {
    color: var(--primary-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
}

.service-links a:hover {
    color: var(--secondary-color);
    padding-left: 10px;
}

.service-links a {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* ====================
   CATEGORIES SECTION
   ==================== */
.categories-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    max-width: 100vw;
    overflow-x: hidden;
    width: 100%;
}

@media (max-width: 768px) {
    .categories-section {
        padding: 40px 0 !important;
    }
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 100%;
    overflow: hidden;
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
}

.category-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    word-wrap: break-word;
}

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

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 1;
}

.category-card h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.category-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.category-count {
    background: var(--bg-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* ====================
   DOCTOR SECTION
   ==================== */
.doctor-section {
    padding: 60px 0;
    background: var(--bg-white);
    max-width: 100vw;
    overflow-x: hidden;
    width: 100%;
}

@media (max-width: 768px) {
    .doctor-section {
        padding: 40px 0 !important;
    }
}

.doctor-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 100%;
}

.doctor-image {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.doctor-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.doctor-badge {
    position: absolute;
    top: 20px;
    right: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: calc(100% - 20px);
}

.doctor-badge .exp {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.doctor-badge .text {
    font-size: 0.85rem;
}

.doctor-info h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.doctor-info h2 span {
    color: var(--primary-color);
}

.doctor-title {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.doctor-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.doctor-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
    max-width: 100%;
}

.doctor-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 500;
}

.doctor-features li i {
    color: var(--primary-color);
}

/* ====================
   FOOTER
   ==================== */
.site-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 60px 0 0;
    max-width: 100vw;
    overflow-x: hidden;
    width: 100%;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 0 !important;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    max-width: 100%;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-links h4,
.footer-services h4,
.footer-categories h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-services h4::after,
.footer-categories h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.footer-links ul,
.footer-services ul,
.footer-categories ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-services a,
.footer-categories a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-services a:hover,
.footer-categories a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

.footer-links a i,
.footer-services a i,
.footer-categories a i {
    font-size: 0.75rem;
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

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

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

/* ====================
   CATEGORY PAGES
   ==================== */
.page-header {
    margin-top: 140px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 100vw;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.category-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.disease-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    max-width: 100%;
}

@media (max-width: 768px) {
    .disease-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}

.disease-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
    max-width: 100%;
    overflow: hidden;
}

.disease-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.disease-card h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.disease-card h3 i {
    color: var(--primary-color);
}

.disease-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.disease-card .btn-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.disease-card .btn-link:hover {
    color: var(--secondary-color);
    gap: 12px;
}

/* ====================
   BREADCRUMB
   ==================== */
.breadcrumb {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb-content a {
    color: var(--primary-color);
}

.breadcrumb-content a:hover {
    color: var(--secondary-color);
}

.breadcrumb-content i {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.breadcrumb-content span {
    color: var(--text-dark);
    font-weight: 500;
}

/* ====================
   RESPONSIVE DESIGN
   ==================== */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 0;
    }

    .nav-link {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1002;
        padding: 80px 30px 30px;
    }

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

    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        min-width: 100%;
        padding: 10px 0;
    }

    .nav-item.active .dropdown-menu {
        display: block;
    }

    .hero-content,
    .doctor-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h2 {
        font-size: 2.2rem;
    }


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

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        position: relative;
    }

    /* Hero Visual Mobile Fix - Critical */
    .hero-visual {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .hero-image-main {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .hero-image-main img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }


    .header-top {
        display: none;
    }

    .site-header {
        position: relative;
    }

    .hero-section {
        margin-top: 0;
        min-height: auto;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        padding: 20px 0 !important;
        gap: 20px !important;
        box-sizing: border-box !important;
    }

    .hero-text {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    .hero-text h2 {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }

    .logo-img {
        width: 60px;
        height: 60px;
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .logo-text span {
        font-size: 0.8rem;
    }

    .hero-text h2 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .section-header {
        padding: 0 10px;
    }

    .section-header h2 {
        font-size: 1.6rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
    }

    .section-header p {
        padding: 0 10px;
    }

    .services-grid,
    .categories-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .service-card {
        padding: 20px 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .category-card {
        padding: 20px 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .doctor-features {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .page-header {
        margin-top: 0;
        padding: 50px 0;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

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

    /* Hero Content Mobile Fix */
    .hero-content {
        display: flex;
        flex-direction: column;
        padding: 30px 0;
        gap: 30px;
    }

    /* Hero Stats Mobile Fix - HIDE ON MOBILE */
    .hero-stats {
        display: none !important;
    }

    .stat-box {
        display: none !important;
    }

    /* Hero Visual Mobile Fix - FORCE STATIC */
    .hero-visual {
        order: -1;
        margin-bottom: 10px;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        display: block !important;
        position: relative !important;
    }

    /* Force remove all children except hero-image-main */
    .hero-visual>*:not(.hero-image-main) {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -9999px !important;
    }

    .hero-image-main {
        max-width: 100%;
        width: 100%;
        margin: 0;
        overflow: hidden;
    }

    .hero-image-main img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    /* Hero Image Container Fix */
    .hero-image {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-image img {
        width: 100%;
        max-width: 100%;
    }

    .stat-box {
        flex: 1;
        min-width: 80px;
    }

    .stat-box .number {
        font-size: 1.5rem;
    }

    .stat-box .label {
        font-size: 0.75rem;
    }

    /* Floating Cards Mobile Fix - HIDE COMPLETELY */
    .hero-floating-cards,
    .hero-visual .hero-floating-cards,
    div.hero-floating-cards {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
    }

    .floating-card {
        display: none !important;
    }

    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .floating-text h4 {
        font-size: 0.9rem;
    }

    .floating-text span {
        font-size: 0.75rem;
    }

    /* Hero Visual Mobile Fix */
    .hero-visual {
        order: -1;
        margin-bottom: 20px;
        width: 100%;
        overflow: hidden;
    }

    .hero-image-main {
        max-width: 100%;
        margin: 0 auto;
    }

    /* Hero Image Container Fix */
    .hero-image {
        width: 100%;
        overflow: hidden;
    }

    .hero-image img {
        width: 100%;
        max-width: 100%;
    }

    /* Marquee Mobile Fix */
    .image-marquee-section {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
        display: none !important;
        /* Hide on mobile to prevent overflow */
    }

    .marquee-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .marquee-item {
        width: 250px;
        height: 170px;
    }

    /* Container Fix */
    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 15px !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
    }

    /* Hero Content Mobile Fix */
    .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    /* Hero Text Mobile Fix */
    .hero-text {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    /* Doctor Content Mobile Fix */
    .doctor-content {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    /* Gallery Mobile Fix for 768px */
    .gallery-section {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100vw !important;
    }

    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .gallery-item {
        aspect-ratio: 16/9 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {

    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        position: relative;
    }

    * {
        max-width: 100%;
    }

    .hero-text h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .hero-stats {
        padding: 10px 8px;
        gap: 5px;
        margin-top: 10px;
    }

    .stat-box {
        min-width: auto;
        padding: 3px;
    }

    .stat-box .number {
        font-size: 1.1rem;
    }

    .stat-box .label {
        font-size: 0.65rem;
    }

    .service-card,
    .category-card,
    .disease-card {
        padding: 20px 15px;
    }

    .container {
        padding: 0 10px;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Floating Cards Small Mobile Fix - HIDE */
    .hero-floating-cards {
        display: none !important;
    }

    .floating-card {
        display: none !important;
    }

    .floating-text h4 {
        font-size: 0.9rem;
    }

    .floating-text span {
        font-size: 0.75rem;
    }

    /* Prevent horizontal scroll */
    .main-content,
    .hero-section,
    section,
    .hero-visual,
    .hero-image-main,
    .hero-content,
    .hero-text {
        overflow-x: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Marquee fix for small screens - HIDE ON VERY SMALL SCREENS */
    .image-marquee-section {
        display: none !important;
    }

    /* Ensure all images are responsive */
    img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Hero section strict fix */
    .hero-section {
        overflow: hidden !important;
        max-width: 100vw !important;
    }

    .hero-visual {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Gallery section mobile fix */
    .gallery-section {
        padding: 40px 0;
        overflow: hidden;
        max-width: 100vw;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }

    .gallery-item {
        aspect-ratio: 16/9;
    }

    .gallery-header h2 {
        font-size: 1.5rem;
    }
}

/* ====================
   ANIMATIONS
   ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

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

    50% {
        transform: scale(1.05);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

/* ====================
   ACCESSIBILITY
   ==================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* ====================
   GALLERY SECTION
   ==================== */
.gallery-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    max-width: 100vw;
    width: 100%;
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 40px 0 !important;
    }
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    max-width: 100%;
    overflow: hidden;
}

@media (max-width: 768px) {
    .gallery-section::before {
        width: 150px;
        height: 150px;
        right: -2%;
    }
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.gallery-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.gallery-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 1;
    max-width: 100%;
    overflow: hidden;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    aspect-ratio: 4/3;
    max-width: 100%;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(46, 125, 50, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 8px;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.gallery-item:hover .gallery-overlay h4,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

.gallery-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover .gallery-icon {
    transform: translate(-50%, -50%) scale(1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-dark);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: var(--secondary-color);
    color: white;
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--text-dark);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-caption {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    padding: 15px;
}

.lightbox-caption h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.lightbox-caption p {
    opacity: 0.8;
}

/* ====================
   VISUAL HERO ENHANCEMENTS
   ==================== */
.hero-visual {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    width: 100%;
}

.hero-image-main {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.hero-image-main img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-image-main {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 100%;
}

.hero-image-main img {
    width: 100%;
    height: auto;
    display: block;
}

/* ====================
   TRUST BAR SECTION (Added)
   ==================== */
.clinic-trust-bar {
    padding: 30px 0;
    background: var(--bg-white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: -1px;
}

.trust-bar-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.clinic-trust-bar .hero-stats {
    display: flex !important;
    gap: 40px !important;
    flex: 0 1 auto;
    justify-content: center;
    align-items: center;
}

@keyframes trustFloat {

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

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

.clinic-trust-bar .stat-box {
    animation: trustFloat 3s ease-in-out infinite;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    text-align: center;
    min-width: 120px;
}

.clinic-trust-bar .stat-box:nth-child(2) {
    animation-delay: 0.3s;
}

.clinic-trust-bar .stat-box:nth-child(3) {
    animation-delay: 0.6s;
}

.clinic-trust-bar .stat-box .number {
    font-size: 2.8rem !important;
    /* Slightly bigger */
    font-weight: 800;
    color: var(--primary-color);
}

.clinic-trust-bar .stat-box .label {
    font-size: 1.1rem !important;
    /* Slightly bigger */
    font-weight: 500;
}

.clinic-trust-bar .hero-floating-cards {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    /* Back to horizontal */
    gap: 20px !important;
    opacity: 1 !important;
    visibility: visible !important;
    flex: 1.5;
    justify-content: center;
    max-width: none !important;
}

.clinic-trust-bar .floating-card {
    padding: 15px 20px !important;
    animation: trustFloat 3s ease-in-out infinite !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    background: white !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    width: auto !important;
    min-width: fit-content !important;
    flex: 0 1 auto;
    /* Don't force stretch */
}

.clinic-trust-bar .floating-icon {
    flex-shrink: 0 !important;
    width: 50px !important;
    height: 50px !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.clinic-trust-bar .floating-text {
    flex-shrink: 1 !important;
    text-align: left !important;
}

.clinic-trust-bar .floating-card:nth-child(1) {
    animation-delay: 0.9s;
}

.clinic-trust-bar .floating-card:nth-child(2) {
    animation-delay: 1.2s;
}

.clinic-trust-bar .floating-card:nth-child(3) {
    animation-delay: 1.5s;
}

.clinic-trust-bar .floating-text h4 {
    font-size: 1.2rem !important;
    /* Increased */
}

.clinic-trust-bar .floating-text span {
    font-size: 0.95rem !important;
    /* Increased */
}

@media (max-width: 992px) {
    .trust-bar-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .clinic-trust-bar .hero-stats,
    .clinic-trust-bar .hero-floating-cards {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .clinic-trust-bar .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 15px !important;
    }

    .clinic-trust-bar .hero-floating-cards {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .clinic-trust-bar .floating-card {
        width: 100%;
        max-width: 250px;
    }
}

/* Desktop: Position hero-stats over the image - REMOVED for clarity in trust bar */


.hero-floating-cards {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
    max-width: 300px;
}

@media (max-width: 1200px) {
    .hero-floating-cards {
        /* display: none !important; */
    }
}

.floating-card {
    background: white;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
    max-width: 100%;
}

.floating-card:nth-child(2) {
    animation-delay: 0.5s;
}

.floating-card:nth-child(3) {
    animation-delay: 1s;
}

@keyframes float {

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

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

.floating-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.floating-text h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.floating-text span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ====================
   SERVICE CARDS WITH IMAGES
   ==================== */
.service-card-visual {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.service-card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    margin-top: auto;
    color: white;
}

.service-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: white;
}

.service-card-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-card-visual .service-icon {
    background: white;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card-visual .service-links a {
    color: white;
    opacity: 0.9;
}

.service-card-visual .service-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* ====================
   IMAGE MARQUEE
   ==================== */
.image-marquee-section {
    padding: 40px 0;
    background: var(--bg-white);
    overflow: hidden;
    max-width: 100vw;
}

.marquee-container {
    display: flex;
    gap: 20px;
    animation: marquee 30s linear infinite;
    max-width: 100%;
}

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

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

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

.marquee-item {
    flex-shrink: 0;
    width: 280px;
    height: 200px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    max-width: 100%;
}

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

.marquee-item:hover img {
    transform: scale(1.1);
}

/* ====================
   TESTIMONIALS WITH IMAGES
   ==================== */
.testimonials-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
    max-width: 100vw;
    width: 100%;
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 40px 0 !important;
    }
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 50px 50px;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.testimonials-header h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
}

.testimonials-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
    max-width: 100%;
}

@media (max-width: 768px) {
    .testimonials-slider {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 35px;
    box-shadow: var(--shadow-lg);
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

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

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.testimonial-info h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.testimonial-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.testimonial-rating {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    font-style: italic;
}

/* ====================
   BEFORE/AFTER SLIDER
   ==================== */
.before-after-section {
    padding: 60px 0;
    background: var(--bg-light);
    max-width: 100vw;
    overflow-x: hidden;
    width: 100%;
}

@media (max-width: 768px) {
    .before-after-section {
        padding: 40px 0 !important;
    }
}

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

.before-after-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 100%;
}

@media (max-width: 768px) {
    .before-after-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

.before-after-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    max-width: 100%;
}

.before-after-labels {
    display: flex;
    background: var(--bg-light);
}

.before-after-labels span {
    flex: 1;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.before-after-labels span:first-child {
    background: var(--text-light);
    color: white;
}

.before-after-labels span:last-child {
    background: var(--primary-color);
    color: white;
}

.before-after-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.before-after-images img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.before-after-content {
    padding: 25px;
}

.before-after-content h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.before-after-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ====================
   PARALLAX SECTIONS
   ==================== */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 0;
    overflow: hidden;
    max-width: 100vw;
    width: 100%;
}

@media (max-width: 768px) {
    .parallax-section {
        padding: 40px 0 !important;
        background-attachment: scroll !important;
    }
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.parallax-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.parallax-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.parallax-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ====================
   SHAPES & DECORATIONS
   ==================== */
.shape-decoration {
    position: absolute;
    pointer-events: none;
    max-width: 100px;
}

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

.shape-1 {
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1) 0%, rgba(194, 24, 89, 0.1) 100%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.shape-2 {
    bottom: 20%;
    right: 10%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1) 0%, rgba(46, 125, 50, 0.1) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {

    0%,
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
}

/* ====================
   FLASH APPOINTMENT BUTTON
   ==================== */
.btn-flash {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 50%, #FF6B6B 100%);
    background-size: 200% 200%;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    animation: flashGradient 2s ease infinite, flashPulse 1.5s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-flash::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: flashShine 2s infinite;
}

@keyframes flashGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes flashPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(255, 107, 107, 0.6);
    }
}

@keyframes flashShine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.btn-flash:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.5);
}

.btn-flash i {
    font-size: 1.2rem;
    animation: flashIcon 1s ease-in-out infinite;
}

@keyframes flashIcon {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

/* Header Flash Button Positioning */
.header-appointment {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 999;
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .header-appointment {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: 0 !important;
        text-align: center;
        padding: 15px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        animation: none !important;
        transform: none !important;
    }

    .btn-flash {
        width: 100%;
        justify-content: center;
    }
}

.btn-accent {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.btn-accent:hover {
    background: #e68a00;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    overflow: visible !important;
    /* Prevent unwanted scrollbars */
}

/* ====================
   ADDITIONAL APPOINTMENT BUTTON STYLES
   ==================== */
.btn-flash-secondary {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 50%, #2196F3 100%);
    background-size: 200% 200%;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
    animation: flashGradient 2s ease infinite, flashPulse 1.5s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-flash-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: flashShine 2s infinite;
}

.btn-flash-secondary:hover {
    background: linear-gradient(135deg, #1976D2 0%, #2196F3 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(33, 150, 243, 0.5);
}

.btn-flash-secondary i {
    font-size: 1.2rem;
    animation: flashIcon 1s ease-in-out infinite;
}

.btn-gradient {
    background: linear-gradient(135deg, #9C27B0 0%, #E91E63 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.4);
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-gradient:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(156, 39, 176, 0.6);
    background: linear-gradient(135deg, #E91E63 0%, #9C27B0 100%);
}

.btn-outline-appointment {
    background: transparent;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, #9C27B0, #E91E63) 1;
    background-origin: border-box;
    background-clip: padding-box;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-outline-appointment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #9C27B0 0%, #E91E63 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-outline-appointment:hover::before {
    opacity: 1;
}

.btn-outline-appointment:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
}

.btn-outline-appointment i {
    font-size: 1.2rem;
}

/* Appointment CTA Section */
.appointment-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 0;
    text-align: center;
    max-width: 100vw;
    overflow-x: hidden;
    width: 100%;
}

@media (max-width: 768px) {
    .appointment-cta {
        padding: 40px 15px !important;
    }

    .appointment-cta h2 {
        font-size: 1.5rem !important;
    }

    .appointment-cta .cta-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }
}

.appointment-cta h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
}

.appointment-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.appointment-cta .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-static {
    background: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-static::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.btn-static:hover {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.5);
}

.btn-static:hover::before {
    left: 100%;
}

.btn-static i {
    font-size: 1.2rem;
}

.btn-static-white {
    background: white;
    color: var(--primary-color);
}

.btn-static-white:hover {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
}

/* ====================
   MOBILE STRICT FIX - FINAL
   ==================== */
@media (max-width: 768px) {

    /* Force hide all problematic elements */
    .hero-floating-cards,
    .hero-visual .hero-floating-cards,
    .floating-card,
    .hero-stats,
    .stat-box,
    .hero-section::before,
    .doctor-badge,
    .gallery-icon,
    .lightbox-nav,
    .lightbox-close {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
    }

    /* Ensure hero section fits */
    .hero-section {
        overflow: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }

    .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .hero-visual {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    /* Fix hero image */
    .hero-image-main {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .hero-image-main img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Fix doctor section */
    .doctor-image {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .doctor-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    /* Fix gallery */
    .gallery-grid {
        width: 100% !important;
        max-width: 100% !important;
    }

    .gallery-item {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Ensure all containers fit */
    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    /* Prevent any horizontal scroll */
    body {
        overflow-x: hidden !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }

    /* Hide lightbox on mobile */
    .lightbox {
        display: none !important;
    }

    /* Fix site-header */
    .site-header {
        width: 100% !important;
        max-width: 100vw !important;
        overflow: hidden !important;
        position: relative !important;
    }

    /* Fix main-content */
    .main-content {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    /* Fix all sections */
    section {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    /* Fix all images */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* ====================
   PRINT STYLES
   ==================== */
@media print {

    .site-header,
    .hero-section,
    .footer-social,
    .btn,
    .lightbox,
    .gallery-overlay {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .service-card,
    .category-card {
        break-inside: avoid;
        border: 1px solid #ccc;
        box-shadow: none;
    }
}