/* ============================================
   ICCouncilSupport.com — Custom Stylesheet
   Color Theme: Charcoal + Coral + Gold
   ============================================ */

:root {
  --ics-primary:   #1c1917;   /* stone-900  — navbar, footer, headings */
  --ics-accent:    #e11d48;   /* rose-600   — CTAs, links, highlights */
  --ics-warm:      #d97706;   /* amber-600  — badges, tags, accents */
  --ics-bg:        #fafaf9;   /* stone-50   — page background */
  --ics-surface:   #ffffff;   /* white      — cards, panels */
  --ics-text:      #44403c;   /* stone-700  — body text */
  --ics-muted:     #78716c;   /* stone-500  — secondary text */
  --ics-border:    #e7e5e4;   /* stone-200  — borders, dividers */
  --ics-radius:    20px;
  --ics-radius-sm: 14px;
  --ics-shadow:    0 1px 3px rgba(28,25,23,0.05), 0 1px 2px rgba(28,25,23,0.03);
  --ics-shadow-md: 0 4px 12px rgba(28,25,23,0.07);
  --ics-shadow-lg: 0 24px 56px -12px rgba(28,25,23,0.15);
}

/* ---------- 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: #be123c; }

/* ---------- 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: #be123c;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(225,29,72,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(155deg, var(--ics-primary) 0%, #292524 55%, #44403c 100%);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -25%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(225,29,72,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -35%;
  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: 3.1rem;
  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.06);
}
.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(225,29,72,0.08);
  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(225,29,72,0.05) 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 ---------- */
.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: #d6d3d1;
}
.feature-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(225,29,72,0.10);
  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(225,29,72,0.08);
  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.10);
  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: #be123c; }
.course-link svg { flex-shrink: 0; }

/* ---------- Testimonials Slider ---------- */
.testi-slider-section {
  background: linear-gradient(180deg, var(--ics-bg) 0%, #f5f5f4 100%);
}
.testi-slider-card {
  background: var(--ics-surface);
  border: 1px solid var(--ics-border);
  border-radius: var(--ics-radius-sm);
  padding: 2.5rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.testi-slider-card::before {
  content: '"';
  font-size: 5rem;
  color: rgba(225,29,72,0.10);
  font-family: Georgia, serif;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}
.testi-slider-card p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--ics-text);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testi-slider-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ics-accent), var(--ics-warm));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.testi-slider-name { font-weight: 700; font-size: 1.05rem; color: var(--ics-primary); }
.testi-slider-role { font-size: 0.88rem; color: var(--ics-muted); }

/* Carousel custom styling */
.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--ics-muted);
  opacity: 0.4;
  margin: 0 6px;
}
.carousel-indicators .active {
  background-color: var(--ics-accent);
  opacity: 1;
}
.carousel-control-prev,
.carousel-control-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ics-surface);
  border: 1px solid var(--ics-border);
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  box-shadow: var(--ics-shadow-md);
}
.carousel-control-prev { left: -22px; }
.carousel-control-next { right: -22px; }
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 16px;
  height: 16px;
  filter: invert(0.3);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--ics-primary) 0%, #7f1d1d 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; }
  .carousel-control-prev { left: 10px; }
  .carousel-control-next { right: 10px; }
}
@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; }
  .testi-slider-card { padding: 1.75rem; }
  .carousel-control-prev,
  .carousel-control-next { display: none; }
}