﻿body {
    /* ================================================
   BOKARO CLINIC - STYLESHEET
   Medical Theme with Professional Design
   ================================================ */
    /* CSS Variables */
    : root;

{
    --primary-color: #0A7373;
    --secondary-color: #05A8A8;
    --accent-color: #FF6B6B;
    --dark-bg: #1A1A2E;
    --light-bg: #F8F9FA;
    --text-dark: #2C3E50;
    --text-light: #FFFFFF;
    --border-color: #E0E0E0;
    --success-color: #28A745;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================================
   HEADER STYLES
   ================================================ */

.site-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    padding: 20px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

    .header-top .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.clinic-info h1 {
    font-size: 2.5em;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tagline {
    font-size: 1.1em;
    font-style: italic;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1em;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

    .contact-item:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-3px);
    }

    .contact-item .icon {
        font-size: 1.3em;
    }

/* ================================================
   NAVIGATION STYLES
   ================================================ */

.main-nav {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 5px;
}

    .nav-menu li a {
        display: block;
        padding: 18px 30px;
        color: var(--text-light);
        text-decoration: none;
        font-weight: 600;
        font-size: 1.05em;
        transition: all 0.3s ease;
        position: relative;
    }

        .nav-menu li a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 3px;
            background: var(--accent-color);
            transition: width 0.3s ease;
        }

        .nav-menu li a:hover {
            background: rgba(255, 255, 255, 0.1);
        }

            .nav-menu li a:hover::after {
                width: 80%;
            }

/* ================================================
   MAIN CONTENT STYLES
   ================================================ */

.main-content {
    min-height: 70vh;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(10, 115, 115, 0.9), rgba(5, 168, 168, 0.9)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f0f0f0" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
        opacity: 0.3;
    }

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-section p {
    font-size: 1.4em;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    border: none;
    cursor: pointer;
}

    .btn-primary:hover {
        background: #FF5252;
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
    }

/* Services Section */
.services-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 4px;
        background: var(--accent-color);
        border-radius: 2px;
    }

.section-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
        border-color: var(--secondary-color);
    }

.service-icon {
    font-size: 4em;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

    .feature-item:hover {
        transform: scale(1.05);
        box-shadow: var(--shadow-lg);
    }

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5em;
    color: white;
}

.feature-item h3 {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-item p {
    color: #666;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

    .testimonial-card:hover {
        transform: translateX(10px);
        box-shadow: var(--shadow-lg);
    }

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1em;
}

/* Appointment Section */
.appointment-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

    .appointment-section .section-title {
        color: white;
    }

        .appointment-section .section-title::after {
            background: white;
        }

.appointment-form {
    max-width: 600px;
    margin: 50px auto 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        font-size: 1.05em;
    }

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1em;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

    .form-control:focus {
        outline: none;
        border-color: var(--accent-color);
        background: white;
        box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
    }

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ================================================
   FOOTER STYLES
   ================================================ */

.site-footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

    .footer-section ul li {
        margin-bottom: 10px;
    }

        .footer-section ul li a {
            color: var(--text-light);
            text-decoration: none;
            opacity: 0.8;
            transition: all 0.3s ease;
        }

            .footer-section ul li a:hover {
                opacity: 1;
                color: var(--secondary-color);
                padding-left: 5px;
            }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 768px) {
    .header-top .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .logo-section {
        flex-direction: column;
    }

    .clinic-info h1 {
        font-size: 1.8em;
    }

    .contact-info {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .hero-section h2 {
        font-size: 2.2em;
    }

    .hero-section p {
        font-size: 1.1em;
    }

    .section-title {
        font-size: 2em;
    }

    .services-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   UTILITY CLASSES
   ================================================ */

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.pt-40 {
    padding-top: 40px;
}

.pb-40 {
    padding-bottom: 40px;
}
