/* Root Variables */
:root {
    --primary-gradient: linear-gradient(135deg, #9d1f3c 0%, #7d1830 100%);
    --primary-color: #9d1f3c;
    --primary-dark: #7d1830;
    --primary-light: #b8234a;
    --secondary-color: #f6b93b;
    --text-dark: #1a1a1a;
    --text-gray: #4a4a4a;
    --text-light: #6b6b6b;
    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --border-color: #e5e5e5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); /* Reduced from 0.3s */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 18px;
    background-color: var(--bg-white);
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.3s ease; /* Reduced from 0.5s */
}

body.page-fade-in {
    opacity: 1;
}

body.page-fade-out {
    opacity: 0;
}

/* Scroll reveal animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero fade-in animation */
.hero-text,
.hero-image {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease; /* Reduced from 0.8s */
}

.hero-text.hero-fade-in,
.hero-image.hero-fade-in {
    opacity: 1;
    transform: translateY(0);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

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

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

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

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

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo-img:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-gray);
    position: relative;
    transition: var(--transition);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.btn-header {
    padding: 10px 24px;
    font-size: 14px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(157, 31, 60, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 31, 60, 0.4);
}

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

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

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #fff5f7 0%, #ffecf0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(157, 31, 60, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Hero Stats Cards */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(157, 31, 60, 0.1);
    transition: all 0.2s ease; /* Faster transition for hover */
}

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

.stat-value {
    font-size: 32px;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 14px;
}

.contact-link svg {
    color: var(--primary-color);
}

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

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

.hero-logo-container {
    width: 100%;
    max-width: 450px;
    background: white;
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    width: 100%;
    height: auto;
    max-width: 350px;
}

.hero-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: white;
}

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

.testimonial-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.star {
    color: #f6b93b;
    font-size: 20px;
}

.testimonial-text {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 16px;
}

.author-details {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 2px;
}

.testimonial-treatment {
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.testimonial-treatment span {
    font-size: 13px;
    color: var(--text-light);
    font-style: normal;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(157, 31, 60, 0.1) 0%, rgba(125, 24, 48, 0.1) 100%);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--text-gray);
}

.about-intro {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.7;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 40px;
    font-size: 17px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.feature-card {
    padding: 40px 32px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    text-align: left;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.service-card {
    background: white;
    padding: 40px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(157, 31, 60, 0.1) 0%, rgba(125, 24, 48, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon svg {
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.service-card > p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    padding: 8px 0 8px 28px;
    color: var(--text-light);
    font-size: 15px;
    position: relative;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: white;
    background: var(--primary-gradient);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Doctor Section */
.doctor {
    padding: 100px 0;
    background: white;
}

.doctor-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: center;
}

.doctor-image-wrapper {
    position: relative;
}

.doctor-image {
    position: relative;
}

.doctor-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.doctor-badge {
    position: absolute;
    bottom: 32px;
    right: 32px;
    background: white;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
}

.badge-icon {
    font-size: 32px;
}

.badge-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.badge-subtitle {
    font-size: 13px;
    color: var(--text-gray);
}

.doctor-info .section-label {
    margin-bottom: 12px;
}

.doctor-info .section-title {
    font-size: 36px;
    margin-bottom: 8px;
}

.doctor-tagline {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 24px;
}

.doctor-intro {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.doctor-social {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.doctor-social span {
    font-weight: 600;
    color: var(--text-dark);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-4px);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.contact-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.contact-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.7;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 0;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-item-icon svg {
    color: var(--primary-color);
}

.contact-item-content {
    flex: 1;
    padding-top: 4px;
}

.contact-item-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-item-content a {
    display: block;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.contact-item-content a:hover {
    color: var(--primary-dark);
}

.contact-item-content p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

.map-section {
    height: 100%;
    min-height: 450px;
}

.map-container {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

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

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

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

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

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

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

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

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

.footer-seo {
    margin-top: 12px;
    font-size: 13px !important;
}

/* Page Hero (About/Services pages) */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 70px;
    opacity: 0;
    animation: fadeInDown 0.6s ease forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-hero h1 {
    color: white;
    margin-bottom: 16px;
    font-size: 48px;
}

.page-hero p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
}

/* About Page Styles */
.about-intro-page {
    padding: 100px 0;
    background: white;
}

.about-page-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.about-page-image {
    position: relative;
}

.about-page-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.credentials-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.credentials-badge span {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.about-page-text h2 {
    margin-bottom: 24px;
    font-size: 36px;
}

.about-page-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

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

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-content h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
}

.story-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

/* Clinical Experience Timeline */
.experience {
    padding: 100px 0;
    background: white;
}

.timeline {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 20px;
    top: 0;
    width: 24px;
    height: 24px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(157, 31, 60, 0.1);
    z-index: 1;
}

.timeline-content {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.timeline-date {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: var(--primary-gradient);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.timeline-content h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.timeline-role {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: block;
}

.timeline-content p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

.qualifications {
    padding: 100px 0;
    background: white;
}

.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.qualification-card {
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
}

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

.qual-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.qualification-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.qualification-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.qual-institution {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

.philosophy {
    padding: 100px 0;
    background: var(--bg-light);
}

.philosophy-content {
    max-width: 1100px;
    margin: 0 auto;
}

.philosophy-content h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 36px;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.philosophy-item {
    background: white;
    padding: 32px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    transition: var(--transition);
}

.philosophy-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.philosophy-item h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 20px;
}

.philosophy-item p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
}

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(157, 31, 60, 0.05) 0%, rgba(125, 24, 48, 0.05) 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 16px;
    font-size: 36px;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 32px;
}

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

/* Services Page Styles */
.services-intro {
    padding: 80px 0;
    background: var(--bg-light);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    margin-bottom: 20px;
    font-size: 36px;
}

.intro-content p {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.8;
}

.service-detail {
    padding: 100px 0;
    background: white;
}

.service-detail.alt-bg {
    background: var(--bg-light);
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.service-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(246, 185, 59, 0.2) 0%, rgba(157, 31, 60, 0.2) 100%);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.service-intro {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 32px;
    font-weight: 500;
    line-height: 1.6;
}

.service-detail-text h2 {
    margin-bottom: 20px;
    font-size: 36px;
}

.service-detail-text h3 {
    margin-top: 40px;
    margin-bottom: 16px;
    font-size: 24px;
    color: var(--text-dark);
}

.service-detail-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    margin-bottom: 32px;
    padding-left: 0;
}

.service-list li {
    padding: 8px 0 8px 32px;
    color: var(--text-gray);
    font-size: 16px;
    position: relative;
    line-height: 1.7;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: white;
    background: var(--primary-gradient);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.service-detail-text .btn {
    margin-top: 32px;
}

.service-detail-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
}

.service-detail.alt-bg .sidebar-card {
    background: white;
}

.sidebar-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.sidebar-card h4 {
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--primary-color);
}

.sidebar-card ul {
    list-style: none;
    padding-left: 0;
}

.sidebar-card ul li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    color: var(--text-gray);
    font-size: 15px;
}

.sidebar-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 16px;
}

.sidebar-card.success-story {
    background: linear-gradient(135deg, rgba(246, 185, 59, 0.1) 0%, rgba(157, 31, 60, 0.05) 100%);
    border-color: var(--secondary-color);
}

.sidebar-card.success-story p {
    font-style: italic;
    margin-bottom: 16px;
    color: var(--text-gray);
    font-size: 15px;
}

.sidebar-card.success-story strong {
    color: var(--primary-color);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav {
        position: static;
        transform: none;
    }

    .hero-content,
    .doctor-content,
    .about-page-content,
    .service-detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image,
    .doctor-image-wrapper,
    .about-page-image {
        order: -1;
    }

    .services-grid,
    .about-features,
    .testimonials-grid,
    .qualifications-grid,
    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-dot {
        left: 5px;
        width: 20px;
        height: 20px;
    }

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

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

    .service-detail-sidebar {
        position: static;
    }
}

/* Clinic Images Styling */
.about-image-wrapper {
    position: relative;
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Sidebar clinic image */
.sidebar-card.clinic-image-card {
    padding: 0;
    overflow: hidden;
    border: 2px solid var(--primary-color);
}

.sidebar-clinic-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

/* Doctor image cropping */
.doctor-img {
    object-position: center top;
}

.about-page-img {
    object-position: center top;
}

/* Responsive adjustments for clinic images */

/* ========================================
   TESTIMONIALS PAGE STYLES
   ======================================== */

/* Testimonials Stats Section */
.testimonials-stats {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(157, 31, 60, 0.05) 0%, rgba(125, 24, 48, 0.05) 100%);
}

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

.stat-box {
    background: white;
    padding: 40px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.stat-box .stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.2;
}

.stat-box .stat-stars {
    font-size: 24px;
    color: #f6b93b;
    margin-bottom: 12px;
}

.stat-box .stat-text {
    font-size: 15px;
    color: var(--text-gray);
    font-weight: 500;
}

/* Video Testimonials Section */
.video-testimonials {
    padding: 100px 0;
    background: white;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Video Wrapper - Fixed Aspect Ratio (Vertical Videos) */
.video-wrapper {
    position: relative;
    width: 100%;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
}

.testimonial-video {
    width: 100%;
    aspect-ratio: 9/16;
    object-fit: contain;
    background: #000;
    border-radius: var(--radius-sm);
    display: block;
}

/* Fullscreen video handling */
.testimonial-video:fullscreen {
    object-fit: contain;
}

.testimonial-video:-webkit-full-screen {
    object-fit: contain;
}

.testimonial-video:-moz-full-screen {
    object-fit: contain;
}

.testimonial-video:-ms-fullscreen {
    object-fit: contain;
}

/* Custom Video Controls Styling */
.testimonial-video::-webkit-media-controls-panel {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
}

.testimonial-video::-webkit-media-controls-play-button {
    background-color: rgba(157, 31, 60, 0.9);
    border-radius: 50%;
}

.testimonial-video::-webkit-media-controls-play-button:hover {
    background-color: var(--primary-color);
}

.testimonial-video::-webkit-media-controls-timeline {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.testimonial-video::-webkit-media-controls-current-time-display,
.testimonial-video::-webkit-media-controls-time-remaining-display {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Firefox Video Controls */
.testimonial-video::-moz-range-thumb {
    background: var(--primary-color);
}

/* Video Card Styling */

.video-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
    max-width: 350px;
    margin: 0 auto;
}

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

.video-info {
    padding: 28px;
    background: white;
}

.video-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
}

.video-info p {
    color: var(--text-gray);
    font-size: 15px;
    margin: 0;
}

/* Play Button Overlay */
.video-wrapper::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    padding-left: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(157, 31, 60, 0.4);
}

.video-wrapper:hover::after {
    opacity: 0.9;
}

/* Filter Tabs */
.testimonials-section {
    padding: 80px 0 100px;
    background: var(--bg-light);
}

.filter-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 60px;
}

.filter-tab {
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
}

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

.filter-tab.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

/* Featured Title */
.featured-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 32px;
    text-align: center;
}

/* Hero Reviews Grid */
.hero-reviews {
    margin-bottom: 80px;
}

.hero-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.review-card.hero-card {
    background: white;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-md);
}

