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

:root {
  --primary: #1a3a6e;
  --primary-dark: #0f2347;
  --accent: #f5a623;
  --accent-dark: #d4891a;
  --text: #22324d;
  --text-light: #5a6d8a;
  --bg-light: #edf3ff;
  --bg-white: #ffffff;
  --border: #c8d8ef;
  --success: #27ae60;
  --shadow: 0 6px 22px rgba(26, 58, 110, 0.12);
  --shadow-hover: 0 10px 30px rgba(26, 58, 110, 0.2);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== NAVBAR ===== */
.navbar {
  background: linear-gradient(
    90deg,
    rgba(15, 35, 71, 0.96) 0%,
    rgba(26, 58, 110, 0.95) 70%,
    rgba(245, 166, 35, 0.88) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 14px rgba(15, 35, 71, 0.22);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0;
  height: 70px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 46px;
  height: 46px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--primary-dark);
  letter-spacing: 1px;
  flex-shrink: 0;
}

.nav-title {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.nav-title span {
  color: #ffe4a5;
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.nav-menu a.active {
  color: #ffd27c;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 800px;
  background: var(--primary-dark);
}

/* SLIDES */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  transform: scale(1.04);
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.slide.exit {
  opacity: 0;
  transform: scale(0.97);
  z-index: 1;
}

/* SLIDE BACKGROUNDS — image set inline; fallback colours below */
.slide {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.slide-1 {
  background-color: #1a3a6e;
}
.slide-2 {
  background-color: #1f4b82;
}
.slide-3 {
  background-color: #664a12;
}
.slide-4 {
  background-color: #2d3f73;
}

/* OVERLAY — darkens photo so text is always readable */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 24, 52, 0.86) 0%,
    rgba(19, 44, 86, 0.72) 55%,
    rgba(245, 166, 35, 0.32) 100%
  );
  z-index: 0;
}

/* shapes removed — background image is the visual */

/* SLIDE INNER — centred single column */
.slide-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

/* SLIDE CONTENT */
.slide-content {
  color: #fff;
  max-width: 760px;
}

.slide-badge {
  display: inline-block;
  background: rgba(245, 166, 35, 0.2);
  border: 1px solid rgba(245, 166, 35, 0.45);
  color: var(--accent);
  padding: 5px 18px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease 0.15s,
    transform 0.5s ease 0.15s;
}

.slide.active .slide-badge {
  opacity: 1;
  transform: translateY(0);
}

.slide-content h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.55s ease 0.3s,
    transform 0.55s ease 0.3s;
}

.slide.active .slide-content h1 {
  opacity: 1;
  transform: translateY(0);
}

.slide-content h1 span {
  color: var(--accent);
}

.slide-content p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  margin: 0 auto 36px;
  max-width: 620px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease 0.45s,
    transform 0.55s ease 0.45s;
}

.slide.active .slide-content p {
  opacity: 1;
  transform: translateY(0);
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.slide .hero-btns {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease 0.58s,
    transform 0.5s ease 0.58s;
}

.slide.active .hero-btns {
  opacity: 1;
  transform: translateY(0);
}

/* SLIDER CONTROLS */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  padding: 0;
}

.slider-btn:hover {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 24px;
}
.slider-next {
  right: 24px;
}

/* DOTS */
.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 5px;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* PROGRESS BAR */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 10;
}

.slider-progress-bar {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width linear;
}

/* ===== HERO (legacy kept for page-hero usage) ===== */
.hero-badge {
  display: inline-block;
  background: rgba(245, 166, 35, 0.2);
  border: 1px solid rgba(245, 166, 35, 0.4);
  color: var(--accent);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}

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

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ===== STATS STRIP ===== */
.stats-strip {
  background: var(--accent);
  padding: 28px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 0;
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--primary-dark);
  font-weight: 600;
  opacity: 0.85;
  margin-top: 4px;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-light);
}

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

