@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --primary: #1C3664;
  --primary-mid: #254a8a;
  --primary-light: #e8eef7;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --text-dark: #0f172a;
  --text-mid: #334155;
  --text-soft: #64748b;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-muted: #f1f5f9;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --font: 'Plus Jakarta Sans', sans-serif;
  --tr: 0.25s ease;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding-left: 0px !important;
}

button {
  cursor: pointer;
  font-family: var(--font);
}

/* ---------- Utility ---------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .8px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 10px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-soft);
  max-width: 580px;
  line-height: 1.75;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head .section-sub {
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  transition: all var(--tr);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(28, 54, 100, .35);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, .35);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
}

.btn-white:hover {
  background: #f0f4ff;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .65);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, .12);
}

/* =============================================
   HEADER
   ============================================= */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--tr);
}

#header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 46px;
  width: auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
}

.header-phone svg {
  color: var(--primary);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* =============================================
   HERO
   ============================================= */
#hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=1600&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(10, 22, 50, .93) 0%,
      rgba(18, 38, 88, .84) 45%,
      rgba(28, 54, 100, .52) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 90px 0;
  width: 100%;
}

.hero-text {
  animation: fadeInLeft .8s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #93c5fd;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 30px;
  margin-bottom: 22px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
}

.hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 20px;
}

.hero-text h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .76);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 10px;
}

.hstat {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, .15);
  flex: 1;
}

.hstat:first-child {
  padding-left: 0;
}

.hstat:last-child {
  border-right: none;
}

.hstat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  white-space: nowrap;
}

.hstat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, .5);
  margin-top: 5px;
  white-space: nowrap;
}

/* Hero Search Section & Unified Form Styles */
.hero-form-card {
  position: relative;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  animation: fadeInRight .9s ease both;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.hero-form-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 25px;
}

.hero-form-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  /* Yellow-accent from project */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-form-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.hero-form-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.hero-form-card .form-group {
  margin-bottom: 18px;
}

.hero-form-card .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #fbbf24;
}

.hero-form-card .form-group input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 13px 18px;
  font-size: 15px;
  color: #ffffff;
  transition: all var(--tr);
}

.hero-form-card .form-group input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.hero-form-card .form-group input:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
  outline: none;
}

.hero-form-btn {
  width: 100%;
  background: var(--accent);
  /* Yellow accent color from project */
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 15px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--tr);
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-form-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.hero-form-card .form-msg {
  color: #fff;
  font-size: 14px;
  margin-top: 12px;
  text-align: center;
}

.hero-form-card .form-success {
  display: none;
  text-align: center;
  padding: 40px 0;
}

.hero-form-card .form-success .success-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.hero-form-card .form-success h3 {
  color: #4ade80;
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.hero-form-card .form-success p {
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
}

/* =============================================
   COURSES
   ============================================= */
#courses {
  padding: 90px 0;
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 72px;
}

.about-text h2 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.25;
}

.about-text p {
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 15px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border: 1px solid var(--border);
  transition: border-color var(--tr), box-shadow var(--tr);
}

.why-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.why-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-icon-wrap svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.why-item strong {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 14px;
  display: block;
  margin-bottom: 2px;
}

.why-item span {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.module-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px 24px;
  text-align: center;
  transition: all var(--tr);
}

.module-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.module-card:hover .module-icon-wrap {
  background: var(--primary);
}

.module-card:hover .module-icon-wrap svg {
  color: #fff;
}

.module-icon-wrap {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: background var(--tr);
}

.module-icon-wrap svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
  transition: color var(--tr);
}

.module-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 7px;
  line-height: 1.3;
}

.module-card p {
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.55;
}

/* =============================================
   PLACEMENTS
   ============================================= */
#placements {
  padding: 90px 0;
  background: var(--bg-light);
}

.placement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.placement-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px 22px;
  transition: all var(--tr);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.placement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #4f7ec9);
}

.placement-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* Circular student photo */
.student-photo {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid var(--primary-light);
  box-shadow: 0 4px 14px rgba(28, 54, 100, .15);
  background: var(--bg-muted);
}

.student-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.placement-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}

.placement-card .role {
  font-size: 12.5px;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.placement-meta {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.company-badge {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 20px;
}

.package-badge {
  background: #ecfdf5;
  color: #059669;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 20px;
}

/* =============================================
   REVIEWS SLIDER — 3 cards per slide
   ============================================= */
#reviews {
  padding: 90px 0;
  background: var(--bg-white);
}

.slider-outer {
  position: relative;
  overflow: hidden;
}

.slider-outer::before,
.slider-outer::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  z-index: 2;
  pointer-events: none;
}

.slider-outer::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-white), transparent);
}

.slider-outer::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-white), transparent);
}

.reviews-track {
  display: flex;
  gap: 22px;
  transition: transform .55s cubic-bezier(.25, .46, .45, .94);
  will-change: transform;
}

/* Each review card: exactly 1/3 of container minus gaps */
.review-card {
  flex: 0 0 calc((100% - 44px) / 3);
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: border-color var(--tr), box-shadow var(--tr);
}

.review-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

/* Student photo circle in review */
.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.review-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid var(--primary-light);
  flex-shrink: 0;
  background: var(--bg-muted);
}

.review-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-author-name {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
}

.review-author-role {
  font-size: 12px;
  color: var(--text-soft);
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.review-stars svg {
  width: 15px;
  height: 15px;
}

.star-filled {
  color: var(--accent);
}

.star-empty {
  color: #d1d5db;
}

.review-text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  font-style: italic;
  margin-top: 18px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
}

.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--tr);
  color: var(--text-mid);
}

.slider-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.slider-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.slider-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all var(--tr);
  cursor: pointer;
  border: none;
}

.dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* =============================================
   COMPANIES
   ============================================= */
#companies {
  padding: 64px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.companies-track-wrapper {
  overflow: hidden;
  position: relative;
}

.companies-track-wrapper::before,
.companies-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.companies-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-light), transparent);
}

.companies-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-light), transparent);
}

.companies-track {
  display: flex;
  gap: 0;
  animation: scrollLeft 28s linear infinite;
  width: max-content;
}

.companies-track:hover {
  animation-play-state: paused;
}

.company-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px;
  margin: 0 12px;
  width: 140px;
  height: 80px;
  transition: all var(--tr);
}

.company-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity var(--tr);
}

.company-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.company-item:hover img {
  opacity: 1;
}

/* =============================================
   FOOTER
   ============================================= */
#footer {
  background: #0b1628;
  color: rgba(255, 255, 255, .72);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-logo {
  margin-bottom: 14px;
}

.footer-logo img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .88;
}

.footer-brand p {
  text-align: justify !important;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .46);
  margin-top: 10px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, .47);
  transition: color var(--tr);
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 12px;
  line-height: 1.55;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #4f7ec9;
  width: 15px;
  height: 15px;
}

.footer-contact-item a {
  color: inherit;
}

.footer-contact-item a:hover {
  color: #fff;
}

.social-row {
  display: flex;
  gap: 9px;
  margin-top: 6px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .55);
  transition: all var(--tr);
}

.social-btn svg {
  width: 15px;
  height: 15px;
}

.social-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, .3);
}

.footer-bottom a {
  color: rgba(255, 255, 255, .3);
  margin-left: 16px;
  font-size: 12px;
  transition: color var(--tr);
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, .7);
}

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(11, 22, 40, .72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  width: 100%;
  max-width: 460px;
  transform: translateY(22px) scale(.96);
  transition: transform .3s ease;
  position: relative;
  display: block;
  /* Ensure visibility over Bootstrap's .modal display:none if accidentally applied */
}

.modal-overlay.active .modal-content-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-muted);
  border: none;
  color: var(--text-soft);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--tr);
  cursor: pointer;
}

.modal-close:hover {
  background: #fee2e2;
  color: #dc2626;
}

.modal-header-flex {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 25px;
}

.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0px;
}

.modal-icon svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.modal-content-box h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0px;
}

.modal-content-box>p {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 26px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-mid);
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: border-color var(--tr), box-shadow var(--tr);
  outline: none;
}

.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(28, 54, 100, .1);
}

.form-group input.error {
  border-color: #ef4444;
}

.form-error {
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  display: none;
}

.form-error.show {
  display: block;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: all var(--tr);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit:hover {
  background: var(--primary-mid);
  box-shadow: 0 6px 20px rgba(28, 54, 100, .3);
}

.btn-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
}

.form-msg {
  font-size: 13px;
  text-align: center;
  margin-top: 10px;
  min-height: 20px;
}

.form-msg.error {
  color: #ef4444;
}

.form-msg.success {
  color: #059669;
}

.form-success {
  display: none;
  text-align: center;
  padding: 16px 0;
}

.form-success .success-icon {
  font-size: 52px;
  margin-bottom: 14px;
  line-height: 1;
}

.form-success h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #059669;
}

.form-success p {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scrollLeft {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* ≤ 1024px */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hero-content {
    gap: 40px;
  }

  .about-grid {
    gap: 36px;
  }
}

/* ≤ 900px — 2 review cards visible */
@media (max-width: 900px) {
  .review-card {
    flex: 0 0 calc((100% - 22px) / 2);
  }
}

/* ≤ 768px */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 0 50px;
  }

  .hero-visual {
    display: none;
  }

  .hero-text h1 {
    font-size: 2.1rem;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .hstat {
    padding: 0 18px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* 1 review card on small tablet */
  .review-card {
    flex: 0 0 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ≤ 576px — phones */
@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }

  /* Header — no toggle, just logo + phone icon + button */
  .header-inner {
    padding: 10px 0;
  }

  .logo img {
    height: 34px;
  }

  .header-right {
    gap: 10px;
  }

  .header-phone .phone-label {
    display: none;
  }

  /* hide number text, keep icon */
  .btn {
    padding: 10px 18px;
    font-size: 13px;
  }

  /* Hero */
  .hero-text {
    text-align: center;
  }

  .hero-text h1 {
    font-size: 1.75rem;
    margin-bottom: 12px;
  }

  .hero-text p {
    font-size: .95rem;
    margin: 0 auto 24px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-ctas .btn {
    justify-content: center;
    width: 100%;
    max-width: 320px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 6px 12px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 20px;
    /* Space before form */
  }

  .hero-form-card {
    margin-top: 10px;
    padding: 24px 20px;
    max-width: 100%;
  }

  .hero-form-title {
    font-size: 1.25rem;
  }

  .hstat {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hstat:first-child {
    padding-left: 15px;
  }

  .hstat-num {
    font-size: 1.5rem;
  }

  .hstat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
  }

  /* Sections */
  #courses,
  #placements,
  #reviews,
  #companies {
    padding: 60px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .modules-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .module-card {
    padding: 18px 14px 16px;
  }

  .module-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .module-icon-wrap svg {
    width: 22px;
    height: 22px;
  }

  .placement-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  /* Reviews */
  .review-card {
    flex: 0 0 100%;
    padding: 20px 16px;
  }

  .slider-outer::before,
  .slider-outer::after {
    width: 20px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .modal-content-box {
    padding: 28px 18px;
  }
}

/* ≤ 400px */
@media (max-width: 400px) {
  .placement-grid {
    grid-template-columns: 1fr;
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }

  .hstat-num {
    font-size: 1.15rem;
  }
}