/* Design 1: Apex Clarity - Custom CSS */
:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --secondary: #06b6d4;
    --dark: #0f172a;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --whatsapp-green: #25d366;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(2, 132, 199, 0.08);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
    --radius: 12px;
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background-color: #f8fafc;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Global Container Utility */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Announcement Bar */
.top-bar {
    background: #0f172a;
    color: #e2e8f0;
    padding: 10px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.iso-badge {
    background: rgba(6, 182, 212, 0.2);
    color: #38bdf8;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
}

.top-bar-contact {
    display: flex;
    gap: 20px;
}

.top-bar-contact a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
}

/* Header & Nav */
.header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.header .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-box {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 52px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.header-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease;
}

.header-cta:hover {
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 60px 0 80px 0;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
    position: relative;
}

.hero .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-badges,
.hero-badge {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-badge-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    box-shadow: var(--shadow-sm);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary-lg {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.3);
    transition: all 0.2s ease;
}

.btn-primary-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(2, 132, 199, 0.4);
}

.btn-secondary-lg {
    background: #ffffff;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.btn-secondary-lg:hover {
    background: #f0f9ff;
}

.hero-image-wrapper {
    position: relative;
}

.hero-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.hero-float-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #ffffff;
    padding: 18px 24px;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--border-color);
}

.hero-float-icon {
    width: 48px;
    height: 48px;
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 700;
}

.hero-float-text h4 {
    font-size: 1.1rem;
    color: var(--dark);
    font-family: 'Outfit', sans-serif;
}

.hero-float-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Features Grid */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-title span {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    color: var(--dark);
    margin-top: 6px;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.facility-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.facility-icon {
    width: 54px;
    height: 54px;
    background: #f0f9ff;
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.facility-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.facility-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Doctors Section & Tabs */
.doctors-section {
    background: #f1f5f9;
}

.doctors-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn:hover, .tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.doctor-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.doctor-specialty {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.doctor-branch {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 10px;
}

.badge-nscbose {
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary-dark);
    border: 1px solid rgba(2, 132, 199, 0.25);
}

.badge-kudghat {
    background: rgba(6, 182, 212, 0.1);
    color: #0891b2;
    border: 1px solid rgba(6, 182, 212, 0.25);
}

.badge-both {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.doctor-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    color: var(--dark);
    font-weight: 700;
}

.doctor-qual {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.doctor-timing {
    background: #f8fafc;
    border-left: 3px solid var(--primary);
    padding: 10px 14px;
    border-radius: 0 8px 8px 0;
    font-size: 0.85rem;
    color: var(--dark);
    font-weight: 600;
}

/* Location Showcase */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.location-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary);
}

.location-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.location-detail {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    gap: 10px;
}

.location-phones {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.phone-chip {
    background: #f0f9ff;
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: var(--whatsapp-green);
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 60px 0 30px 0;
}

footer .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about p {
    margin-top: 14px;
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-title {
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #38bdf8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .top-bar-info {
        display: none;
    }
    .location-grid {
        grid-template-columns: 1fr;
    }
}
