:root {
    /* CUSTOM COLORS */
    --dark-crimson: #461e29;  /* Dark Crimson */
    --gray-orange: #c0a175;   /* Gray Orange */
    --text-dark: #333333;
    --text-light: #ffffff;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: #fcf6ee;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER --- */
header.sticky-header {
    background: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- LOGO --- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 100px;
    height: 40px;
    object-fit: contain;
}

.logo-text h3 {
    font-size: 18px;
    color: var(--dark-crimson);
    line-height: 1;
    font-weight: 700;
}

.logo-text span {
    font-size: 10px;
    letter-spacing: 1px;
    display: block;
    color: #666;
}

/* --- NAV (Desktop) --- */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    transition: 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--dark-crimson);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dark-crimson);
    transition: 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

/* --- BUTTONS --- */
.btn-primary {
    background-color: var(--dark-crimson);
    color: #fff;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}
.btn-primary:hover {
    background-color: #5e2a37;
}

.btn-white {
    background-color: #fff;
    color: var(--text-dark);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}

/* --- HEADER RIGHT (Desktop) --- */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-info {
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

.contact-info i {
    margin-right: 5px;
    color: var(--dark-crimson);
}

/* --- Mobile Only Elements (Hidden on Desktop) --- */
.mobile-header-right {
    display: none;
}

/* --- HAMBURGER BUTTON (Hidden on Desktop) --- */
/* --- HAMBURGER BUTTON --- */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--dark-crimson);
    border-radius: 3px;
    transition: 0.3s;
}

/* When active (menu open) - Cross icon */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* --- NAV (Mobile) --- */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1002;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    }
    
    nav.active {
        right: 0;
    }
    
    /* Navigation Links */
    nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        margin-bottom: 40px;
    }
    
    nav ul li a {
        font-size: 24px;
        font-weight: 600;
        color: var(--dark-crimson);
        display: block;
        padding: 5px 0;
        text-decoration: none;
    }
    
    /* Mobile Header Right */
    .mobile-header-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding-top: 20px;
        border-top: 1px solid #f0f0f0;
        width: 100%;
        max-width: 280px;
    }
    
    .mobile-contact {
        font-size: 16px;
        font-weight: 500;
        color: #333;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .mobile-contact i {
        color: var(--dark-crimson);
        font-size: 18px;
    }
    
    .mobile-btn {
        width: 100%;
        padding: 14px;
        font-size: 16px;
        text-align: center;
        border-radius: 50px;
        background: var(--dark-crimson);
        color: #fff;
        text-decoration: none;
        font-weight: 500;
    }
    
    /* Hide Desktop Header Right */
    .header-right {
        display: none;
    }
    
    /* Overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        z-index: 999;
        backdrop-filter: blur(5px);
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    body.no-scroll {
        overflow: hidden;
    }
}

/* --- HERO SECTION --- */
/* --- HERO SECTION --- */
.hero {
    /* REMOVE the linear-gradient from here */
    background-image: url('img/image.png');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    border-radius: 30px;
    margin: 20px;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative; /* Added for the pseudo-element */
}

/* ADD THIS NEW CLASS - This creates the gradient ONLY on the left side */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* Only covers half the width (left side) */
    height: 100%;
    background: linear-gradient(90deg, rgba(70, 30, 41, 0.9) 0%, rgba(70, 30, 41, 0.3) 100%);
    border-radius: 30px 0 0 30px; /* Rounds only the left side */
    z-index: 1;
}

/* Ensure text sits on top of the gradient */
.hero-container {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    width: 100%;
    position: relative;
    z-index: 2;
}
/* Left Text */
.hero-text {
    flex: 1;
    color: #fff;
    max-width: 500px;
}
.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}
.hero-text p {
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 450px;
}
.hero-buttons {
    display: flex;
    gap: 15px;
}