.section-tag {
  display: inline-block;
  background: rgba(26, 58, 110, 0.08);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

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

.divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ===== PROGRAMME IMAGE CARDS ===== */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.prog-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.prog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.prog-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.prog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.prog-card:hover .prog-img img {
  transform: scale(1.06);
}

.prog-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prog-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prog-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.prog-body .course-list {
  margin-bottom: 0;
  gap: 7px;
}

.call-now-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  padding: 10px 22px;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  align-self: flex-start;
  transition:
    background 0.2s,
    transform 0.2s;
}
.call-now-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.prog-body .course-list li {
  font-size: 0.88rem;
  color: var(--text-light);
}

.prog-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}

.prog-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
  align-self: flex-start;
}

.prog-link:hover {
  color: var(--accent-dark);
  gap: 6px;
}

@media (max-width: 1100px) {
  .prog-grid[style*="repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 992px) {
  .prog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .prog-grid {
    grid-template-columns: 1fr;
  }
  .prog-img {
    height: 180px;
  }
}

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, #4c7abb 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: #fff;
}

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

.card p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ===== COURSE CARDS ===== */
.course-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.course-card-header {
  padding: 24px 26px 16px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: #fff;
}

.course-card-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.course-badge {
  display: inline-block;
  background: rgba(245, 166, 35, 0.25);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.course-card-body {
  padding: 20px 26px 26px;
}

.course-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.course-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}

.course-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.coming-soon {
  background: rgba(245, 166, 35, 0.12);
  color: var(--accent-dark);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-left: auto;
}

/* ===== LAB CARDS ===== */
.lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.lab-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: default;
}

.lab-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.lab-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
  color: var(--primary);
}

.lab-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
}

/* ===== SKILLS LIST ===== */
.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.skill-tag {
  background: var(--primary);
  color: #fff;
  padding: 9px 20px;
  border-radius: 24px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}

.skill-tag:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===== IT COURSE TABLE ===== */
.it-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.it-item {
  background: var(--bg-white);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary-dark);
  transition: var(--transition);
}

.it-item:hover {
  border-left-color: var(--accent);
  transform: translateX(4px);
}

.it-item-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  min-width: 28px;
}

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding-bottom: 28px;
}

/* ===== ABOUT IMAGE ===== */
.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
  box-shadow: var(--shadow-hover);
  align-self: start;
}

.about-photo {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 35, 71, 0.1) 0%,
    rgba(15, 35, 71, 0.45) 100%
  );
  border-radius: var(--radius);
  pointer-events: none;
}

/* floating stat badges */
.about-badge {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  min-width: 110px;
}

.ab-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.ab-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 2px;
}

.ab-top {
  top: -18px;
  right: 24px;
  background: var(--accent);
}

.ab-top .ab-num {
  color: var(--primary-dark);
}
.ab-top .ab-label {
  color: var(--primary-dark);
  opacity: 0.75;
}

.ab-bottom-left {
  bottom: -18px;
  left: 20px;
  background: var(--primary-dark);
}

.ab-bottom-left .ab-num {
  color: var(--accent);
}
.ab-bottom-left .ab-label {
  color: rgba(255, 255, 255, 0.7);
}

.ab-bottom-right {
  bottom: -18px;
  right: 20px;
  background: #fff;
}

.ab-bottom-right .ab-num {
  color: var(--primary-dark);
}
.ab-bottom-right .ab-label {
  color: var(--text-light);
}

.about-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 18px;
  line-height: 1.3;
}

.about-content p {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 0.97rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
}

.highlight-icon {
  width: 32px;
  height: 32px;
  background: rgba(26, 58, 110, 0.1);
  border-radius: 8px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ===== TEAM / VALUES ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.value-card .v-icon {
  font-size: 1.9rem;
  margin-bottom: 14px;
  color: var(--primary);
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: #fff;
}

.contact-item-text h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact-item-text p,
.contact-item-text a {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.5;
}

.contact-item-text a:hover {
  color: var(--accent-dark);
}

/* ===== CONTACT FORM ===== */
.contact-form-box {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-form-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--bg-light);
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26, 58, 110, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
}

