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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f7ff;
  color: #0b2447;
  line-height: 1.8;
}

/* Utility */
.container {
  width: min(1500px, 100% - 1rem);
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: 2.1rem;
  color: #0b2f6a;
}

.section-heading p {
  color: #5b6f92;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  font-size: 0.95rem;
}

.primary-btn {
  background: linear-gradient(135deg, #0b4db1, #2196f3);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(11, 77, 177, 0.3);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(11, 77, 177, 0.45);
}

.ghost-btn {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.ghost-btn:hover {
  background: #ffffff;
  color: #0b4db1;
}

/* Header / Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: linear-gradient(
    to right,
    rgba(4, 28, 72, 0.88),
    rgba(12, 75, 180, 0.88)
  );
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
}

.logo img {
  height: 55px;
  object-fit: contain;
  margin-top: 5%;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  position: relative;
  color: #e5edff;
  text-decoration: none;
  font-size: 0.99rem;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* Hero - Updated Layout */
.hero {
  min-height: 100vh;
  overflow: hidden;
  color: #ffffff;
  padding-top: 4.5rem;
  display: flex;
  flex-direction: row;
  align-items: center;
}

/* Hero Gradient Effects */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(0,112,255,0.45), rgba(0,0,0,0));
  top: -120px;
  left: -160px;
  filter: blur(90px);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255,255,255,0.15), rgba(0,0,0,0));
  bottom: -80px;
  right: -140px;
  filter: blur(100px);
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right center;
  background-attachment: scroll;
  z-index: 1;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(2, 16, 54, 0.92) 0%,
    rgba(2, 16, 54, 0.85) 20%,
    rgba(2, 16, 54, 0.3) 60%,
    transparent 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 3rem 0;
}

.hero-text {
  max-width: 620px;
  text-align: left;
  margin-left: 9.5rem;
}

/* Hero Text Animation */
.hero-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlide 1s ease-out forwards;
}

@keyframes fadeSlide {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: clamp(2.4rem, 3vw + 1.7rem, 3.4rem);
  margin-bottom: 1.4rem;
  line-height: 1.00;
  font-weight: 300;
  letter-spacing: -1px;
  text-shadow: 0 1px 2px rgba(0, 132, 255, 0.35);
}

.hero-subtitle {
  font-size: 1rem;
  opacity: 0.95;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Floating Icons */
.floating-icon {
  position: absolute;
  font-size: 4rem;
  opacity: 0.10;
  animation: float 4s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-18px); }
}

/* Mobile image */
.hero-mobile-image {
  display: none;
  position: relative;
  width: 100%;
  top: 20px;
}

.hero-mobile-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-mobile-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 190px;
  background: linear-gradient(
    to bottom,
    rgba(10, 20, 50, 0) 0%,
    rgba(10, 20, 50, 1) 100%
  );
}

/* About - Updated */
.about-section {
  background: #f9fbff;
}

.about-container {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  color: #0b2f6a;
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1rem;
  color: #4a607f;
}

.about-media {
  display: flex;
  justify-content: space-evenly;
  padding-left: 1rem;
}

.about-media img {
  width: 80%;
  border-radius: 24px;
  box-shadow: 
    0 20px 30px rgba(54, 107, 186, 0.3),
    0 0 0 1px rgba(11, 77, 177, 0.1);
}

/* Mission & Vision */
.mv-section {
  background: linear-gradient(135deg, #e5f1ff, #f7fbff);
}

.mv-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 1.5rem;
}

.mv-card {
  background: #ffffff;
  padding: 2rem 1.8rem;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(12, 75, 180, 0.12);
  text-align: center;
}

.mv-card h3 {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  color: #0b2f6a;
}

.mv-card p {
  color: #4a607f;
}

.mv-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #0b4db1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mv-icon::before {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b4db1, #42a5f5);
}

.mv-icon-mission::after {
  content: "🎯";
  position: absolute;
  font-size: 1.4rem;
}

.mv-icon-vision::after {
  content: "👁️";
  position: absolute;
  font-size: 1.4rem;
}

