/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #5EC0BF;
    --primary-gradient: linear-gradient(135deg, #5EC0BF 0%, #4aa8a7 100%);
    --accent-color: #FF6B9D;
    --accent-gradient: linear-gradient(135deg, #FF6B9D 0%, #C44569 100%);
    --secondary-color: #2D3748;
    --text-color: #1a202c;
    --text-light: #718096;
    --bg-light: #F7FAFC;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --border-color: #E2E8F0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 50px rgba(94, 192, 191, 0.25);
    --shadow-card: 0 8px 20px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 40px rgba(94, 192, 191, 0.3);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 20px;
}

/* Dark Mode Variables */
body.dark-mode {
    --primary-color: #5EC0BF;
    --secondary-color: #E2E8F0;
    --text-color: #e5e7eb;
    --text-light: #9ca3af;
    --bg-light: #1a202c;
    --bg-white: #2D3748;
    --border-color: #4A5568;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Trust Bar */
.trust-bar {
    background: var(--secondary-color);
    color: #cbd5e0;
    font-size: 13px;
    padding: 9px 0;
    position: relative;
    z-index: 1001;
}

body.dark-mode .trust-bar {
    background: #1a202c;
}

.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.trust-bar-item {
    display: flex;
    align-items: center;
    gap: 7px;
}

.trust-bar-item i {
    color: var(--primary-color);
    font-size: 13px;
}

.trust-bar-item a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.trust-bar-item a:hover {
    color: var(--primary-color);
}

.trust-bar-sep {
    color: #4a5568;
    user-select: none;
}

.trust-bar-emergency a {
    color: #fc8181 !important;
    font-weight: 600;
}

.trust-bar-emergency a:hover {
    color: #feb2b2 !important;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    top: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.navbar.scrolled .trust-bar {
    display: none;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 0;
    transition: padding 0.3s ease;
}

.navbar.scrolled .nav-wrapper {
    padding: 8px 0;
}

.navbar.scrolled .logo-image {
    height: 44px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 72px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
    background: transparent;
    object-fit: contain;
}

body.dark-mode .logo-image {
    opacity: 0.95;
}

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

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    transition: color 0.3s ease;
    font-size: 15px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.btn-appointment {
    background: var(--primary-color);
    color: var(--bg-white) !important;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
}

/* Social Media Icons in Navbar */
.nav-social {
    margin: 0;
    padding: 0;
}

.nav-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-light);
    font-size: 16px;
    transition: all 0.3s ease;
}

.nav-social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Brand-specific colors */
.nav-social-icon.facebook:hover {
    background: #1877F2;
    color: white;
}

.nav-social-icon.instagram:hover {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    color: white;
}

.nav-social-icon.linkedin:hover {
    background: #0A66C2;
    color: white;
}

.nav-social-icon.twitter:hover {
    background: #1DA1F2;
    color: white;
}

.btn-appointment:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-whatsapp-nav {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff !important;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    position: relative;
}

.btn-whatsapp-nav i {
    font-size: 22px;
}

.btn-whatsapp-nav:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-social-nav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    transition: all 0.4s ease;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-social-nav i {
    font-size: 20px;
}

.btn-facebook-nav {
    background: #1877F2;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

.btn-facebook-nav:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-instagram-nav {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    box-shadow: 0 4px 15px rgba(221, 42, 123, 0.4);
}

.btn-instagram-nav:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(221, 42, 123, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 10px;
    margin: -10px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 12, 41, 0.75) 0%, rgba(48, 43, 99, 0.65) 40%, rgba(94, 192, 191, 0.15) 100%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(94, 192, 191, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 107, 157, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    text-align: left;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(94, 192, 191, 0.2);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(94, 192, 191, 0.4);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease, pulse 3s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(94, 192, 191, 0.2);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(94, 192, 191, 0.2);
    }
    50% {
        box-shadow: 0 8px 40px rgba(94, 192, 191, 0.4);
    }
}

.hero-badge i {
    color: var(--primary-color);
    font-size: 18px;
}

.hero-badge span {
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 58px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #ffffff;
    line-height: 1.1;
    animation: fadeInUp 1s ease;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #5EC0BF 0%, #FF6B9D 50%, #FFD93D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    animation: gradientShift 8s ease infinite;
    background-size: 200% auto;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 600px;
    animation: fadeInUp 1.2s ease;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 1.4s ease;
}

