/* ===================================================
   ICA EDU SKILLS BANDRA — Main Stylesheet
   =================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary: #1a56db;
  --primary-dark: #1341b0;
  --primary-light: #e8f0ff;
  --accent: #f97316;
  --accent-light: #fff4ed;
  --text-dark: #0f172a;
  --text-mid: #475569;
  --text-light: #94a3b8;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --border: #e2e8f0;
  --success: #16a34a;
  --error: #dc2626;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.14);
  --transition: 0.3s ease;
  --font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font);
}
input,
select,
textarea {
  font-family: var(--font);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 90px 0;
}
.bg-light {
  background: var(--bg-light);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 86, 219, 0.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 86, 219, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgb(254 254 254);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.navbar.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-ica {
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: -0.02em;
}
.logo-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}
.logo-branch {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
}
.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 3px 10px rgba(26, 86, 219, 0.3);
}
.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- HERO SLIDER ---------- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
}

/* Track holds all slides side-by-side */
.hs-track {
  display: flex;
  width: 100%;
  height: 100%;
}

/* Individual slide */
.hs-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.9s ease;
  display: flex;
  align-items: center;
}
.hs-slide.active {
  opacity: 1;
  z-index: 1;
}
.hs-slide.prev {
  opacity: 0;
  z-index: 0;
}

/* Dark gradient overlay */
.hs-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5, 10, 30, 0.78) 0%,
    rgba(5, 10, 30, 0.5) 60%,
    rgba(5, 10, 30, 0.2) 100%
  );
  z-index: 0;
}

/* Slide text content */
.hs-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 60px;
  padding-top: 80px;
}

.hs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04em;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease 0.1s,
    transform 0.6s ease 0.1s;
}
.hs-slide.active .hs-badge {
  opacity: 1;
  transform: translateY(0);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}

.hs-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease 0.25s,
    transform 0.65s ease 0.25s;
}
.hs-slide.active .hs-title {
  opacity: 1;
  transform: translateY(0);
}
.hs-highlight {
  color: #fbbf24;
}

.hs-sub {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease 0.38s,
    transform 0.65s ease 0.38s;
}
.hs-sub strong {
  color: #fbbf24;
}
.hs-slide.active .hs-sub {
  opacity: 1;
  transform: translateY(0);
}

.hs-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s ease 0.5s,
    transform 0.65s ease 0.5s;
}
.hs-slide.active .hs-actions {
  opacity: 1;
  transform: translateY(0);
}

/* White-outline button for dark backgrounds */
.btn-white-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Prev / Next arrows */
.hs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
  cursor: pointer;
}
.hs-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}
.hs-prev {
  left: 24px;
}
.hs-next {
  right: 24px;
}

/* Dot navigation */
.hs-dots {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}
.hs-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hs-dot.active {
  background: #fbbf24;
  width: 28px;
  border-radius: 5px;
}

/* Progress bar inside active dot */
.hs-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--primary);
  z-index: 10;
  width: 0%;
  transition: width linear;
}

/* Bottom stats bar */
.hs-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 18px 24px;
  flex-wrap: wrap;
}

.hs-stats-bar .stat-item {
  text-align: center;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas:
    "number suffix"
    "label label";
  align-items: end;
  justify-content: center;
  column-gap: 2px;
}
.hs-stats-bar .stat-number {
  grid-area: number;
  font-size: 1.7rem;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1;
  display: inline;
}
.hs-stats-bar .stat-suffix {
  grid-area: suffix;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fbbf24;
  line-height: 1;
}
.hs-stats-bar .stat-label {
  grid-area: label;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  display: block;
  margin-top: 3px;
}
.hs-stats-bar .stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Image collage */
.about-img-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 12px;
}

