:root {
    --primary: #0b1324;
    --secondary: #15d0b6;
    --accent: #ff6b35;
    --accent-light: #ffb347;
    --light: #f7f9fc;
    --dark: #0b1324;
    --gray: #6b7280;
    --success: #2bb673;
    --white: #ffffff;
    --shadow: 0 20px 40px rgba(11, 19, 36, 0.12);
    --shadow-lg: 0 35px 70px rgba(11, 19, 36, 0.18);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

h1, h2, h3, h4, h5 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Global: prevent inputs from overflowing their container on mobile */
input,
select,
textarea,
button {
    max-width: 100%;
    box-sizing: border-box;
}

/* Global: prevent images and media from overflowing */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* Global: long words / URLs in headings must wrap */
h1, h2, h3, h4, h5 {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Typography */
p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

.mt-50 {
    margin-top: 50px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(157, 78, 221, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(120deg, rgba(11, 19, 36, 0.88), rgba(21, 208, 182, 0.28));
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(11, 19, 36, 0.95);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 107, 53, 0.28), transparent 55%);
    opacity: 0.6;
    pointer-events: none;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.1), 0 10px 25px rgba(255, 107, 53, 0.35);
    overflow: hidden;
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo:hover .logo-img {
    transform: rotate(360deg);
}

.logo-text h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: white;
    letter-spacing: 0.5px;
}

.logo-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin: 0;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.status-pill i {
    color: var(--secondary);
    font-size: 0.55rem;
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-menu a:hover {
    color: white;
}

.nav-menu a.active {
    color: white;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.btn {
    color: white;
    padding: 10px 18px;
}

.nav-menu a.btn::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
}

.sticky-contact-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
    background: rgba(11, 19, 36, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 22px 45px rgba(11, 19, 36, 0.28);
    backdrop-filter: blur(12px);
    z-index: 1100;
}

.sticky-contact-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 62px;
    padding: 10px 8px;
    border: none;
    border-radius: 14px;
    text-decoration: none;
    color: var(--white);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: var(--transition);
}

.sticky-contact-bar__item i {
    font-size: 1.1rem;
}

.sticky-contact-bar__item--menu {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.95), rgba(255, 179, 71, 0.92));
}

.sticky-contact-bar__item--call {
    background: linear-gradient(135deg, rgba(11, 19, 36, 0.95), rgba(21, 208, 182, 0.92));
}

.sticky-contact-bar__item--whatsapp {
    background: linear-gradient(135deg, rgba(28, 181, 114, 0.98), rgba(39, 211, 124, 0.9));
}

.sticky-contact-bar__item:hover {
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.9), rgba(87, 197, 182, 0.8)), 
                url('https://images.unsplash.com/photo-1551601651-2a8555f1a136?ixlib=rb-4.0.3');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image-caption {
    margin-top: 20px;
    background: rgba(11, 19, 36, 0.6);
    padding: 16px 20px;
    border-radius: 14px;
    backdrop-filter: blur(6px);
    box-shadow: var(--shadow);
}

.hero-image-caption h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 8px;
}

.hero-image-caption p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.hero-form {
    position: relative;
}

.hero-form-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(6px);
    color: var(--primary);
}

.hero-form-header {
    margin-bottom: 18px;
}

.hero-form-header h2 {
    margin-bottom: 8px;
    font-size: 2rem;
}

.hero-form-header p {
    margin-bottom: 0;
}

.form-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(21, 208, 182, 0.15);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.hero-appointment-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.online-consultation-details[hidden] {
    display: none !important;
}

.hero-appointment-form .form-group input,
.hero-appointment-form .form-group select,
.hero-appointment-form .form-group textarea {
    width: 100%;
    border: 1px solid rgba(11, 19, 36, 0.2);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--primary);
    background: #fff;
}

.hero-appointment-form .form-group label {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-form-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--gray);
}

.hero-form-note a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

/* Chamber schedule info panel */
.chamber-info {
    display: none;
    background: rgba(21, 208, 182, 0.1);
    border: 1px solid rgba(21, 208, 182, 0.4);
    border-radius: 10px;
    padding: 10px 14px;
    margin-top: 8px;
    font-size: 0.88rem;
    color: var(--primary);
    gap: 12px;
    flex-wrap: wrap;
}

.chamber-info.visible {
    display: flex;
}

.chamber-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.chamber-info span i {
    color: var(--secondary);
}

