/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #770737;
  --primary-dark: #4a0422;
  --primary-light: #c45a7c;
  --primary-glow: rgba(119, 7, 55, 0.25);
  
  --charcoal: #1a1a1a;
  --grey-dark: #4a4a4a;
  --grey: #9ca3af;
  --grey-light: #e4e1e5;
  --bg-soft: #f7f5f8;
  --bg-light: #faf9fa;
  --bg-hover: #fcfafd;
  --white: #ffffff;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 40px -12px rgba(0, 0, 0, 0.15);
  --shadow-hover: 0 20px 50px -12px rgba(0, 0, 0, 0.20);
  --radius: 24px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg-light);
  color: var(--charcoal);
  line-height: 1.6;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  opacity: 0;
  animation: fadeInBody 0.8s ease 0.2s forwards;
}
@keyframes fadeInBody {
  to {
    opacity: 1;
  }
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}
#preloader.hide {
  opacity: 0;
  pointer-events: none;
}
.loader-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary-light);
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.loader-text {
  margin-top: 1.2rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 4px;
}
.preloader-logo {
  height: 70px;
  width: auto;
  margin-bottom: 1.2rem;
}

/* ===== SCROLL PROGRESS BAR ===== */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  z-index: 9998;
  width: 0%;
  transition: width 0.1s linear;
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
  color: #fff;
}

/* ===== BACK TO TOP ===== */
#backToTop {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 998;
  background: var(--primary);
  color: #fff;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--shadow-md);
}
#backToTop.show {
  opacity: 1;
  visibility: visible;
}
#backToTop:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ===== UTILITY ===== */
.text-center {
  text-align: center;
}
.section-pad {
  padding: 90px 0;
}
.section-pad-sm {
  padding: 50px 0;
}
.bg-white {
  background: var(--bg-soft);
}
.bg-light {
  background: var(--bg-light);
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: #f4e6ed;
  padding: 0.3rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(119, 7, 55, 0.15);
}
.section-label i {
  margin-right: 6px;
}
.section-title {
  position: relative;
  display: inline-block;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.03em;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 4px;
}
.section-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--grey-dark);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.accent-text {
  color: var(--primary);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 60px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(119, 7, 55, 0.30);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(119, 7, 55, 0.45);
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  color: var(--charcoal);
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 60px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0,0,0,0.04);
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  color: var(--primary);
}
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 60px;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: #fff;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.6rem 0;
  transition: var(--transition);
  background: rgba(15, 15, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(119, 7, 55, 0.25);
}
.navbar.scrolled {
  background: rgba(15, 15, 20, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom-color: rgba(119, 7, 55, 0.4);
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}
@media (min-width: 769px) {
  .navbar .container {
    max-width: 80%;
    margin: 0 auto;
    padding-right: 110px;
  }
}
@media (max-width: 768px) {
  .navbar .container {
    max-width: 100%;
    padding-right: 70px;
  }
}
@media (max-width: 480px) {
  .navbar .container {
    padding-right: 60px;
  }
}

.brand-box {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo {
  height: 60px;
  width: auto;
  margin-right: 14px;
  border-radius: 6px;
}
.brand-text {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #fff 30%, var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-tagline {
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255, 255, 240, 0.6);
  letter-spacing: 0.4px;
  margin-left: 74px;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  transition: var(--transition);
}
.nav-links a:hover {
  color: #fff;
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links a.contact-nav {
  background: var(--primary);
  color: #fff;
  padding: 8px 22px;
  border-radius: 60px;
  font-weight: 600;
}
.nav-links a.contact-nav:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(119, 7, 55, 0.35);
  color: #fff;
}
.nav-links a.contact-nav::after {
  display: none;
}
.mobile-toggle {
  display: none;
  font-size: 1.6rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 8px;
}
@media (max-width: 820px) {
  .mobile-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    background: rgba(15, 15, 20, 0.98);
    backdrop-filter: blur(16px);
    padding: 1.6rem 1.2rem;
    margin-top: 0.8rem;
    border-radius: var(--radius);
    gap: 1rem;
    border: 1px solid rgba(119, 7, 55, 0.2);
  }
  .nav-links.show {
    display: flex;
  }
  .nav-links a.contact-nav {
    align-self: center;
    width: 100%;
    text-align: center;
  }
  .brand-text {
    font-size: 1.2rem;
  }
  .brand-tagline {
    font-size: 0.55rem;
    margin-left: 64px;
  }
  .nav-logo {
    height: 48px;
  }
}