/* ===== MAP BOX ===== */
.map-box {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  height: 280px;
  background: linear-gradient(135deg, #eef4ff, #fef3de);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 32px;
}

.map-box .map-icon {
  font-size: 2.5rem;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  position: relative;
  padding: 80px 0 65px;
  color: #fff;
  text-align: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--primary-dark);
  overflow: hidden;
}

/* dark overlay so text stays readable */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(9, 23, 48, 0.78) 0%,
    rgba(15, 35, 71, 0.68) 65%,
    rgba(245, 166, 35, 0.26) 100%
  );
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.page-hero p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 540px;
  margin: 0 auto;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.22);
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: #ffd27c;
}
.breadcrumb span {
  color: rgba(255, 255, 255, 0.48);
}

/* ===== EPIC LAB PAGE ===== */
.epic-hero {
  background-color: #12315d;
}

.epic-tagline {
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text);
}

.epic-tagline .tag-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.epic-tagline p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}

.target-box {
  background:
    linear-gradient(rgba(230, 160, 20, 0.82), rgba(200, 130, 10, 0.85)),
    url("https://images.unsplash.com/photo-1588072432836-e10032774350?w=1200&q=80")
      center/cover no-repeat;
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin-top: 40px;
}

.target-box h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.target-grades {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.grade-pill {
  background: var(--primary-dark);
  color: #fff;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 700;
}

/* ===== STEK PAGE ===== */
.stek-hero {
  background-color: #12315d;
}

/* ===== CTA BANNER WITH IMAGE ===== */
.cta-banner {
  position: relative;
  padding: 90px 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.cta-banner-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 6s ease;
}

.cta-banner:hover .cta-banner-img {
  transform: scale(1);
}

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(9, 23, 48, 0.84) 0%,
    rgba(15, 35, 71, 0.68) 60%,
    rgba(245, 166, 35, 0.32) 100%
  );
  z-index: 1;
}

.cta-banner-inner {
  position: relative;
  z-index: 2;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(180deg, #112a52 0%, #1a3a6e 68%, #2a4f8a 100%);
  color: rgba(255, 255, 255, 0.74);
  padding: 56px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .nav-logo {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-brand .est {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul:not(.footer-contact-list) li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul:not(.footer-contact-list) li a:hover {
  color: var(--accent);
}

.footer-col ul:not(.footer-contact-list) li a::before {
  content: "›";
  color: var(--accent);
  font-size: 1rem;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
}

.footer-col .footer-contact-list li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col .footer-contact-list li a:hover {
  color: var(--accent);
}

.footer-contact-list .fc-icon {
  font-size: 0.9rem;
  margin-top: 3px;
  flex-shrink: 0;
  color: var(--accent);
  width: 16px;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.52);
}

.footer-bottom span {
  color: var(--accent);
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--success);
  color: #fff;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 9999;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  color: var(--primary-dark);
}

/* ===== FLOATING CALL BUTTON ===== */
.float-call {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition:
    background 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
  animation: float-pulse 2.5s infinite;
}

.float-call:hover {
  background: #1ebe5d;
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.6);
}

@keyframes float-pulse {
  0%,
  100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow: 0 6px 36px rgba(37, 211, 102, 0.75);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-slider {
    height: auto;
    min-height: 520px;
  }
  .slide-inner {
    padding: 60px 0 80px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 2px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }

  .nav-menu.open {
    display: flex;
  }
  .nav-menu a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }
  .nav-toggle {
    display: flex;
  }
  .navbar .container {
    position: relative;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .stat-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: 56px 0;
  }

  .hero-slider {
    min-height: 480px;
  }
  .slide-inner {
    padding: 80px 0 120px;
    align-items: flex-start;
  }
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
  .slider-prev {
    left: 12px;
  }
  .slider-next {
    right: 12px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-btns {
    flex-direction: column;
  }
  .btn {
    justify-content: center;
  }
  .contact-form-box {
    padding: 24px 20px;
  }
  .hero-slider {
    min-height: 540px;
  }
  .slide-inner {
    padding: 29px 0 130px;
    align-items: flex-start;
  }
  .slider-dots {
    bottom: 18px;
  }
  .slide-content h1 {
    font-size: 1.7rem;
  }
}