.ac-main {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ac-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.ac-main:hover .ac-img,
.ac-small:hover .ac-img {
  transform: scale(1.05);
}

.ac-side {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ac-small {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.ac-small .ac-img {
  height: 100%;
}

/* Year badge overlaid on main image */
.ac-year-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(10, 20, 60, 0.8);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  line-height: 1.2;
}
.ac-year-badge span:last-child {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
  display: block;
  margin-top: 2px;
}
.big-year {
  font-size: 2.6rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.about-badge-card {
  position: absolute;
  bottom: -20px;
  right: -16px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  border: 1px solid var(--border);
  z-index: 2;
}
.badge-icon {
  font-size: 1.8rem;
}

.about-text {
  color: var(--text-mid);
  margin-bottom: 24px;
  line-height: 1.8;
}

.about-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-mid);
}
.check {
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- ABOUT HIGHLIGHTS ---------- */
.about-highlights {
  background: linear-gradient(135deg, #0f1f4b 0%, #1a56db 100%);
  position: relative;
  overflow: hidden;
}

.about-highlights .section-label {
  background: rgba(255, 255, 255, 0.14);
  color: #eaf1ff;
}

.about-highlights .section-title {
  color: #fff;
}

.about-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.about-highlight-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 12px 30px rgba(9, 20, 58, 0.25);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.about-highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(9, 20, 58, 0.32);
}

.about-highlight-icon {
  font-size: 1.2rem;
  line-height: 1;
  margin-top: 2px;
  flex-shrink: 0;
}

.about-highlight-card p {
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.55;
}

/* ---------- COURSES ---------- */
.course-filter {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--bg-white);
  color: var(--text-mid);
  border: 2px solid var(--border);
  transition: all var(--transition);
}
.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 3px 12px rgba(26, 86, 219, 0.3);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* Card shell */
.course-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.course-card.hidden {
  display: none;
}

.highlight-card {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(26, 86, 219, 0.12);
}

/* Top image thumbnail */
.course-thumb {
  position: relative;
  height: 170px;
  overflow: hidden;
  flex-shrink: 0;
}
.course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.course-card:hover .course-thumb img {
  transform: scale(1.07);
}

/* Level pill overlaid on image */
.course-icon-pill {
  position: absolute;
  bottom: 10px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-dark);
}

/* Card content below image */
.course-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.popular-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  z-index: 1;
}

.course-level {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.course-body h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.course-body p {
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.6;
  flex: 1;
}

.course-meta {
  display: flex;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 4px;
}

.course-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}
.course-link:hover {
  color: var(--primary-dark);
}

.course-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

.course-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.course-btn-call {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: #c7dbff;
}

.course-btn-call:hover {
  background: #dbe9ff;
  transform: translateY(-1px);
}

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

.course-btn-enquire:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ---------- FEATURES ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ---------- PROCESS ---------- */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 200px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.step:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.step-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.25;
  margin-bottom: 12px;
}
.step-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.step-content p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.step-arrow {
  font-size: 1.8rem;
  color: var(--text-light);
  padding-top: 36px;
  align-self: flex-start;
  flex-shrink: 0;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-track-wrapper {
  overflow: hidden;
  position: relative;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
  will-change: transform;
}

.testi-card {
  /* width is set by JS — do not use percentage min-width here */
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
  flex-shrink: 0;
  box-sizing: border-box;
}

.testi-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 16px;
}

.testi-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
  .course-points {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 2px 0 4px;
  }
  .course-points li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.84rem;
    color: var(--text-mid);
    line-height: 1.45;
  }
  .course-points .point-icon {
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
  }
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testi-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.testi-author span {
  font-size: 0.78rem;
  color: var(--text-light);
}

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.testi-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid var(--border);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  transition: all var(--transition);
}
.testi-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.testi-dots {
  display: flex;
  gap: 8px;
}
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition:
    background var(--transition),
    width var(--transition);
  cursor: pointer;
}
.testi-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* ---------- CONTACT ---------- */

/* Hero banner */
.ct-hero {
  position: relative;
  background: linear-gradient(135deg, #0b1a3d 0%, #1a3478 60%, #1a56db 100%);
  overflow: hidden;
}
.ct-hero-overlay {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=1400&q=60")
    center/cover no-repeat;
  opacity: 0.07;
}
.ct-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}
.ct-hero-text {
  color: #fff;
}

.section-label-light {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.ct-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #fff;
}
.ct-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 480px;
}

.btn-accent {
  background: #fbbf24;
  color: #0b1a3d;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.4);
}
.btn-accent:hover {
  background: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(251, 191, 36, 0.5);
}

.ct-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 360px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.ct-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 4 info cards */
.ct-cards-wrap {
  background: var(--bg-white);
  padding: 64px 0;
}
.ct-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ct-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.ct-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #6366f1);
  opacity: 0;
  transition: opacity var(--transition);
}
.ct-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.ct-card:hover::before {
  opacity: 1;
}

.ct-card-icon {
  font-size: 2rem;
  margin-bottom: 4px;
}
.ct-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}
.ct-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
  flex: 1;
}
.ct-card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 4px;
  display: inline-block;
}
.ct-card-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.ct-open-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 5px 12px;
  border-radius: 50px;
  margin-top: 4px;
}

