/* ============================================
   ICCouncilSupport.net — Custom Stylesheet
   Color Theme: Midnight + Emerald + Amber
   ============================================ */

:root {
  --ics-primary:   #0f172a;   /* slate-900  — navbar, footer, headings */
  --ics-accent:    #059669;   /* emerald-600 — CTAs, links, highlights */
  --ics-warm:      #d97706;   /* amber-600  — badges, tags, accents */
  --ics-bg:        #f8fafc;   /* slate-50   — page background */
  --ics-surface:   #ffffff;   /* white      — cards, panels */
  --ics-text:      #334155;   /* slate-700  — body text */
  --ics-muted:     #64748b;   /* slate-500  — secondary text */
  --ics-border:    #e2e8f0;   /* slate-200  — borders, dividers */
  --ics-radius:    18px;
  --ics-radius-sm: 12px;
  --ics-shadow:    0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --ics-shadow-md: 0 4px 12px rgba(15,23,42,0.08);
  --ics-shadow-lg: 0 20px 50px -12px rgba(15,23,42,0.14);
}

/* ---------- Base ---------- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--ics-bg);
  color: var(--ics-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ics-accent); text-decoration: none; transition: color .2s; }
a:hover { color: #047857; }

/* ---------- Navbar ---------- */
.navbar-ics {
  background: var(--ics-primary);
  padding: 1rem 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.navbar-ics .navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff !important;
  letter-spacing: -0.5px;
}
.navbar-ics .navbar-brand span { color: var(--ics-accent); }
.navbar-ics .nav-link {
  color: rgba(255,255,255,0.7) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 1rem !important;
  transition: color .2s;
}
.navbar-ics .nav-link:hover,
.navbar-ics .nav-link.active { color: #fff !important; }

/* ---------- Buttons ---------- */
.btn-ics {
  background: var(--ics-accent);
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.8rem;
  border-radius: var(--ics-radius-sm);
  border: none;
  transition: all .2s ease;
  letter-spacing: 0.2px;
}
.btn-ics:hover {
  background: #047857;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5,150,105,0.28);
}
.btn-ics-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
  font-weight: 600;
  padding: 0.7rem 1.8rem;
  border-radius: var(--ics-radius-sm);
  transition: all .2s ease;
}
.btn-ics-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.btn-ics-warm {
  background: var(--ics-warm);
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.8rem;
  border-radius: var(--ics-radius-sm);
  border: none;
  transition: all .2s ease;
}
.btn-ics-warm:hover {
  background: #b45309;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217,119,6,0.28);
}

/* ---------- Hero ---------- */
.hero-section {
  background: linear-gradient(160deg, var(--ics-primary) 0%, #1e293b 60%, #334155 100%);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(5,150,105,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(217,119,6,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-section h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.6px;
}
.hero-section h1 .accent { color: var(--ics-accent); }
.hero-section h1 .warm { color: var(--ics-warm); }
.hero-section p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.65;
}
.hero-img-wrap {
  border-radius: var(--ics-radius);
  overflow: hidden;
  box-shadow: var(--ics-shadow-lg);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-img-wrap img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--ics-surface);
  border-bottom: 1px solid var(--ics-border);
  padding: 2.5rem 0;
}
.stat-item { text-align: center; }
.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(5,150,105,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
}
.stat-icon svg { width: 22px; height: 22px; color: var(--ics-accent); }
.stat-number {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--ics-primary);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--ics-muted);
  font-weight: 500;
}

/* ---------- Section Headers ---------- */
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  color: var(--ics-accent);
  margin-bottom: 0.6rem;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ics-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}
.section-sub {
  color: var(--ics-muted);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.65;
}

