/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');


/* CSS Variables */
:root {
    --font-size: 16px;
    --background: #FBF8F5;
    --foreground: #3D2F2F;
    --card: #ffffff;
    --card-foreground: #3D2F2F;
    --primary:  #e91e63;
    --primary-foreground: #ffffff;
    --secondary: #FFF5F7;
    --secondary-foreground: #3D2F2F;
    --muted: #F5EBE0;
    --muted-foreground: #8B7B7B;
    --accent: #E8D5B5;
    --accent-foreground: #3D2F2F;
    --border: rgba(183, 110, 121, 0.15);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size);
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    background: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Toast Container */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: var(--card);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 300px;
    animation: slideIn 0.3s ease-out;
}

.toast.success {
    border-left: 4px solid #22c55e;
}

.toast-icon {
    width: 20px;
    height: 20px;
    color: #22c55e;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #7A1E1E(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center; /* Logo and text on same row, vertically centered */
  gap: 0.6rem; /* Space between logo and brand name */
}

.logo-img {
  height: 45px;        /* Keep same logo size */
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column; /* Stack brand name lines */
  align-items: flex-start;
  line-height: 1.1;
}

.brand-text h1 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #e91e63; /* Same golden yellow */
  margin: 0;
}

.brand-text h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #e91e63; /* Same deep pink tone */
  margin: 0;
}


.desktop-nav {
    display: none;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-link {
    color: var(--foreground);
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-link:hover {
    color: var(--primary);
}

.desktop-cta {
    display: none;
}

@media (min-width: 768px) {
    .desktop-cta {
        display: block;
    }
}

.mobile-menu-btn {
    display: block;
    color: var(--foreground);
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.menu-icon, .close-icon {
    width: 24px;
    height: 24px;
}

.hidden {
    display: none !important;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 1rem;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav .nav-link {
    text-align: left;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--primary-foreground);
    box-shadow: var(--shadow-md);
}

.btn-gradient:hover {
    opacity: 0.9;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--primary-foreground);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.whatsapp-btn {
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .whatsapp-btn {
        margin-top: 2rem;
    }
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--secondary);
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.badge span {
    color: var(--primary);
    font-size: 0.875rem;
}

/* Section */
.section {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 5rem 0;
    }
}

.bg-white {
    background: #ffffff;
}

.bg-gradient {
    background: linear-gradient(to bottom, var(--background), #ffffff);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 3rem;
    }
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

.text-primary {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 5rem 0;
}

.hero-text {
    max-width: 42rem;
}

.animate-on-load {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--muted-foreground);
    max-width: 32rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .stats-grid {
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-card {
    background: linear-gradient(135deg, var(--secondary), #ffffff);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
}

@media (min-width: 768px) {
    .stat-card {
        padding: 1.5rem;
        border-radius: 1.5rem;
    }
}

.stat-card:hover {
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .stat-icon {
        width: 3.5rem;
        height: 3.5rem;
        border-radius: 1rem;
    }
}

.stat-icon svg {
    color: #ffffff;
}

.stat-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .stat-card h3 {
        font-size: 1.25rem;
    }
}

.stat-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Mission Card */
.mission-card {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-2xl);
}

@media (min-width: 768px) {
    .mission-card {
        padding: 2.5rem;
        border-radius: 1.5rem;
    }
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .mission-card h3 {
        font-size: 1.875rem;
        margin-bottom: 1rem;
    }
}

.mission-card p {
    font-size: 0.875rem;
    opacity: 0.95;
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .mission-card p {
        font-size: 1rem;
    }
}

/* Doctors Grid */
.doctors-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .doctors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Doctor Card Wrapper */
.doctor-card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .doctor-card {
        border-radius: 1.5rem;
    }
}

.doctor-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

/* FIXED + CENTERED DOCTOR PHOTO */
.doctor-image {
    position: relative;
    height: 18rem;            /* stable tall photo */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .doctor-image {
        height: 22rem;        /* bigger on desktop */
    }
}

.doctor-image img {
    width: 100%;
    height: auto;
    max-width: none;
    object-fit: cover;
    object-position: center center;  /* CENTER the face */
    transform: translateY(0);
    transition: transform 0.5s ease;
}

/* Hover zoom remains beautiful */
.doctor-card:hover .doctor-image img {
    transform: scale(1.08);
}


/* Overlay */
.doctor-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.2), transparent);
}

