/* ========================================
   NeuroKidz - Pediatric Neurology Website
   Professional Medical Website Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #2877b5;
    --primary-dark: #1d5a8a;
    --secondary-color: #db3069;
    --secondary-light: #e85a8a;
    --accent-color: #f5d547;
    --text-color: #3a3a3a;
    --text-light: #666666;
    --text-muted: #888888;
    --bg-light: #f8f9fa;
    --bg-alt: #f0f7ff;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --radius: 8px;
    --radius-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
}

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

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

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

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--bg-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

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

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

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-list a {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    padding: 8px 0;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

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

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

/* Dropdown */
.has-dropdown {
    position: relative;
}

.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.has-dropdown > a i {
    font-size: 0.7rem;
    transition: var(--transition);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.dropdown a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.dropdown a::after {
    display: none;
}

.header-cta .phone-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.header-cta .phone-btn:hover {
    background-color: var(--secondary-light);
    color: var(--white);
    transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

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

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0.05;
    border-radius: 0 0 0 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 20px;
    font-size: 3rem;
}

.hero-text .highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.hero-desc {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 30px;
}

.doctor-intro {
    display: flex;
    align-items: center;
    gap: 20px;
}

.doctor-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    overflow: hidden;
    flex-shrink: 0;
}

.doctor-photo-home {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-info h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.doctor-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.doctor-info .credentials {
    color: var(--secondary-color);
    font-weight: 500;
}

/* ========================================
   MISSION SECTION
   ======================================== */
.mission {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 0;
}

.mission-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.mission-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.mission-text h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.mission-text p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ========================================
   WHY SPECIALIST SECTION
   ======================================== */
.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.why-text p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.why-points {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
}

.why-points h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.why-points ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-color);
}

.why-points ul li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* ========================================
   REASONS SECTION
   ======================================== */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.reason-card {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.reason-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
}

.reason-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.reason-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--bg-alt);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.service-link:hover {
    color: var(--secondary-light);
    gap: 12px;
}

/* ========================================
   DOCTOR PREVIEW SECTION
   ======================================== */
.doctor-preview-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.doctor-preview-text h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.doctor-preview-text p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.doctor-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 25px 0;
}

.credential {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--white);
    padding: 12px 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.credential i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.credential span {
    font-weight: 500;
    font-size: 0.9rem;
}

.doctor-preview-image .image-placeholder {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 5rem;
    margin: 0 auto;
}

.doctor-preview-photo {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
    margin: 0 auto;
}

/* ========================================
   LOCATIONS SECTION
   ======================================== */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.location-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.location-card.primary {
    border: 2px solid var(--primary-color);
}

.location-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.location-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.15rem;
}

.location-card h3 i {
    color: var(--secondary-color);
}

