/* ===== DR. MANSIMRAT SINGH — DESIGN SYSTEM ===== */
/* Palette: Medical Blue + Orange Accent + Clean White */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    /* Colors */
    --blue-50: #EBF5FF;
    --blue-100: #D0E8FF;
    --blue-200: #A3D1FF;
    --blue-300: #5BA8E6;
    --blue-400: #2E86C9;
    --blue-500: #1B5E9E;
    --blue-600: #154D82;
    --blue-700: #0F3A66;
    --blue-800: #0A274A;
    --blue-900: #06182E;

    --orange-50: #FFF5EB;
    --orange-100: #FFE4CC;
    --orange-200: #FFCA99;
    --orange-300: #FFB066;
    --orange-400: #F5943D;
    --orange-500: #E8842C;
    --orange-600: #C96E1F;
    --orange-700: #A85A18;

    --gray-50: #F8FAFB;
    --gray-100: #F1F4F7;
    --gray-200: #E2E7ED;
    --gray-300: #CBD3DC;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    --white: #FFFFFF;
    --cream: #FAFCFE;
    --success: #10B981;

    /* Typography */
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

    /* Spacing */
    --section-py: clamp(4rem, 8vw, 7rem);
    --container: 1200px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(15,23,42,0.04), 0 1px 2px rgba(15,23,42,0.06);
    --shadow-md: 0 4px 12px rgba(15,23,42,0.06), 0 2px 4px rgba(15,23,42,0.04);
    --shadow-lg: 0 12px 40px rgba(15,23,42,0.08), 0 4px 12px rgba(15,23,42,0.04);
    --shadow-xl: 0 20px 60px rgba(15,23,42,0.1), 0 8px 20px rgba(15,23,42,0.04);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--white); color: var(--gray-800); overflow-x: hidden; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--blue-200); color: var(--blue-800); }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--blue-300); border-radius: 4px; }

/* ===== UTILITIES ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.section-label {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--blue-500); margin-bottom: 0.75rem;
}
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--orange-500); border-radius: 1px; }
.section-title {
    font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 3rem);
    color: var(--gray-900); line-height: 1.15; margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--blue-500); }
.section-desc { color: var(--gray-500); font-size: 1rem; max-width: 540px; line-height: 1.7; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    font-weight: 600; font-size: 0.875rem; letter-spacing: 0.01em;
    padding: 0.75rem 1.75rem; border-radius: 100px;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative; overflow: hidden;
}
.btn-primary {
    background: var(--blue-500); color: var(--white);
    box-shadow: 0 2px 8px rgba(27,94,158,0.25);
}
.btn-primary:hover {
    background: var(--blue-600); transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27,94,158,0.3);
}
.btn-orange {
    background: var(--orange-500); color: var(--white);
    box-shadow: 0 2px 8px rgba(232,132,44,0.25);
}
.btn-orange:hover {
    background: var(--orange-600); transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,132,44,0.3);
}
.btn-outline {
    border: 1.5px solid var(--gray-200); color: var(--gray-700);
    background: var(--white);
}
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-500); transform: translateY(-2px); }

.btn-icon { width: 16px; height: 16px; transition: transform 0.3s ease; }
.btn:hover .btn-icon { transform: translateX(3px); }

/* Cards */
.card {
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); padding: 2rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-200); }

/* ===== NAVIGATION ===== */
.nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    transition: all 0.4s ease;
    background: rgba(255,255,255,0.0); backdrop-filter: none;
}
.nav.scrolled {
    background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
    box-shadow: 0 1px 12px rgba(15,23,42,0.06);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 92px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img {
    height: 76px; width: auto; display: block;
    transition: transform 0.3s ease;
}
.nav-logo:hover .nav-logo-img { opacity: 0.92; }
@media (max-width: 1023px) {
    .nav-inner { min-height: 80px; }
    .nav-logo-img { height: 64px; }
}
@media (max-width: 640px) {
    .nav-inner { min-height: 72px; }
    .nav-logo-img { height: 56px; }
}
@media (max-width: 380px) {
    .nav-logo-img { height: 50px; }
}
.nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-link {
    font-size: 0.875rem; font-weight: 500; color: var(--gray-600);
    transition: color 0.3s; position: relative;
}
.nav-link:hover { color: var(--blue-500); }
.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--orange-500);
    transition: width 0.3s ease; border-radius: 1px;
}
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--blue-500); }
.nav-link.active::after { width: 100%; }

