:root{
  --ingridd-blue: #009FE3;
  --ingridd-gold: #C1A76A;
  --ingridd-dark: #0e1a24;
  --ingridd-slate: #1f2937;
  --ingridd-light: #f6f7fb;
  --ingridd-white: #ffffff;
  --ingridd-gray: #718096;
}

html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: #2d3748; background-color: var(--ingridd-white); line-height: 1.6; }

/* Custom Buttons */
.btn-gold{
  background: var(--ingridd-gold); color: #000; border: none; font-weight: 600;
  transition: all 0.3s ease;
}
.btn-gold:hover{ background: #b09659; color: #000; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(193, 167, 106, 0.35); }

.btn-outline-gold {
  border: 2px solid var(--ingridd-gold); color: var(--ingridd-gold); font-weight: 600; background: transparent;
  transition: all 0.3s ease;
}
.btn-outline-gold:hover { background: var(--ingridd-gold); color: #000; transform: translateY(-2px); }

.btn-whatsapp {
  border: 2px solid #25D366; color: #128C7E; font-weight: 600; background: transparent;
  transition: all 0.3s ease;
}
.btn-whatsapp:hover {
  background: #25D366; color: #fff; transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

/* Navbar */
.navbar{
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.navbar .nav-link{ font-weight: 600; color: var(--ingridd-slate); transition: color 0.2s ease; }
.navbar .nav-link:hover{ color: var(--ingridd-blue); }
.navbar-brand span { color: var(--ingridd-dark); }
.brand-logo{
  height: 48px; width: auto; object-fit: contain;
}

/* Hero Pages & General Layout */
#accueil {
  position: relative;
  min-height: 55vh;
  display: flex; align-items: center;
  background: 
    linear-gradient(135deg, rgba(14, 26, 36, 0.96) 50%, rgba(0, 159, 227, 0.15) 100%),
    #0e1a24;
  color: #fff;
  overflow: hidden;
  padding: 120px 0 60px 0;
}
#accueil.hero-home {
  min-height: 90vh;
  padding: 140px 0 80px 0;
}
.hero-badge{
  display: inline-flex; align-items: center; font-weight: 700; font-size: 0.85rem;
  letter-spacing: .05em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255,255,255,.15);
  padding: .5rem 1rem; border-radius: 100px; backdrop-filter: blur(8px);
  color: var(--ingridd-gold);
}
.hero-title{ font-size: clamp(32px, 4.5vw, 56px); font-weight: 800; line-height: 1.15; color: #ffffff; }
.hero-sub{ font-size: clamp(16px, 1.8vw, 22px); opacity: .9; font-weight: 400; line-height: 1.6; }

.hero-poster-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 4px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}
.hero-poster-container:hover {
  transform: translateY(-5px) scale(1.01);
}

.floating-shape{
  position: absolute; inset: auto -10% -20% auto; width: 60vmax; height: 60vmax;
  background: radial-gradient(circle at 30% 30%, rgba(193,167,106,.2), transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(0,159,227,.15), transparent 55%);
  filter: blur(35px); opacity: .6; z-index: 1;
  transform: rotate(18deg);
}

/* Sections styling */
section{ padding: 90px 0; }
.section-title{ font-weight: 800; font-size: clamp(28px, 3.2vw, 42px); color: var(--ingridd-dark); }
.accent{ color: var(--ingridd-blue); }
.bg-soft{ background: var(--ingridd-light); }

.card-elev{
  border: none; border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
  background: var(--ingridd-white);
  transition: all 0.3s ease;
}
.card-elev:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,.08);
}

.icon-pill{
  width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(0, 159, 227, 0.08); color: var(--ingridd-blue);
  margin-right: .75rem; font-size: 24px; transition: all 0.3s ease;
}
.card-elev:hover .icon-pill {
  background: var(--ingridd-blue); color: #fff;
}

/* Diplômes & Badges */
.badge-year{
  background: var(--ingridd-blue); color: #fff; border-radius: 100px; padding: .4rem 1rem; font-weight: 700; font-size: 0.9rem;
}

