/* 
   Jaspur Metro Hospital - Premium Design System 
   Focus: Clean, Modern, Professional, Responsive
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #006064;
    /* Deep Teal */
    --primary-dark: #00363a;
    --secondary: #1A237E;
    /* Navy Blue */
    --accent: #00BCD4;
    /* Cyan Accent */
    --accent-light: #E0F7FA;
    --text-dark: #212121;
    --text-light: #757575;
    --white: #ffffff;
    --bg-light: #F5F7FA;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --card-hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 96, 100, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 96, 100, 0.4);
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title span {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-bottom: 0;
    /* Removing margin to connect visually */
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

/* Doctor Profile */
.doctor-profile {
    background-color: var(--white);
}

.profile-card {
    display: flex;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    flex-wrap: wrap;
}

.profile-image {
    flex: 1;
    min-width: 300px;
    background-color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.profile-info {
    flex: 1.5;
    padding: 60px;
    min-width: 300px;
}

.qualification {
    display: inline-block;
    background: var(--accent-light);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.profile-info h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.profile-info p {
    margin-bottom: 20px;
}

.credentials {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.credential-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* Expertise Section */
.expertise {
    background-color: var(--bg-light);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.expertise-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
    border-bottom-color: var(--accent);
}

.expertise-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    color: var(--primary);
    font-size: 1.8rem;
    transition: var(--transition);
}

.expertise-card:hover .expertise-icon {
    background: var(--primary);
    color: var(--white);
}

.expertise-card h3 {
    margin-bottom: 15px;
}

.expertise-card ul {
    padding-left: 20px;
    list-style-type: disc;
    color: var(--text-light);
}

.expertise-card li {
    margin-bottom: 8px;
}

/* Why Choose Us */
.why-choose {
    background-color: var(--primary-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.why-choose-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-box h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-box p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    box-shadow: var(--card-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--white);
}

.contact-info {
    background: var(--primary);
    padding: 50px;
    color: var(--white);
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 5px;
}

.info-text h5 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.contact-form {
    padding: 50px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 96, 100, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    margin-top: 5px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
    cursor: pointer;
    font-weight: 400;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 10px;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    nav ul.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .profile-card {
        flex-direction: column;
    }

    .profile-image {
        min-height: 250px;
    }

    .profile-info {
        padding: 30px;
    }
}