/* Mobile menu button */
.nav-burger { display: flex; flex-direction: column; gap: 5px; padding: 0.5rem; }
@media (min-width: 1024px) { .nav-burger { display: none; } }
.nav-burger span {
    display: block; width: 22px; height: 2px; background: var(--gray-700);
    transition: all 0.3s ease; border-radius: 2px;
}
.nav-burger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
    position: fixed; inset: 0; z-index: 90;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(24px);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
    transform: translateX(100%); transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
    font-family: var(--font-display); font-size: 1.5rem;
    color: var(--gray-800);
}
.mobile-menu  .btn-primary{
    color: white;
}
.mobile-menu a:hover { color: var(--blue-500); }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 80;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.35);
    transition: all 0.3s ease;
    animation: waPulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
.wa-float svg { width: 28px; height: 28px; fill: white; }
@keyframes waPulse {
    0%,100% { box-shadow: 0 4px 16px rgba(37,211,102,0.35); }
    50% { box-shadow: 0 4px 28px rgba(37,211,102,0.5); }
}

/* ===== FOOTER ===== */
.footer { background: var(--gray-900); color: var(--white); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr 0.9fr 0.9fr 1.4fr; gap: 2rem; } }
@media (min-width: 1280px) { .footer-grid { grid-template-columns: 1.7fr 0.9fr 0.9fr 1.5fr; gap: 2.5rem; } }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    line-height: 1.55;
}
.footer-contact li:last-child { margin-bottom: 0; }
.footer-contact-icon {
    flex-shrink: 0;
    width: 30px; height: 30px;
    border-radius: 9px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--orange-300);
    margin-top: 1px;
}
.footer-contact-icon svg { width: 14px; height: 14px; }
.footer-contact-text { flex: 1; min-width: 0; }
.footer-contact-label {
    display: block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.2rem;
}
.footer-contact-text strong { color: var(--white); font-weight: 600; }
.footer-contact a { color: rgba(255,255,255,0.78); transition: color 0.3s; }
.footer-contact a:hover { color: var(--orange-400); }
.footer-contact-hours { margin-top: 0.2rem; font-size: 0.78rem; color: rgba(255,255,255,0.55); line-height: 1.5; }
.footer-contact-hours span { display: block; }
.footer-brand-name { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.25rem; }
.footer-brand-sub { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange-400); margin-bottom: 1rem; }
.footer-logo-wrap {
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; padding: 18px 26px; border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 24px rgba(0,0,0,0.22);
}
.footer-logo-img { height: 92px; width: auto; display: block; }
@media (max-width: 767px) {
    .footer-logo-wrap { padding: 14px 20px; border-radius: 18px; }
    .footer-logo-img { height: 76px; }
}
@media (max-width: 380px) {
    .footer-logo-img { height: 64px; }
}
.footer-desc { color: rgba(255,255,255,0.45); font-size: 0.875rem; line-height: 1.6; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
}
.footer-social a:hover { background: var(--blue-500); border-color: var(--blue-500); }
.footer-social svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.6); }
.footer-social a:hover svg { fill: white; }
.footer-heading { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.4); font-size: 0.875rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--orange-400); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.5rem;
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
}
.footer-copy { color: rgba(255,255,255,0.25); font-size: 0.75rem; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(30px); }
.reveal-left { opacity: 0; transform: translateX(-40px); }
.reveal-right { opacity: 0; transform: translateX(40px); }
.reveal-scale { opacity: 0; transform: scale(0.95); }

/* ===== GALLERY ITEMS ===== */
.gallery-item { overflow: hidden; border-radius: var(--radius-lg); }
.gallery-item img { transition: filter 0.4s ease; width: 100%; height: 100%; object-fit: cover; }
.gallery-item:hover img { filter: brightness(1.04); }

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(0,0,0,0.9); display: flex; align-items: center; justify-content: center;
    padding: 1.5rem; opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90%; max-height: 85vh; object-fit: contain; border-radius: var(--radius-md); }
.lightbox-close {
    position: absolute; top: 1.5rem; right: 1.5rem;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
    transition: background 0.3s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-close svg { width: 20px; height: 20px; stroke: white; }