/* Name + Title Overlay */
.doctor-name-overlay {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    color: #ffffff;
}

.doctor-name-overlay h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    .doctor-name-overlay h3 {
        font-size: 1.45rem;
    }
}

.doctor-name-overlay p {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* 🔥 SHORTER DETAILS CARD */
.doctor-info {
    padding: 0.75rem 1rem; /* reduced padding */
    display: flex;
    flex-direction: column;
    gap: 0.65rem; /* reduce spacing */
}

@media (min-width: 768px) {
    .doctor-info {
        padding: 1rem 1.25rem; /* smaller than before */
    }
}

/* Detail Item */
.doctor-detail {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

/* Icons */
.detail-icon {
    width: 1.9rem;
    height: 1.9rem;
    background: #f8eaf0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-icon svg {
    width: 0.9rem;
    height: 0.9rem;
    color: #d6336c;
}

/* Labels and Values */
.detail-label {
    font-size: 0.70rem;
    color: #777;
}

.detail-value {
    font-size: 0.80rem;
    font-weight: 500;
    color: #444;
}

/* Tags */
.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.expertise-tags span {
    font-size: 0.70rem;
    padding: 0.25rem 0.55rem;
    background: #fff0f4;
    color: #d6336c;
    border-radius: 9999px;
    font-weight: 500;
}


/* Services Grid */
.services-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (min-width: 768px) {
    .service-card {
        border-radius: 1.5rem;
    }
}

.service-card:hover {
    box-shadow: var(--shadow-2xl);
}

/* 🔥 BIGGER & CENTERED SERVICE IMAGE */
.service-image {
    position: relative;
    height: 15rem;                 /* increased size */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .service-image {
        height: 18rem;             /* increased on desktop */
    }
}

.service-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center center; /* CENTER the subject */
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.07);
}

.service-icon {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.service-icon svg {
    color: var(--primary);
}

.service-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

/* 🔥 SUPER COMPACT DETAILS SECTION */
.service-content {
    padding: 0.6rem 0.8rem;      /* reduced more */
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;                /* very tight spacing */
}

@media (min-width: 768px) {
    .service-content {
        padding: 0.75rem 1rem;
        gap: 0.45rem;
    }
}

/* Title Smaller */
.service-content h3 {
    font-size: 1rem;             /* smaller title */
    margin-bottom: 0.2rem;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .service-content h3 {
        font-size: 1.1rem;
    }
}

/* Description shorter & smaller */
.service-content > p {
    font-size: 0.78rem;          /* reduced */
    line-height: 1.2;            /* tighter */
    color: var(--muted-foreground);
    margin-bottom: 0.35rem;
}

/* Symptoms compact */
.service-symptoms {
    margin-top: auto;
}

.service-symptoms .detail-label {
    font-size: 0.75rem;
    margin-bottom: 0.35rem;
}

/* Tags super compact */
.symptom-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;                /* tighter spacing */
}

.symptom-tags span {
    font-size: 0.65rem;          /* smaller tags */
    padding: 0.15rem 0.4rem;     /* smaller chip */
    background: var(--secondary);
    color: var(--primary);
    border-radius: 9999px;
}



/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, var(--secondary), #ffffff);
    padding: 1.25rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .cta-card {
        padding: 2rem;
        border-radius: 1.5rem;
    }
}

.cta-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .cta-card h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

.cta-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .cta-card p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* Gallery */
.gallery-container {
    max-width: 80rem;
    margin: 0 auto;
    position: relative;
}

.gallery-slider {
    position: relative;
    overflow: hidden;
}