.btn-large {
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-large i {
    font-size: 18px;
}

.btn-secondary-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
    color: #ffffff;
}

.hero-features {
    display: flex;
    gap: 40px;
    animation: fadeInUp 1.6s ease;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(26, 187, 221, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(26, 187, 221, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 22px;
    color: var(--primary-color);
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feature-text strong {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
}

.feature-text span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.hero-image-wrapper {
    position: relative;
    animation: fadeInRight 1.2s ease;
}

.hero-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.hero-doctor-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.hero-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: float 3s ease-in-out infinite;
}

.hero-floating-card i {
    font-size: 32px;
    color: var(--primary-color);
}

.hero-floating-card div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-floating-card strong {
    font-size: 16px;
    color: var(--secondary-color);
    font-weight: 700;
}

.hero-floating-card span {
    font-size: 13px;
    color: var(--text-light);
}

.hero-card-1 {
    top: 15%;
    left: -10%;
    animation-delay: 0s;
}

.hero-card-2 {
    bottom: 10%;
    right: -8%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.hero-scroll span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 10px;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: var(--primary-color);
    margin: 0 auto;
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(15px); }
}

/* Button Styles */
.btn {
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #5EC0BF 0%, #4aa8a7 100%);
    color: var(--bg-white);
    box-shadow: 0 4px 20px rgba(94, 192, 191, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(107, 114, 128, 0.5);
}

.btn-primary span,
.btn-primary i {
    position: relative;
    z-index: 1;
}

.btn-primary-large {
    padding: 18px 45px;
    font-size: 16px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(94, 192, 191, 0.25);
}

.btn-primary-large:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

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

.btn-secondary:hover {
    background: var(--text-color);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

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

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

/* Section Styles */
section {
    padding: 120px 0;
    position: relative;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-label {
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #5EC0BF 0%, #FF6B9D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-weight: 700;
    display: inline-block;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header h2 {
    font-size: 54px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #4A5568 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1px;
}

.section-header p,
.section-description {
    font-size: 17px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-footer {
    text-align: center;
    margin-top: 70px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Section */
.about-intro {
    background: linear-gradient(180deg, #F7FAFC 0%, #EDF2F7 50%, #E6FFFA 100%);
    padding: 60px 0 0 0;
    overflow: hidden;
    position: relative;
}

.about-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(94, 192, 191, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(255, 107, 157, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-intro .section-header {
    text-align: center;
    margin-bottom: 30px;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    min-height: 700px;
    max-width: 100%;
}

/* Left Content */
.about-left {
    background: var(--bg-white);
    padding: 60px 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.about-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 187, 221, 0.08) 0%, rgba(26, 187, 221, 0.05) 100%);
    pointer-events: none;
}

.about-left h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--secondary-color);
    line-height: 1.3;
    font-weight: 600;
}

.about-left p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 15px;
    font-weight: 400;
}

.about-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
    padding-top: 30px;
}

.about-buttons .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
    justify-content: center;
}

/* Center Image */
.about-center {
    padding: 60px 60px;
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.about-center h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--secondary-color);
    line-height: 1.3;
    font-weight: 600;
}

.about-center p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 15px;
    font-weight: 400;
}

.about-main-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.about-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right Content */
.about-right {
    background: var(--bg-white);
    padding: 60px 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.about-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 187, 221, 0.08) 0%, rgba(26, 187, 221, 0.05) 100%);
    pointer-events: none;
}

.about-right h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--secondary-color);
    line-height: 1.3;
    font-weight: 600;
}

.about-decorative-element {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path d="M20,40 Q40,20 60,40 T100,40 T140,40 T180,40" stroke="%234fc3dc" stroke-width="2" fill="none" opacity="0.2"/><path d="M20,80 Q40,60 60,80 T100,80 T140,80 T180,80" stroke="%234fc3dc" stroke-width="2" fill="none" opacity="0.2"/><circle cx="40" cy="40" r="3" fill="%234fc3dc" opacity="0.3"/><circle cx="100" cy="80" r="3" fill="%234fc3dc" opacity="0.3"/><circle cx="160" cy="40" r="3" fill="%234fc3dc" opacity="0.3"/></svg>') no-repeat;
    background-size: contain;
    opacity: 0.3;
    pointer-events: none;
}