/* Google Map */
.ct-map-wrap {
  width: 100%;
  height: 420px;
  overflow: hidden;
  position: relative;
}
.ct-map {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: grayscale(20%);
}

/* Responsive */
@media (max-width: 1024px) {
  .ct-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .ct-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ct-hero-img {
    height: 260px;
  }
}
@media (max-width: 768px) {
  .ct-cards {
    grid-template-columns: 1fr;
  }
  .ct-hero-inner {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .ct-map-wrap {
    height: 300px;
  }
}
@media (max-width: 480px) {
  .ct-cards {
    grid-template-columns: 1fr;
  }
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--text-dark);
  color: #94a3b8;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .nav-logo .logo-ica {
  background: rgba(255, 255, 255, 0.15);
}
.footer-brand .logo-text {
  color: #e2e8f0;
}
.footer-brand .logo-branch {
  color: #93c5fd;
}
.footer-brand p {
  margin-top: 14px;
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col li a,
.footer-col p,
.footer-col a {
  font-size: 0.85rem;
  color: #94a3b8;
  transition: color var(--transition);
}
.footer-col li a:hover,
.footer-col a:hover {
  color: #93c5fd;
}
.footer-col p {
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
}

/* ---------- SCROLL-TO-TOP ---------- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  pointer-events: none;
  z-index: 999;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.scroll-top:hover {
  background: var(--primary-dark);
}

/* ---------- FLOATING CALL ---------- */
.floating-call {
  position: fixed;
  right: 30px;
  bottom: 86px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.35);
  z-index: 998;
  transition:
    transform var(--transition),
    background var(--transition);
  animation: call-pulse 1.8s infinite;
}

.floating-call:hover {
  background: #15803d;
  transform: translateY(-2px);
}

@keyframes call-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(22, 163, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

/* ---------- ON-LOAD POPUP ---------- */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 15, 40, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 2000;
}

.popup-overlay.open {
  display: flex;
}

.popup-modal {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  position: relative;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-mid);
  font-weight: 700;
}

.popup-close:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.popup-modal h3 {
  font-size: 1.3rem;
  line-height: 1.2;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.popup-modal p {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 16px;
}

.popup-form .form-control {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 0.92rem;
}

.popup-form .form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.12);
}

.popup-form .btn-block {
  width: 100%;
}

body.popup-open {
  overflow: hidden;
}

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

/* Tablet */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-img-collage {
    max-width: 480px;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  /* testi-card width is JS-managed */
  .process-steps {
    gap: 8px;
  }
  .step-arrow {
    display: none;
  }

  /* Slider tablet */
  .hs-content {
    padding: 0 40px;
    padding-top: 80px;
  }
  .hs-stats-bar {
    gap: 28px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section-pad {
    padding: 60px 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    z-index: 999;
    gap: 4px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 16px;
    width: 100%;
  }
  .hamburger {
    display: flex;
  }

  /* Slider mobile */
  .hero-slider {
    height: 100svh;
    min-height: 580px;
  }
  .hs-content {
    padding: 0 20px;
    padding-top: 80px;
    text-align: center;
  }
  .hs-actions {
    justify-content: center;
  }
  .hs-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hs-overlay {
    background: rgba(5, 10, 30, 0.72);
  }
  .hs-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
  .hs-prev {
    left: 10px;
  }
  .hs-next {
    right: 10px;
  }
  .hs-stats-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    padding: 12px 10px;
    justify-items: center;
  }
  .hs-stats-bar .stat-item {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 2px;
    row-gap: 2px;
    width: 100%;
  }
  .hs-stats-bar .stat-number {
    font-size: 1.3rem;
  }
  .hs-stats-bar .stat-suffix {
    font-size: 0.95rem;
  }
  .hs-stats-bar .stat-label {
    flex-basis: 100%;
    margin-top: 0;
    font-size: 0.62rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }
  .hs-stats-bar .stat-divider {
    display: none;
  }
  .hs-dots {
    bottom: 90px;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-highlights-grid {
    grid-template-columns: 1fr;
  }

  /* testi-card width is JS-managed */
  .process-steps {
    flex-direction: column;
  }
  .step {
    min-width: 100%;
  }
  .about-img-collage {
    grid-template-rows: 160px 160px;
  }
  .big-year {
    font-size: 2rem;
  }

  .floating-call {
    right: 16px;
    bottom: 76px;
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hs-actions {
    flex-direction: column;
    align-items: center;
  }
  .hs-actions .btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }
  .hs-stats-bar {
    gap: 12px;
  }

  .popup-modal {
    padding: 20px 16px;
  }
}
