/* ============================================
   IC-Council.net — Custom Stylesheet
   Color Theme: Slate + Teal + Amber
   ============================================ */

:root {
  --ic-primary:   #1e293b;   /* slate-800  — headings, navbar, footer */
  --ic-accent:    #0d9488;   /* teal-600   — CTAs, links, highlights */
  --ic-warm:      #f59e0b;   /* amber-500  — badges, tags, secondary accents */
  --ic-bg:        #f1f5f9;   /* slate-100  — page background */
  --ic-surface:   #ffffff;   /* white      — cards, panels */
  --ic-text:      #334155;   /* slate-700  — body text */
  --ic-muted:     #64748b;   /* slate-500  — secondary text */
  --ic-border:    #e2e8f0;   /* slate-200  — borders, dividers */
  --ic-radius:    16px;
  --ic-radius-sm: 12px;
  --ic-shadow:    0 4px 6px -1px rgba(30,41,59,0.06), 0 2px 4px -2px rgba(30,41,59,0.04);
  --ic-shadow-lg: 0 20px 40px -12px rgba(30,41,59,0.12);
}

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

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

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

/* ---------- Buttons ---------- */
.btn-ic {
  background: var(--ic-accent);
  color: #fff;
  font-weight: 600;
  padding: 0.65rem 1.6rem;
  border-radius: var(--ic-radius-sm);
  border: none;
  transition: all .2s ease;
  letter-spacing: 0.2px;
}
.btn-ic:hover {
  background: #0f766e;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,148,136,0.28);
}
.btn-ic-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  font-weight: 600;
  padding: 0.65rem 1.6rem;
  border-radius: var(--ic-radius-sm);
  transition: all .2s ease;
}
.btn-ic-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.07);
  color: #fff;
}
.btn-ic-amber {
  background: var(--ic-warm);
  color: #fff;
  font-weight: 600;
  padding: 0.65rem 1.6rem;
  border-radius: var(--ic-radius-sm);
  border: none;
  transition: all .2s ease;
}
.btn-ic-amber:hover {
  background: #d97706;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,0.28);
}

/* ---------- Hero ---------- */
.hero-section {
  background: linear-gradient(145deg, var(--ic-primary) 0%, #334155 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(13,148,136,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-section h1 {
  font-size: 3.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}
.hero-section h1 .accent { color: var(--ic-accent); }
.hero-section h1 .warm { color: var(--ic-warm); }
.hero-section p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.65;
}
.hero-img-wrap {
  border-radius: var(--ic-radius);
  overflow: hidden;
  box-shadow: var(--ic-shadow-lg);
  position: relative;
  z-index: 1;
}
.hero-img-wrap img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--ic-surface);
  border-bottom: 1px solid var(--ic-border);
  padding: 2.5rem 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ic-accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--ic-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

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

/* ---------- About ---------- */
.about-card {
  background: var(--ic-surface);
  border-radius: var(--ic-radius);
  border: 1px solid var(--ic-border);
  padding: 3rem;
  box-shadow: var(--ic-shadow);
}
.about-img-wrap {
  border-radius: var(--ic-radius-sm);
  overflow: hidden;
  height: 300px;
  box-shadow: var(--ic-shadow);
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Features ---------- */
.feature-card {
  background: var(--ic-surface);
  border: 1px solid var(--ic-border);
  border-radius: var(--ic-radius-sm);
  padding: 2rem;
  transition: all .3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--ic-accent);
  opacity: 0;
  transition: opacity .3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ic-shadow-lg);
  border-color: #cbd5e1;
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(13,148,136,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon svg {
  width: 26px;
  height: 26px;
  color: var(--ic-accent);
}
.feature-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--ic-primary);
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--ic-muted);
  line-height: 1.65;
  margin: 0;
}

/* ---------- Courses ---------- */
.course-card {
  background: var(--ic-surface);
  border: 1px solid var(--ic-border);
  border-radius: var(--ic-radius-sm);
  padding: 1.75rem;
  transition: all .3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.course-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ic-accent), var(--ic-warm));
  opacity: 0;
  transition: opacity .3s;
}
.course-card:hover::after { opacity: 1; }
.course-card:hover {
  box-shadow: var(--ic-shadow-lg);
  transform: translateY(-4px);
}
.course-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ic-accent);
  background: rgba(13,148,136,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(--ic-primary);
}
.course-card p {
  font-size: 0.92rem;
  color: var(--ic-muted);
  line-height: 1.6;
  margin-bottom: 0rem;
}
.course-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ic-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap .2s;
}
.course-link:hover { gap: 0.7rem; color: #0f766e; }
.course-link svg { flex-shrink: 0; }

/* ---------- Testimonials ---------- */
.testi-card {
  background: var(--ic-surface);
  border: 1px solid var(--ic-border);
  border-radius: var(--ic-radius-sm);
  padding: 2.25rem;
  position: relative;
  transition: all .3s ease;
}
.testi-card:hover {
  box-shadow: var(--ic-shadow-lg);
  transform: translateY(-3px);
}
.testi-card::before {
  content: '"';
  position: absolute;
  top: 0.6rem;
  left: 1.25rem;
  font-size: 4rem;
  color: rgba(13,148,136,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(--ic-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(--ic-accent), var(--ic-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(--ic-primary); }
.testi-role { font-size: 0.85rem; color: var(--ic-muted); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--ic-primary) 0%, #0f766e 100%);
  border-radius: var(--ic-radius);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.cta-banner p {
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

/* ---------- Footer ---------- */
.footer-ic {
  background: var(--ic-primary);
  padding: 3rem 0 2.5rem;
}
.footer-ic .brand {
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.5rem;
  display: inline-block;
}
.footer-ic .brand span { color: var(--ic-accent); }
.footer-ic p {
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  margin: 0;
}
.footer-ic .footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  margin: 0 0.75rem;
  transition: color .2s;
}
.footer-ic .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.4rem; }
  .hero-section { padding: 4rem 0; }
  .hero-img-wrap img { height: 280px; }
  .about-img-wrap { height: 240px; margin-bottom: 1.5rem; }
}
@media (max-width: 767.98px) {
  .hero-section h1 { font-size: 1.9rem; }
  .section-title { font-size: 1.7rem; }
  .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-card { padding: 1.75rem; }
}