/* ══════════════════════════════════════════
   Global Islamic Care — Shared Styles
   Brand Color: Blue (#2563eb)
══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Poppins:wght@300;400;500;600;700;800&family=Noto+Serif+Bengali:wght@400;600;700&display=swap');

:root {
  --navy: #0a1628;
  --blue-deep: #0d2b5e;
  --blue-mid: #1a4a9c;
  --blue-bright: #2563eb;
  --blue-light: #3b82f6;
  --sky: #60a5fa;
  --gold: #f59e0b;
  --gold-light: #fcd34d;
  --white: #ffffff;
  --gray-100: #f0f4ff;
  --gray-200: #dbeafe;
  --text-dark: #0f172a;
  --text-mid: #334155;
  --text-light: #64748b;
  --border: rgba(37,99,235,0.15);
  --whatsapp: #25d366;
  --shadow-sm: 0 2px 8px rgba(37,99,235,0.1);
  --shadow-md: 0 8px 30px rgba(37,99,235,0.15);
  --shadow-lg: 0 20px 60px rgba(37,99,235,0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', 'Noto Serif Bengali', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ══════════════════════════════
   NAVBAR
══════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(59,130,246,0.2);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--blue-bright), var(--gold));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-family: 'Amiri', serif;
  color: white; font-weight: 700;
  box-shadow: 0 2px 12px rgba(37,99,235,0.4);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text span:first-child { font-size: 17px; font-weight: 700; color: var(--white); }
.logo-text span:last-child { font-size: 11px; color: var(--sky); letter-spacing: 1.5px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  font-size: 13.5px; font-weight: 500;
  padding: 8px 14px; border-radius: 6px;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { background: rgba(59,130,246,0.15); color: var(--sky); }
.nav-cta {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-light)) !important;
  color: white !important; font-weight: 600 !important;
  box-shadow: 0 2px 10px rgba(37,99,235,0.4);
}
.nav-cta:hover { transform: translateY(-1px); }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: white; border-radius: 2px; transition: all 0.3s; }

/* ══════════════════════════════
   BUTTONS
══════════════════════════════ */
.btn-primary {
  background: linear-gradient(135deg, var(--blue-bright), #1d4ed8);
  color: white; padding: 14px 28px; border-radius: 8px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,99,235,0.45);
  transition: all 0.25s; display: inline-block; border: none; cursor: pointer;
  font-family: 'Poppins', sans-serif;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,99,235,0.55); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #d97706);
  color: var(--navy); padding: 14px 28px; border-radius: 8px;
  font-size: 15px; font-weight: 700; text-decoration: none;
  box-shadow: 0 4px 20px rgba(245,158,11,0.35);
  transition: all 0.25s; display: inline-block; border: none; cursor: pointer;
}
.btn-gold:hover { transform: translateY(-2px); }

.btn-outline {
  background: transparent; border: 2px solid rgba(59,130,246,0.5);
  color: var(--sky); padding: 12px 26px; border-radius: 8px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: all 0.25s; display: inline-block; cursor: pointer;
  font-family: 'Poppins', sans-serif;
}
.btn-outline:hover { border-color: var(--sky); background: rgba(59,130,246,0.08); }

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white; padding: 14px 28px; border-radius: 8px;
  font-size: 15px; font-weight: 700; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: all 0.25s; display: inline-block; border: none; cursor: pointer;
  font-family: 'Poppins', sans-serif;
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.45); }

/* ══════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════ */
.page-hero {
  padding: 130px 5% 70px;
  background: linear-gradient(160deg, #040d1e 0%, #0a1f4e 50%, #0d2b5e 100%);
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(37,99,235,0.15) 0%, transparent 60%);
}
.page-hero .breadcrumb {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 20px;
}
.page-hero .breadcrumb a { color: var(--sky); text-decoration: none; }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.3); }
.page-hero h1 {
  position: relative;
  font-size: clamp(28px, 4vw, 52px);
  font-family: 'Amiri', serif;
  color: white; margin-bottom: 16px; line-height: 1.3;
}
.page-hero h1 span { color: var(--gold); }
.page-hero p {
  position: relative;
  font-size: 16px; color: rgba(255,255,255,0.65);
  max-width: 600px; margin: 0 auto; line-height: 1.8;
}

/* ══════════════════════════════
   SECTION COMMONS
══════════════════════════════ */
section { padding: 90px 5%; }
.section-tag {
  display: inline-block;
  background: var(--gray-200); color: var(--blue-mid);
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 50px; margin-bottom: 16px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 42px); font-weight: 800;
  color: var(--navy); line-height: 1.2; margin-bottom: 14px;
}
.section-title span { color: var(--blue-bright); }
.section-sub { font-size: 16px; color: var(--text-light); line-height: 1.7; max-width: 580px; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-sub { margin: 0 auto; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 70px 5% 0;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; max-width: 1100px; margin: 0 auto;
  padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand p { font-size: 14px; line-height: 1.8; margin: 16px 0 20px; font-family: 'Noto Serif Bengali', sans-serif; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; text-decoration: none; color: white; transition: all 0.2s;
}
.social-link:hover { background: var(--blue-bright); border-color: var(--blue-bright); transform: translateY(-2px); }
.social-link.wa:hover { background: var(--whatsapp); border-color: var(--whatsapp); }
.footer-col h4 { font-size: 13px; font-weight: 700; color: white; margin-bottom: 18px; letter-spacing: 0.5px; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--sky); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: var(--sky); text-decoration: none; }

/* ══════════════════════════════
   MODAL
══════════════════════════════ */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: white; border-radius: 20px; padding: 40px;
  max-width: 520px; width: 100%; position: relative;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gray-100); border: none; cursor: pointer;
  font-size: 18px; display: flex; align-items: center; justify-content: center;
}
.modal h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.modal p { font-size: 14px; color: var(--text-light); margin-bottom: 24px; }
.modal-features { background: var(--gray-100); border-radius: 12px; padding: 20px; margin-bottom: 24px; }
.modal-features h4 { font-size: 13px; font-weight: 700; color: var(--blue-mid); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.modal-features ul { list-style: none; }
.modal-features ul li { font-size: 14px; color: var(--text-mid); padding: 5px 0; display: flex; gap: 8px; }
.modal-features ul li::before { content: '✓'; color: var(--blue-bright); font-weight: 700; flex-shrink: 0; }
.modal-btns { display: flex; gap: 12px; }

/* ══════════════════════════════
   TOAST
══════════════════════════════ */
.toast {
  position: fixed; bottom: 30px; right: 30px; z-index: 99999;
  background: var(--navy); color: white; padding: 16px 24px;
  border-radius: 10px; font-size: 14px; font-weight: 600;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  transform: translateY(80px); opacity: 0;
  transition: all 0.35s; pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ══════════════════════════════
   SCROLL REVEAL
══════════════════════════════ */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: rgba(10,22,40,0.98); padding: 20px 5%; gap: 4px; border-bottom: 1px solid rgba(59,130,246,0.15); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; width: 100%; }
  .nav-toggle { display: flex; }
  .modal-btns { flex-direction: column; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}
