﻿
/* =====================================================
   SIDDHI HOSPITAL - WEBSITE STYLES
   ===================================================== */

/* ---------- CSS VARIABLES ---------- */

:root {
    --primary: #0f766e;
    --primary-dark: #115e59;
    --navy: #16324f;
    --accent: #38bdf8;
    --background: #f8fafc;
    --white: #ffffff;
    --text: #334155;
    --muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

/* ---------- RESET ---------- */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ---------- COMMON CONTAINER ---------- */

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

/* ---------- HEADER ---------- */

.header {
    background: var(--white);
    position: relative;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100px;
    gap: 30px;
}
/* ---------- HOSPITAL LOGO ---------- */

.logo {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 15px;
    white-space: nowrap;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--navy);
    flex-shrink: 0;
}

    .logo img {
        width: 85px;
        height: 85px;
        object-fit: contain;
        flex-shrink: 0;
    }

    .logo span {
        display: inline-block;
    }

        .logo span span {
            color: var(--primary);
        }
/* ---------- NAVIGATION ---------- */

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

    .nav a {
        color: var(--navy);
        font-weight: 600;
        transition: color 0.3s ease;
    }

        .nav a:hover {
            color: var(--primary);
        }
/* ---------- BUTTONS ---------- */

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

    .btn-primary:hover {
        background: var(--primary-dark);
    }
/* ---------- HERO SECTION ---------- */

.hero {
    background: linear-gradient( 135deg, var(--navy), var(--primary-dark) );
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
}

    .hero h1 {
        font-size: 2.8rem;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1.1rem;
        max-width: 750px;
        margin: auto;
    }
/* ---------- SECTION ---------- */

.section {
    padding: 80px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

    .section-heading h1,
    .section-heading h2 {
        color: var(--navy);
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .section-heading p {
        color: var(--muted);
        font-size: 1rem;
    }
/* ---------- CONTACT HERO ---------- */

.contact-hero {
    background: linear-gradient( 135deg, var(--navy), var(--primary-dark) );
    color: var(--white);
    text-align: center;
    padding: 65px 20px;
}

    .contact-hero h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .contact-hero p {
        max-width: 700px;
        margin: auto;
        font-size: 1.05rem;
    }
/* ---------- CONTACT SECTION ---------- */

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.contact-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

    .contact-card:hover {
        transform: translateY(-5px);
    }

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #ccfbf1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.contact-card h3 {
    color: var(--navy);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-card p {
    color: var(--muted);
    margin-bottom: 10px;
}

.contact-card a {
    color: var(--primary);
    font-weight: bold;
}
/* ---------- LOCATION SECTION ---------- */

.location-section {
    padding: 80px 0;
    background: var(--white);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.location-info {
    padding: 25px;
}

    .location-info h2 {
        color: var(--navy);
        margin-bottom: 20px;
    }

    .location-info p {
        margin-bottom: 15px;
        color: var(--muted);
    }

.map-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

    .map-wrapper iframe {
        width: 100%;
        height: 350px;
        border: 0;
    }
/* ---------- FOOTER ---------- */

.footer {
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
}

    .footer p {
        color: #cbd5e1;
        font-size: 0.95rem;
    }
/* ---------- GENERAL RESPONSIVE ---------- */

@media (max-width: 900px) {

    .header-inner {
        gap: 20px;
    }

    .nav {
        gap: 20px;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-content {
        grid-template-columns: 1fr;
    }
}
/* ---------- TABLETS AND MOBILE ---------- */

@media (max-width: 768px) {

    .header-inner {
        flex-direction: column;
        justify-content: center;
        padding: 20px 0;
        gap: 20px;
    }

    .logo {
        justify-content: center;
        font-size: 1.3rem;
    }

        .logo img {
            width: 75px;
            height: 75px;
        }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .header-inner > .btn {
        margin-top: 5px;
    }

    .hero {
        padding: 60px 20px;
    }

        .hero h1 {
            font-size: 2.2rem;
        }

    .contact-hero {
        padding: 55px 20px;
    }

        .contact-hero h1 {
            font-size: 2rem;
        }

    .section {
        padding: 60px 0;
    }

    .section-heading h1,
    .section-heading h2 {
        font-size: 1.8rem;
    }
}
/* ---------- SMALL MOBILE ---------- */

@media (max-width: 600px) {

    .container {
        width: 92%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        gap: 15px;
        font-size: 0.95rem;
    }

    .logo {
        font-size: 1.2rem;
        gap: 10px;
    }

        .logo img {
            width: 65px;
            height: 65px;
        }

    .btn {
        padding: 11px 20px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .contact-hero h1 {
        font-size: 1.8rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }

    .section {
        padding: 50px 0;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .map-wrapper iframe {
        height: 300px;
    }
}
