/* --- Root Variables --- */
:root {
    --p-blue: #22719a;
    --p-gold: #d4af37;
    --p-dark: #1a1a1a;
    --p-glass: rgba(255, 255, 255, 0.95);
    --p-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition-std: all 0.3s ease-in-out;
}

/* --- Global & Reset --- */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #f8f9fa;
}

a { text-decoration: none; }
ul { list-style: none; padding: 0; }

.container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--p-dark);
    margin-bottom: 2rem;
}

/* --- Floating Language Toggler --- */
.lang-float-btn {
    position: fixed;
    bottom: 90px; /* Above bottom nav */
    right: 20px;
    background: var(--p-gold);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
    cursor: pointer;
    border: 2px solid white;
    transition: var(--transition-std);
}

.lang-float-btn:hover {
    transform: scale(1.1);
    background: var(--p-blue);
}

/* --- News Section (Editorial) --- */
.news-editorial-section {
    padding: 60px 0;
    background-color: #fcfcfc;
}

.premium-news-header {
    display: flex;
    flex-direction: column; /* Mobile First: Stacked */
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.gold-subtitle {
    color: var(--p-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
}

.editorial-title {
    font-size: 2rem;
    color: var(--p-dark);
    font-weight: 800;
    margin: 5px 0;
}

.news-lucrative-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile First: 1 Column */
    gap: 25px;
}

.news-card-premium {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--p-shadow);
    display: flex;
    flex-direction: column;
}

.card-image-wrap {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 10px;
}

.news-title-link a {
    color: var(--p-dark);
    font-size: 1.2rem;
    font-weight: 700;
}

.premium-read-more {
    margin-top: auto;
    color: var(--p-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Excellence Grid --- */
.excellence-section { padding: 50px 0; }

.excellence-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile First */
    gap: 20px;
}

.excellence-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--p-shadow);
    transition: var(--transition-std);
}

.excellence-card .icon-box {
    font-size: 2.5rem;
    color: var(--p-blue);
    margin-bottom: 15px;
}

/* --- About Section --- */
.about-section { padding: 50px 0; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile First */
    gap: 40px;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 25px 0;
}

.feat {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feat i {
    font-size: 2rem;
    color: var(--p-gold);
}

/* --- Booking Section --- */
.booking-section-premium {
    padding: 60px 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
}

.booking-glass-layout {
    display: grid;
    grid-template-columns: 1fr; /* Mobile First */
    gap: 30px;
}

.booking-form-premium {
    background: var(--p-glass);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--p-shadow);
}

.premium-input-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile First */
    gap: 15px;
    margin-bottom: 20px;
}

.input-field input, .input-field select {
    width: 100%;
    box-sizing: border-box; /* Important for mobile widths */
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.btn-premium-submit {
    width: 100%;
    padding: 18px;
    border-radius: 10px;
    background: var(--p-blue);
    color: white;
    border: none;
    font-weight: 700;
    cursor: pointer;
}

/* Doctor Slider Styling */
.availability-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--p-shadow);
}

.availability-header {
    background: var(--p-dark);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.doc-slide-premium { text-align: center; padding: 20px; }
.doc-slide-premium img {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--p-blue);
}

.slider-controls-premium {
    display: flex;
    justify-content: space-between;
    padding: 0 20px 20px;
}

.s-nav {
    background: #eee;
    border: none;
    width: 35px; height: 35px;
    border-radius: 50%;
    cursor: pointer;
}

/* --- Stats Section --- */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 0;
    text-align: center;
}

.stat-item {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--p-shadow);
}

/* --- Mobile Nav --- */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 10px 0;
}

.mobile-bottom-nav ul {
    display: flex;
    justify-content: space-around;
    margin: 0;
}

.mobile-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    color: #888;
}

.mobile-nav-link i { font-size: 1.2rem; margin-bottom: 5px; }
.mobile-nav-link.active { color: var(--p-blue); }

#backToTopBtn {
    display: none;
    position: fixed;
    bottom: 90px;
    left: 20px;
    background: var(--p-blue);
    color: white;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: none;
    z-index: 998;
    cursor: pointer;
}

/* =========================================
   MEDIA QUERIES (Desktop Expansion)
   ========================================= */

@media (min-width: 768px) {
    /* Tablet & Up */
    .premium-news-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }

    .news-lucrative-grid { grid-template-columns: repeat(2, 1fr); }
    .excellence-grid { grid-template-columns: repeat(2, 1fr); }
    .premium-input-grid { grid-template-columns: 1fr 1fr; }
    .booking-glass-layout { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    /* Desktop & Up */
    .news-lucrative-grid { grid-template-columns: repeat(3, 1fr); }
    .excellence-grid { grid-template-columns: repeat(4, 1fr); }
    .about-grid { grid-template-columns: 1fr 1fr; align-items: center; }
    .booking-glass-layout { grid-template-columns: 1.5fr 1fr; }
    
    /* Hide bottom nav on desktop if desired, or keep for hybrid */
    .mobile-bottom-nav { display: none; } 
    .lang-float-btn { bottom: 30px; } /* Lower it since nav is gone */
    #backToTopBtn { bottom: 30px; }
}