.mv-connector {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mv-connector img {
  width: 300px;
  opacity: 1.0;
  border-radius: 5.0%;
  transform: translateY(10px);
  animation: fadeInLine 0.9s ease-out forwards;
}

@keyframes fadeInLine {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mission & Vision Video */
.mv-video-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mv-video {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
  box-shadow: 0 20px 40px rgba(11, 77, 177, 0.35);
  background: #000;
}

/* Courses */
.courses-section {
  background: #ffffff;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.course-card {
  background: #f5f8ff;
  border-radius: 20px;
  padding: 1.8rem 1.5rem;
  border: 1px solid rgba(11, 77, 177, 0.1);
  box-shadow: 0 10px 24px rgba(15, 39, 88, 0.08);
}

.course-card.highlighted {
  background: linear-gradient(135deg, #0b4db1, #2196f3);
  color: #ffffff;
  transform: translateY(-4px);
}

.course-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.course-card h3 span {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.9;
}

.course-card ul {
  list-style: none;
}

.course-card ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.course-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #0b4db1;
}

.course-card.highlighted ul li::before {
  color: #ffffff;
}

/* Services - New Layout */
.services-section {
  background: radial-gradient(circle at top left, #e6f0ff, #f7fbff);
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Left Display Box */
.services-display {
  position: sticky;
  top: 100px;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(11, 77, 177, 0.25);
}

.services-display-image {
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #f0f4f8;
}

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

.services-display-content {
  padding: 2rem 1.8rem;
}

.services-display-content h3 {
  font-size: 1.5rem;
  color: #0b2f6a;
  margin-bottom: 1rem;
}

.services-display-content p {
  color: #4a607f;
  line-height: 1.7;
}

/* Right Service Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.service-card {
  background: #ffffff;
  border: 2px solid rgba(11, 77, 177, 0.15);
  border-radius: 18px;
  padding: 1.5rem 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  min-height: 140px;
}

.service-icon {
  font-size: 2.5rem;
  display: block;
}

.service-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #0b2f6a;
  line-height: 1.4;
}

.service-card:hover,
.service-card.active {
  background: linear-gradient(135deg, #0b4db1, #2196f3);
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(11, 77, 177, 0.4);
  transform: translateY(-4px);
}

.service-card:hover .service-name,
.service-card.active .service-name {
  color: #ffffff;
}

/* Service content animation */
.services-display-image img,
.services-display-content {
  animation: fadeSlideIn 0.6s ease;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gallery */
.gallery-section {
  background: #ffffff;
}

.gallery-tabs {
  display: inline-flex;
  margin-bottom: 1.4rem;
  border-radius: 999px;
  padding: 0.25rem;
  background: #e3edff;
}

.gallery-tab {
  border: none;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 0.9rem;
  color: #0b2f6a;
}

.gallery-tab.active {
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 39, 88, 0.12);
}

.gallery-content {
  margin-top: 0.5rem;
}

.gallery-grid {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.gallery-grid.active {
  display: grid;
}

.gallery-grid img,
.video-thumb img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 39, 88, 0.16);
}

.video-thumb img {
  height: 100%;
  object-fit: cover; /* clean crop */
  display: block;
}

.video-thumb {
  position: relative;
  cursor: pointer;
  width: 100%;
  aspect-ratio: 16 / 9; /* 🔥 important */
  overflow: hidden;
  border-radius: 18px;
}

.video-thumb span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
}

/* Testimonials */
.testimonials-section {
  background: linear-gradient(135deg, #f0f7ff, #ffffff);
}

.testimonials-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-slider {
  position: relative;
  padding: 0 3rem;
}

.testimonial-track {
  position: relative;
  min-height: 400px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border-radius: 28px;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 60px rgba(11, 77, 177, 0.15);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
  text-align: center;
}

.testimonial-card.active {
  opacity: 1;
  transform: scale(1);
  position: relative;
}

.testimonial-image {
  margin-bottom: 1.5rem;
}

.testimonial-image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #e3edff;
  box-shadow: 0 8px 24px rgba(11, 77, 177, 0.2);
}

.testimonial-content {
  position: relative;
  max-width: 650px;
}

.quote-icon {
  font-size: 4rem;
  color: #e3edff;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 1.05rem;
  color: #4a607f;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-name {
  font-size: 1.2rem;
  color: #0b2f6a;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.9rem;
  color: #7a8fa8;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(15, 39, 88, 0.25);
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b4db1;
  transition: all 0.3s ease;
  z-index: 10;
}

.testimonial-nav:hover {
  background: #0b4db1;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.testimonial-nav.prev { left: 0; }
.testimonial-nav.next { right: 0; }

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #0b4db1;
  cursor: pointer;
  background: transparent;
  transition: all 0.3s ease;
}

.dot:hover {
  background: rgba(11, 77, 177, 0.4);
}

.dot.active {
  background: #0b4db1;
  transform: scale(1.2);
}

/* Contact */
.contact-section {
  background: linear-gradient(135deg, #e7f1ff, #f8fbff);
}

.contact-container {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.6fr);
  gap: 2rem;
  align-items: stretch;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 20px;
  box-shadow: 0 16px 32px rgba(12, 75, 180, 0.25);
}

.contact-form-wrapper {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem 1.8rem;
  box-shadow: 0 16px 36px rgba(12, 75, 180, 0.2);
}

.contact-form-wrapper h2 {
  margin-bottom: 1rem;
  color: #0b2f6a;
}

.contact-form .form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  flex: 1;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1px solid #c4d4f7;
  font-family: inherit;
  font-size: 0.9rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .small-row {
  align-items: center;
}

.contact-form .small-row label {
  font-size: 0.85rem;
  color: #4a607f;
}

/* Footer */
.site-footer {
  background: #05122f;
  color: #c5d4ff;
  padding-top: 2.5rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 2.2fr 1.2fr 1.2fr;
  gap: 2rem;
  padding-bottom: 1.5rem;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 0.8rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.35rem;
}

.footer-col a {
  color: #c5d4ff;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid #27345c;
  padding: 0.75rem 0;
  text-align: center;
  font-size: 0.8rem;
}

/* Career */
.career-hero {
  padding-top: 8.5rem;
  background: linear-gradient(135deg, #0b2f6a, #2196f3);
  color: #ffffff;
  text-align: center;
}

.career-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
}

.career-hero p {
  max-width: 620px;
  margin: 0 auto;
}

.coming-soon-badge {
  margin-top: 2rem;
}

.coming-soon-badge span {
  display: inline-block;
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
  background: #ffeb3b;
  color: #0b2447;
  font-weight: 600;
  animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
  from {
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(255, 235, 59, 0.7);
  }
  to {
    transform: translateY(-3px);
    box-shadow: 0 0 18px rgba(255, 235, 59, 0.9);
  }
}

.career-form-section {
  background: #f9fbff;
}

.career-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.career-info h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: #0b2f6a;
}

.career-form-wrapper {
  background: #ffffff;
  padding: 1.8rem 1.6rem;
  border-radius: 20px;
  box-shadow: 0 14px 32px rgba(15, 39, 88, 0.2);
}

.career-form .form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.career-form input,
.career-form textarea {
  flex: 1;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1px solid #c4d4f7;
  font-family: inherit;
  font-size: 0.9rem;
}

/* ── Hamburger Button ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  z-index: 100;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Fix submit button position */
.career-form .btn {
  align-self: flex-end;   /* move right */
  margin-top: 10px;      /* move up */
}

.career-form {
  display: flex;
  flex-direction: column;
}

/* ══════════════════════════════════════════
   Responsive: Tablet (≤960px)
   - Hamburger menu replaces nav links
   - Hero: mobile image on top, text below
   ══════════════════════════════════════════ */
@media (max-width: 960px) {
  .container {
    width: min(1500px, 100% - 2rem);
  }

  /* ── Grid layouts stack to 1 column ── */
  .about-container,
  .mv-container,
  .courses-grid,
  .contact-container,
  .career-layout,
  .services-layout {
    grid-template-columns: 1fr;
  }

  .mv-connector {
    display: none;
  }

  .services-display {
    position: static;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  .testimonial-slider {
    padding: 0 2.5rem;
  }

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

  /* ── Hamburger: show on tablet ── */
  .site-header {
    background: rgba(4, 28, 72, 0.97);
  }

  .nav-container {
    flex-wrap: wrap;
    padding: 0.75rem 0;
    position: relative;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 0.5rem 0 1rem;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 0.65rem 0.25rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .main-nav a::after {
    display: none;
  }

  /* ── Hero: image on top, text below ── */
  .hero-bg {
    display: none;
  }

  .hero {
    padding-top: 4rem;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-mobile-image {
    display: block;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #021036, #0b2f6a);
    padding: 2rem 1.5rem 2.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .hero-text {
    margin-left: 0;
    max-width: 100%;
    padding: 0;
    opacity: 1;
    transform: none;
    animation: none;
  }

  .floating-icon {
    display: none;
  }
}

/* ══════════════════════════════════════════
   Responsive: Mobile (≤720px)
   - Styles specific to small screens only
   ══════════════════════════════════════════ */
@media (max-width: 720px) {
  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .hero-subtitle {
    font-size: 0.92rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-heading h2 {
    font-size: 1.6rem;
  }

  .about-media {
    padding-left: 0;
    justify-content: center;
  }

  .about-media img {
    width: 100%;
  }

  .mv-container {
    grid-template-columns: 1fr;
  }

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

  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
  }

  .service-card {
    min-height: 110px;
    padding: 1rem;
  }

  .service-icon {
    font-size: 2rem;
  }

  .service-name {
    font-size: 0.82rem;
  }

  .gallery-tabs {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 16px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .testimonial-slider {
    padding: 0 2.5rem;
  }

  .testimonial-nav {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .testimonial-card {
    padding: 2rem 1.2rem;
  }

  .testimonial-text {
    font-size: 0.92rem;
  }

  .contact-form .form-row {
    flex-direction: column;
  }

  .career-hero {
    padding-top: 5rem;
  }

  .career-hero h1 {
    font-size: 1.8rem;
  }

  .career-form .form-row {
    flex-direction: column;
  }

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

  .mv-video {
    max-width: 100%;
  }

  /* Fix service image for mobile */
.services-display-image {
  height: auto; /* remove fixed height */
}

.services-display-image img {
  height: auto;
  object-fit: contain; /* show full image */
}
}

/* ── Responsive: Small Mobile (≤420px) ── */
@media (max-width: 420px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .btn {
    font-size: 0.88rem;
    padding: 0.65rem 1.3rem;
  }

  .testimonial-slider {
    padding: 0 2rem;
  }
}

/* ══════════════════════════════════════════
   Career Page — Responsive Fixes
   ══════════════════════════════════════════ */
 
/* Tablet (≤960px) */
@media (max-width: 960px) {
  /* Hero padding accounts for fixed header */
  .career-hero {
    padding-top: 5.5rem;
    padding-bottom: 2.5rem;
  }
 
  .career-hero h1 {
    font-size: 2rem;
  }
 
  /* Info + form stack naturally via career-layout: 1fr already set */
  .career-info {
    text-align: center;
  }
 
  .career-info h2 {
    font-size: 1.5rem;
  }
 
  /* Make sure form inputs don't overflow */
  .career-form input,
  .career-form textarea {
    width: 100%;
    min-width: 0;
  }
 
  /* File input full width */
  .career-form .form-row input[type="file"] {
    width: 100%;
  }
 
  /* Submit button full width on tablet */
  .career-form .btn {
    width: 100%;
    justify-content: center;
  }
}
 
/* Mobile (≤720px) */
@media (max-width: 720px) {
  .career-hero {
    padding-top: 8rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
 
  .career-hero h1 {
    font-size: 1.7rem;
  }
 
  .career-hero p {
    font-size: 0.92rem;
  }
 
  .coming-soon-badge span {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
  }
 
  .career-info h2 {
    font-size: 1.35rem;
  }
 
  .career-info p {
    font-size: 0.92rem;
  }
 
  /* Each form-row becomes a single column */
  .career-form .form-row {
    flex-direction: column;
  }
 
  .career-form-wrapper {
    padding: 1.4rem 1rem;
  }
}
 
/* Small Mobile (≤420px) */
@media (max-width: 420px) {
  .career-hero h1 {
    font-size: 1.5rem;
  }
 
  .career-hero p {
    font-size: 0.88rem;
  }
}