.review-card.hero-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Reviews Section Title */
.reviews-section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 32px;
    text-align: center;
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.review-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.review-rating {
    font-size: 20px;
    color: #f6b93b;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.review-text {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
    margin-bottom: 4px;
}

.author-condition {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 4px;
}

.author-time {
    font-size: 12px;
    color: var(--text-light);
}

/* Quick Results Section */
.quick-results {
    padding: 100px 0;
    background: white;
}

.quick-results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.quick-result-card {
    background: linear-gradient(135deg, rgba(246, 185, 59, 0.1) 0%, rgba(157, 31, 60, 0.05) 100%);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
}

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

.result-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.quick-result-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.quick-result-card p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.result-author {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 600;
}

/* Responsive Design for Testimonials Page */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

/* ========================================
   SERVICES DROPDOWN MENU
   ======================================== */

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    min-width: 300px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-md);
    padding: 16px 0;
    z-index: 1000;
    margin-top: 12px;
    border: 2px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    pointer-events: none;
}

/* Arrow pointer */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
    filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.1));
}

.dropdown-content a {
    color: var(--text-gray);
    padding: 14px 28px;
    text-decoration: none;
    display: block;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.dropdown-content a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(157, 31, 60, 0.08) 0%, transparent 100%);
    transition: width 0.3s ease;
}

.dropdown-content a:hover::before {
    width: 100%;
}

.dropdown-content a:hover {
    background-color: rgba(157, 31, 60, 0.05);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 32px;
    transform: translateX(2px);
}

/* Show dropdown on hover with delay to prevent flickering */
.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Keep dropdown visible when hovering over it */
.dropdown-content:hover {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown .nav-link {
    transition: color 0.3s ease;
}

.nav-dropdown:hover > .nav-link {
    color: var(--primary-color);
}

/* Add a bridge between nav-link and dropdown to prevent gap issues */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 20px;
}

/* Mobile Dropdown */

/* --- Fix ONLY needle.webp in Dry Needling sidebar --- */
#dry-needling img[src$="needle.jpg"] {
    height: auto;
    max-height: 650px;
    object-fit: contain;
}
/* ========================================
   BLOG STYLES
   ======================================== */

/* Blog Intro Section */
.blog-intro {
    padding: 80px 0;
    background: var(--bg-light);
}

.blog-intro .intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.blog-intro h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.blog-intro p {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Blog Categories */
.blog-categories {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 70px;
    z-index: 100;
}

.category-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    padding: 10px 24px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
}

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

.category-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

/* Blog Grid */
.blog-grid-section {
    padding: 80px 0;
    background: white;
}

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

.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--bg-light);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.blog-card-content {
    padding: 32px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.blog-date,
.blog-read-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-light);
}

.blog-date svg,
.blog-read-time svg {
    color: var(--primary-color);
}

.blog-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.author-avatar-small {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.author-name-small {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.author-credentials {
    font-size: 12px;
    color: var(--text-light);
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

.read-more svg {
    transition: transform 0.3s ease;
}

.blog-card:hover .read-more svg {
    transform: translateX(4px);
}

/* Coming Soon Cards */
.blog-card.coming-soon {
    opacity: 0.7;
    cursor: default;
}

.blog-card.coming-soon:hover {
    transform: none;
    border-color: transparent;
}

.coming-soon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(157, 31, 60, 0.05) 0%, rgba(125, 24, 48, 0.05) 100%);
    color: var(--primary-color);
}

.coming-soon-label {
    display: inline-block;
    background: var(--bg-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gray);
    margin-top: 12px;
}

/* Newsletter Section */
.blog-newsletter {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(157, 31, 60, 0.05) 0%, rgba(125, 24, 48, 0.05) 100%);
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.newsletter-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.newsletter-content > p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 16px;
}

.newsletter-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: var(--transition);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-privacy {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 12px;
}

/* ========================================
   INDIVIDUAL BLOG POST STYLES
   ======================================== */

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    display: flex;
    gap: 12px;
    list-style: none;
    font-size: 14px;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    color: var(--text-gray);
}

.breadcrumb-list li::after {
    content: '→';
    margin-left: 12px;
    color: var(--text-light);
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list li:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

.breadcrumb-list a {
    color: var(--text-gray);
    transition: color 0.2s ease;
}

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

/* Blog Post Container */
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Blog Post Header */
.blog-post-header {
    padding: 60px 0 40px;
    background: white;
}

.blog-post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.blog-category-tag {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.blog-post-date,
.blog-read-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-light);
}

.blog-post-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.blog-post-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 32px;
}

.blog-author-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}

.author-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.author-credentials {
    font-size: 14px;
    color: var(--text-gray);
}

/* Featured Image */
.blog-featured-image {
    padding: 40px 0;
    background: white;
}

.featured-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Blog Content */
.blog-post-content {
    padding: 60px 0;
    background: white;
}

.content-section {
    margin-bottom: 48px;
}

.lead-paragraph {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 500;
}

.blog-post-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.blog-post-content h3 {
    font-size: 24px;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.blog-post-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 24px 0;
    padding-left: 0;
}

.check-list {
    list-style: none;
}

.check-list li {
    padding: 12px 0 12px 36px;
    position: relative;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-gray);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: white;
    background: var(--primary-gradient);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.numbered-list {
    list-style: none;
    counter-reset: item;
}

.numbered-list li {
    padding: 12px 0 12px 48px;
    position: relative;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-gray);
    counter-increment: item;
}

.numbered-list li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    color: white;
    background: var(--primary-gradient);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
}

/* Info Boxes */
.info-box {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(246, 185, 59, 0.1) 0%, rgba(157, 31, 60, 0.05) 100%);
    border-left: 4px solid var(--secondary-color);
    border-radius: var(--radius-md);
    margin: 32px 0;
}

.info-box-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.info-box-content {
    flex: 1;
}

.info-box-content strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 16px;
}

.warning-box {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1) 0%, rgba(255, 87, 34, 0.05) 100%);
    border-left-color: #ff9800;
}

