/* Green Lab Hospital - Custom Styles */

:root {
    --primary-green: #198754;
    --dark-green: #0f5132;
    --light-green: #d1e7dd;
    --accent: #20c997;
}

* {
    font-family: 'Hind Siliguri', sans-serif;
}

body {
    background-color: #f8f9fa;
}

/* Navbar */
.navbar-brand {
    font-size: 1.4rem;
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0f5132 0%, #198754 50%, #20c997 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: rgba(255,255,255,0.05);
    border-radius: 50% 0 0 50%;
}

.hero-section h1 {
    font-weight: 700;
    font-size: 2.8rem;
}

.hero-section .lead {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Cards */
.service-card,
.doctor-card {
    border: none;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.service-card:hover,
.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(25, 135, 84, 0.15) !important;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-green);
    margin: 0 auto 1rem;
}

.doctor-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--light-green);
}

/* Section Titles */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
}

/* Stats */
.stat-box {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.stat-box h3 {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 2.2rem;
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.btn-success {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-success:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
}

/* Appointment Form Card */
.appointment-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

/* Admin */
.admin-sidebar {
    min-height: 100vh;
    background: var(--dark-green);
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.8) !important;
    border-radius: 8px;
    margin-bottom: 4px;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(255,255,255,0.15);
    color: white !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section {
        padding: 50px 0;
    }
}

/* Footer links hover */
footer a:hover {
    color: var(--accent) !important;
}