/* ===== WHATSAPP TOP ===== */
.whatsapp-top {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 9999;
  background: #25D366;
  color: #fff !important;
  padding: 0.55rem 1.2rem 0.55rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.whatsapp-top:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
  color: #fff !important;
}
.whatsapp-top i {
  font-size: 1.3rem;
}
@media (max-width: 768px) {
  .whatsapp-top {
    top: 12px;
    right: 12px;
    padding: 0.4rem 0.9rem 0.4rem 0.8rem;
    font-size: 0.78rem;
  }
  .whatsapp-top i {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .whatsapp-top {
    top: 10px;
    right: 10px;
    padding: 0.3rem 0.7rem 0.3rem 0.6rem;
    font-size: 0.7rem;
  }
  .whatsapp-top i {
    font-size: 0.85rem;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?w=1600&q=80') center/cover no-repeat;
  filter: brightness(0.45);
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 18, 0.88), rgba(74, 4, 34, 0.7));
  z-index: -1;
}
#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 90, 124, 0.15) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  z-index: 0;
  animation: heroGlow 12s ease-in-out infinite alternate;
}
.hero-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(119, 7, 55, 0.12) 0%, transparent 70%);
  bottom: -200px;
  left: -100px;
  z-index: 0;
  animation: heroGlow2 15s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-60px, 40px) scale(1.2);
  }
}
@keyframes heroGlow2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(60px, -40px) scale(1.3);
  }
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 8rem 1rem 4rem;
}
.hero-main-logo {
  max-height: 200px;
  width: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 0.75rem;
}
.hero-title .accent-text {
  background: linear-gradient(135deg, #e8c4d4, var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255, 255, 240, 0.8);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  min-height: 3.4rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-stat {
  text-align: center;
}
.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1.2;
}
.hero-stat-number .accent-text {
  color: var(--primary-light);
}
.hero-stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 240, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero-stat-label i {
  margin-right: 4px;
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-sub {
    font-size: 1.05rem;
    min-height: 2.8rem;
  }
  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .hero-stat-number {
    font-size: 1.6rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .section-pad {
    padding: 60px 0;
  }
  .hero-main-logo {
    max-height: 120px;
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-white,
  .hero-actions .btn-outline-light {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   TILT CARDS (glow effect)
   ============================================================ */
.overview-card,
.cert-row,
.contact-card,
.testimonial-card,
.why-card {
  position: relative;
  transition: transform 0.15s ease-out,
              box-shadow 0.3s ease,
              background 0.3s ease,
              border-color 0.3s ease;
  will-change: transform;
}

.overview-card::after,
.cert-row::after,
.contact-card::after,
.testimonial-card::after,
.why-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(11, 26, 51, 0.12), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.overview-card.glow-active::after,
.cert-row.glow-active::after,
.contact-card.glow-active::after,
.testimonial-card.glow-active::after,
.why-card.glow-active::after {
  opacity: 1;
}

.overview-card:hover,
.cert-row:hover,
.contact-card:hover,
.testimonial-card:hover,
.why-card:hover {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
  background: var(--bg-hover);
}

/* ===== OVERVIEW ===== */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
  margin-top: 2.5rem;
}
.overview-card {
  background: var(--bg-soft);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-light);
  text-align: center;
  overflow: hidden;
  cursor: default;
}
.overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: var(--transition);
  border-radius: 0 0 4px 4px;
}
.overview-card:hover::before {
  width: 100%;
}
.overview-card .overview-icon {
  font-size: 4rem;
  color: var(--primary);
  display: block;
  margin-bottom: 0.75rem;
  transition: transform 0.4s ease;
}
.overview-card:hover .overview-icon {
  transform: scale(1.15) rotate(3deg);
}
.overview-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--charcoal);
}
.overview-card p {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--grey-dark);
  line-height: 1.6;
}

/* ===== WHY US ===== */
.why-card {
  text-align: center;
  padding: 1.8rem 1rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-light);
}
.why-card i {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
  display: block;
  transition: transform 0.4s ease;
}
.why-card:hover i {
  transform: scale(1.1);
}
.why-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
}
.why-card p {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey-dark);
}