/* Blog CTA Box */
.blog-cta-box {
    background: linear-gradient(135deg, rgba(157, 31, 60, 0.05) 0%, rgba(125, 24, 48, 0.05) 100%);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 48px 0;
    border: 2px solid rgba(157, 31, 60, 0.1);
}

.blog-cta-box h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.blog-cta-box p {
    font-size: 17px;
    margin-bottom: 24px;
}

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

/* Author Bio */
.author-bio-box {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    padding: 40px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    margin-top: 60px;
}

.author-avatar-large {
    width: 100px;
    height: 100px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 32px;
}

.author-bio-content h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.author-bio-content h4 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.author-bio-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    margin-top: 16px;
}

/* Tags */
.blog-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.tag-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
}

.tag {
    padding: 6px 16px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-gray);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.tag:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

/* Social Share */
.social-share {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 32px;
}

.share-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.share-facebook {
    background: #1877f2;
    color: white;
}

.share-twitter {
    background: #1da1f2;
    color: white;
}

.share-linkedin {
    background: #0077b5;
    color: white;
}

.share-whatsapp {
    background: #25d366;
    color: white;
}

.share-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Related Posts */
.related-posts {
    padding: 80px 0;
    background: var(--bg-light);
}

.related-posts .section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 48px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.related-post-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.related-post-image-placeholder {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(157, 31, 60, 0.05) 0%, rgba(125, 24, 48, 0.05) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.related-post-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.related-post-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* ========================================
   BLOG RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .blog-grid,
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   HOMEPAGE BLOG SECTION
   ======================================== */

.homepage-blog {
    padding: 100px 0;
    background: var(--bg-light);
}

.homepage-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.homepage-blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
    display: block;
}

.homepage-blog-card:not(.blog-coming-soon):hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.homepage-blog-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.homepage-blog-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--bg-light);
}

.homepage-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.homepage-blog-card:not(.blog-coming-soon):hover .homepage-blog-image img {
    transform: scale(1.05);
}

.blog-category-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-gradient);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.blog-placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(157, 31, 60, 0.05) 0%, rgba(125, 24, 48, 0.05) 100%);
    color: var(--primary-color);
    opacity: 0.6;
}

.homepage-blog-content {
    padding: 28px;
}