/* --- RIGHT FORM (WATER/TRANSPARENT EFFECT) --- */
.appointment-card {
    flex: 0 0 400px;
    /* COMPLETELY TRANSPARENT BACKGROUND - Shows Image Through */
    background: rgba(255, 255, 255, 0.15); 
    backdrop-filter: blur(8px); /* Glass/Water effect */
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.appointment-card h2 {
    color: var(--dark-crimson);
    font-size: 2.2rem;
    line-height: 1.2;
    text-align: center;
    font-weight: 700;
}
.appointment-card .underline {
    width: 80px;
    height: 4px;
    background: var(--gray-orange);
    margin: 5px auto 25px;
    border-radius: 2px;
}

.form-group {
    margin-bottom: 12px;
}
.form-group label {
    display: block;
    font-size: 13px;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.form-group input, 
.form-group select {
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.95);
    font-family: inherit;
    color: #555;
    outline: none;
}
.form-group input:focus, 
.form-group select:focus {
    box-shadow: 0 0 0 2px var(--gray-orange);
}

.form-btn {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    font-size: 15px;
    background-color: var(--dark-crimson);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.form-btn:hover {
    background-color: #5e2a37;
}
/* --- STATS SECTION --- */
.stats {
    padding: 40px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-box {
    background: #fff;
    padding: 20px 25px;
    border-radius: 15px;
    border: 1px solid #0c0b0b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.stat-box::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    border-right: 3px solid var(--gray-orange);
    border-bottom: 3px solid var(--gray-orange);
    border-radius: 0 0 15px 0;
    opacity: 0.3;
}

.stat-content h3 {
    color: var(--dark-crimson);
    font-size: 2rem;
    font-weight: 700;
}

.stat-content p {
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
}

.stat-icon i {
    font-size: 2.5rem;
    color: #ddd;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        gap: 40px;
    }
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    .hero-text p {
        margin: 0 auto 30px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .appointment-card {
        flex: auto;
        width: 100%;
        max-width: 450px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .stat-box {
        height: auto;
        padding: 18px 20px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    nav ul {
        gap: 15px;
    }
    .header-right {
        flex-direction: column;
        gap: 10px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 10px;
    }
    .stat-box {
        height: auto;
        padding: 15px 18px;
    }
    .stat-content h3 {
        font-size: 1.8rem;
    }
    .stat-content p {
        font-size: 0.8rem;
    }
}

@media (max-width: 400px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 0 5px;
        max-width: 100%;
    }
    
    .stat-box {
        height: 80px;
        padding: 10px 15px;
        border-radius: 12px;
    }
    
    .stat-content h3 {
        font-size: 1.5rem;
    }
    
    .stat-content p {
        font-size: 0.7rem;
    }
    
    .stat-icon i {
        font-size: 1.8rem;
    }
    
    .stat-box::after {
        width: 20px;
        height: 20px;
        right: 6px;
        top: 6px;
    }
}

/* --- FEATURES SECTION --- */
.features {
    padding: 60px 20px 80px;
    background-color: #fcf6ee; /* Light beige background */
}

.features-header {
    text-align: center;
    margin-bottom: 50px;
}

.features-header .sub-title {
    font-size: 12px;
    color: #555;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}

.features-header h2 {
    font-size: 3rem;
    color: var(--dark-crimson);
    font-weight: 700;
    line-height: 1.2;
}

/* Grid Layout */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid #1a1616;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}

/* Individual Card */
.feature-card {
    padding: 40px 30px;
    border-right: 1px solid #171515;
    transition: 0.3s;
    text-align: left;
}

.feature-card:last-child {
    border-right: none;
}

.feature-card:hover {
    background-color: #fafafa;
}

/* Ionicons Styling */
.feature-icon {
    margin-bottom: 20px;
}

.feature-icon ion-icon {
    font-size: 50px;
    color: var(--dark-crimson);
    --ionicon-stroke-width: 24px;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--dark-crimson);
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* --- RESPONSIVE FOR FEATURES --- */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 15px;
    }
    .feature-card {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .feature-card:nth-child(2) {
        border-right: 1px solid #eee;
    }
}

@media (max-width: 576px) {
    .features-header h2 {
        font-size: 2rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
        border-radius: 10px;
    }
    .feature-card {
        border-bottom: 1px solid #eee;
        border-right: none;
    }
}


/* --- VISION / ABOUT SECTION --- */
.vision {
    padding: 60px 20px 80px;
    background-color: #fcf6ee;
}

.vision-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    /* align-items: center; */
}

/* --- LEFT SIDE - IMAGE COLLAGE --- */
.vision-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Top Row - Side by Side */
.top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    height: 230px;
}

/* Dark Box */
.image-box.dark-box {
    background-color: #461e29;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.image-box.dark-box h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Top Right Image */
.image-box.top-right-img {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}
.image-box.top-right-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bottom Image (Spans full width) */
.image-box.bottom-img {
    border-radius: 20px;
    overflow: hidden;
    height: 220px;
}
.image-box.bottom-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- RIGHT SIDE - CONTENT --- */
.vision-content {
    padding-left: 20px;
}

.vision-content .sub-title {
    font-size: 12px;
    color: #555;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}

.vision-content h2 {
    font-size: 2.8rem;
    color: #461e29;
    font-weight: 400; /* NOT BOLD - Regular weight */
    line-height: 1.1;
    margin-bottom: 25px;
}

.vision-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* --- VISION LIST ITEMS --- */
.vision-list {
    margin-top: 30px;
}

.vision-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.vision-item .v-icon {
    flex-shrink: 0;
    padding-top: 5px;
}
.vision-item .v-icon ion-icon {
    font-size: 28px;
    color: #461e29;
}

.vision-item .v-text {
    flex: 1;
}

.vision-item .v-text h4 {
    color: #461e29;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.vision-item .v-text p {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.vision-item .v-line {
    width: 100%;
    height: 2px;
    background-color: #461e29;
    margin-top: 5px;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .vision-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .vision-images {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .top-row {
        height: 180px;
    }
    
    .image-box.bottom-img {
        height: 180px;
    }
    
    .vision-content {
        padding-left: 0;
    }
    
    .vision-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .top-row {
        height: 140px;
        gap: 10px;
    }
    
    .image-box.dark-box {
        padding: 15px;
    }
    .image-box.dark-box h3 {
        font-size: 0.9rem;
    }
    
    .image-box.bottom-img {
        height: 140px;
    }
    
    .vision-content h2 {
        font-size: 2rem;
    }
}


/* --- DOCTORS SECTION --- */
.doctors {
    padding: 60px 20px 80px;
    background-color: #fcf6ee;
}

.doctors-header {
    text-align: center;
    margin-bottom: 40px;
}

.doctors-header h2 {
    font-size: 2.8rem;
    color: #461e29;
    font-weight: 400;
    line-height: 1.2;
}

/* --- FILTER BUTTONS --- */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    border: 1px solid #ddd;
    border-radius: 50px;
    background: #fff;
    color: #555;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    box-shadow: #535151 0px 3px;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn:hover {
    background: #f0f0f0;
}

.filter-btn.active {
    background: #461e29;
    color: #fff;
    border-color: #461e29;
}

/* --- DOCTORS GRID --- */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

/* --- DOCTOR CARD --- */
.doctor-card {
    background: transparent;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
}

.doctor-card:hover {
    transform: translateY(-5px);
}

.doctor-image {
    position: relative;
    width: 85%;
    height: 280px;
    border-radius: 15px;
    overflow: hidden;
    background: #f0e8dd;
}

.doctor-image img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: 1;
}

.doctor-info {
    padding: 15px 0;
}

.doctor-info h3 {
    font-size: 1.3rem;
    color: #461e29;
    font-weight: 700;
    margin-bottom: 2px;
}

.doctor-info .specialty {
    color: #461e29;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.doctor-info .time {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #461e29;
    font-size: 0.85rem;
}

.doctor-info .time ion-icon {
    font-size: 16px;
}

/* --- COMING SOON MESSAGE --- */
.coming-soon-message {
    display: none;
    grid-column: 1 / -1;
    padding: 60px 20px;
    text-align: center;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.coming-soon-message.show {
    display: block;
}

.coming-soon-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.coming-soon-content ion-icon {
    font-size: 60px;
    color: #461e29;
}

.coming-soon-content h3 {
    font-size: 2rem;
    color: #461e29;
    font-weight: 700;
    margin: 0;
}

.coming-soon-content p {
    font-size: 1rem;
    color: #777;
    max-width: 500px;
    margin: 0;
}

/* Bottom Line */
.doctors-bottom-line {
    width: 100%;
    height: 2px;
    background-color: #461e29;
    margin-top: 40px;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .doctors-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .doctors-grid {
        grid-template-columns: 1fr;
    }
    .doctors-header h2 {
        font-size: 1.8rem;
    }
    .filter-buttons {
        gap: 8px;
    }
    .filter-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
}

/* --- ARTICLES SECTION --- */
.articles {
    padding: 60px 50px 80px;
    background-color: #fcf6ee;
}

.articles-header {
    text-align: center;
    margin-bottom: 50px;
}

.articles-header h2 {
    font-size: 2.6rem;
    color: #461e29;
    font-weight: 500;
    line-height: 1.2;
}

/* --- ARTICLES GRID --- */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- ARTICLE CARD --- */
.article-card {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 240px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

/* Article Content */
.article-content {
    padding: 0 5px;
}

/* Meta Data */
.article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #461e29;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #461e29;
    font-weight: 500;
}

.article-meta .meta-separator {
    color: #461e29;
}

.article-meta .date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-meta .date ion-icon {
    font-size: 16px;
}

/* Article Title */
.article-content h3 {
    font-size: 1.2rem;
    color: #461e29;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}

/* Article Description */
.article-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .articles-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .articles-header h2 {
        font-size: 1.8rem;
    }
    .article-image {
        height: 200px;
    }
}

/* --- TESTIMONIALS SECTION --- */
.testimonials {
    padding: 60px 50px 40px;
    background-color: #fcf6ee;
}

.testimonials-header {
    text-align: left;
    margin-bottom: 30px;
}

.testimonials-header .sub-title {
    font-size: 12px;
    color: #555;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonials-header h2 {
    font-size: 2.8rem;
    color: #461e29;
    font-weight: 500;
    line-height: 1.2;
}

/* --- TESTIMONIALS CONTAINER --- */
.testimonials-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* Left: Image */
.testimonial-image {
    border-radius: 25px;
    overflow: hidden;
    height: 400px;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right: Content */
.testimonial-content {
    background: #fff;
    border-radius: 25px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* CHANGE THIS - Was 'center', now 'space-between' */
    position: relative;
    min-height: 400px;
}

.testimonial-slide {
    display: none; /* Keep this as none */
    animation: fadeIn 0.5s ease;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.testimonial-slide.active {
    display: flex; /* Only active slide shows */
    flex-direction: column;
    height: 100%;
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonial-slide .quote {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.2;
    margin-bottom: 50px;
        flex-grow: 1; /* This pushes the content below down */

}

.patient-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto; /* Ensures it stays at bottom */
}

.patient-details h4 {
    font-size: 1.1rem;
    color: #461e29;
    font-weight: 600;
    margin-bottom: 2px;
}

.patient-details span {
    font-size: 0.9rem;
    color: #999;
}

/* --- DOTS --- */
.dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #461e29;
}

.dot:hover {
    background: #888;
}

/* --- GALLERY SECTION --- */
.gallery-section {
    margin-top: 30px;
    padding: 0; /* No padding */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0; /* NO GAP between items */
    height: 120px;
    position: relative;
}

.gallery-item {
    border-radius: 0; /* No border radius */
    overflow: hidden;
    height: 100%;
    width: 100%;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Instagram Button - On top of images, between item 4 and 5 */
.instagram-wrapper {
    position: absolute;
    left: 57%; /* Between item 4 (57%) and item 5 */
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 10;
}

.instagram-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
}

.instagram-btn ion-icon {
    font-size: 24px;
    color: #461e29;
}

.instagram-btn:hover {
    transform: scale(1.05);
}

/* --- RESPONSIVE FOR MOBILE --- */
@media (max-width: 992px) {
    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .testimonial-image {
        height: 280px;
    }
    
    .testimonial-content {
        min-height: 300px;
        padding: 30px;
    }
    
    .testimonials-header h2 {
        font-size: 2.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        height: 100px;
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .testimonials-header {
        text-align: center;
    }
    
    .testimonials-header h2 {
        font-size: 1.8rem;
    }
    
    .testimonials-container {
        gap: 20px;
    }
    
    .testimonial-image {
        height: 200px;
        border-radius: 15px;
    }
    
    .testimonial-content {
        min-height: 280px;
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .testimonial-slide .quote {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .patient-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .patient-details h4 {
        font-size: 1rem;
    }
    
    .patient-details span {
        font-size: 0.8rem;
    }
    
    .dots {
        align-self: center;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    /* Gallery Mobile */
    .gallery-section {
        padding: 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        height: 80px;
        gap: 6px;
    }
    
    .instagram-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .instagram-btn ion-icon {
        font-size: 18px;
    }
    
    .gallery-item {
        border-radius: 8px;
    }
}


/* --- CTA BANNER SECTION --- */
.cta-banner {
    padding: 20px 20px 40px;
    background-color: #fcf6ee;
}

.cta-banner-wrapper {
    width: 100%;
    height: 300px;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    
    /* BACKGROUND IMAGE - Replace this URL with your real image later */
    background-image: url('img/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Optional: Light overlay to make text readable */
.cta-banner-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2); /* Very light white overlay */
    z-index: 1;
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: flex-end; /* CHANGE: Now aligns to BOTTOM */
    justify-content: space-between;
    padding: 0 50px 40px 50px; /* CHANGE: Added bottom padding */
}

.cta-banner-content h2 {
    font-size: 2rem;
    color: #461e29;
    font-weight: 500;
    line-height: 1.1;
    max-width: 50%;
}

.cta-btn {
    background-color: #461e29;
    color: #fff;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: 0.3s;
    white-space: nowrap;
}

.cta-btn:hover {
    background-color: #5e2a37;
    transform: translateY(-2px);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .cta-banner-wrapper {
        height: 250px;
        border-radius: 15px;
    }
    
    .cta-banner-content {
        padding: 0 30px 30px 30px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .cta-banner-content h2 {
        font-size: 1.8rem;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .cta-banner-wrapper {
        height: 200px;
    }
    
    .cta-banner-content {
        padding: 0 20px 20px 20px;
    }
    
    .cta-banner-content h2 {
        font-size: 1.4rem;
    }
    
    .cta-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: 0.3s;
    text-decoration: none;
}

.whatsapp-btn ion-icon {
    font-size: 32px;
    color: #fff;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}


/* --- FOOTER SECTION --- */
.footer {
    background-color: #461e29; /* Dark Crimson */
    padding: 60px 20px 30px;
    border-radius: 30px 30px 0 0;
    margin: 0 20px;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- FOOTER TOP --- */
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

/* Column 1: Logo & About */
.footer-col.about-col {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 32px;
    color: #fff;
}

.footer-logo .logo-text h3 {
    font-size: 20px;
    color: #fff;
    line-height: 1;
    font-weight: 700;
}

.footer-logo .logo-text span {
    font-size: 10px;
    letter-spacing: 1px;
    display: block;
    color: #ccc;
}

.footer-col.about-col p {
    font-size: 0.9rem;
    color: #ddd;
    line-height: 1.6;
    margin: 0;
}

/* Column Headings */
.footer-col h4 {
    color: #c0a175; /* Gray Orange */
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Contact Column */
.footer-col.contact-col .contact-item {
    margin-bottom: 15px;
}

.footer-col.contact-col .contact-item p {
    font-size: 0.9rem;
    color: #ddd;
    line-height: 1.5;
    margin: 0;
}

.footer-col.contact-col .contact-item .highlight {
    color: #c0a175; /* Gray Orange */
    font-size: 0.9rem;
    display: block;
    margin-top: 3px;
    font-weight: 500;
}

/* Links & Follow Columns */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ddd;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #c0a175;
}

/* --- FOOTER BOTTOM - BIG TEXT --- */
.footer-bottom {
    position: relative;
    margin-top: 20px;
    padding-bottom: 0;
}

.big-text {
    font-size: 17rem;
    font-weight: 700;
    color: #c0a175; /* Very transparent Gray Orange */
    line-height: 0.8;
    letter-spacing: -5px;
    text-align: left;
    transform: translateY(20px);
    user-select: none;
    font-family: 'Poppins', sans-serif;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .footer {
        border-radius: 20px 20px 0 0;
        margin: 0 10px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-col.about-col {
        grid-column: 1 / -1;
        max-width: 100%;
    }
    
    .big-text {
        font-size: 10rem;
    }
}

@media (max-width: 576px) {
    .footer {
        border-radius: 15px 15px 0 0;
        margin: 0 5px;
        padding: 40px 15px 0;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-col.about-col {
        max-width: 100%;
    }
    
    .big-text {
        font-size: 6rem;
        letter-spacing: -2px;
        transform: translateY(10px);
    }
}