/* ═══════════════════════════════════════════
   IDEAL HEALTH CITY — Homepage CSS
   Color: Deep Teal + Warm Gold accent
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --teal-900: #0a2e2e;
    --teal-800: #0d3d3d;
    --teal-700: #0f4f4f;
    --teal-600: #127070;
    --teal-500: #169494;
    --teal-400: #1db8b8;
    --teal-300: #4fd4d4;
    --teal-100: #e6f7f7;
    --teal-50:  #f0fbfb;

    --gold-500: #d4a017;
    --gold-400: #e8b422;
    --gold-300: #f5c842;
    --gold-100: #fef9e7;

    --white:    #ffffff;
    --gray-50:  #f8fafa;
    --gray-100: #eff5f5;
    --gray-200: #d8eaea;
    --gray-400: #7fa8a8;
    --gray-600: #3d6666;
    --dark:     #071a1a;

    --font-body:    'Plus Jakarta Sans', sans-serif;
    --font-display: 'Lora', serif;

    --radius-sm:  8px;
    --radius-md:  14px;
    --radius-lg:  22px;
    --radius-xl:  32px;

    --shadow-sm: 0 2px 8px rgba(10,46,46,.08);
    --shadow-md: 0 6px 24px rgba(10,46,46,.12);
    --shadow-lg: 0 16px 48px rgba(10,46,46,.18);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ══════════════════════════
   HEADER
══════════════════════════ */
.header {
    position: sticky; top: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 48px;
    height: 68px;
    background: rgba(10,46,46,.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.07);
    box-shadow: 0 2px 20px rgba(10,46,46,.3);
}

.logo { display:flex; align-items:center; }
.logo-img { height: 46px; width: auto; object-fit: contain; }

nav { display:flex; align-items:center; gap: 4px; }
nav a {
    padding: 7px 16px;
    border-radius: 40px;
    font-size: 13.5px; font-weight: 500;
    color: rgba(255,255,255,.75);
    text-decoration: none;
    transition: background .2s, color .2s;
    letter-spacing: .2px;
}
nav a:hover { background: rgba(255,255,255,.1); color: var(--white); }
nav a:last-child {
    background: var(--gold-400);
    color: var(--teal-900);
    font-weight: 700;
    margin-left: 8px;
}
nav a:last-child:hover { background: var(--gold-300); }

/* ══════════════════════════
   HERO
══════════════════════════ */
.hero {
    min-height: 92vh;
    background:
        radial-gradient(ellipse 70% 80% at 0% 50%, rgba(22,148,148,.18) 0%, transparent 55%),
        radial-gradient(ellipse 50% 60% at 100% 20%, rgba(212,160,23,.1) 0%, transparent 50%),
        linear-gradient(160deg, var(--teal-900) 0%, #071a1a 60%, #0a1a12 100%);
    display: flex; flex-direction: column; justify-content: center;
    padding: 80px 48px 60px;
    position: relative; overflow: hidden;
}
.hero::before {
    content:'';
    position:absolute; inset:0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(29,184,184,.08) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23169494' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content { max-width: 680px; position:relative; z-index:1; }

.hero-badge {
    display: inline-flex; align-items:center; gap:8px;
    background: rgba(212,160,23,.15);
    border: 1px solid rgba(212,160,23,.35);
    border-radius: 40px; padding: 7px 18px;
    font-size: 13px; font-weight: 600; color: var(--gold-300);
    letter-spacing: .5px; margin-bottom: 28px;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 600; line-height: 1.12;
    color: var(--white);
    letter-spacing: -.5px;
    margin-bottom: 22px;
}
.hero-content h1 span {
    color: var(--teal-300);
    font-style: italic;
}

.hero-content p {
    font-size: 17px; color: rgba(255,255,255,.62);
    line-height: 1.75; max-width: 540px; margin-bottom: 36px;
}

.hero-btns { display:flex; gap:12px; flex-wrap:wrap; }

.btn-primary {
    display:inline-flex; align-items:center; gap:8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--teal-500), var(--teal-400));
    color: #fff; border-radius: 40px;
    font-size: 15px; font-weight: 700;
    text-decoration:none; letter-spacing:.2px;
    box-shadow: 0 4px 20px rgba(29,184,184,.4);
    transition: transform .15s, box-shadow .15s;
}
.btn-primary:hover { transform:translateY(-2px); box-shadow: 0 8px 28px rgba(29,184,184,.5); }

.btn-ghost {
    display:inline-flex; align-items:center; gap:8px;
    padding: 13px 26px;
    background: rgba(255,255,255,.08);
    border: 1.5px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.85); border-radius: 40px;
    font-size: 15px; font-weight: 600;
    text-decoration:none;
    transition: background .15s, border-color .15s;
}
.btn-ghost:hover { background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.3); }