.homepage-blog-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.blog-date-small {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.blog-date-small svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.blog-read-small {
    font-size: 13px;
    color: var(--text-light);
}

.homepage-blog-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.homepage-blog-excerpt {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.homepage-blog-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.homepage-blog-cta svg {
    transition: transform 0.3s ease;
}

.homepage-blog-card:not(.blog-coming-soon):hover .homepage-blog-cta svg {
    transform: translateX(4px);
}

.homepage-blog-footer {
    text-align: center;
}

/* Coming Soon Blog Cards */
.blog-coming-soon {
    opacity: 0.7;
    cursor: default;
}

.blog-coming-soon:hover {
    transform: none;
    border-color: transparent;
}

.coming-soon-text {
    color: var(--text-light);
    font-style: italic;
}

/* Responsive Design for Homepage Blog */
@media (max-width: 1024px) {
    .homepage-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .homepage-blog-card:last-child {
        grid-column: 1 / -1;
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
}

/* ========================================
   DESKTOP WIDE LAYOUT & TYPOGRAPHY ENHANCEMENTS
   ======================================== */

/* Desktop Typography Overrides */
@media (min-width: 769px) {
    /* Hero Section */
    .hero-title {
        font-size: 68px !important;
    }
    
    .hero-subtitle {
        font-size: 22px !important;
    }
    
    .stat-value {
        font-size: 40px !important;
    }
    
    .stat-label {
        font-size: 15px !important;
    }
    
    /* Section Headers */
    .section-title {
        font-size: 48px !important;
    }
    
    .section-description {
        font-size: 20px !important;
    }
    
    .section-label {
        font-size: 15px !important;
        padding: 10px 20px !important;
    }
    
    /* Doctor Section */
    .doctor-tagline {
        font-size: 22px !important;
    }
    
    .doctor-intro {
        font-size: 18px !important;
    }
    
    /* About Section */
    .about-intro {
        font-size: 22px !important;
    }
    
    .about-text p {
        font-size: 19px !important;
    }
    
    .feature-card h3 {
        font-size: 22px !important;
    }
    
    .feature-card p {
        font-size: 17px !important;
    }
    
    /* Service Cards */
    .service-card h3 {
        font-size: 24px !important;
    }
    
    .service-card > p {
        font-size: 17px !important;
    }
    
    .service-list li {
        font-size: 16px !important;
    }
    
    /* Testimonials */
    .testimonial-text {
        font-size: 17px !important;
    }
    
    .author-name {
        font-size: 17px !important;
    }
    
    .author-details {
        font-size: 14px !important;
    }
    
    /* Contact Section */
    .contact-title {
        font-size: 48px !important;
    }
    
    .contact-subtitle {
        font-size: 20px !important;
    }
    
    .contact-item-content h3 {
        font-size: 20px !important;
    }
    
    .contact-item-content a,
    .contact-item-content p {
        font-size: 17px !important;
    }
    
    /* Blog Section */
    .homepage-blog-title {
        font-size: 22px !important;
    }
    
    .homepage-blog-excerpt {
        font-size: 16px !important;
    }
    
    /* Buttons */
    .btn {
        font-size: 17px !important;
        padding: 14px 28px !important;
    }
    
    .btn-lg {
        font-size: 19px !important;
        padding: 18px 36px !important;
    }
    
    /* Footer */
    .footer-about {
        font-size: 16px !important;
    }
    
    .footer-links a {
        font-size: 16px !important;
    }
    
    .footer-contact li {
        font-size: 16px !important;
    }
}

/* Large Desktop - Even Wider */
@media (min-width: 1600px) {
    .container {
        max-width: 1600px !important;
        padding: 0 60px !important;
    }
    
    .hero-title {
        font-size: 76px !important;
    }
    
    .section-title {
        font-size: 52px !important;
    }
}

/* Mobile - Keep Current Sizes */

/* ========================================
   CONTACT FORM PAGE
   ======================================== */

.contact-form-section {
    padding: 80px 0 100px;
    background: var(--bg-light);
}

.contact-form-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: start;
}

/* Info Panel */
.contact-info-panel {
    position: sticky;
    top: 100px;
}

.contact-info-panel h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.contact-info-lead {
    font-size: 17px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    color: var(--primary-color);
    border: 2px solid rgba(157, 31, 60, 0.08);
}

.contact-info-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-info-item a,
.contact-info-item p {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

.contact-info-item a {
    color: var(--primary-color);
}

.contact-info-item a:hover {
    color: var(--primary-dark);
}

.contact-assurance {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: rgba(157, 31, 60, 0.04);
    border-radius: var(--radius-md);
    border: 1px solid rgba(157, 31, 60, 0.12);
}

.assurance-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.contact-assurance p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* Form Card */
.contact-form-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

/* Form Groups */
.form-group {
    margin-bottom: 24px;
    position: relative;
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.required {
    color: var(--primary-color);
    margin-left: 2px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-input::placeholder {
    color: #b0b0b0;
}

.form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(157, 31, 60, 0.08);
}

.form-input.input-error {
    border-color: #e53935;
    box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.08);
}

.form-input.input-valid {
    border-color: #43a047;
    box-shadow: 0 0 0 4px rgba(67, 160, 71, 0.06);
}

/* Select wrapper to keep custom arrow */
.select-wrapper {
    position: relative;
}

.select-wrapper .form-input {
    padding-right: 44px;
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
    transition: transform 0.2s ease;
}

.select-wrapper:focus-within .select-arrow {
    color: var(--primary-color);
    transform: translateY(-50%) rotate(180deg);
}

/* Textarea */
.form-textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.7;
}

.char-counter {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 6px;
    text-align: right;
}

/* Field errors */
.field-error {
    display: block;
    font-size: 13px;
    color: #e53935;
    margin-top: 6px;
    min-height: 18px;
    transition: opacity 0.2s ease;
}

/* ── Submit button with Stripe-style animation ── */
.btn-submit {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 16px 32px;
    font-size: 17px;
    margin-top: 8px;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.btn-submit .btn-text {
    transition: opacity 0.2s ease;
    display: inline-block;
}

.btn-submit .btn-spinner {
    display: none;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin 0.7s linear infinite;
}

.btn-submit.is-loading .btn-text {
    opacity: 0;
}

.btn-submit.is-loading .btn-spinner {
    display: block;
}

.btn-submit.is-loading {
    pointer-events: none;
    cursor: not-allowed;
    background: linear-gradient(135deg, #b8234a 0%, #9d1f3c 100%);
    box-shadow: none;
    transform: none !important;
}

/* After success flash green */
.btn-submit.is-success {
    background: linear-gradient(135deg, #43a047, #2e7d32) !important;
    box-shadow: 0 4px 12px rgba(67, 160, 71, 0.35);
}

.btn-submit.is-success .btn-text {
    opacity: 1;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── Error Modal ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-overlay.modal-open {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    max-width: 460px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: scale(0.92) translateY(16px);
    transition: transform 0.25s ease;
}

.modal-overlay.modal-open .modal-box {
    transform: scale(1) translateY(0);
}

.modal-icon-error {
    width: 68px;
    height: 68px;
    background: rgba(229, 57, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #e53935;
}

.modal-box h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.modal-box p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 32px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Map section */
.contact-map-section {
    padding: 0 0 100px;
    background: var(--bg-light);
}

.contact-map-section .map-container {
    height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ========================================
   SUCCESS PAGE
   ======================================== */

.success-section {
    min-height: calc(100vh - 70px);
    background: linear-gradient(135deg, #fff5f7 0%, #ffecf0 100%);
    display: flex;
    align-items: center;
    padding: 80px 0 100px;
    margin-top: 70px;
}

.success-card {
    max-width: 680px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    padding: 60px 56px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

/* SVG Checkmark Animation */
.success-icon-wrapper {
    margin-bottom: 32px;
}

.success-checkmark {
    width: 80px;
    height: 80px;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke: var(--primary-color);
    animation: strokeCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.2s forwards;
}

.checkmark-check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    stroke: var(--primary-color);
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: strokeCheck 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes strokeCircle {
    to { stroke-dashoffset: 0; }
}

@keyframes strokeCheck {
    to { stroke-dashoffset: 0; }
}

.success-title {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 12px;
    animation: fadeUp 0.5s ease 0.6s both;
}

.success-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 48px;
    animation: fadeUp 0.5s ease 0.75s both;
}

/* Steps timeline */
.success-timeline {
    text-align: left;
    margin-bottom: 40px;
    animation: fadeUp 0.5s ease 0.9s both;
}

.success-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.success-step-line {
    width: 3px;
    height: 28px;
    background: var(--border-color);
    margin-left: 20px;
    border-radius: 2px;
}

.step-dot {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-done {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(157, 31, 60, 0.3);
}

.step-pending {
    background: var(--bg-light);
    color: var(--text-light);
    border: 2px solid var(--border-color);
    font-size: 14px;
}

.step-content {
    padding-top: 8px;
}

.step-content strong {
    display: block;
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.step-content span {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Info box */
.success-info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 24px;
    background: rgba(157, 31, 60, 0.04);
    border: 1px solid rgba(157, 31, 60, 0.12);
    border-radius: var(--radius-md);
    text-align: left;
    margin-bottom: 40px;
    animation: fadeUp 0.5s ease 1.05s both;
    color: var(--primary-color);
}

.success-info-box p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

.success-info-box a {
    color: var(--primary-color);
    font-weight: 600;
}

.success-info-box svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Buttons */
.success-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.5s ease 1.1s both;
}

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

/* ========================================
   RESPONSIVE — CONTACT & SUCCESS
   ======================================== */

@media (max-width: 1024px) {
    .contact-form-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-panel {
        position: static;
    }
}

@keyframes shake {
    0%,100% { transform: translateX(0); }
    20%      { transform: translateX(-6px); }
    40%      { transform: translateX(6px); }
    60%      { transform: translateX(-4px); }
    80%      { transform: translateX(4px); }
}

.optional {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-light);
    margin-left: 4px;
}

/* ========================================
   PHONE / WHATSAPP CHOICE MODAL
   ======================================== */

.phone-modal-trigger {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.phone-modal-trigger:hover {
    color: var(--primary-dark);
}

.phone-modal-trigger::after {
    content: '▾';
    font-size: 12px;
    opacity: 0.6;
}

/* Re-use .modal-overlay and .modal-box from contact form,
   only add phone-specific overrides */
.phone-choice-modal {
    max-width: 440px;
    padding: 48px 44px 52px;
    position: relative;
    text-align: center;
}

.modal-close-x {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: var(--bg-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: var(--transition);
}

.modal-close-x:hover {
    background: var(--border-color);
    color: var(--text-dark);
}

.phone-choice-modal h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.phone-modal-subtitle {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 32px;
}

.phone-modal-choices {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.phone-choice-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 36px 32px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
    background: white;
    border: 2px solid var(--border-color);
    flex: 1;
    max-width: 170px;
    box-shadow: var(--shadow-sm);
}

.phone-choice-btn:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.phone-choice-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.phone-choice-icon svg {
    width: 60px;
    height: 60px;
}

.phone-choice-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.2px;
}

/* Both buttons share the same theme — no colour overrides needed */
.whatsapp-choice,
.call-choice {
    /* inherits from .phone-choice-btn */
}
/* ================================================================
   MOBILE — index page focused, clean from scratch
   Breakpoints: 768px (tablet/mobile) and 430px (small phone)
   Goal: readable, short, responsive. device-width viewport.
   ================================================================ */

@media (max-width: 768px) {

    /* ── Base ── */
    body { font-size: 15px !important; }
    .container { padding: 0 18px !important; }
    .container-narrow { padding: 0 18px; }

    /* ── Header ── */
    .header-content { padding: 10px 0; }
    .logo-img { height: 30px; }

    .nav {
        position: fixed;
        top: 62px; left: 0; right: 0;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 18px 24px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        transform: translateY(-110%);
        opacity: 0;
        transition: transform 0.28s ease, opacity 0.28s ease;
        gap: 4px;
        z-index: 999;
    }
    .nav.active { transform: translateY(0); opacity: 1; }

    .nav-link {
        font-size: 16px;
        padding: 10px 0;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-link:last-child { border-bottom: none; }
    .nav-link::after { display: none; }

    .btn-header { display: none; }
    .mobile-toggle { display: flex; }
    .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

    /* Mobile nav dropdown */
    .nav-dropdown { width: 100%; }
    .nav-dropdown > .nav-link { display: flex; justify-content: space-between; align-items: center; }
    .nav-dropdown > .nav-link::after { display: none; }
    .dropdown-content {
        position: static; transform: none !important;
        visibility: visible; opacity: 0;
        max-height: 0; overflow: hidden;
        box-shadow: none; border: none;
        border-left: 3px solid var(--primary-color);
        margin-left: 12px; padding: 0; margin-top: 0;
        transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
        pointer-events: auto;
        min-width: unset; background: transparent;
    }
    .dropdown-content::before { display: none; }
    .nav-dropdown::after { display: none; }
    .nav-dropdown.active .dropdown-content {
        opacity: 1; max-height: 400px;
        padding: 8px 0; margin-top: 4px;
    }
    .dropdown-content a {
        padding: 9px 16px; font-size: 14px;
        color: var(--text-gray); border-left: none;
    }
    .dropdown-content a:hover { padding-left: 20px; }

    /* ── Hero ── */
    .hero {
        padding: 80px 0 40px;
        text-align: center;
    }
    .hero-title { font-size: 32px !important; line-height: 1.25; margin-bottom: 14px; }
    .hero-subtitle {
        font-size: 15px !important; line-height: 1.6;
        margin-bottom: 24px;
        color: var(--text-gray);
    }
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px; margin-bottom: 24px;
        max-width: 100%;
    }
    .stat-card { padding: 14px 8px; }
    .stat-value { font-size: 22px !important; margin-bottom: 4px; }
    .stat-label { font-size: 11px !important; }
    .hero-cta {
        flex-direction: column; gap: 10px;
        align-items: center;
    }
    .hero-cta .btn-lg {
        width: 100%; max-width: 300px;
        font-size: 15px !important; padding: 13px 20px !important;
    }

    /* ── Section headers ── */
    .section-header { margin-bottom: 32px; }
    .section-label { font-size: 11px !important; padding: 6px 12px !important; }
    .section-title { font-size: 26px !important; margin-bottom: 10px; }
    .section-description { font-size: 14px !important; }

    /* ── Doctor section ── */
    .doctor { padding: 50px 0; }
    .doctor-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .doctor-image-wrapper { max-width: 340px; margin: 0 auto; }
    .doctor-img { height: 320px; border-radius: var(--radius-md); }
    .doctor-badge {
        bottom: 12px; right: 12px;
        padding: 12px 14px; gap: 10px;
    }
    .badge-icon { font-size: 22px; }
    .badge-title { font-size: 13px; }
    .badge-subtitle { font-size: 11px; }
    .doctor-info .section-title { font-size: 24px !important; }
    .doctor-tagline { font-size: 14px; margin-bottom: 16px; }
    .doctor-intro { font-size: 14px !important; margin-bottom: 14px; line-height: 1.7; }
    /* Show only first 2 paragraphs on mobile */
    .doctor-intro:nth-of-type(n+3) { display: none; }
    .doctor-social { margin-top: 20px; padding-top: 20px; }

    /* ── About/clinic section ── */
    .about { padding: 50px 0; }
    .section-header { padding: 0 4px; }
    .about-intro { font-size: 15px !important; margin-bottom: 16px; }
    .about-text p { font-size: 14px !important; margin-bottom: 0; display: none; }
    .about-features {
        grid-template-columns: 1fr 1fr;
        gap: 12px; margin-top: 24px;
    }
    .feature-card {
        padding: 18px 14px;
    }
    .feature-icon { font-size: 28px; margin-bottom: 10px; }
    .feature-card h3 { font-size: 13px !important; margin-bottom: 6px; }
    .feature-card p { font-size: 12px !important; line-height: 1.5; }

    /* ── Services ── */
    .services { padding: 50px 0; }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 14px; margin-bottom: 32px;
    }
    .service-card {
        padding: 22px 18px;
        display: flex; gap: 16px; align-items: flex-start;
        text-align: left;
    }
    .service-icon {
        width: 48px; height: 48px;
        flex-shrink: 0; margin-bottom: 0;
    }
    .service-icon svg { width: 24px; height: 24px; }
    .service-card-body { flex: 1; }
    .service-card h3 { font-size: 16px !important; margin-bottom: 6px; }
    .service-card > p { font-size: 13px !important; margin-bottom: 10px; }
    .service-list li { font-size: 13px !important; padding: 4px 0 4px 24px; }

    /* ── Testimonials ── */
    .testimonials { padding: 50px 0; }
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .testimonial-card { padding: 20px 16px; }
    .testimonial-text { font-size: 14px !important; margin-bottom: 16px; }
    .author-name { font-size: 14px !important; }
    .author-details { font-size: 12px !important; }

    /* ── Contact (homepage) ── */
    .contact { padding: 50px 0; }
    .contact-intro { margin-bottom: 32px; }
    .contact-title { font-size: 26px !important; }
    .contact-subtitle { font-size: 14px !important; }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .contact-grid { gap: 20px; }
    .contact-item-content h3 { font-size: 15px !important; }
    .contact-item-content a,
    .contact-item-content p { font-size: 14px !important; }
    .map-section { min-height: 260px; }
    .map-container { border-radius: var(--radius-md); }

    /* ── Blog homepage section ── */
    .homepage-blog { padding: 50px 0; }
    .homepage-blog-grid {
        grid-template-columns: 1fr;
        gap: 16px; margin-bottom: 28px;
    }
    .homepage-blog-card:last-child { grid-column: auto; max-width: none; }
    .homepage-blog-image { height: 180px; }
    .homepage-blog-content { padding: 18px; }
    .homepage-blog-title { font-size: 16px !important; }
    .homepage-blog-excerpt { font-size: 13px !important; }

    /* ── Footer ── */
    .footer { padding: 40px 0 20px; }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 28px; margin-bottom: 28px;
    }
    .footer-col:first-child { grid-column: 1 / -1; }
    .footer-logo-text { font-size: 20px; margin-bottom: 10px; }
    .footer-about { font-size: 13px !important; }
    .footer-col h4 { font-size: 15px; margin-bottom: 14px; }
    .footer-links a { font-size: 13px !important; }
    .footer-contact li { font-size: 13px !important; }
    .footer-bottom p { font-size: 12px; }
    .footer-seo { display: none; }

    /* ── Page hero (other pages) ── */
    .page-hero { padding: 80px 0 36px; margin-top: 60px; }
    .page-hero h1 { font-size: 28px !important; margin-bottom: 10px; }
    .page-hero p { font-size: 15px !important; }

    /* ── CTA section ── */
    .cta-section { padding: 48px 0; }
    .cta-content h2 { font-size: 24px !important; }
    .cta-content p { font-size: 14px !important; margin-bottom: 20px; }
    .cta-buttons { flex-direction: column; align-items: center; gap: 10px; }
    .cta-buttons .btn-lg { width: 100%; max-width: 300px; }

    /* ── About page ── */
    .about-intro-page { padding: 48px 0; }
    .about-page-content { grid-template-columns: 1fr; gap: 28px; }
    .about-page-img { height: 280px; }
    .credentials-badge { position: static; transform: none; margin-top: 12px; }
    .about-page-text h2 { font-size: 24px !important; }
    .about-page-text p { font-size: 14px; }
    .story-section { padding: 48px 0; }
    .story-content h2 { font-size: 24px; }
    .story-content p { font-size: 14px; }
    .philosophy { padding: 48px 0; }
    .philosophy-content h2 { font-size: 24px; margin-bottom: 28px; }
    .philosophy-grid { grid-template-columns: 1fr; gap: 12px; }
    .philosophy-item { padding: 20px; }
    .qualifications { padding: 48px 0; }
    .qualifications-grid { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
    .qualification-card { padding: 24px 16px; }

    /* ── Services page ── */
    .service-detail { padding: 48px 0; }
    .service-detail-content { grid-template-columns: 1fr; gap: 28px; }
    .service-detail-sidebar {
        position: static;
        display: grid; grid-template-columns: 1fr; gap: 14px;
    }
    .sidebar-card { padding: 20px; }
    .service-detail-text h2 { font-size: 24px; }
    .service-detail-text p { font-size: 14px; }
    .service-intro { font-size: 16px; }
    .intro-content h2 { font-size: 24px; }
    .intro-content p { font-size: 14px; }

    /* ── Testimonials page ── */
    .testimonials-stats { padding: 32px 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-box { padding: 20px 12px; }
    .stat-box .stat-number { font-size: 32px; }
    .stat-box .stat-text { font-size: 13px; }
    .video-testimonials { padding: 48px 0; }
    .video-grid { grid-template-columns: 1fr; gap: 20px; max-width: 320px; margin-top: 28px; }
    .testimonials-section { padding: 48px 0 60px; }
    .filter-tabs { gap: 8px; margin-bottom: 32px; }
    .filter-tab { padding: 8px 16px; font-size: 13px; }
    .hero-reviews-grid { grid-template-columns: 1fr; gap: 14px; }
    .reviews-grid { grid-template-columns: 1fr; gap: 14px; }
    .quick-results { padding: 48px 0; }
    .quick-results-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
    .quick-result-card { padding: 24px 16px; }

    /* ── Contact form page ── */
    .contact-form-section { padding: 48px 0 60px; }
    .contact-form-layout { grid-template-columns: 1fr; gap: 28px; }
    .contact-info-panel { position: static; }
    .contact-info-panel h2 { font-size: 24px; }
    .contact-info-lead { font-size: 14px; margin-bottom: 24px; }
    .contact-form-card { padding: 24px 18px; }
    .form-row { grid-template-columns: 1fr 1fr; }
    .contact-map-section .map-container { height: 260px; }

    /* ── Success page ── */
    .success-section { padding: 60px 0 60px; }
    .success-card { padding: 32px 20px; }
    .success-title { font-size: 28px; }
    .success-subtitle { font-size: 15px; margin-bottom: 32px; }
    .success-actions { flex-direction: column; gap: 10px; }
    .success-actions .btn { width: 100%; }

    /* ── Modals ── */
    .modal-box { padding: 32px 20px; }
    .modal-actions { flex-direction: column; }
    .modal-actions .btn { width: 100%; }
    .phone-choice-modal { padding: 36px 20px 40px; }
    .phone-modal-choices { gap: 12px; }
    .phone-choice-btn { padding: 24px 16px; }

    /* ── Blog ── */
    .blog-intro { padding: 40px 0; }
    .blog-grid-section { padding: 40px 0; }
    .blog-grid { grid-template-columns: 1fr; gap: 18px; }
    .blog-card-content { padding: 20px; }
    .blog-title { font-size: 17px; }
    .blog-newsletter { padding: 48px 0; }
    .newsletter-content h2 { font-size: 24px; }
    .newsletter-form { flex-direction: column; }
    .related-posts { padding: 48px 0; }
    .related-posts-grid { grid-template-columns: 1fr; gap: 14px; }
    .blog-post-title { font-size: 26px; }
    .blog-post-subtitle { font-size: 16px; }
    .blog-post-content { padding: 32px 0; }
    .blog-cta-box { padding: 28px 18px; }
    .blog-cta-box h3 { font-size: 22px; }
    .blog-cta-box .cta-buttons { flex-direction: column; }
    .blog-cta-box .btn { width: 100%; }
    .author-bio-box { grid-template-columns: 1fr; gap: 16px; text-align: center; padding: 28px 18px; }
    .author-avatar-large { margin: 0 auto; }

    /* ── Timeline ── */
    .timeline::before { left: 10px; }
    .timeline-item { padding-left: 44px; }
    .timeline-dot { left: 0; width: 20px; height: 20px; }
    .timeline-content { padding: 18px; }

    /* ── Clinic images ── */
    .about-clinic-img { height: 220px; }
    .sidebar-clinic-img { height: 180px; }
}

/* ── Small phones (430px and under) ── */
@media (max-width: 430px) {

    .container { padding: 0 14px !important; }

    .hero { padding: 72px 0 32px; }
    .hero-title { font-size: 27px !important; }
    .hero-stats { gap: 8px; }
    .stat-card { padding: 12px 6px; }
    .stat-value { font-size: 19px !important; }
    .stat-label { font-size: 10px !important; }

    .about-features { grid-template-columns: 1fr 1fr; gap: 10px; }
    .feature-card { padding: 14px 10px; }
    .feature-card h3 { font-size: 12px !important; }
    .feature-card p { display: none; }

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

    .qualifications-grid { grid-template-columns: 1fr; }
    .quick-results-grid { grid-template-columns: 1fr; gap: 10px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .form-row { grid-template-columns: 1fr; }

    .page-hero h1 { font-size: 24px !important; }
    .section-title { font-size: 22px !important; }
}

/* ================================================================
   INDEX PAGE — MOBILE REDESIGN
   Viewport: width=device-width, initial-scale=1.0
   Target: 375–430px screens
   Goals: readable, short, clean
   ================================================================ */

@media (max-width: 768px) {

    /* ── Container ── */
    .container {
        padding: 0 18px;
    }

    /* ── Header ── */
    .header-content {
        padding: 10px 0;
    }
    .logo-img {
        height: 34px;
    }
    .nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px 20px 24px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        transform: translateY(-110%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        gap: 4px;
        z-index: 999;
        border-top: 1px solid var(--border-color);
    }
    .nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    .nav-link {
        font-size: 16px;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        display: block;
    }
    .nav-link::after { display: none; }
    .btn-header { display: none; }
    .mobile-toggle { display: flex; }
    .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

    /* Mobile nav dropdown */
    .nav-dropdown { width: 100%; }
    .nav-dropdown .nav-link { border-bottom: 1px solid var(--border-color); }
    .dropdown-content {
        position: static;
        transform: none;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--primary-color);
        margin-left: 12px;
        padding: 0;
        visibility: visible;
        pointer-events: auto;
        transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
        background: transparent;
    }
    .dropdown-content::before { display: none; }
    .nav-dropdown::after { display: none; }
    .nav-dropdown.active .dropdown-content {
        opacity: 1;
        max-height: 400px;
        padding: 8px 0;
    }
    .dropdown-content a {
        padding: 8px 16px;
        font-size: 14px;
        border-left: none;
    }
    .dropdown-content a:hover {
        padding-left: 20px;
        transform: none;
    }

    /* ── Hero ── */
    .hero {
        padding: 80px 0 40px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-title {
        font-size: 32px !important;
        line-height: 1.2;
        margin-bottom: 14px;
    }
    .hero-subtitle {
        font-size: 15px !important;
        line-height: 1.6;
        margin-bottom: 24px;
        color: var(--text-gray);
    }
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-bottom: 24px;
        max-width: 100%;
    }
    .stat-card {
        padding: 14px 8px;
    }
    .stat-value {
        font-size: 22px !important;
        margin-bottom: 4px;
    }
    .stat-label {
        font-size: 11px !important;
        line-height: 1.3;
    }
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 0;
    }
    .hero-cta .btn-lg {
        width: 100%;
        max-width: 320px;
        font-size: 15px !important;
        padding: 14px 20px !important;
        justify-content: center;
    }

    /* ── Doctor section ── */
    .doctor {
        padding: 48px 0;
    }
    .doctor-content {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .doctor-image-wrapper {
        order: 1;
        margin-bottom: 28px;
    }
    .doctor-img {
        height: 320px;
        object-fit: cover;
        object-position: center top;
        border-radius: var(--radius-lg);
    }
    .doctor-badge {
        bottom: 16px;
        right: 16px;
        padding: 12px 16px;
        gap: 10px;
    }
    .badge-icon { font-size: 24px; }
    .badge-title { font-size: 13px; }
    .badge-subtitle { font-size: 11px; }
    .doctor-info {
        order: 2;
    }
    .doctor-info .section-label {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }
    .doctor-info .section-title {
        font-size: 26px !important;
        margin-bottom: 6px;
    }
    .doctor-tagline {
        font-size: 15px !important;
        margin-bottom: 16px;
    }
    .doctor-intro {
        font-size: 14px !important;
        line-height: 1.7;
        margin-bottom: 12px;
    }
    /* Trim doctor text — show only first para on mobile */
    .doctor-intro:nth-of-type(n+3) {
        display: none;
    }
    .doctor-social {
        margin-top: 20px;
        padding-top: 20px;
    }

    /* ── About / Features ── */
    .about {
        padding: 48px 0;
    }
    .section-header {
        margin-bottom: 28px;
    }
    .section-label {
        font-size: 11px !important;
        padding: 6px 12px !important;
    }
    .section-title {
        font-size: 26px !important;
        margin-bottom: 10px;
    }
    .section-description {
        font-size: 14px !important;
    }
    .about-intro {
        font-size: 15px !important;
        margin-bottom: 16px;
    }
    .about-text > p {
        font-size: 14px !important;
        margin-bottom: 0;
    }
    .about-features {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        margin-top: 24px;
    }
    .feature-card {
        padding: 20px 16px;
    }
    .feature-icon {
        font-size: 32px;
        margin-bottom: 12px;
    }
    .feature-card h3 {
        font-size: 14px !important;
        margin-bottom: 8px;
    }
    .feature-card p {
        font-size: 12px !important;
        line-height: 1.5;
    }

    /* ── Services ── */
    .services {
        padding: 48px 0;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 32px;
    }
    .service-card {
        padding: 24px 20px;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
    }
    .service-icon {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        margin-bottom: 0;
    }
    .service-card-body {
        flex: 1;
    }
    .service-card h3 {
        font-size: 16px !important;
        margin-bottom: 6px;
    }
    .service-card > p {
        font-size: 13px !important;
        margin-bottom: 10px;
        line-height: 1.5;
    }
    .service-list { display: none; }

    /* ── Testimonials ── */
    .testimonials {
        padding: 48px 0;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .testimonial-card {
        padding: 20px;
    }
    .testimonial-text {
        font-size: 14px !important;
        margin-bottom: 16px;
    }
    .author-name { font-size: 14px !important; }
    .author-details { font-size: 12px !important; }

    /* ── Contact ── */
    .contact {
        padding: 48px 0;
    }
    .contact-intro {
        margin-bottom: 28px;
    }
    .contact-title {
        font-size: 26px !important;
    }
    .contact-subtitle {
        font-size: 14px !important;
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .contact-item {
        gap: 14px;
    }
    .contact-item-icon {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
    }
    .contact-item-content h3 {
        font-size: 15px !important;
        margin-bottom: 4px;
    }
    .contact-item-content a,
    .contact-item-content p {
        font-size: 13px !important;
    }
    .map-section {
        min-height: 240px;
    }
    .map-container {
        height: 240px;
    }

    /* ── Homepage Blog ── */
    .homepage-blog {
        padding: 48px 0;
    }
    .homepage-blog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .homepage-blog-card:last-child {
        grid-column: auto;
        max-width: none;
    }
    .homepage-blog-image {
        height: 180px;
    }
    .homepage-blog-content {
        padding: 18px;
    }
    .homepage-blog-title {
        font-size: 16px !important;
    }
    .homepage-blog-excerpt {
        font-size: 13px !important;
    }

    /* ── Footer ── */
    .footer {
        padding: 40px 0 20px;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        margin-bottom: 28px;
    }
    .footer-col:first-child {
        grid-column: 1 / -1;
    }
    .footer-logo-text {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .footer-about {
        font-size: 13px !important;
    }
    .footer-col h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }
    .footer-links a,
    .footer-contact li {
        font-size: 13px !important;
    }
    .footer-bottom p {
        font-size: 12px;
    }
    .footer-seo {
        display: none;
    }
}

/* ── Extra small phones (375px and under) ── */
@media (max-width: 390px) {
    .hero-title {
        font-size: 28px !important;
    }
    .about-features {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        gap: 6px;
    }
    .stat-value {
        font-size: 19px !important;
    }
}

/* ================================================================
   SERVICES PAGE — MOBILE
   ================================================================ */

@media (max-width: 768px) {

    /* ── Page Hero ── */
    .page-hero {
        padding: 80px 0 36px;
        margin-top: 60px;
    }
    .page-hero h1 {
        font-size: 28px !important;
        margin-bottom: 10px;
    }
    .page-hero p {
        font-size: 14px !important;
    }

    /* ── Services intro ── */
    .services-intro {
        padding: 32px 0;
    }
    .intro-content h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .intro-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* ── Service detail sections ── */
    .service-detail {
        padding: 36px 0;
        border-bottom: 1px solid var(--border-color);
    }
    .service-detail:last-of-type {
        border-bottom: none;
    }

    /* Stack: text first, sidebar below */
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Text block */
    .service-badge {
        font-size: 11px;
        padding: 5px 10px;
        margin-bottom: 10px;
    }
    .service-detail-text h2 {
        font-size: 22px !important;
        margin-bottom: 10px;
    }
    .service-intro {
        font-size: 14px !important;
        margin-bottom: 16px;
        line-height: 1.6;
    }
    .service-detail-text h3 {
        font-size: 16px !important;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .service-detail-text p {
        font-size: 14px !important;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    .service-list {
        margin-bottom: 16px;
    }
    .service-list li {
        font-size: 13px !important;
        padding: 5px 0 5px 28px;
        line-height: 1.5;
    }
    .service-list li::before {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
    .service-detail-text .btn {
        margin-top: 20px;
        width: 100%;
        font-size: 14px !important;
        padding: 12px 20px !important;
    }

    /* Sidebar — becomes a compact info strip */
    .service-detail-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    /* If only one sidebar card, full width */
    .service-detail-sidebar .sidebar-card:only-child {
        grid-column: 1 / -1;
    }

    /* Clinic image card spans full width */
    .sidebar-card.clinic-image-card {
        grid-column: 1 / -1;
    }
    .sidebar-clinic-img {
        height: 180px;
    }

    .sidebar-card {
        padding: 16px;
    }
    .sidebar-card h4 {
        font-size: 13px !important;
        margin-bottom: 10px;
    }
    .sidebar-card ul li {
        font-size: 12px !important;
        margin-bottom: 6px;
        padding-left: 20px;
    }
    .sidebar-card ul li::before {
        font-size: 13px;
    }
    .sidebar-card.success-story p {
        font-size: 12px !important;
    }
    .sidebar-card.success-story strong {
        font-size: 12px !important;
    }
    .sidebar-card p {
        font-size: 12px !important;
        line-height: 1.5;
    }

    /* ── CTA section ── */
    .cta-section {
        padding: 40px 0;
    }
    .cta-content h2 {
        font-size: 22px !important;
        margin-bottom: 10px;
    }
    .cta-content p {
        font-size: 14px !important;
        margin-bottom: 20px;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .cta-buttons .btn-lg {
        width: 100%;
        max-width: 320px;
        font-size: 15px !important;
        padding: 13px 20px !important;
    }
}

@media (max-width: 390px) {
    .service-detail-sidebar {
        grid-template-columns: 1fr;
    }
    .service-detail-text h2 {
        font-size: 20px !important;
    }
}

/* ================================================================
   TESTIMONIALS PAGE — MOBILE
   ================================================================ */

@media (max-width: 768px) {

    /* ── Stats strip ── */
    .testimonials-stats {
        padding: 28px 0;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .stat-box {
        padding: 18px 12px;
        border-radius: var(--radius-sm);
    }
    .stat-box .stat-number {
        font-size: 28px;
        margin-bottom: 4px;
    }
    .stat-box .stat-stars {
        font-size: 16px;
        margin-bottom: 6px;
    }
    .stat-box .stat-text {
        font-size: 12px;
    }

    /* ── Video testimonials ── */
    .video-testimonials {
        padding: 40px 0;
    }
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 28px;
        max-width: 100%;
    }
    .video-card {
        max-width: 100%;
        border-radius: var(--radius-md);
    }
    .video-wrapper {
        padding: 12px;
    }
    .testimonial-video {
        aspect-ratio: 9/16;
        max-height: 400px;
    }
    .video-info {
        padding: 16px;
    }
    .video-info h3 {
        font-size: 15px;
        margin-bottom: 4px;
    }
    .video-info p {
        font-size: 13px;
    }

    /* ── Filter tabs ── */
    .testimonials-section {
        padding: 36px 0 48px;
    }
    .filter-tabs {
        gap: 8px;
        margin-bottom: 28px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        /* Hide scrollbar but keep functionality */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .filter-tabs::-webkit-scrollbar {
        display: none;
    }
    .filter-tab {
        padding: 8px 14px;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* ── Featured hero reviews ── */
    .hero-reviews {
        margin-bottom: 36px;
    }
    .featured-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
    .hero-reviews-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .review-card.hero-card {
        padding: 20px;
    }

    /* ── All reviews grid ── */
    .reviews-section-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* ── Review cards (shared) ── */
    .review-card {
        padding: 18px 16px;
        border-radius: var(--radius-sm);
    }
    .review-rating {
        font-size: 14px;
        margin-bottom: 10px;
        letter-spacing: 1px;
    }
    .review-text {
        font-size: 13px !important;
        line-height: 1.6;
        margin-bottom: 14px;
        /* Clamp long reviews to 4 lines, user can scroll card */
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .review-author {
        gap: 10px;
        padding-top: 12px;
    }
    .author-avatar {
        width: 36px;
        height: 36px;
        font-size: 12px;
        flex-shrink: 0;
    }
    .author-name {
        font-size: 13px !important;
        margin-bottom: 2px;
    }
    .author-condition {
        font-size: 11px !important;
    }
    .author-time {
        font-size: 11px !important;
    }

    /* ── Quick results ── */
    .quick-results {
        padding: 40px 0;
    }
    .quick-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 28px;
    }
    .quick-result-card {
        padding: 20px 14px;
        border-radius: var(--radius-sm);
    }
    .result-icon {
        font-size: 28px;
        margin-bottom: 10px;
    }
    .quick-result-card h3 {
        font-size: 15px;
        margin-bottom: 6px;
    }
    .quick-result-card p {
        font-size: 12px !important;
        margin-bottom: 8px;
    }
    .result-author {
        font-size: 11px;
    }
}

@media (max-width: 390px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .stat-box .stat-number {
        font-size: 24px;
    }
    .quick-results-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ================================================================
   ABOUT PAGE — MOBILE
   ================================================================ */

@media (max-width: 768px) {

    /* ── About intro: image + text ── */
    .about-intro-page {
        padding: 36px 0;
    }
    .about-page-content {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .about-page-image {
        margin-bottom: 20px;
    }
    .about-page-img {
        height: auto;
        width: 100%;
        object-fit: contain;
        border-radius: var(--radius-md);
    }
    .credentials-badge {
        position: static;
        transform: none;
        margin-top: 12px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        padding: 10px 16px;
        flex-wrap: wrap;
    }
    .credentials-badge span {
        font-size: 12px;
    }
    .about-page-text h2 {
        font-size: 22px !important;
        margin-bottom: 12px;
    }
    .about-page-text p {
        font-size: 14px !important;
        line-height: 1.65;
        margin-bottom: 12px;
    }
    .about-page-text ul {
        padding-left: 0;
        margin: 8px 0 12px;
    }
    .about-page-text ul li {
        font-size: 13px;
        padding: 4px 0 4px 20px;
        position: relative;
        color: var(--text-gray);
    }
    .about-page-text ul li::before {
        content: '✓';
        position: absolute;
        left: 0;
        color: var(--primary-color);
        font-weight: 700;
    }

    /* ── Story section ── */
    .story-section {
        padding: 36px 0;
    }
    .story-content h2 {
        font-size: 22px !important;
        margin-bottom: 14px;
        text-align: left;
    }
    .story-content p {
        font-size: 14px !important;
        line-height: 1.65;
    }

    /* ── Philosophy grid ── */
    .philosophy {
        padding: 36px 0;
    }
    .philosophy-content h2 {
        font-size: 22px !important;
        margin-bottom: 20px;
        text-align: left;
    }
    .philosophy-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .philosophy-item {
        padding: 18px 14px;
    }
    .philosophy-item h3 {
        font-size: 13px !important;
        margin-bottom: 6px;
    }
    .philosophy-item p {
        font-size: 12px !important;
        line-height: 1.5;
    }

    /* ── CTA ── */
    .cta-section {
        padding: 40px 0;
    }
    .cta-content h2 {
        font-size: 22px !important;
        margin-bottom: 10px;
    }
    .cta-content p {
        font-size: 14px !important;
        margin-bottom: 20px;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .cta-buttons .btn-lg {
        width: 100%;
        max-width: 320px;
        font-size: 15px !important;
        padding: 13px 20px !important;
    }
}

@media (max-width: 390px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    .about-page-img {
        height: auto;
    }
}

/* ================================================================
   BLOG PAGE — MOBILE
   ================================================================ */

@media (max-width: 768px) {

    /* ── Blog intro ── */
    .blog-intro {
        padding: 32px 0;
    }
    .blog-intro h2 {
        font-size: 20px !important;
        margin-bottom: 10px;
    }
    .blog-intro p {
        font-size: 14px !important;
        line-height: 1.65;
    }

    /* ── Category filters — horizontal scroll ── */
    .blog-categories {
        padding: 16px 0;
        top: 60px; /* match header height */
    }
    .category-filters {
        gap: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 4px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .category-filters::-webkit-scrollbar {
        display: none;
    }
    .category-btn {
        padding: 8px 14px;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* ── Blog grid ── */
    .blog-grid-section {
        padding: 32px 0;
    }
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* ── Blog cards ── */
    .blog-card {
        border-radius: var(--radius-md);
    }
    .blog-card-image {
        height: 180px;
    }
    .blog-category-badge {
        font-size: 11px;
        padding: 4px 10px;
    }
    .blog-card-content {
        padding: 18px 16px;
    }
    .blog-meta {
        gap: 12px;
        margin-bottom: 10px;
    }
    .blog-date,
    .blog-read-time {
        font-size: 12px;
        gap: 4px;
    }
    .blog-title {
        font-size: 16px !important;
        margin-bottom: 8px;
        line-height: 1.4;
    }
    .blog-excerpt {
        font-size: 13px !important;
        line-height: 1.55;
        margin-bottom: 14px;
    }
    .blog-author {
        padding-top: 14px;
        margin-bottom: 12px;
        gap: 10px;
    }
    .author-avatar-small {
        width: 34px;
        height: 34px;
        font-size: 12px;
        flex-shrink: 0;
    }
    .author-name-small {
        font-size: 13px;
    }
    .author-credentials {
        font-size: 11px;
    }
    .read-more {
        font-size: 13px;
    }
    .coming-soon-placeholder {
        height: 100%;
    }
    .coming-soon-label {
        font-size: 12px;
        margin-top: 8px;
    }

    /* ── Newsletter ── */
    .blog-newsletter {
        padding: 40px 0;
    }
    .newsletter-icon {
        font-size: 40px;
        margin-bottom: 14px;
    }
    .newsletter-content h2 {
        font-size: 20px !important;
        margin-bottom: 10px;
    }
    .newsletter-content > p {
        font-size: 14px !important;
        margin-bottom: 20px;
    }
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
        max-width: 100%;
    }
    .newsletter-input {
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
    }
    .newsletter-form .btn {
        width: 100%;
        font-size: 14px !important;
        padding: 12px 20px !important;
    }
    .newsletter-privacy {
        font-size: 12px;
        margin-top: 10px;
    }
}

/* ================================================================
   BLOG POST (INDIVIDUAL) — MOBILE
   ================================================================ */

@media (max-width: 768px) {

    /* ── Breadcrumb ── */
    .breadcrumb {
        padding: 12px 0;
    }
    .breadcrumb-list {
        font-size: 12px;
        gap: 8px;
        flex-wrap: wrap;
    }
    .breadcrumb-list li::after {
        margin-left: 8px;
    }

    /* ── Narrow container ── */
    .container-narrow {
        padding: 0 18px;
    }

    /* ── Post header ── */
    .blog-post-header {
        padding: 32px 0 24px;
    }
    .blog-post-meta {
        gap: 12px;
        margin-bottom: 16px;
        flex-wrap: wrap;
    }
    .blog-category-tag {
        font-size: 11px;
        padding: 4px 10px;
    }
    .blog-post-date,
    .blog-read-time {
        font-size: 12px;
        gap: 4px;
    }
    .blog-post-title {
        font-size: 24px !important;
        line-height: 1.25;
        margin-bottom: 12px;
    }
    .blog-post-subtitle {
        font-size: 15px !important;
        line-height: 1.55;
        margin-bottom: 20px;
    }
    .blog-author-box {
        padding: 16px;
        gap: 12px;
        flex-direction: row;
        align-items: center;
    }
    .blog-author-box .author-avatar {
        width: 42px;
        height: 42px;
        font-size: 14px;
        flex-shrink: 0;
    }
    .blog-author-box .author-name {
        font-size: 14px !important;
        margin-bottom: 2px;
    }
    .blog-author-box .author-credentials {
        font-size: 11px !important;
    }

    /* ── Featured image ── */
    .blog-featured-image {
        padding: 16px 0;
    }
    .featured-img {
        border-radius: var(--radius-md);
    }

    /* ── Article body ── */
    .blog-post-content {
        padding: 28px 0;
    }
    .content-section {
        margin-bottom: 28px;
    }
    .lead-paragraph {
        font-size: 16px !important;
        line-height: 1.7;
    }
    .blog-post-content h2 {
        font-size: 20px !important;
        margin-bottom: 12px;
        margin-top: 4px;
    }
    .blog-post-content h3 {
        font-size: 16px !important;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .blog-post-content p {
        font-size: 15px !important;
        line-height: 1.7;
        margin-bottom: 14px;
    }

    /* ── Info boxes ── */
    .info-box {
        padding: 16px;
        gap: 12px;
        margin: 20px 0;
        flex-direction: row;
        align-items: flex-start;
    }
    .info-box-icon {
        font-size: 22px;
        flex-shrink: 0;
    }
    .info-box-content strong {
        font-size: 14px;
        margin-bottom: 4px;
    }
    .info-box-content p,
    .info-box p {
        font-size: 13px !important;
        line-height: 1.55;
        margin: 0;
    }

    /* ── Check list ── */
    .check-list li {
        font-size: 14px !important;
        padding: 8px 0 8px 32px;
        line-height: 1.55;
    }
    .check-list li::before {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }

    /* ── Numbered list ── */
    .numbered-list li {
        font-size: 14px !important;
        padding: 8px 0 8px 40px;
        line-height: 1.55;
    }
    .numbered-list li::before {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }

    /* ── In-article CTA box ── */
    .blog-cta-box {
        padding: 24px 18px;
        margin: 28px 0;
        text-align: left;
    }
    .blog-cta-box h3 {
        font-size: 18px !important;
        margin-bottom: 8px;
    }
    .blog-cta-box p {
        font-size: 14px !important;
        margin-bottom: 16px;
    }
    .blog-cta-box .cta-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    .blog-cta-box .btn {
        width: 100%;
        font-size: 14px !important;
        padding: 12px 16px !important;
        text-align: center;
    }

    /* ── Author bio ── */
    .author-bio-box {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px 18px;
        margin-top: 32px;
        text-align: left;
    }
    .author-avatar-large {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    .author-bio-content h3 {
        font-size: 11px;
        margin-bottom: 4px;
    }
    .author-bio-content h4 {
        font-size: 18px !important;
        margin-bottom: 10px;
    }
    .author-bio-content p {
        font-size: 13px !important;
        line-height: 1.6;
        margin-bottom: 8px;
    }
    .read-more-link {
        font-size: 13px;
        margin-top: 8px;
    }

    /* ── Tags ── */
    .blog-tags {
        gap: 8px;
        margin-top: 28px;
        padding-top: 20px;
        flex-wrap: wrap;
    }
    .tag-label {
        font-size: 13px;
        width: 100%;
    }
    .tag {
        font-size: 12px;
        padding: 5px 12px;
    }

    /* ── Social share ── */
    .social-share {
        gap: 12px;
        margin-top: 20px;
        align-items: center;
        flex-wrap: wrap;
    }
    .share-label {
        font-size: 13px;
    }
    .share-buttons {
        gap: 10px;
    }
    .share-btn {
        width: 38px;
        height: 38px;
    }

    /* ── Related posts ── */
    .related-posts {
        padding: 40px 0;
    }
    .related-posts .section-title {
        font-size: 20px !important;
        margin-bottom: 24px;
    }
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .related-post-card {
        padding: 20px;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 16px;
    }
    .related-post-image-placeholder {
        width: 52px;
        height: 52px;
        flex-shrink: 0;
        margin: 0;
    }
    .related-post-card h3 {
        font-size: 14px !important;
        margin-bottom: 4px;
    }
    .related-post-card p {
        font-size: 12px !important;
        margin: 0;
    }
}

@media (max-width: 390px) {
    .blog-post-title {
        font-size: 21px !important;
    }
    .blog-post-content h2 {
        font-size: 18px !important;
    }
}