.no-chambers-notice {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 10px;
    padding: 14px 16px;
    color: var(--primary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.no-chambers-notice i {
    color: var(--accent);
    font-size: 1.1rem;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.frame-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.floating-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation: float 8s infinite ease-in-out;
}

.floating-2 {
    width: 120px;
    height: 120px;
    bottom: 15%;
    right: 10%;
    animation: float 10s infinite ease-in-out reverse;
}

.floating-3 {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 5%;
    animation: float 7s infinite ease-in-out 1s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
    margin: 0 auto 10px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
    margin: -5px auto;
    animation: arrow 2s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: -0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: -0.4s;
}

/* Quick Stats */
.quick-stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light) 0%, white 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.stat-card h3 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 500;
    margin: 0;
}

/* Services */
.featured-services {
    padding: 100px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 15px;
    color: var(--primary);
}

/* Testimonials */
.testimonials-preview {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light) 0%, white 100%);
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    margin: 20px;
    transition: var(--transition);
    height: auto;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
    color: var(--dark);
    line-height: 1.8;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 600;
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.author-info p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="white"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="white"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="white"/></svg>');
    background-size: cover;
    opacity: 0.1;
    pointer-events: none;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e0;
    font-size: 0.9rem;
}

/* Swiper: prevent overflow before JS initialises */
.swiper {
    overflow: hidden;
}

/* Swiper Customization */
.swiper-pagination-bullet {
    background-color: var(--primary);
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 1;
}

/* Global Enhancements */
body {
    background-image:
        radial-gradient(circle at top left, rgba(21, 208, 182, 0.15), transparent 45%),
        radial-gradient(circle at bottom right, rgba(255, 107, 53, 0.12), transparent 45%);
    background-attachment: fixed;
}

section {
    position: relative;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.9rem;
    border-radius: 999px;
}

/* Page Header */
.page-header {
    padding: 180px 0 120px;
    background: linear-gradient(135deg, rgba(11, 19, 36, 0.95), rgba(21, 208, 182, 0.85));
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header--services {
    background:
        radial-gradient(circle at top left, rgba(255, 179, 71, 0.35), transparent 55%),
        radial-gradient(circle at bottom right, rgba(21, 208, 182, 0.35), transparent 55%),
        linear-gradient(135deg, rgba(11, 19, 36, 0.98), rgba(11, 19, 36, 0.78));
}

.page-header--gallery {
    background: linear-gradient(135deg, rgba(11, 19, 36, 0.98), rgba(21, 208, 182, 0.85));
}

.page-header--contact {
    background: linear-gradient(135deg, rgba(11, 19, 36, 0.98), rgba(255, 179, 71, 0.85));
}

.page-header--stories {
    background:
        radial-gradient(circle at center, rgba(255, 107, 53, 0.25), transparent 60%),
        linear-gradient(135deg, rgba(11, 19, 36, 0.98), rgba(21, 208, 182, 0.85));
}

.page-header-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.page-header-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
}

/* About Page */
.about-hero-simple {
    padding: 200px 0 110px;
    background:
        radial-gradient(circle at top right, rgba(255, 107, 53, 0.2), transparent 55%),
        radial-gradient(circle at bottom left, rgba(21, 208, 182, 0.2), transparent 55%),
        linear-gradient(135deg, rgba(11, 19, 36, 0.98), rgba(11, 19, 36, 0.85));
    color: white;
}

.about-hero-simple-content {
    max-width: 640px;
}

.about-hero-simple-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 12px;
}

.about-hero-simple-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 22px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.about-stats {
    padding: 60px 0;
    background: white;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.about-stat {
    background: var(--light);
    border-radius: 16px;
    padding: 22px;
    text-align: center;
    border: 1px solid rgba(11, 19, 36, 0.08);
}

.about-stat h3 {
    color: var(--accent);
    font-size: 2.2rem;
    margin-bottom: 6px;
}

.about-story {
    padding: 100px 0;
    background: var(--light);
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: start;
}

.about-story-card {
    background: white;
    border-radius: 16px;
    padding: 26px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 19, 36, 0.08);
}

.about-story-card ul {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 10px;
}

.about-story-card li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary);
    margin-right: 10px;
}

.about-values {
    padding: 100px 0;
    background: white;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.value-card {
    background: var(--light);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 19, 36, 0.08);
}

.value-card i {
    font-size: 26px;
    color: var(--accent);
    margin-bottom: 12px;
}

.about-timeline {
    padding: 100px 0;
    background: var(--light);
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.timeline-card {
    background: white;
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 19, 36, 0.08);
}

.timeline-year {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 107, 53, 0.12);
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
}