.hero-stats {
    display:flex; gap:40px; margin-top:52px;
    padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.stat { display:flex; flex-direction:column; gap:2px; }
.stat-num {
    font-size: 32px; font-weight: 800; color: var(--white);
    font-family: var(--font-display); line-height:1;
}
.stat-label { font-size: 12px; color: rgba(255,255,255,.45); letter-spacing:.4px; text-transform:uppercase; }

/* ══════════════════════════
   SECTIONS
══════════════════════════ */
.section { padding: 80px 48px; }
.section-alt { background: var(--gray-50); }

.section-header { text-align:center; margin-bottom:52px; }
.section-tag {
    display:inline-block;
    background: var(--teal-100); color: var(--teal-700);
    border-radius:40px; padding:5px 16px;
    font-size:12px; font-weight:700; letter-spacing:1px; text-transform:uppercase;
    margin-bottom:14px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 40px); font-weight:600;
    color: var(--teal-900); line-height:1.2; margin-bottom:14px;
}
.section-sub { font-size:16px; color: var(--gray-600); max-width:560px; margin:0 auto; }

/* ══════════════════════════
   SPECIALTIES
══════════════════════════ */
.spec-grid {
    display:grid; grid-template-columns: repeat(auto-fill, minmax(130px,1fr));
    gap:16px;
}
.spec-card {
    display:flex; flex-direction:column; align-items:center; gap:10px;
    padding:24px 16px;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    text-decoration:none;
    transition: border-color .2s, transform .2s, box-shadow .2s;
    box-shadow: var(--shadow-sm);
}
.spec-card:hover {
    border-color: var(--teal-400);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(22,148,148,.15);
}
.spec-icon { font-size:28px; line-height:1; }
.spec-name { font-size:13px; font-weight:600; color:var(--teal-800); text-align:center; }

/* ══════════════════════════
   DEPARTMENTS
══════════════════════════ */
.dept-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap:24px; }

.dept-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow:hidden; box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s;
}
.dept-card:hover { transform:translateY(-4px); box-shadow: var(--shadow-md); }

.dept-img {
    height:180px; background:var(--teal-100);
    display:flex; align-items:center; justify-content:center;
    font-size:48px; overflow:hidden;
}
.dept-img img { width:100%; height:100%; object-fit:cover; }

.dept-body { padding:22px; }
.dept-tag {
    display:inline-block;
    font-size:11px; font-weight:700; letter-spacing:.8px; text-transform:uppercase;
    color:var(--teal-600); background:var(--teal-50);
    border-radius:40px; padding:3px 12px; margin-bottom:8px;
}
.dept-title { font-size:18px; font-weight:700; color:var(--teal-900); margin-bottom:8px; }
.dept-desc { font-size:14px; color:var(--gray-600); line-height:1.65; margin-bottom:14px; }
.dept-link {
    font-size:13px; font-weight:700; color:var(--teal-600);
    text-decoration:none; display:inline-flex; align-items:center; gap:4px;
}
.dept-link:hover { color:var(--teal-400); }
.dept-link::after { content:'→'; transition:transform .15s; }
.dept-link:hover::after { transform:translateX(4px); }

/* ══════════════════════════
   VISION & MISSION
══════════════════════════ */
.vision-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; max-width:900px; margin:0 auto; }

.vision-card {
    padding:36px; border-radius:var(--radius-lg);
}
.v1 {
    background: linear-gradient(135deg, var(--teal-900), var(--teal-700));
    color:#fff;
}
.v2 { background:var(--teal-50); border:1.5px solid var(--gray-200); }

.vision-label {
    font-size:11px; font-weight:700; letter-spacing:1.2px; text-transform:uppercase;
    margin-bottom:10px;
}
.v1 .vision-label { color:var(--teal-300); }
.v2 .vision-label { color:var(--teal-600); }