/* ---------- About ---------- */
.about-section {
  background: var(--ics-surface);
  border-radius: var(--ics-radius);
  border: 1px solid var(--ics-border);
  padding: 3.5rem;
  box-shadow: var(--ics-shadow);
  position: relative;
  overflow: hidden;
}
.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(5,150,105,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.about-img-wrap {
  border-radius: var(--ics-radius-sm);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--ics-shadow-md);
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Features (Why Choose Us) ---------- */
.feature-card {
  background: var(--ics-surface);
  border: 1px solid var(--ics-border);
  border-radius: var(--ics-radius-sm);
  padding: 2rem;
  transition: all .3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ics-shadow-lg);
  border-color: #cbd5e1;
}
.feature-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(5,150,105,0.12);
  line-height: 1;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-variant-numeric: tabular-nums;
}
.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(5,150,105,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  position: relative;
  z-index: 1;
}
.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--ics-accent);
}
.feature-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--ics-primary);
  position: relative;
  z-index: 1;
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--ics-muted);
  line-height: 1.65;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ---------- Courses ---------- */
.course-card {
  background: var(--ics-surface);
  border: 1px solid var(--ics-border);
  border-radius: var(--ics-radius-sm);
  padding: 1.75rem;
  transition: all .3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.course-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ics-accent), var(--ics-warm));
  opacity: 0;
  transition: opacity .3s;
}
.course-card:hover::after { opacity: 1; }
.course-card:hover {
  box-shadow: var(--ics-shadow-lg);
  transform: translateY(-4px);
}
.course-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ics-warm);
  background: rgba(217,119,6,0.1);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.course-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  color: var(--ics-primary);
}
.course-card p {
  font-size: 0.92rem;
  color: var(--ics-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.course-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ics-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap .2s;
}
.course-link:hover { gap: 0.7rem; color: #047857; }
.course-link svg { flex-shrink: 0; }

/* ---------- Testimonials ---------- */
.testi-card {
  background: var(--ics-surface);
  border: 1px solid var(--ics-border);
  border-radius: var(--ics-radius-sm);
  padding: 2.25rem;
  position: relative;
  transition: all .3s ease;
}
.testi-card:hover {
  box-shadow: var(--ics-shadow-lg);
  transform: translateY(-3px);
}
.testi-card::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  font-size: 4rem;
  color: rgba(5,150,105,0.12);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
.testi-card p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ics-text);
  font-style: italic;
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}
.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ics-accent), var(--ics-warm));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 1rem; color: var(--ics-primary); }
.testi-role { font-size: 0.85rem; color: var(--ics-muted); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--ics-primary) 0%, #064e3b 100%);
  border-radius: var(--ics-radius);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(217,119,6,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner h3 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.cta-banner p {
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

/* ---------- Footer ---------- */
.footer-ics {
  background: var(--ics-primary);
  padding: 3rem 0 2.5rem;
}
.footer-ics .brand {
  font-weight: 800;
  font-size: 1.45rem;
  color: #fff;
  margin-bottom: 0.5rem;
  display: inline-block;
  letter-spacing: -0.5px;
}
.footer-ics .brand span { color: var(--ics-accent); }
.footer-ics p {
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  margin: 0;
}
.footer-ics .footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  margin: 0 0.75rem;
  transition: color .2s;
}
.footer-ics .footer-links a:hover { color: #fff; }

/* ---------- Utilities ---------- */
.py-6 { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.py-7 { padding-top: 6rem; padding-bottom: 6rem; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero-section h1 { font-size: 2.3rem; }
  .hero-section { padding: 4rem 0; }
  .hero-img-wrap img { height: 280px; }
  .about-img-wrap { height: 240px; margin-bottom: 1.5rem; }
  .about-section { padding: 2rem; }
}
@media (max-width: 767.98px) {
  .hero-section h1 { font-size: 1.85rem; }
  .section-title { font-size: 1.65rem; }
  .hero-img-wrap img { height: 220px; margin-top: 2rem; }
  .stats-bar .stat-item { margin-bottom: 1.25rem; }
  .stats-bar .stat-item:last-child { margin-bottom: 0; }
  .about-section { padding: 1.75rem; }
  .feature-num { font-size: 2.5rem; }
}