.gallery-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gallery-slide {
    min-width: 100%;
    background: linear-gradient(135deg, var(--secondary), #ffffff);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
    .gallery-slide {
        padding: 1.5rem;
        border-radius: 1.5rem;
    }
}

.condition-badge {
    text-align: center;
    margin-bottom: 1rem;
}

.condition-badge .badge {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 1.5rem;
}

@media (min-width: 768px) {
    .condition-badge .badge {
        padding: 0.625rem 1.5rem;
    }
}

.condition-badge span {
    color: #ffffff;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .condition-badge span {
        font-size: 1rem;
    }
}

.before-after-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .before-after-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

.image-container {
    position: relative;
}

.image-tag {
    position: absolute;
    top: -0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    color: #ffffff;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    font-size: 0.75rem;
}

@media (min-width: 768px) {
    .image-tag {
        top: -0.75rem;
        left: 0.75rem;
        padding: 0.375rem 1rem;
        font-size: 0.875rem;
    }
}

.before-tag {
    background: #ef4444;
}

.after-tag {
    background: #22c55e;
}

/* 🔥 BIGGER BEFORE/AFTER PHOTOS */
.image-container img {
    width: 100%;
    height: 16rem;             /* increased from 12rem → 16rem */
    object-fit: cover;
    object-position: center;   /* ensures face/center stays visible */
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .image-container img {
        height: 22rem;         /* increased from 16rem → 22rem */
        border-radius: 1rem;
    }
}

.treatment-details {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .treatment-details {
        margin-top: 1.5rem;
        gap: 0.75rem;
    }
}

.detail-box {
    background: #ffffff;
    padding: 0.75rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .detail-box {
        padding: 1rem;
        border-radius: 1rem;
    }
}

.detail-box .detail-label {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .detail-box .detail-label {
        font-size: 0.875rem;
    }
}

.detail-box .detail-value {
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .detail-box .detail-value {
        font-size: 1rem;
    }
}

.result-value {
    color: #22c55e;
}

.detail-grid {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .detail-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    cursor: pointer;
}

@media (min-width: 768px) {
    .gallery-btn {
        width: 3rem;
        height: 3rem;
    }
}

.gallery-btn:hover {
    background: var(--primary);
}

.gallery-btn:hover svg {
    color: #ffffff;
}

.gallery-btn-prev {
    left: 0.5rem;
}

@media (min-width: 768px) {
    .gallery-btn-prev {
        left: 1rem;
    }
}

.gallery-btn-next {
    right: 0.5rem;
}

@media (min-width: 768px) {
    .gallery-btn-next {
        right: 1rem;
    }
}

.gallery-btn svg {
    width: 20px;
    height: 20px;
}

@media (min-width: 768px) {
    .gallery-btn svg {
        width: 24px;
        height: 24px;
    }
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .gallery-dots {
        margin-top: 1.5rem;
    }
}

