:root {
    --primary-pink: #ce007d;
    --primary-blue: #0082c9;
    --light-bg-soft: #fcfdfe;
    --text-dark: #333;
    --white: #ffffff;
    --shadow-soft: 0 4px 15px rgba(0,0,0,0.05);
}

.top-bar {
    background: var(--primary-blue);
    color: white;
    padding: 0.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    z-index: 1001;
    position: relative;
    gap: 1rem;
}

@media (max-width: 480px) {
    .top-bar {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Google Translate Widget Styling */
#google_translate_element {
    margin-right: 1.5rem;
}

.goog-te-gadget {
    font-family: 'Inter', sans-serif !important;
    font-size: 0px !important;
}

.goog-te-gadget .goog-te-combo {
    margin: 0 !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 0.5rem !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
    background: rgba(255,255,255,0.1) !important;
    color: white !important;
    font-size: 0.8rem !important;
    outline: none !important;
    cursor: pointer !important;
}

.goog-te-gadget .goog-te-combo option {
    background: #333 !important;
    color: white !important;
}

#google_translate_element img {
    display: none !important;
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0px !important;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-icons a {
    color: white;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-2px);
}

.contact-top {
    display: flex;
    gap: 1.5rem;
}

.contact-top a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg-soft);
    color: var(--text-dark);
    line-height: 1.6;
}

header {
    background: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

#hospital-logo {
    height: 60px;
    width: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.main-nav i {
    font-size: 0.9rem;
    color: var(--primary-blue);
    opacity: 0.8;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Hamburger Toggle Elements */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
    z-index: 1001;
}

#menu-checkbox {
    display: none;
}

.back-link {
    background-color: var(--primary-pink);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 10%;
    background: linear-gradient(135deg, #e0f2fe 0%, #fff0f5 100%); /* Blue-leaning */
    min-height: 70vh;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hospital-title {
    font-size: 3.5rem;
    color: var(--primary-blue); /* Title in blue */
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hospital-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

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

.btn {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 130, 201, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 130, 201, 0.3);
}

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

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

.hero-image-placeholder {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 400px;
    text-align: center;
}

.hospital-footer {
    padding: 3rem;
    text-align: center;
    background: var(--white);
    border-top: 1px solid #eee;
}

/* New Sections Styling */
section {
    padding: 5rem 10%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-pink);
    margin: 1rem auto;
    border-radius: 2px;
}

/* About Section */
.about-section {
    background: white;
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #555;
}

/* Facilities Grid */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.facility-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.facility-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
}

.facility-card h3 {
    font-size: 1.1rem;
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
}

/* Departments List */
.dept-container {
    background: #f8fafc;
}

.dept-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.dept-item {
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-weight: 600;
    color: #444;
    border-left: 4px solid var(--primary-blue);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.dept-item i {
    font-size: 1.4rem;
    color: var(--primary-blue);
    min-width: 30px;
    text-align: center;
}

.dept-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 130, 201, 0.08);
}

/* Doctors Card (Shared for Doctors Page) */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.doctor-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    border: 1px solid #f0f0f0;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-blue);
}

.doctor-placeholder-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.doctor-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: #eee;
}

.doctor-info {
    padding: 1.5rem;
}

.doctor-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.doctor-qual {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0.75rem;
}

.doctor-dept {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #fff0f5;
    color: var(--primary-pink);
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hospital-header {
        padding: 1rem 5%;
    }
    .hero-section, .about-section {
        flex-direction: column;
        padding: 3rem 5%;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }
    .btn {
        width: 100%;
    }
    .hospital-title {
        font-size: 2rem;
    }
    
    /* Hamburger Menu Logic */
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        padding: 6rem 2rem;
        transition: right 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1000;
        overflow-y: auto;
    }
    
    #menu-checkbox:checked ~ .main-nav {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }
    
    .main-nav a {
        font-size: 1.25rem;
        font-weight: 600;
        width: 100%;
        padding: 0.5rem 0;
        border-bottom: 1px solid #eee;
    }
    
    .back-link {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .section-title {
        font-size: 1.8rem;
    }
    .facilities-grid {
        grid-template-columns: 1fr;
    }
}
