/* ==========================================================================
   CSS Variables & Global Styles
   ========================================================================== */
:root {
    /* Colors */
    --navy: #0a1628;
    --cream: #f8f5f0;
    --teal: #0d8a7a;
    --gold: #c9a84c;
    --white: #ffffff;
    
    /* Text Colors */
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #f4f4f4;
    --text-muted-light: #cccccc;
    
    /* Fonts */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Spacing & Layout */
    --section-padding: 80px 0;
    --border-radius: 10px;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --card-border: 1px solid rgba(10, 22, 40, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.text-green { color: #28a745; font-weight: 500; }
.text-red { color: #dc3545; font-weight: 500; }
.text-teal { color: var(--teal); }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-white-muted { color: var(--text-muted-light); }
.italic { font-style: italic; }
.fw-bold { font-weight: 700; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }

.section-title {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.align-center {
    align-items: center;
}

/* Backgrounds */
.section-cream { background-color: var(--cream); padding: var(--section-padding); }
.section-white { background-color: var(--white); padding: var(--section-padding); }
.section-navy { background-color: var(--navy); padding: var(--section-padding); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-align: center;
}

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

.btn-teal:hover {
    background-color: #0a6b5e;
    box-shadow: 0 4px 12px rgba(13, 138, 122, 0.3);
}

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

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--navy);
}

.btn-full {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* ==========================================================================
   Section 1: Navigation
   ========================================================================== */
.navbar {
    background-color: var(--navy);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1.8rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--gold);
}

.mobile-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   Section 2: Hero
   ========================================================================== */
.hero {
    background-color: var(--navy);
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    color: var(--gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 500;
    background-color: rgba(201, 168, 76, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
}

.hero-title {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.hero-spec {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-quote {
    color: var(--text-muted-light);
    font-size: 1.1rem;
    font-style: italic;
    max-width: 500px;
    margin-bottom: 1rem;
    border-left: 3px solid var(--teal);
    padding-left: 1rem;
}

.hero-facilities {
    color: var(--teal);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
}

.hero-fees {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.fee-pill {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fee-amount {
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1;
}

.fee-type {
    color: var(--text-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    color: var(--text-muted-light);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Hero Image Card (Silhouette) */
.hero-image-wrapper {
    position: relative;
    padding: 2rem;
}

.doctor-card {
    background-color: var(--navy);
    border: 2px solid var(--gold);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    height: 500px;
}

.doctor-photo {
    flex: 1;
    overflow: hidden;
    background-color: var(--navy);
}

.doctor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.doctor-card-footer {
    background-color: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.doctor-name {
    color: var(--navy);
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

.doctor-location {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.doctor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tag-chip {
    background-color: var(--cream);
    color: var(--teal);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}

/* ==========================================================================
   Section 3: Academic Excellence + Awards
   ========================================================================== */
/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline-line {
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(to bottom, var(--teal), var(--gold));
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

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

.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 5px;
    width: 12px;
    height: 12px;
    background-color: var(--teal);
    border-radius: 50%;
    transform: translateX(-5px);
}

.timeline-year {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
}

.timeline-degree {
    color: var(--navy);
    font-size: 1.3rem;
    margin: 0.3rem 0;
}

.timeline-inst {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Awards Grid */
.awards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.award-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: var(--card-border);
    transition: var(--transition);
}

.award-card:hover {
    transform: translateY(-5px);
}

.award-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.award-title {
    color: var(--navy);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.award-org {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   Section 4: Specialities & Info
   ========================================================================== */
.list-heading {
    color: var(--navy);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--cream);
    padding-bottom: 0.5rem;
}

.custom-bullet-list {
    margin-bottom: 1rem;
}

.custom-bullet-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.custom-bullet-list li::before {
    content: "•";
    color: var(--teal);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

.column-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}

.language-pills {
    display: flex;
    gap: 10px;
}

.lang-pill {
    background-color: rgba(13, 138, 122, 0.1);
    color: var(--teal);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.stat-card-row {
    display: flex;
    gap: 1.5rem;
}

.stat-card-mini {
    background-color: var(--cream);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.stat-card-mini .stat-num {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1;
}

.stat-card-mini .stat-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.personal-statement-card {
    background-color: var(--cream);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--gold);
}

.statement-text {
    font-style: italic;
    color: var(--text-main);
    font-size: 1.1rem;
}

.facilities-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Section 5: Clinic & OPD
   ========================================================================== */
.clinic-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.clinic-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: var(--card-border);
}

.clinic-card h3 {
    color: var(--navy);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--cream);
    padding-bottom: 0.8rem;
}

.clinic-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.clinic-card i {
    color: var(--teal);
}

.opd-table {
    width: 100%;
    border-collapse: collapse;
}

.table-bordered th, .table-bordered td {
    border: 1px solid var(--cream);
}

.opd-table th, .opd-table td {
    padding: 0.8rem 0.5rem;
    text-align: left;
    font-size: 0.9rem;
}

.opd-table th {
    color: var(--navy);
    font-weight: 600;
    background-color: rgba(13, 138, 122, 0.05);
}

.clinic-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gradient-placeholder {
    height: 250px;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, #e0eaf5 0%, #f4f7f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: var(--card-border);
    color: var(--text-muted);
    font-weight: 500;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.gradient-placeholder:hover {
    transform: scale(1.02);
}

/* ==========================================================================
   Section 6: Specialized Services
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: var(--card-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.hover-top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card:hover.hover-top-bar::before {
    transform: scaleX(1);
}

.service-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(13, 138, 122, 0.1);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.service-title {
    color: var(--navy);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--teal);
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.service-link:hover {
    color: var(--navy);
}

/* ==========================================================================
   Section 7: Treatments Offered
   ========================================================================== */
.treatments-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: var(--card-border);
}

.treatment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.treatment-grid li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-size: 1.05rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--cream);
}

.teal-dot {
    width: 8px;
    height: 8px;
    background-color: var(--teal);
    border-radius: 50%;
    flex-shrink: 0;
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   Section 8: Booking Form
   ========================================================================== */
.whatsapp-block {
    display: inline-block;
    margin-top: 1.5rem;
}

.wa-pill {
    background-color: #25D366;
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.wa-pill:hover {
    background-color: #1ebe57;
    transform: translateY(-2px);
}

.wa-icon-large {
    font-size: 2rem;
}

.wa-text-group {
    display: flex;
    flex-direction: column;
}

.wa-title {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
}

.wa-number {
    font-size: 0.9rem;
    opacity: 0.9;
}

.booking-form-wrapper {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--navy);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    background-color: #fafafa;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--teal);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(13, 138, 122, 0.1);
}

/* ==========================================================================
   Section 9: Patient Checklist
   ========================================================================== */
.checklist-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: var(--card-border);
    border-left: 6px solid var(--gold);
}

.checklist-content .section-title {
    margin-bottom: 0.5rem;
}

.checklist-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.checklist-items {
    margin-bottom: 2rem;
}

.checklist-items li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--cream);
}

.checklist-items li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.checklist-items i {
    font-size: 1.2rem;
}

.checklist-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    background-color: var(--cream);
    padding: 1rem;
    border-radius: 6px;
}

/* ==========================================================================
   Section 10: Footer
   ========================================================================== */
.footer {
    background-color: var(--navy);
    color: var(--white);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-address {
    color: var(--text-muted-light);
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

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

.social-icons a:hover {
    background-color: var(--teal);
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted-light);
}

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

.footer-divider {
    width: 40px;
    height: 2px;
    background-color: var(--gold);
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-muted-light);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-placeholder {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted-light);
}

.footer-bottom {
    background-color: #06101d;
    padding: 20px 0;
    text-align: center;
}

.bottom-divider {
    height: 1px;
    background-color: rgba(201, 168, 76, 0.3);
    margin-bottom: 20px;
}

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

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: white;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container, 
    .grid-2-col, 
    .clinic-cards, 
    .clinic-photos, 
    .services-grid, 
    .footer-grid,
    .treatment-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero-image-wrapper {
        order: -1; 
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .navbar .btn {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-form-wrapper {
        padding: 2rem;
    }
}