.gallery-dot {
    height: 0.375rem;
    width: 0.375rem;
    border-radius: 9999px;
    background: var(--border);
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

@media (min-width: 768px) {
    .gallery-dot {
        height: 0.5rem;
        width: 0.5rem;
    }
}

.gallery-dot.active {
    width: 1.5rem;
    background: var(--primary);
}

@media (min-width: 768px) {
    .gallery-dot.active {
        width: 2rem;
    }
}

.gallery-dot:hover {
    background: rgba(183, 110, 121, 0.5);
}

.disclaimer {
    margin-top: 3rem;
    text-center;
}

.disclaimer p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 🔥 SUPER COMPACT TESTIMONIAL CARD */
.testimonial-card {
    background: #ffffff;
    padding: 0.75rem;            /* reduced padding */
    border-radius: 0.9rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    position: relative;
}

@media (min-width: 768px) {
    .testimonial-card {
        padding: 0.9rem;
        border-radius: 1.2rem;
    }
}

.testimonial-card:hover {
    box-shadow: var(--shadow-xl);
}

/* Small Quote Icon */
.quote-icon {
    position: absolute;
    top: -0.4rem;
    right: -0.4rem;
    width: 2rem;                 /* smaller */
    height: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.quote-icon svg {
    color: #ffffff;
    width: 14px;
    height: 14px;
}

/* Compact Header */
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.55rem;               /* smaller gap */
    margin-bottom: 0.55rem;
}

/* Smaller Avatar */
.testimonial-avatar {
    width: 2.4rem;              /* smaller */
    height: 2.4rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.75rem;         /* smaller text */
    flex-shrink: 0;
}

/* Compact Name */
.testimonial-info h4 {
    font-size: 0.8rem;          /* smaller */
    color: var(--foreground);
}

@media (min-width: 768px) {
    .testimonial-info h4 {
        font-size: 0.9rem;
    }
}

.testimonial-info p {
    font-size: 0.7rem;
    color: var(--muted-foreground);
}

/* Compact Rating */
.testimonial-rating {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 0.5rem;      /* reduced */
}

.star-icon {
    width: 12px;                 /* smaller stars */
    height: 12px;
    fill: var(--accent);
    color: var(--accent);
}

/* SHORTER TEXT */
.testimonial-text {
    font-size: 0.78rem;          /* smaller text */
    color: var(--muted-foreground);
    font-style: italic;
    line-height: 1.25;           /* tighter lines */
}


/* Contact Section */
.contact-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

.contact-card {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    height: 100%;
}

@media (min-width: 768px) {
    .contact-card {
        border-radius: 1.5rem;
    }
}

.contact-card:hover {
    box-shadow: var(--shadow-2xl);
}

.contact-info {
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .contact-info {
        padding: 2rem;
    }
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .contact-info h3 {
        margin-bottom: 2rem;
    }
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .contact-details {
        gap: 1.5rem;
    }
}

.contact-item {
    display: flex;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .contact-item {
        gap: 1rem;
    }
}

.contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .contact-icon {
        width: 3rem;
        height: 3rem;
    }
}

.contact-icon svg {
    color: var(--primary);
    width: 20px;
    height: 20px;
}

@media (min-width: 768px) {
    .contact-icon svg {
        width: 24px;
        height: 24px;
    }
}

.contact-item h4 {
    margin-bottom: 0.25rem;
    color: var(--foreground);
}

.contact-item p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    word-break: break-word;
}

.contact-map {
    margin-top: 1.5rem;
    background: var(--secondary);
    border-radius: 1rem;
    overflow: hidden;
    height: 12rem;
}

@media (min-width: 768px) {
    .contact-map {
        margin-top: 2rem;
        height: 16rem;
    }
}

/* Appointment Form */
.form-group {
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .form-group {
        margin-bottom: 1.5rem;
    }
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--foreground);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 1rem;
    background: var(--secondary);
    color: var(--foreground);
    font-family: var(--font-body);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 8rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-column h3, .footer-column h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.footer-logo-img {
    height: 55px; /* Match with header */
    width: auto;
}

.footer-brand-text h3 {
    font-size: 20px;
    color: #fff;
    margin: 0;
    font-weight: 600;
}

.footer-brand-text span {
    display: block;
    font-size: 14px;
    color: #ffe6f0; /* softer tone, looks premium */
    margin-top: -2px;
}

.footer-description {
    margin-top: 5px;
    color: #fff;
    font-size: 14px;
    max-width: 300px;
    line-height: 1.5;
}

.footer-socials {
    margin-top: 18px;
    display: flex;
    gap: 12px;
}



.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.3);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li.spacer {
    margin-top: 0.5rem;
}