/* Hub Téléchargements */
.download-card {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 24px;
  background: var(--ingridd-white);
  transition: all 0.3s ease;
}
.download-card:hover {
  border-color: var(--ingridd-blue);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,159,227,0.06);
}
.download-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0, 159, 227, 0.08); color: var(--ingridd-blue);
  border: none; border-radius: 10px; font-weight: 600; padding: 10px 16px;
  transition: all 0.2s ease; width: 100%; text-decoration: none;
}
.download-btn:hover {
  background: var(--ingridd-blue); color: #fff;
}

/* Calculette interactive */
.calc-tabs {
  display: flex; gap: 12px; justify-content: center; margin-bottom: 30px;
}
.calc-tab-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #4a5568;
  border-radius: 100px;
  padding: 10px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.calc-tab-btn:hover {
  border-color: var(--ingridd-blue);
  color: var(--ingridd-blue);
}
.calc-tab-btn.active {
  background: var(--ingridd-blue);
  border-color: var(--ingridd-blue);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 159, 227, 0.35);
}

.calc-box-main {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.06);
}

.scolarite-total-val {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--ingridd-blue);
}

.schedule-row {
  background: #f8fafc;
  border-radius: 10px;
  padding: 14px 20px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 4px solid var(--ingridd-blue);
}
.schedule-row-gold {
  border-left-color: var(--ingridd-gold);
  background: #fffdf8;
}

