/* Custom Properties */
:root {
    --primary-color: #e67e22;
    --primary-hover: #d35400;
    --secondary-color: #9b59b6;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #fdfaf6;
    --white: #ffffff;
    --gradient-hero: linear-gradient(135deg, #f3e5f5 0%, #fff3e0 100%);
    --gradient-primary: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    --gradient-testimonials: linear-gradient(135deg, #e67e22 0%, #9b59b6 100%);
    --dark-red: #800000;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.12);
    
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.badge {
    display: inline-block;
    background-color: rgba(155, 89, 182, 0.1); /* Light purple based on theme */
    color: var(--secondary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.section-title span {
    color: var(--primary-color);
}

.text-left {
    text-align: left;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.4);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Placeholders */
.doctor-image-placeholder span {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0e0e0;
    color: #666;
    font-weight: 600;
    border: 2px dashed #999;
    border-radius: var(--border-radius);
    width: 100%;
    height: 100%;
    min-height: 100px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 48px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    background: url('images/Home.jpeg') no-repeat right center / cover;
    padding: 150px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero .hero-container {
    max-width: 100%;
    width: 100%;
    padding-left: clamp(30px, 7vw, 120px);
    padding-right: 20px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 460px;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 3vw, 3.2rem);
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.15;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 420px;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image-wrapper {
    flex: 1;
    height: 460px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.03);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.about-content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Stats Section */
.stats {
    padding: 40px 0;
    background-color: var(--white);
}

.stats-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-badge {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.stat-badge:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.stat-text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Expertise in Treatment */
.treatments {
    padding: 70px 0 90px;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.treatments-banner {
    background: radial-gradient(circle at 85% 30%, #940e20 0%, transparent 55%), linear-gradient(135deg, #70030f 0%, #420007 100%);
    border-radius: 24px;
    padding: 55px 30px 115px;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 35px rgba(112, 3, 15, 0.2);
}

.treatments-banner h2 {
    color: var(--white);
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 0;
    letter-spacing: -0.5px;
}

.treatments-slider-wrapper {
    position: relative;
    margin-top: -85px;
    padding: 0 35px;
}

.treatments-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 15px 5px 25px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.treatments-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.treatment-card {
    flex: 0 0 165px;
    width: 165px;
    height: 195px;
    background-color: var(--white);
    padding: 20px 12px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.treatment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 32px rgba(0, 0, 0, 0.12);
}

.treatment-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.treatment-icon svg {
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease;
}

.treatment-card:hover .treatment-icon svg {
    transform: scale(1.08);
}

.treatment-card h4 {
    color: #2c3e50;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background-color: var(--white);
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    color: #d81b60;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
}

.slider-arrow:hover {
    background-color: #d81b60;
    color: var(--white);
    box-shadow: 0 6px 20px rgba(216, 27, 96, 0.3);
    transform: translateY(-50%) scale(1.05);
}

.slider-arrow.prev {
    left: 2px;
}

.slider-arrow.next {
    right: 2px;
}

/* Why Choose Us */
.why-choose-us {
    padding: 85px 0 100px;
    background-color: var(--white);
    text-align: center;
}

.why-choose-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 55px;
    letter-spacing: -0.5px;
}

.why-choose-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-card {
    flex: 0 1 calc(33.333% - 20px);
    min-width: 290px;
    max-width: 375px;
    background: #ffffff;
    border-radius: 20px;
    padding: 38px 28px 34px;
    border: 1px solid #efefef;
    border-top: 4px solid transparent;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: default;
    position: relative;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    font-size: 1.35rem;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.why-choose-card:hover .card-icon {
    transform: scale(1.08);
}

/* Orange/Terracotta Theme */
.why-choose-card.theme-orange .card-icon {
    background-color: #c06c38;
}

.why-choose-card.theme-orange:hover {
    border-top-color: #c06c38;
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(192, 108, 56, 0.12);
}

.why-choose-card.theme-orange:hover h4 {
    color: #c06c38;
}

/* Purple Theme */
.why-choose-card.theme-purple .card-icon {
    background-color: #7b3f9e;
}

.why-choose-card.theme-purple:hover {
    border-top-color: #7b3f9e;
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(123, 63, 158, 0.12);
}

.why-choose-card.theme-purple:hover h4 {
    color: #7b3f9e;
}

.why-choose-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 14px;
    transition: color 0.3s ease;
}

.why-choose-card p {
    color: #555555;
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
}

.why-choose-card p strong {
    color: #222222;
    font-weight: 700;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: #643178;
    position: relative;
    overflow: hidden;
    min-height: 560px;
    display: flex;
    align-items: center;
}

.testimonials-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.testimonials-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scaleX(-1);
    display: block;
}

.testimonials-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(230, 109, 44, 0.04) 0%, rgba(138, 58, 175, 0.2) 45%, rgba(105, 34, 142, 0.5) 100%);
    pointer-events: none;
}

.testimonials-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.testimonials-spacer {
    flex: 0 0 36%;
    min-height: 420px;
}

.testimonials-content {
    flex: 0 0 64%;
    max-width: 64%;
}

.testimonials-header {
    margin-bottom: 28px;
}

.testimonials-eyebrow {
    display: inline-block;
    color: #ffc043;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.testimonials-title {
    color: var(--white);
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.testimonials-mobile-visual {
    display: none;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.testimonial-card {
    background: var(--white);
    padding: 24px 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 12px 30px rgba(45, 12, 70, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(45, 12, 70, 0.22);
    border-top-color: var(--primary-color);
}

.testimonial-card .stars {
    color: #f1c40f;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.testimonial-card .patient-name {
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 1.05rem;
    font-weight: 700;
}

.testimonial-card .patient-quote {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.88rem;
    line-height: 1.55;
}

/* Appointment Section */
.appointment-section {
    padding: 100px 0;
    background-color: var(--white);
}

.appointment-container {
    display: flex;
    align-items: stretch;
    gap: 50px;
}

.appointment-form-wrapper {
    flex: 1;
    padding-right: 20px;
}

.appointment-form-wrapper .subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

.appointment-form-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.appointment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color);
    text-align: left;
    width: 100%;
    display: block;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.form-group select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    appearance: none;
    background: url('data:image/svg+xml;utf8,<svg fill="%23e67e22" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px center;
    background-color: var(--white);
}

/* intl-tel-input: Country Phone Selector */
.iti-wrapper { width: 100%; }
.iti-wrapper .iti { width: 100%; display: block; }
.iti-wrapper .iti-input {
    width: 100%;
    padding: 12px 15px 12px 58px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: var(--white);
    color: var(--text-color);
    box-sizing: border-box;
    height: 46px;
}
.iti-wrapper .iti-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}
.iti-wrapper .iti__selected-flag {
    padding: 0 10px;
    border-right: 1px solid #ddd;
    border-radius: 8px 0 0 8px;
    background-color: #f9f9f9;
    height: 100%;
}
.iti-wrapper .iti__selected-flag:hover { background-color: #f0f0f0; }
.iti-wrapper .iti__country-list {
    z-index: 9999;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    font-family: var(--font-body);
    font-size: 0.9rem;
    max-height: 220px;
}
.iti__country.iti__highlight { background-color: rgba(230, 126, 34, 0.08) !important; }

.time-note {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 5px;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-light);
}

.radio-label input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    margin: 0;
    padding: 0;
    outline: none;
    position: relative;
    cursor: pointer;
    background-color: var(--white);
}

.radio-label input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.radio-label input[type="radio"]:focus {
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.2);
}

.appointment-form .btn-primary {
    grid-column: 1 / -1;
    width: fit-content;
    padding: 15px 40px;
}

/* Doctor Card in Appointment Section */
.appointment-doctor-card {
    flex: 1;
    max-width: 480px;
    background: var(--white);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.doctor-image-wrapper {
    width: 100%;
    height: 340px;
    overflow: hidden;
    background-color: #fcf6ee;
    position: relative;
}

.doctor-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 78% 12%;
    transition: transform 0.4s ease;
}

.appointment-doctor-card:hover .doctor-photo {
    transform: scale(1.03);
}

.doctor-details-box {
    background-color: #f27c00;
    padding: 32px 25px 36px;
    color: var(--white);
    text-align: center;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
}

.doctor-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
    font-family: var(--font-heading);
}

.doctor-degree {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 4px;
}

.doctor-exp {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 18px;
}

.doctor-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    max-width: 390px;
    margin-left: auto;
    margin-right: auto;
}

.doctor-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.doctor-socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.doctor-socials a:hover {
    background-color: var(--white);
    color: #f27c00;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
.faq-section {
    padding: 90px 0;
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 920px;
    margin: 0 auto;
}

.faq-content {
    width: 100%;
}

.faq-content .section-header {
    margin-bottom: 40px;
}

.accordion {
    width: 100%;
}

.accordion-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.accordion-header {
    padding: 22px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header h4 {
    margin-bottom: 0;
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--text-color);
}

.accordion-header i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: transform 0.3s ease;
    margin-left: 15px;
    flex-shrink: 0;
}

.accordion-item.active {
    border-left: 4px solid var(--primary-color);
}

.accordion-item.active .accordion-header {
    background-color: #fff9f5;
}

.accordion-item.active .accordion-header h4 {
    color: var(--primary-color);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 0 26px 22px;
    display: none;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.65;
}

/* Find Us Here Section */
.find-us {
    padding: 80px 0;
}

.contact-info-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    flex: 1;
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-card h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-card p {
    color: var(--text-light);
    margin: 0;
}

.contact-card-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.map-container {
    width: 100%;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Footer */
.footer {
    background-color: #d35400; /* Warm brown/orange */
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    display: inline-block;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer-logo img {
    height: 44px;
    width: auto;
    max-width: 220px;
    display: block;
    object-fit: contain;
}

.footer p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: rgba(255,255,255,0.5);
}

.footer ul li {
    margin-bottom: 15px;
}

.footer ul li a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: rgba(255,255,255,0.8);
}

.contact-list li i {
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.8rem; }
    .hero-container, .about-container, .testimonials-container, .appointment-container {
        flex-direction: column;
        text-align: center;
    }
    /* Appointment form labels must stay left-aligned */
    .appointment-form .form-group label,
    .appointment-form .form-group input,
    .appointment-form .form-group select,
    .appointment-form .form-group textarea,
    .appointment-form .time-note,
    .appointment-form .radio-group {
        text-align: left;
    }
    .about-image-wrapper, .appointment-doctor-card {
        width: 100%;
        max-width: 500px;
        margin: 30px auto 0;
    }
    .about-content, .testimonials-content, .faq-content, .appointment-form-wrapper {
        padding-right: 0;
    }
    .testimonials-spacer {
        display: none;
    }
    .testimonials-content {
        max-width: 100%;
        flex: 1 1 100%;
    }
    .testimonials-header {
        text-align: center;
    }
    .testimonials-mobile-visual {
        display: block;
        width: 100%;
        max-width: 440px;
        margin: 0 auto 30px auto;
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
        border: 3px solid rgba(255, 255, 255, 0.3);
    }
    .testimonials-mob-img {
        width: 100%;
        height: 240px;
        object-fit: cover;
        object-position: 85% center;
        display: block;
    }
    .testimonial-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
    .section-title.text-left {
        text-align: center;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    .why-choose-card {
        flex: 0 1 calc(50% - 15px);
        max-width: none;
    }
}

@media (max-width: 768px) {
    .nav-links, .navbar .btn-primary {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .logo img {
        height: 38px;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        text-align: center;
    }

    .hero-content h1 { font-size: 2.2rem; }
    .hero {
        padding-top: 120px;
        background: linear-gradient(to right, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.65) 100%), url('images/Home.jpeg') no-repeat 75% center / cover;
    }
    
    .testimonials {
        padding: 60px 0;
    }
    .testimonials-title {
        font-size: 1.8rem;
    }
    .testimonial-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .appointment-form {
        grid-template-columns: 1fr;
    }
    .appointment-form .form-group label {
        text-align: left;
    }
    .appointment-form-wrapper {
        padding-right: 0;
    }
    .appointment-form-wrapper h2 {
        font-size: 2rem;
    }
    
    .contact-info-cards {
        flex-direction: column;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-list li {
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }

    .treatments-banner {
        padding: 40px 15px 90px;
        border-radius: 18px;
    }

    .treatments-banner h2 {
        font-size: 1.8rem;
    }

    .treatments-slider-wrapper {
        padding: 0 5px;
        margin-top: -65px;
    }

    .treatment-card {
        flex: 0 0 140px;
        width: 140px;
        height: 175px;
        padding: 15px 10px;
    }

    .treatment-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 8px;
    }

    .treatment-icon svg {
        width: 40px;
        height: 40px;
    }

    .treatment-card h4 {
        font-size: 0.76rem;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .why-choose-title {
        font-size: 2.3rem;
        margin-bottom: 35px;
    }

    .why-choose-card {
        flex: 0 1 100%;
        max-width: 100%;
        padding: 30px 22px;
    }
}

/* Floating Contact Buttons */
.floating-contact-buttons {
    position: fixed;
    bottom: 30px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 9999;
}

.floating-btn {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.55rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-btn:hover {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
    color: #ffffff;
}

/* Phone Button */
.float-phone {
    background: linear-gradient(135deg, #e67e22, #d35400);
}

.float-phone:hover {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

/* WhatsApp Button */
.float-whatsapp {
    background: #25D366;
}

.float-whatsapp:hover {
    background: #20ba59;
}

/* WhatsApp subtle pulse effect */
.float-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.6;
    z-index: -1;
    animation: floatPulse 2s infinite ease-out;
}

@keyframes floatPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Tooltip on hover */
.floating-tooltip {
    position: absolute;
    right: 68px;
    background: #1e293b;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
}

.floating-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent #1e293b;
}

.floating-btn:hover .floating-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .floating-contact-buttons {
        bottom: 20px;
        right: 18px;
        gap: 12px;
    }
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.35rem;
    }
    .floating-tooltip {
        display: none;
    }
}

/* Lead Capture Popup Modal */
.popup-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 20px;
}

.popup-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-modal-card {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 680px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-modal-overlay.active .popup-modal-card {
    transform: scale(1) translateY(0);
}

.popup-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
}

.popup-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.popup-modal-left {
    flex: 0 0 42%;
    max-width: 42%;
    background: linear-gradient(135deg, #f97316 0%, #a855f7 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.popup-doctor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.popup-modal-right {
    flex: 0 0 58%;
    max-width: 58%;
    padding: 32px 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup-modal-title {
    color: #ba5d2a;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    font-family: 'Outfit', sans-serif;
}

.popup-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334155;
    font-size: 0.92rem;
    font-weight: 500;
}

.popup-check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f3e8ff;
    color: #9333ea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popup-input-group input {
    width: 100%;
    padding: 11px 14px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.popup-input-group input:focus {
    border-color: #ba5d2a;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(186, 93, 42, 0.12);
}

.popup-input-group textarea {
    width: 100%;
    padding: 11px 14px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #1e293b;
    outline: none;
    resize: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.popup-input-group textarea:focus {
    border-color: #ba5d2a;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(186, 93, 42, 0.12);
}

.popup-error-message {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 7px;
    color: #b91c1c;
    font-size: 0.82rem;
    padding: 9px 13px;
    text-align: center;
    margin-top: 2px;
}

.popup-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.popup-phone-input-group {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.popup-phone-input-group:focus-within {
    border-color: #ba5d2a;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(186, 93, 42, 0.12);
}

.popup-flag-prefix {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 11px 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
    border-right: 1.5px solid #e2e8f0;
    background: #f1f5f9;
    user-select: none;
}

.popup-flag-prefix img {
    width: 18px;
    border-radius: 2px;
}

.popup-phone-input-group input {
    border: none;
    background: transparent;
    padding: 11px 14px;
}

.popup-phone-input-group input:focus {
    box-shadow: none;
    border: none;
}

.popup-submit-btn {
    width: 100%;
    padding: 13px;
    background: #ba5d2a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    margin-top: 4px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(186, 93, 42, 0.3);
}

.popup-submit-btn:hover {
    background: #a54f21;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(186, 93, 42, 0.4);
}

.popup-privacy-link {
    text-align: center;
    color: #64748b;
    font-size: 0.78rem;
    text-decoration: underline;
    margin-top: 8px;
    display: inline-block;
    transition: color 0.2s ease;
}

.popup-privacy-link:hover {
    color: #ba5d2a;
}

.popup-success-message {
    text-align: center;
    padding: 20px 10px;
}

.popup-success-icon {
    font-size: 2.8rem;
    color: #10b981;
    margin-bottom: 12px;
}

.popup-success-message h4 {
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.popup-success-message p {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Mobile responsive for popup modal */
@media (max-width: 680px) {
    .popup-modal-card {
        flex-direction: column;
        max-width: 380px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .popup-modal-left {
        flex: 0 0 160px;
        max-width: 100%;
        height: 160px;
    }
    
    .popup-doctor-img {
        object-position: center 25%;
    }
    
    .popup-modal-right {
        flex: 1 1 auto;
        max-width: 100%;
        padding: 22px 20px 20px;
    }
    
    .popup-modal-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .popup-features-list {
        margin-bottom: 16px;
        gap: 8px;
    }
}

/* Appointment Form � API Status Messages */
.appt-error-msg {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    color: #b91c1c;
    font-size: 0.88rem;
    padding: 10px 15px;
    margin-bottom: 12px;
}

.appt-success-msg {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 12px;
    color: #166534;
    padding: 18px 22px;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    animation: fadeInUp 0.4s ease;
}

.appt-success-msg strong { font-size: 1.05rem; }
.appt-success-msg p { font-size: 0.9rem; margin: 0; opacity: 0.85; }