.about-right-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.about-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-highlights li {
    position: relative;
    padding-left: 22px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.about-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.about-right p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 25px;
    font-weight: 400;
}

.about-right-image {
    margin: 0 0 25px 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    max-height: 400px;
    transition: var(--transition);
    position: relative;
}

.about-right-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(94, 192, 191, 0.3) 0%, rgba(255, 107, 157, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.about-right-image:hover::before {
    opacity: 1;
}

.about-right-image:hover {
    box-shadow: 0 20px 60px rgba(94, 192, 191, 0.3);
    transform: translateY(-5px) scale(1.02);
}

.about-right-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.about-closing {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-cta {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    margin-top: 25px;
}

/* Values Section */
.values-section {
    background: linear-gradient(135deg, #2D3748 0%, #1a202c 100%);
    text-align: center;
    color: #ffffff;
}

.values-section .section-label {
    background: linear-gradient(135deg, #5EC0BF 0%, #FF6B9D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.values-title {
    font-size: 42px;
    color: #ffffff;
    margin-bottom: 20px;
}

.values-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

.values-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 60px;
}

.value-item {
    text-align: center;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.value-icon i {
    font-size: 36px;
    color: var(--bg-white);
}

.value-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: brightness(1.1);
}

.value-item h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #ffffff;
}

.value-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 15px;
}

/* Services Section */
.services {
    background: var(--bg-white);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(94, 192, 191, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(255, 107, 157, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.service-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    padding: 40px 35px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    transition: var(--transition);
    text-decoration: none;
    min-height: 160px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(94, 192, 191, 0.05) 0%, rgba(255, 107, 157, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #5EC0BF 0%, #FF6B9D 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card .service-icon {
    font-size: 48px;
    color: var(--text-light);
    margin-bottom: 15px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.service-card .service-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(94, 192, 191, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

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

.service-card:hover .service-image {
    opacity: 1;
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 10px;
    font-weight: 500;
}

.service-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
    flex-grow: 1;
}

.service-arrow {
    color: var(--primary-color);
    font-size: 18px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-arrow {
    transform: translateX(5px);
}

/* Specialists Section */
.specialists {
    background: linear-gradient(180deg, #F7FAFC 0%, #EDF7F7 50%, #E6FFFA 100%);
    position: relative;
}

.specialists::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 40%, rgba(94, 192, 191, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(255, 107, 157, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.specialists-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: transparent;
    padding: 0;
}

.specialist-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    border: 2px solid #E2E8F0;
    padding: 20px;
}

.specialist-card::after {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid #e6eeee;
    border-radius: 8px;
    pointer-events: none;
}

.specialist-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(94, 192, 191, 0.08) 0%, rgba(255, 107, 157, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.specialist-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 60px rgba(94, 192, 191, 0.25);
    border-color: var(--primary-color);
}

.specialist-card:hover::before {
    opacity: 1;
}

.specialist-image {
    height: 300px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    padding: 10px;
}

.image-placeholder {
    width: 110px;
    height: 110px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder i {
    font-size: 55px;
    color: var(--bg-white);
}

.specialist-info {
    padding: 22px 12px 12px;
    text-align: center;
}

.specialist-info h3 {
    font-size: 22px;
    margin-bottom: 6px;
    color: var(--text-color);
    font-weight: 600;
}

.specialist-role {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.specialist-summary {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 18px;
}

.specialist-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
    align-items: center;
}

.specialist-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.specialist-meta .meta-item i {
    color: var(--primary-color);
    font-size: 14px;
}

.specialist-meta .meta-item.specialty span {
    color: var(--primary-color);
    font-weight: 600;
}

.specialist-meta .meta-item.credentials span {
    color: var(--text-light);
    font-weight: 500;
}

.specialty {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 14px;
}

.specialist-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    justify-content: center;
}

.specialist-tags span {
    background: var(--bg-light);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    color: var(--text-light);
}

.view-profile {
    background: linear-gradient(135deg, #5EC0BF 0%, #4aa8a7 100%);
    border: 2px solid transparent;
    color: var(--bg-white);
    padding: 14px 32px;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 20px rgba(94, 192, 191, 0.3);
    position: relative;
    overflow: hidden;
}

.view-profile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #FF6B9D 0%, #C44569 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.view-profile span {
    position: relative;
    z-index: 1;
}

.view-profile:hover::before {
    opacity: 1;
}

.view-profile:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 107, 157, 0.4);
}

.view-profile i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.view-profile:hover i {
    transform: translateX(5px);
}

.specialist-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.specialist-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.specialist-link:hover {
    color: var(--primary-color);
}

.specialist-link-primary {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.specialist-link-primary:hover {
    gap: 12px;
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

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

.stat-item {
    text-align: center;
    padding: 40px 25px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

.stat-item h3 {
    font-size: 64px;
    background: linear-gradient(135deg, #5EC0BF 0%, #FF6B9D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -2px;
}

.stat-item p {
    color: var(--secondary-color);
    font-size: 17px;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 50px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(94, 192, 191, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 107, 157, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

body.dark-mode .cta-section {
    background: linear-gradient(135deg, #1e2d3d 0%, #1a2735 100%);
}

.cta-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #5EC0BF 0%, #FF6B9D 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 10px 40px rgba(94, 192, 191, 0.4);
    animation: pulse 3s ease-in-out infinite;
}

.cta-icon i {
    font-size: 22px;
    color: #fff;
}

.cta-content h2 {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 14px;
    font-weight: 800;
    letter-spacing: -1px;
}

.cta-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto 24px;
    line-height: 1.8;
}

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

/* Contact Section */
.contact {
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-block h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 600;
}

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

.info-block a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.info-block .social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-block .social-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.contact-form {
    background: var(--bg-white);
    padding: 55px;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    font-size: 30px;
    margin-bottom: 35px;
    color: var(--secondary-color);
}

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

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

.form-group input:not([type="radio"]):not([type="checkbox"]),
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:not([type="radio"]):not([type="checkbox"]):hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--primary-color);
    background: var(--bg-white);
}

.form-group input:not([type="radio"]):not([type="checkbox"]):focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(94, 192, 191, 0.1);
}

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

.contact-form .btn-primary {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 18px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 45px 0 0;
    border-top: none;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: none;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5EC0BF 0%, #FF6B9D 50%, #FFD93D 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 35px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 12px;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(94, 192, 191, 0.3));
    transition: var(--transition);
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 20px rgba(94, 192, 191, 0.5));
}

body.dark-mode .footer-logo {
    opacity: 0.95;
    filter: drop-shadow(0 4px 12px rgba(94, 192, 191, 0.3));
}

.footer-col h3 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 700;
}

.footer-col h3 span {
    background: linear-gradient(135deg, #5EC0BF 0%, #FF6B9D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-col p {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
}

.footer-description {
    font-size: 13px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    line-height: 1.6;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #5EC0BF 0%, #FF6B9D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
    display: inline-block;
    position: relative;
}

.footer-col ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #5EC0BF 0%, #FF6B9D 100%);
    transition: width 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-col ul li a:hover::before {
    width: 100%;
}

.footer-col ul.contact-list li {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.footer-col ul.contact-list li::before {
    content: none;
}

.footer-col ul.contact-list li i {
    color: #5EC0BF;
    font-size: 15px;
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.footer-col ul.contact-list li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul.contact-list li a:hover {
    color: #5EC0BF;
}

.footer-bottom {
    text-align: center;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-bottom p::before,
.footer-bottom p::after {
    content: '';
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(94, 192, 191, 0.5) 50%, transparent 100%);
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.footer-social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.footer-social-icon:hover::before {
    opacity: 1;
}

.footer-social-icon.facebook::before {
    background: linear-gradient(135deg, #1877F2 0%, #0d5dbf 100%);
}

.footer-social-icon.instagram::before {
    background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
}

.footer-social-icon.twitter::before {
    background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
}

.footer-social-icon.linkedin::before {
    background: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
}

.footer-social-icon i {
    position: relative;
    z-index: 1;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    color: var(--text-color);
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    width: 42px;
    height: 42px;
}

.dark-mode-toggle:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    transform: rotate(20deg);
}

body.dark-mode .dark-mode-toggle i::before {
    content: "\f185";
}

/* Clinician Search and Filter Controls */
.clinician-controls {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 18px;
}

.search-box input {
    width: 100%;
    padding: 18px 20px 18px 55px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    transition: var(--transition);
    background: var(--bg-white);
    color: var(--text-color);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 187, 221, 0.1);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-color);
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
}

/* Enhanced Specialist Cards */
.specialist-card.hidden {
    display: none;
}

.specialist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: var(--transition);
}

.specialist-card:hover .specialist-image img {
    transform: scale(1.05);
}

.credentials {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.specialist-link {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
}

.results-count {
    text-align: center;
    color: var(--text-light);
    font-size: 15px;
    margin-top: 40px;
}

.results-count span {
    font-weight: 600;
    color: var(--primary-color);
}

/* Profile Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes testimonialFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-content {
    background-color: var(--bg-white);
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-color);
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: rotate(90deg);
}

.modal-body {
    padding: 50px;
}

.modal-header {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.modal-image {
    flex-shrink: 0;
}

.modal-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.modal-title h2 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.modal-title .specialty {
    font-size: 18px;
    margin-bottom: 8px;
}

.modal-title .credentials {
    font-size: 14px;
}

.modal-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-section h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-section h3 i {
    color: var(--primary-color);
    font-size: 18px;
}

.detail-section p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
}

.detail-section ul {
    list-style: none;
    padding: 0;
}

.detail-section ul li {
    color: var(--text-light);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.detail-section ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.expertise-tags span {
    background: var(--bg-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.modal-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-white);
    position: relative;
    padding: 60px 0;
}

.testimonials-section .section-header {
    margin-bottom: 40px;
}

.testimonials-section .section-label {
    color: #000000;
    font-weight: 700;
}

.testimonials-section h2 {
    color: var(--primary-color);
}

.testimonials-section .section-description {
    color: #000000;
    font-weight: 700;
}

.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 20px;
}

.testimonials-track {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    display: none;
    text-align: center;
    padding: 35px 35px;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    position: relative;
    animation: testimonialFadeIn 0.6s ease;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-card.active {
    display: block;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 17px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-author strong {
    color: var(--secondary-color);
    font-size: 16px;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 14px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-color);
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.carousel-btn.prev-btn {
    left: -25px;
}

.carousel-btn.next-btn {
    right: -25px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.dot.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

.dot:hover {
    background: var(--primary-color);
}

/* Lazy Loading Animation */
.lazy-load {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Smooth Transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

a, button, input, select, textarea {
    transition: var(--transition);
}

/* Accessibility Focus Styles */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 58px;
    }

    .services-grid,
    .specialists-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Reduce section padding for mobile */
    section {
        padding: 80px 0;
    }

    /* Hide scroll indicator — not needed on touch devices */
    .hero-scroll {
        display: none;
    }

    /* Move back-to-top above WhatsApp button so they don't overlap */
    .back-to-top {
        bottom: 145px;
        right: 20px;
    }

    /* Reduce image height inside about panels for better proportions */
    .about-right-image img {
        height: 260px;
    }

    .nav-menu {
        position: absolute;
        left: -100%;
        top: 100%;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 30px 0;
        gap: 20px;
    }

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

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 140px 0 80px;
        min-height: auto;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 17px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
    }

    .btn-large {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .hero-features {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .hero-image-wrapper {
        display: none;
    }

    .about-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .about-left,
    .about-center,
    .about-right {
        padding: 60px 40px;
    }

    .about-center {
        min-height: 400px;
    }

    .about-buttons {
        flex-direction: column;
    }

    .about-buttons .btn {
        max-width: 100%;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .about-center h2,
    .about-right h2 {
        font-size: 30px;
    }

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

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

    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-features {
        gap: 15px;
    }

    .hero-feature {
        width: 100%;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
    }

    .feature-icon i {
        font-size: 20px;
    }

    .btn-large {
        padding: 15px 28px;
        font-size: 15px;
    }

    .section-header h2,
    .values-title,
    .cta-content h2 {
        font-size: 32px;
    }

    .about-left h2,
    .about-center h2,
    .about-right h2 {
        font-size: 28px;
    }

    .about-left,
    .about-center,
    .about-right {
        padding: 40px 30px;
    }

    .about-right-image img {
        height: 220px;
    }

    .about-center {
        min-height: 300px;
    }

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

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

    .modal-body {
        padding: 30px 20px;
    }

    .modal-header {
        flex-direction: column;
        text-align: center;
    }

    .testimonials-carousel {
        padding: 20px 50px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Additional responsive fixes for new features */
@media (max-width: 768px) {
    .clinician-controls {
        gap: 20px;
    }

    .filter-buttons {
        gap: 10px;
    }

    .modal-body {
        padding: 40px 30px;
    }

    .modal-header {
        flex-direction: column;
        text-align: center;
    }

    .modal-image img {
        width: 120px;
        height: 120px;
    }

    .modal-title h2 {
        font-size: 26px;
    }

    .testimonials-carousel {
        padding: 30px 60px;
    }
}

/* Contact Layout (info cards + map) */
.contact-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
    align-items: stretch;
    min-height: 480px;
}

.contact-info-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-content: start;
}

.contact-info-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 28px 22px;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.contact-info-card--wide {
    grid-column: span 2;
}

.contact-hours-card .contact-card-icon {
    margin-bottom: 14px;
}

.hours-schedule {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.hours-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hours-day {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    min-width: 130px;
}

.hours-divider {
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.hours-time {
    font-size: 14px;
    color: var(--text-light);
    white-space: nowrap;
    font-weight: 500;
}

.hours-time.closed {
    color: #e53e3e;
    font-weight: 600;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.contact-card-icon i {
    color: #fff;
    font-size: 20px;
}

.contact-info-card h4 {
    font-size: 17px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-info-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

.contact-info-card p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info-card p a:hover {
    color: var(--secondary-color);
}

.contact-map-col {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.contact-map-col iframe {
    display: block;
    height: 100%;
    min-height: 480px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(94, 192, 191, 0.35);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, box-shadow 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
}

/* Responsive – contact layout */
@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-map-col iframe {
        min-height: 380px;
    }
}

@media (max-width: 600px) {
    .contact-info-col {
        grid-template-columns: 1fr;
    }

    .trust-bar-sep {
        display: none;
    }

    /* Hide the hours item on small screens — prevents trust bar wrapping
       which would push content under the fixed navbar */
    .trust-bar-inner > span:nth-child(3) {
        display: none;
    }

    .trust-bar-inner {
        gap: 10px;
        justify-content: space-around;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 1001;
    transition: all 0.4s ease;
    text-decoration: none;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.whatsapp-float::before,
.whatsapp-float::after {
    content: none;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
}

.whatsapp-float i {
    position: relative;
    z-index: 1;
    animation: whatsappBounce 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.2);
    }
}

@keyframes whatsappBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 80px;
        right: 20px;
        z-index: 1001;
    }
}

/* =============================================
   ULTRA-SMALL SCREENS (≤ 360px, e.g. iPhone SE)
   ============================================= */
@media (max-width: 360px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 50px 0;
    }

    .hero {
        padding: 110px 0 50px;
    }

    .hero-title {
        font-size: 26px;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-badge {
        padding: 10px 16px;
        font-size: 11px;
    }

    .hero-badge span {
        font-size: 11px;
    }

    .section-header h2,
    .values-title,
    .cta-content h2 {
        font-size: 26px;
    }

    .btn-large {
        padding: 13px 22px;
        font-size: 14px;
    }

    /* Testimonial carousel: give more room to the card */
    .testimonials-carousel {
        padding: 20px 40px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    /* Trust bar: keep phone only on tiny screens */
    .trust-bar-item.trust-bar-emergency {
        display: none;
    }

    .trust-bar-inner {
        justify-content: center;
    }

    /* Modal: maximise usable width */
    .modal.active {
        padding: 10px;
    }

    .modal-body {
        padding: 25px 15px;
    }

    .modal-title h2 {
        font-size: 22px;
    }

    /* Filter buttons: smaller on tiny screens */
    .filter-btn {
        padding: 7px 12px;
        font-size: 12px;
    }

    /* Footer: reduce column gaps */
    .footer-content {
        gap: 20px;
    }

    /* Navbar scrolled: adjust menu top for smaller navbar height */
    .navbar.scrolled .nav-menu {
        top: 70px;
    }
}