.vision-title {
    font-family:var(--font-display);
    font-size:22px; font-weight:600; line-height:1.3;
    margin-bottom:14px;
}
.v1 .vision-title { color:#fff; }
.v2 .vision-title { color:var(--teal-900); }

.vision-text { font-size:14px; line-height:1.75; color:rgba(255,255,255,.7); }

.mission-list { list-style:none; display:flex; flex-direction:column; gap:10px; }
.mission-list li {
    display:flex; align-items:flex-start; gap:10px;
    font-size:14px; color:var(--gray-600); line-height:1.6;
}
.mission-list li::before {
    content:'✦'; color:var(--teal-500); font-size:10px; margin-top:5px; flex-shrink:0;
}

/* ══════════════════════════
   GALLERY
══════════════════════════ */
.gallery-grid {
    display:grid; grid-template-columns:repeat(auto-fill, minmax(220px,1fr));
    gap:14px;
}
.gal-item {
    border-radius:var(--radius-md); overflow:hidden;
    aspect-ratio:4/3; cursor:pointer;
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s;
}
.gal-item:hover { transform:scale(1.03); box-shadow: var(--shadow-md); }
.gal-item img { width:100%; height:100%; object-fit:cover; display:block; }

/* Modal */
.modal {
    display:none; position:fixed; inset:0; z-index:999;
    background:rgba(7,26,26,.92); backdrop-filter:blur(8px);
    align-items:center; justify-content:center; flex-direction:column; gap:16px;
}
.modal.open { display:flex; }
.modal-content { max-width:90vw; max-height:80vh; border-radius:var(--radius-md); object-fit:contain; }
.cancel-btn {
    padding:10px 28px; background:var(--teal-600); color:#fff;
    border:none; border-radius:40px; font-size:14px; font-weight:600;
    cursor:pointer; font-family:var(--font-body);
    transition:background .15s;
}
.cancel-btn:hover { background:var(--teal-500); }

/* ══════════════════════════
   CONTACT CTA
══════════════════════════ */
.contact-bar {
    display:flex; align-items:center; justify-content:space-between; gap:40px;
    background:linear-gradient(135deg, var(--teal-900), var(--teal-700));
    border-radius:var(--radius-xl); padding:48px 52px;
    flex-wrap:wrap;
}
.contact-left h3 {
    font-family:var(--font-display);
    font-size:26px; font-weight:600; color:#fff;
    margin-bottom:8px;
}
.contact-left p { font-size:15px; color:rgba(255,255,255,.6); margin-bottom:22px; }

.contact-form { display:flex; gap:10px; flex-wrap:wrap; }
.contact-form input {
    height:44px; padding:0 16px; border-radius:40px;
    border:1.5px solid rgba(255,255,255,.2);
    background:rgba(255,255,255,.09); color:#fff;
    font-size:14px; font-family:var(--font-body);
    outline:none; min-width:180px;
    transition:border-color .2s, background .2s;
}
.contact-form input::placeholder { color:rgba(255,255,255,.35); }
.contact-form input:focus { border-color:var(--teal-300); background:rgba(255,255,255,.13); }
.contact-form button {
    height:44px; padding:0 24px; border-radius:40px;
    background:var(--gold-400); color:var(--teal-900);
    border:none; font-size:14px; font-weight:700;
    cursor:pointer; font-family:var(--font-body);
    transition:background .15s;
}
.contact-form button:hover { background:var(--gold-300); }

.helpline-box {
    display:flex; flex-direction:column; align-items:center;
    background:rgba(255,255,255,.09); border:1.5px solid rgba(255,255,255,.15);
    border-radius:var(--radius-md); padding:24px 36px; text-align:center;
}
.helpline-box span { font-size:12px; letter-spacing:1px; text-transform:uppercase; color:var(--teal-300); margin-bottom:6px; }
.helpline-box strong { font-size:26px; font-weight:800; color:#fff; }

/* ══════════════════════════
   MEDIA / VIDEOS
══════════════════════════ */
.media-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(320px,1fr)); gap:20px; }
.media-card {
    border-radius:var(--radius-md); overflow:hidden;
    aspect-ratio:16/9; box-shadow:var(--shadow-md);
}
.media-card iframe { width:100%; height:100%; border:0; display:block; }

/* ══════════════════════════
   ADDRESS
══════════════════════════ */
.address-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(280px,1fr)); gap:20px; }
.addr-card {
    background:var(--white); border:1.5px solid var(--gray-200);
    border-radius:var(--radius-lg); padding:28px;
    box-shadow:var(--shadow-sm);
}
.addr-badge {
    display:inline-block;
    font-size:11px; font-weight:700; letter-spacing:.8px; text-transform:uppercase;
    color:var(--teal-600); background:var(--teal-50); border-radius:40px;
    padding:3px 12px; margin-bottom:12px;
}
.addr-card h3 { font-size:18px; font-weight:700; color:var(--teal-900); margin-bottom:10px; }
.addr-card p { font-size:14px; color:var(--gray-600); line-height:1.8; margin-bottom:16px; }
.addr-card iframe { width:100%; height:180px; border:0; border-radius:var(--radius-sm); }

/* ══════════════════════════
   PARTNERS
══════════════════════════ */
.partners {
    display:flex; gap:12px; justify-content:center; flex-wrap:wrap;
    padding:20px 48px; background:var(--teal-50);
    border-top:1px solid var(--gray-200); border-bottom:1px solid var(--gray-200);
}
.partner-pill {
    padding:6px 18px; border-radius:40px;
    background:var(--white); border:1.5px solid var(--gray-200);
    font-size:13px; font-weight:600; color:var(--teal-700);
}

/* ══════════════════════════
   FOOTER
══════════════════════════ */
.footer {
    background:var(--teal-900);
    text-align:center; padding:24px 48px;
    font-size:13px; color:rgba(255,255,255,.4);
    border-top:1px solid rgba(255,255,255,.06);
}
.footer strong { color:rgba(255,255,255,.7); }

/* ══════════════════════════
   RESPONSIVE
══════════════════════════ */
@media (max-width: 768px) {
    .header { padding:0 20px; }
    nav a:not(:last-child) { display:none; }

    .hero { padding:60px 20px 40px; min-height:auto; }
    .hero-stats { gap:24px; flex-wrap:wrap; }

    .section { padding:52px 20px; }
    .vision-grid { grid-template-columns:1fr; }
    .contact-bar { padding:32px 24px; flex-direction:column; }
    .contact-right { width:100%; }
    .helpline-box { width:100%; }
}