/* ===== CERTIFICATION ROWS ===== */
.cert-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 2rem;
  margin-bottom: 2.5rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-light);
}
.cert-row:last-child {
  margin-bottom: 0;
}
.cert-col {
  flex: 1;
  min-width: 240px;
}
.cert-col:last-child {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-badge {
  background: var(--white);
  border-radius: 60px;
  padding: 0.8rem 1.6rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-dark);
  border: 1px solid rgba(119, 7, 55, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.cert-badge.floating {
  animation: floatBadge 3s ease-in-out infinite;
}
@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
.cert-badge i {
  font-size: 2rem;
  color: var(--primary);
}
.cert-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cert-title .accent-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}
.cert-desc {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--grey-dark);
  margin-bottom: 0.75rem;
}
.cert-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 0.8rem;
}
.cert-list li {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.2rem 0 0.2rem 1.6rem;
  position: relative;
  color: var(--charcoal);
}
.cert-list li::before {
  content: "✦";
  color: var(--primary);
  font-weight: 700;
  position: absolute;
  left: 0;
  font-size: 0.7rem;
  top: 0.35rem;
}
.cert-list.single-col {
  grid-template-columns: 1fr;
}
.cert-list.three-col {
  grid-template-columns: 1fr 1fr 1fr;
}
.cert-list .course-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.75rem 0.45rem 0.5rem;
  margin-bottom: 0.4rem;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.6);
  transition: transform 0.2s, box-shadow 0.3s, background 0.2s;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.4;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
  cursor: default;
}
.cert-list .course-item:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 14px 4px rgba(0, 180, 255, 0.25), 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 180, 255, 0.2);
}
.course-badge {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s;
}
.course-item:hover .course-badge {
  box-shadow: 0 0 12px 3px rgba(0, 180, 255, 0.35);
}
.course-badge i {
  font-size: 0.6rem;
}
.badge-slate { background: #475569; }
.badge-navy { background: #1e293b; }
.badge-teal { background: #0f766e; }
.badge-olive { background: #6b7280; }
.badge-charcoal { background: #334155; }
.badge-stone { background: #78716c; }
.badge-zinc { background: #52525b; }
.badge-neutral { background: #737373; }

@media (max-width: 768px) {
  .cert-row {
    padding: 1.5rem;
    flex-direction: column;
  }
  .cert-col:last-child {
    flex: 1;
    justify-content: flex-start;
  }
  .cert-list {
    grid-template-columns: 1fr 1fr;
  }
  .cert-list.three-col {
    grid-template-columns: 1fr 1fr;
  }
  .cert-badge {
    white-space: normal;
  }
}
@media (max-width: 480px) {
  .cert-list {
    grid-template-columns: 1fr;
  }
  .cert-list.three-col {
    grid-template-columns: 1fr;
  }
  .cert-title {
    font-size: 1.1rem;
  }
  .cert-list .course-item {
    font-size: 0.85rem;
    padding: 0.35rem 0.6rem 0.35rem 0.4rem;
    flex-wrap: wrap;
  }
  .course-badge {
    width: 20px;
    height: 20px;
    font-size: 0.5rem;
  }
  .course-badge i {
    font-size: 0.5rem;
  }
}

/* ===== TESTIMONIALS — AUTO-SCROLL CAROUSEL ===== */
.testimonial-carousel-wrapper {
  position: relative;
  margin-top: 2.5rem;
  overflow: hidden;
  padding: 0.5rem 0;
}
.testimonial-track {
  display: flex;
  gap: 1.8rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1.2rem;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  cursor: grab;
  transition: scroll-behavior 0.3s ease;
}
.testimonial-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}
.testimonial-track::-webkit-scrollbar {
  height: 6px;
}
.testimonial-track::-webkit-scrollbar-track {
  background: transparent;
}
.testimonial-track::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 12px;
}
.testimonial-card {
  flex: 0 0 320px;
  max-width: 340px;
  background: #fff;
  border-radius: 24px;
  padding: 1.8rem 1.5rem 1.5rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: transform 0.3s, box-shadow 0.3s;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.07);
}
.testimonial-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0b1a33;
  margin: 0 0 0.15rem 0;
  padding: 0.3rem 0.8rem 0.3rem 0;
  display: inline-block;
  border-bottom: 3px solid #0b1a33;
  letter-spacing: -0.01em;
  align-self: flex-start;
}
.testimonial-company {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 600;
  margin: 0.2rem 0 0.8rem 0;
  padding: 0.15rem 0.6rem 0.15rem 0;
  border-left: 4px solid #25D366;
  padding-left: 0.6rem;
}
.testimonial-flag {
  font-size: 0.7rem;
  color: #94a3b8;
  margin-left: 0.3rem;
}
.testimonial-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1e293b;
  margin: 0.5rem 0 0 0;
  font-style: italic;
  flex: 1;
  padding-top: 0.3rem;
  border-top: 1px solid #f1f5f9;
}

.carousel-progress {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  padding-bottom: 0.2rem;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  flex-shrink: 0;
}
.carousel-dot.active {
  background: #0b1a33;
  transform: scale(1.25);
}
.carousel-dot:hover {
  background: #6b7280;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #1e293b;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.carousel-arrow:hover {
  background: #f8fafc;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-50%) scale(1.05);
}
.carousel-arrow.left {
  left: -12px;
}
.carousel-arrow.right {
  right: -12px;
}
@media (max-width: 768px) {
  .carousel-arrow {
    display: none;
  }
  .testimonial-card {
    flex: 0 0 280px;
    max-width: 300px;
  }
}
@media (max-width: 480px) {
  .testimonial-card {
    flex: 0 0 92%;
    max-width: 92%;
  }
}

/* ===== PARTNERS / CLIENTS ===== */
.partners-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.6rem 2.6rem;
  margin-top: 2rem;
  padding: 1.2rem 0.5rem;
}
.partner-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.02em;
  opacity: 0.55;
  transition: opacity 0.25s, transform 0.2s;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}
.partner-logo:hover {
  opacity: 1;
  transform: scale(1.03);
}
@media (max-width: 480px) {
  .partner-logo {
    font-size: 0.95rem;
    gap: 1rem 1.8rem;
  }
}

/* ============================================================
   CONTACT SECTION — TWO-COLUMN LAYOUT
   ============================================================ */
.contact-section {
  background: linear-gradient(145deg, #f6f9fe, #eef2f8);
  position: relative;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0b1a33, #4a6a8a, #0b1a33);
  opacity: 0.2;
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
  align-items: start;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 820px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.contact-form-col {
  background: #fff;
  border-radius: 24px;
  padding: 2.2rem 2.2rem 2.5rem;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
}
.contact-form-col .form-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0b1a33;
  margin-bottom: 0.3rem;
}
.contact-form-col .form-desc {
  font-size: 0.92rem;
  color: #64748b;
  margin-bottom: 1.6rem;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 1.2rem;
  position: relative;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}
.form-group label .required {
  color: #ef4444;
  margin-left: 2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.25s, box-shadow 0.25s;
  background: #fafbfc;
  color: #0b1a33;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0b1a33;
  box-shadow: 0 0 0 4px rgba(11, 26, 51, 0.08);
  background: #fff;
}
.form-group input.error,
.form-group textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-group .error-msg {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.25rem;
  display: none;
}
.form-group .error-msg.show {
  display: block;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #0b1a33;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2.4rem;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 16px rgba(11, 26, 51, 0.25);
}
.btn-submit:hover {
  background: #1a2d4a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(11, 26, 51, 0.35);
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.btn-submit .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn-submit.loading .spinner {
  display: inline-block;
}
.btn-submit.loading .btn-text {
  display: none;
}
.btn-submit.loading .btn-text-loading {
  display: inline;
}
.btn-text-loading {
  display: none;
}

.form-success {
  display: none;
  padding: 1rem 1.2rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 12px;
  color: #065f46;
  font-weight: 500;
  margin-top: 1rem;
  align-items: center;
  gap: 0.6rem;
}
.form-success.show {
  display: flex;
}
.form-success i {
  font-size: 1.2rem;
  color: #059669;
}
.form-error {
  display: none;
  padding: 0.8rem 1rem;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 12px;
  color: #991b1b;
  font-weight: 500;
  margin-top: 1rem;
  align-items: center;
  gap: 0.6rem;
}
.form-error.show {
  display: flex;
}

.contact-info-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
@media (max-width: 480px) {
  .contact-info-col {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.6rem 1.2rem 1.4rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.07);
}
.contact-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #f1f5f9;
  font-size: 1.4rem;
  color: #000 !important;
  margin-bottom: 0.6rem;
  transition: background 0.3s, transform 0.3s;
}
.contact-card:hover .icon {
  background: #e2e8f0;
  transform: scale(1.05);
}
.contact-card a {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: #0b1a33;
  text-decoration: none;
  margin: 0.15rem 0 0.2rem;
  word-break: break-word;
}
.contact-card a:hover {
  color: #2563eb;
}
.contact-card .label {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
  line-height: 1.4;
}
.contact-card .strong-text {
  font-weight: 700;
  color: #0b1a33;
  font-size: 1rem;
}
.contact-card.linkedin .icon {
  background: #f1f5f9;
  color: #000 !important;
}
.contact-card.linkedin a {
  color: #0b1a33;
}
.contact-card.linkedin a:hover {
  color: #2563eb;
}

/* ===== FOOTER ===== */
footer {
  background: var(--charcoal);
  color: rgba(255, 255, 240, 0.5);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(119, 7, 55, 0.2);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.footer-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-logo {
  height: 120px;
  width: auto;
  border-radius: 50%;
  margin-right: 14px;
}
.footer-brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}
.footer-brand .accent-text {
  color: var(--primary-light);
}
.footer-tagline {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 240, 0.35);
  margin-top: 0.2rem;
}
.footer-copy {
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  color: rgba(255,255,255,0.4);
}
@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-brand-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .footer-logo {
    height: 90px;
    margin-right: 0;
    margin-bottom: 10px;
  }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}