/* Locations */
.locations-preview {
    padding: 100px 0;
    background: white;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.location-card {
    background: var(--white);
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 19, 36, 0.08);
    transition: var(--transition);
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.location-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(21, 208, 182, 0.15);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.location-meta {
    display: grid;
    gap: 8px;
    color: var(--gray);
    font-size: 0.95rem;
}

.location-meta i {
    color: var(--accent);
    margin-right: 6px;
}

/* FAQ */
.faq-section {
    padding: 100px 0;
    background: var(--light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 19, 36, 0.08);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    list-style: none;
    position: relative;
    padding-right: 26px;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    color: var(--accent);
    font-size: 1.2rem;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    margin-top: 12px;
}

/* Services Page */
.services-page {
    padding: 100px 0;
    background: white;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
}

.service-detail {
    background: var(--white);
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 19, 36, 0.08);
    transition: var(--transition);
}

.service-detail:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-detail-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 18px;
}

.service-detail ul {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 8px;
}

.service-detail ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary);
    margin-right: 8px;
}

/* Patient Stories */
.patient-stories {
    padding: 100px 0;
    background: white;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.story-card {
    background: var(--white);
    border-radius: 18px;
    padding: 0;
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 19, 36, 0.08);
    transition: var(--transition);
    overflow: hidden;
}

.story-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.story-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.story-card:hover .story-image img {
    transform: scale(1.05);
}

.story-content {
    padding: 24px;
}

.story-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.story-meta {
    margin-bottom: 16px;
}

.patient-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.patient-name i {
    color: var(--accent);
}

.story-text {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

.no-stories {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--light);
    border-radius: 18px;
    border: 2px dashed rgba(11, 19, 36, 0.1);
}

.no-stories i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.no-stories h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Care Process */
.care-process {
    padding: 100px 0;
    background: var(--light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.process-step {
    background: white;
    border-radius: 16px;
    padding: 26px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 19, 36, 0.08);
}

.step-number {
    display: inline-block;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Gallery */
.gallery-section {
    padding: 100px 0;
    background: white;
}

.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.filter-btn {
    border: 1px solid rgba(11, 19, 36, 0.2);
    background: white;
    color: var(--primary);
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.gallery-card {
    border: none;
    background: none;
    padding: 0;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.gallery-card--video::after {
    content: 'YouTube';
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.92);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 19, 36, 0.15), rgba(11, 19, 36, 0.75));
    color: white;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-video-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.92);
    color: #fff;
    font-size: 1.1rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.gallery-card.is-hidden {
    display: none;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(11, 19, 36, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    z-index: 2000;
}

.lightbox.show {
    display: flex;
}

.lightbox-content {
    background: white;
    border-radius: 18px;
    padding: 20px;
    max-width: 900px;
    width: 100%;
    position: relative;
}

.lightbox-content img {
    width: 100%;
    border-radius: 12px;
    max-height: 70vh;
    object-fit: cover;
}

.lightbox-video-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.lightbox-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── Separate Video Gallery Section ── */
.video-gallery-section {
    background: #f8f4ff;
    border-top: 3px solid #7c3aed;
    margin-top: 0;
    padding-top: 60px;
}

.video-gallery-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.video-gallery-section .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e1b4b;
    margin-bottom: 8px;
}

.video-gallery-section .section-subtitle {
    color: #6b7280;
    font-size: 1rem;
}

.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #9ca3af;
    padding: 40px 0;
}

.lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
}

#lightboxCaption {
    margin-top: 12px;
    color: var(--gray);
}

/* Contact */
.contact-highlights {
    padding: 80px 0;
    background: white;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.highlight-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 19, 36, 0.08);
}

.highlight-card i {
    font-size: 28px;
    color: var(--accent);
    margin-bottom: 10px;
}

.highlight-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.appointment-section {
    padding: 100px 0;
    background: var(--light);
}

.appointment-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: start;
}

.appointment-form {
    background: white;
    border-radius: 18px;
    padding: 32px;
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.form-group label {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(11, 19, 36, 0.2);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--primary);
    background: #fff;
}

.appointment-info {
    display: grid;
    gap: 18px;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 19, 36, 0.08);
}

.info-card ul {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 8px;
}

.info-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary);
    margin-right: 8px;
}

/* Notifications and Tooltip */
.notification {
    position: fixed;
    right: 20px;
    top: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(-20px);
    opacity: 0;
    transition: var(--transition);
    z-index: 3000;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-success i {
    color: var(--success);
}

.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray);
}

.tooltip {
    position: fixed;
    background: var(--primary);
    color: white;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    z-index: 3000;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 16px;
    height: 16px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: transform 0.1s ease, background 0.2s ease;
}

.custom-cursor.hover {
    transform: translate(-50%, -50%) scale(1.5);
    background: rgba(255, 107, 53, 0.2);
}

/* Particles */
.particle-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float 12s infinite ease-in-out;
}