.footer-column ul button {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.footer-column ul button:hover {
    color: #ffffff;
}

.footer-column ul li:not(:has(button)) {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-bottom svg {
    fill: #ffffff;
}

/* Animation on scroll */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive utilities */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
}
/* ------------------------------------------------------ */
/* 🔥 MOBILE OPTIMIZATION PATCH (For screens < 480px) */
/* ------------------------------------------------------ */

@media (max-width: 480px) {

    /* GLOBAL IMPROVEMENTS */
    html {
        font-size: 14px; /* smaller base font */
    }

    body {
        padding-top: 4rem; /* space for fixed header */
    }

    .container {
        padding: 0 0.75rem;
    }

    /* HEADER FIX */
    .header-content {
        padding: 0.75rem 0;
    }

    .brand-text h1 {
        font-size: 1rem;
    }

    .brand-text h2 {
        font-size: 0.85rem;
    }

    .logo-img {
        height: 38px;
    }

    /* HERO SECTION */
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        gap: 0.75rem;
        flex-direction: column;
    }

    /* SECTION TITLES */
    .section-title {
        font-size: 1.75rem !important;
    }

    .section-description {
        font-size: 0.95rem;
    }

    /* DOCTORS */
    .doctor-image {
        height: 15rem !important;
    }

    .doctor-card {
        border-radius: 1rem;
    }

    .doctor-info {
        padding: 0.75rem 0.8rem !important;
    }

    /* SERVICES */
    .service-image {
        height: 13rem !important;
    }

    .service-content {
        padding: 0.6rem 0.7rem !important;
    }

    .service-content h3 {
        font-size: 1rem !important;
    }

    /* GALLERY */
    .image-container img {
        height: 14rem !important;
    }

    .gallery-slide {
        padding: 0.75rem !important;
    }

    .gallery-btn {
        width: 2.2rem;
        height: 2.2rem;
    }

    /* TESTIMONIALS */
    .testimonial-card {
        padding: 0.7rem !important;
    }

    .testimonial-avatar {
        width: 2rem;
        height: 2rem;
        font-size: 0.7rem;
    }

    .testimonial-text {
        font-size: 0.78rem !important;
        line-height: 1.2;
    }

    /* CONTACT */
    .contact-info {
        padding: 1.25rem !important;
    }

    .contact-map {
        height: 12rem !important;
    }

    /* FOOTER */
    .footer {
        padding: 2rem 0;
    }

    .footer-grid {
        gap: 1.25rem;
    }

    .footer-column ul li {
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
        text-align: center;
    }
}
/* Video Reel Section */
.video-reel-section {
    padding: 90px 20px;
    background: linear-gradient(135deg, #fff5f7, #ffffff);
}

/* Container alignment */
.video-reel-section .container {
    display: flex;
    justify-content: center;
}

/* Reel Wrapper */
.video-reel-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 9 / 16;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    background: #000;
}

/* Video */
.reel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay */
.reel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.65),
        rgba(0, 0, 0, 0.05)
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    color: #fff;
}

/* Text */
.reel-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    width: fit-content;
    margin-bottom: 10px;
}

.reel-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.reel-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 16px;
}

.btn-primary {
    background: linear-gradient(90deg, #f43f5e, #f6c1a3);
    color: #ffffff;
    border: none !important;   /* removes any border */
    outline: none;             /* removes focus outline */
    padding: 8px 22px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(244, 63, 94, 0.35);
    transition: all 0.25s ease;
}

/* Hover – soft lift only */
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(244, 63, 94, 0.45);
}

/* Active – press effect */
.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 5px 14px rgba(244, 63, 94, 0.3);
}

/* Remove browser focus border */
.btn-primary:focus {
    outline: none;
    box-shadow: 0 6px 18px rgba(244, 63, 94, 0.35);
}
/* ===========================
   DESKTOP ENHANCEMENT
=========================== */
@media (min-width: 992px) {
    .video-reel-section .container {
        justify-content: center;
    }

    .video-reel-wrapper {
        max-width: 420px;
    }

    .reel-overlay h3 {
        font-size: 1.7rem;
    }

    .reel-overlay p {
        font-size: 1rem;
    }
}

/* ===========================
   MOBILE OPTIMIZATION
=========================== */
@media (max-width: 480px) {
    .video-reel-section {
        padding: 70px 15px;
    }

    .video-reel-wrapper {
        max-width: 100%;
        border-radius: 18px;
    }

    .reel-overlay {
        padding: 18px;
    }

    .reel-overlay h3 {
        font-size: 1.35rem;
    }

    .reel-overlay p {
        font-size: 0.9rem;
    }
}
.mute-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    transition: all 0.2s ease;
    z-index: 10;
}

.mute-btn:hover {
    background: rgba(0, 0, 0, 0.75);
}