.ussd-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.92rem;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}
.ussd-badge:hover {
  transform: translateY(-2px);
  color: #ffffff;
}
.ussd-om { background: #ff6600; }
.ussd-moov { background: #0055a5; }
.ussd-telecel { background: #7b1fa2; }

.download-card-custom {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}
.download-card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.07);
  border-color: var(--ingridd-blue);
}

.btn-download-pdf {
  background: #e0f2fe;
  color: #0284c7;
  font-weight: 700;
  border-radius: 10px;
  padding: 12px 20px;
  border: none;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-download-pdf:hover {
  background: var(--ingridd-blue);
  color: #ffffff;
}

.btn-notice-outline {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.btn-notice-outline:hover {
  border-color: var(--ingridd-blue);
  color: var(--ingridd-blue);
  background: #f8fafc;
}

/* Promotional Marketing Section & Feature Cards */
.promo-section {
  background: linear-gradient(180deg, #0e1a24 0%, #152635 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.promo-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 159, 227, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.promo-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(193, 167, 106, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.promo-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.promo-card:hover {
  transform: translateY(-8px);
  border-color: var(--ingridd-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(193, 167, 106, 0.2);
}

.promo-card-img-wrapper {
  position: relative;
  overflow: hidden;
  background: #0b131b;
  cursor: pointer;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.promo-card-img-wrapper:hover .promo-card-img {
  transform: scale(1.06);
}

.promo-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.promo-tag-rentree {
  background: #e53e3e;
  color: #ffffff;
}
.promo-tag-remise {
  background: var(--ingridd-gold);
  color: #0e1a24;
}
.promo-tag-soir {
  background: var(--ingridd-blue);
  color: #ffffff;
}

.promo-zoom-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 2;
  background: rgba(0,0,0,0.65);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.78rem;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}
.promo-zoom-btn:hover {
  background: var(--ingridd-gold);
  color: #000;
  border-color: var(--ingridd-gold);
}

.promo-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.promo-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 12px;
}
.promo-text {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
  margin-bottom: 18px;
}
.promo-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
}
.promo-highlights li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
}
.promo-highlights li i {
  color: var(--ingridd-gold);
  margin-right: 10px;
  margin-top: 3px;
}

.btn-promo-cta {
  background: linear-gradient(135deg, var(--ingridd-gold) 0%, #d4b97a 100%);
  color: #0e1a24;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(193, 167, 106, 0.3);
}
.btn-promo-cta:hover {
  background: linear-gradient(135deg, #d4b97a 0%, var(--ingridd-gold) 100%);
  color: #0e1a24;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(193, 167, 106, 0.5);
}

.promo-urgent-bar {
  background: rgba(193, 167, 106, 0.12);
  border: 1px dashed var(--ingridd-gold);
  border-radius: 16px;
  padding: 16px 24px;
  margin-bottom: 45px;
}
.calc-tab-btn {
  background: transparent; border: 2px solid rgba(0, 159, 227, 0.2);
  color: var(--ingridd-slate); border-radius: 100px; padding: 10px 24px;
  font-weight: 700; transition: all 0.3s ease;
}
.calc-tab-btn:hover {
  border-color: var(--ingridd-blue); color: var(--ingridd-blue);
}
.calc-tab-btn.active {
  background: var(--ingridd-blue); border-color: var(--ingridd-blue); color: #fff;
  box-shadow: 0 6px 15px rgba(0, 159, 227, 0.3);
}
.fee-badge {
  font-size: 1.8rem; font-weight: 800; color: var(--ingridd-blue);
}
.tranche-card {
  border-left: 4px solid var(--ingridd-gold);
  background: var(--ingridd-light);
  padding: 16px; border-radius: 0 12px 12px 0;
  margin-bottom: 12px;
}
.tranche-title {
  font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; color: var(--ingridd-slate);
}
.tranche-val {
  font-weight: 800; color: var(--ingridd-dark); font-size: 1.1rem;
}
.payment-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 10px; color: #fff; font-weight: 700; font-size: 0.9rem;
  text-decoration: none; margin-right: 10px; margin-bottom: 10px;
}
.payment-orange { background-color: #FF6600; }
.payment-moov { background-color: #005691; }
.payment-telecel { background-color: #7A1D7B; }

/* Testimonials */
.testimonial{
  background: #fff; border-radius: 20px; padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,0.02);
}
.avatar{
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

/* Partners */
.partner {
  max-height: 60px;
  max-width: 170px;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
  transition: all .3s ease;
}
.partner:hover {
  transform: scale(1.08);
}
.partner-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  transition: all 0.3s ease;
}
.partner-box:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-color: var(--ingridd-blue);
  transform: translateY(-3px);
}

/* Footer */
footer{ background: var(--ingridd-dark); color: #a0aec0; }
.footer h5, .footer h6 { color: #fff; }
.footer a{ color: #cbd5e0; text-decoration: none; transition: color 0.2s ease; }
.footer a:hover{ color: var(--ingridd-gold); }

/* Fix Footer Google Maps Button Hover Visibility */
.footer a.btn-outline-gold,
.footer .btn-outline-gold {
  color: var(--ingridd-gold) !important;
  border-color: var(--ingridd-gold) !important;
  background: transparent;
  transition: all 0.3s ease;
}
.footer a.btn-outline-gold:hover,
.footer .btn-outline-gold:hover {
  background: var(--ingridd-gold) !important;
  color: #0e1a24 !important;
  border-color: var(--ingridd-gold) !important;
  box-shadow: 0 4px 15px rgba(193, 167, 106, 0.4);
}
.footer a.btn-outline-gold:hover i,
.footer .btn-outline-gold:hover i {
  color: #dc3545 !important;
}

/* CTA Floating */
.cta-floating{
  position: fixed; right: 24px; bottom: 24px; z-index: 99;
  box-shadow: 0 8px 24px rgba(193, 167, 106, 0.4);
  padding: 12px 24px; font-weight: 700; transition: all 0.3s ease;
}

/* Sub-page Specific Layout styles */
.breadcrumbs {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.breadcrumbs a {
  color: var(--ingridd-gold);
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Program Specific Detail Card styling */
.prog-info-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ingridd-light); border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px; padding: 12px 18px; margin-right: 15px; margin-bottom: 15px;
}
.prog-info-badge i {
  color: var(--ingridd-blue); font-size: 1.3rem;
}

.curriculum-list {
  list-style: none; padding-left: 0;
}
.curriculum-list li {
  position: relative; padding-left: 30px; margin-bottom: 12px;
}
.curriculum-list li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 2px; color: #28a745;
}