.location-role {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.location-details {
    margin-bottom: 15px;
}

.location-details li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 5px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.location-details li i {
    color: var(--primary-color);
    margin-top: 3px;
}

.location-city {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.location-city i {
    color: var(--secondary-color);
}

.outreach-section {
    text-align: center;
}

.outreach-section h3 {
    margin-bottom: 25px;
    color: var(--primary-color);
}

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

.outreach-card {
    background-color: var(--bg-alt);
    padding: 25px 20px;
    border-radius: var(--radius);
    text-align: center;
}

.outreach-card h4 {
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.outreach-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
}

.outreach-card p i {
    margin-right: 5px;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    text-align: center;
    padding: 80px 0;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 2rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: #1a2a3a;
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.footer-brand .logo-name {
    color: var(--white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact ul li i {
    color: var(--secondary-color);
    margin-top: 3px;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-bottom .disclaimer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   PAGE SPECIFIC STYLES
   ======================================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 140px 0 60px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 15px;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

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

.breadcrumb span {
    opacity: 0.6;
}

/* About Page */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.about-image .image-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

.about-image .gallery-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    object-fit: cover;
}

.about-image .gallery-img:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.about-image .doctor-photo {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    object-fit: cover;
}

.about-image .doctor-photo:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-content {
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 450px;
    margin-right: 40px;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 40px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 25px;
    width: 20px;
    height: 20px;
    background-color: var(--white);
    transform: rotate(45deg);
    box-shadow: 2px -2px 5px rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: auto;
    left: -10px;
    box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.05);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 25px;
    width: 20px;
    height: 20px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 4px solid var(--white);
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.timeline-content h4 {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.timeline-content img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 12px;
}

.memberships-section-img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 25px;
    box-shadow: var(--shadow);
}

/* Awards & Memberships */
.awards-grid,
.memberships-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.award-card,
.membership-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.award-card i,
.membership-card i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.award-card h4,
.membership-card h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.award-card p,
.membership-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Conditions Page */
.conditions-nav {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    position: sticky;
    top: 90px;
    z-index: 100;
}

.conditions-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.conditions-nav a {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--bg-light);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
}

.conditions-nav a:hover,
.conditions-nav a.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.condition-section {
    margin-bottom: 60px;
    scroll-margin-top: 150px;
}

.condition-section h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.condition-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 30px;
}

.condition-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 25px 30px;
}

.condition-header h3 {
    color: var(--white);
    font-size: 1.4rem;
}

.condition-body {
    padding: 30px;
}

.condition-body h4 {
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.condition-body h4:first-child {
    margin-top: 0;
}

.condition-body p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.condition-body ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.condition-body ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.condition-body ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.hindi-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-alt);
    padding: 10px 20px;
    border-radius: var(--radius);
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 15px;
}

.hindi-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Resources Page */
.resources-section {
    margin-bottom: 50px;
}

.resources-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.resource-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.resource-card h4 {
    color: var(--text-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.resource-card h4 i {
    color: var(--secondary-color);
}

.resource-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.resource-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.resource-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background-color: var(--bg-light);
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: var(--primary-color);
}

.resource-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Support Groups */
.support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.support-link {
    display: block;
    padding: 20px;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.support-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background-color: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 5px;
}

.contact-item p,
.contact-item a {
    color: var(--text-light);
}

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

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.map-link:hover {
    color: var(--secondary-color);
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    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(40, 119, 181, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Appointment Checklist */
.checklist-section {
    background-color: var(--bg-alt);
    padding: 40px;
    border-radius: var(--radius-lg);
    margin-top: 50px;
}

.checklist-section h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background-color: var(--white);
    padding: 15px;
    border-radius: var(--radius);
}

.checklist-item i {
    color: var(--secondary-color);
    margin-top: 3px;
}

.checklist-item p {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Investigations Page */
.investigation-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 30px;
}

.investigation-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.investigation-header i {
    font-size: 2rem;
}

.investigation-header h3 {
    color: var(--white);
}

.investigation-body {
    padding: 30px;
}

.investigation-body h4 {
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

.investigation-body h4:first-child {
    margin-top: 0;
}

.investigation-body p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.investigation-body ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.investigation-body ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    color: var(--text-light);
}

.investigation-body ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 0.85rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .why-content {
        grid-template-columns: 1fr;
    }

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

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

    .doctor-preview-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .doctor-preview-image {
        order: -1;
    }

    .doctor-credentials {
        justify-content: center;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

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

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

    .about-intro {
        grid-template-columns: 1fr;
    }

    .about-image {
        text-align: center;
    }

    .about-image .doctor-photo {
        max-width: 300px;
        margin: 0 auto;
    }

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

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
        margin-right: 0;
    }

    .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px;
        right: auto;
    }

    .timeline-dot {
        left: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .checklist-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        position: relative;
    }

    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow);
        padding: 20px;
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid var(--border-color);
    }

    .dropdown {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 20px;
        display: none;
    }

    .has-dropdown.active .dropdown {
        display: block;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .header-cta {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .mission-content {
        flex-direction: column;
        text-align: center;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .services-slider {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .conditions-nav ul {
        gap: 10px;
    }

    .conditions-nav a {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .resource-grid {
        grid-template-columns: 1fr;
    }

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

    .awards-grid,
    .memberships-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 50px 0;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .outreach-grid {
        grid-template-columns: 1fr;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }
}
