/* =========================
   RESET & GLOBAL
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
}
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.main-content {
  flex: 1;
}

/* Ruang untuk konten utama (header fixed) */
body {
  padding-top: 60px;
}

/* Default fonts/colors used across file */
:root {
  --primary: #002060;
  --accent: #0073e6;
  --muted: #a0a0a0;
  --white: #fff;
  --black: #000;
}

/* =========================
   HEADER
   ========================= */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #333;
  color: #fff;
  padding: 10px 40px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1200;
}

.header-container .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-container .logo img {
  width: 45px;
  height: 45px;
}

.header-container .logo h1 {
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand .header-img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.brand .header-title {
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
}

/* =========================
   NAVIGATION (Desktop)
   ========================= */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  align-items: left;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  color: #fff;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  padding: 10px 14px;
  border-radius: 6px;
  position: relative;
  transition: color 0.3s ease, font-weight 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: #00bfff;
  font-weight: 600;
}

.nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #00bfff;
  transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
  width: 100%;
}

/* =========================
   DROPDOWN MENU
   ========================= */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 110%;
  left: 0;
  background: rgba(30, 30, 30, 0.95);
  border-radius: 10px;
  padding: 10px 0;
  list-style: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  min-width: 200px;
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  color: #fff;
  padding: 10px 18px;
  display: block;
  font-weight: 500;
  transition: background 0.25s ease;
}

.dropdown-menu li a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #00bfff;
}

/* =========================
   MOBILE VIEW (≤768px)
   ========================= */
@media (max-width: 768px) {
  .burger-menu {
    display: block;
    font-size: 24px;
    background: none;
    border: none;
    color: #fff;
    z-index: 1101;
  }

  .brand .header-title {
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    font-size: 0.7rem;
    color: #fff;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background: rgba(25, 25, 25, 0.96);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: transform 0.35s ease-in-out, opacity 0.25s ease;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px 24px;
    gap: 24px;
    opacity: 0;
    z-index: 1100;
  }

  .nav-menu.active {
    transform: translateX(0);
    opacity: 1;
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nav-menu li a {
    font-size: 1.05rem;
    color: #fff;
    text-align: center;
    padding: 10px 0;
  }

  /* Dropdown Mobile */
  .nav-menu .dropdown-menu {
    position: static;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-top: 6px;
    padding: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-menu .dropdown.open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 300px;
    padding: 10px 0;
  }

  .nav-menu .dropdown-menu li a {
    color: #fff;
    font-size: 0.95rem;
    padding: 8px 0;
  }

  .nav-menu .dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #00bfff;
  }

  /* Overlay */
  .overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .overlay.active {
    display: block;
    opacity: 1;
  }

  /* Disable scroll when nav active */
  body.menu-open {
    overflow: hidden;
  }
}

/* =========================
   FOOTER
   ========================= */
.footer {
  background: var(--primary);
  color: var(--white);
  font-family: "Poppins", sans-serif;
  margin-top: auto;
  width: 100%;
  overflow-x: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.footer.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 24px;
  flex-wrap: wrap;
  gap: 20px;
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1 1 280px;
  min-width: 240px;
  padding: 10px 0;
}

.footer-left,
.footer-left * {
  color: var(--white) !important;
  fill: var(--white) !important;
  text-decoration: none;
}

.brand-text h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
}

.brand-text .subtitle {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 400;
}

.divider {
  width: 2px;
  height: 5rem;
  background: var(--white);
  opacity: 0.6;
}

.tagline {
  font-family: "Dancing Script", cursive;
  font-size: 28px;
  color: var(--white);
  display: inline-block;
  position: relative;
  padding-bottom: 6px;
  white-space: nowrap;
}

.tagline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0.3) 80%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border-radius: 0 0 12px 12px;
  clip-path: ellipse(100% 60% at 50% 100%);
  transform: rotate(-2deg);
}

.footer-right {
  flex: 1 1 300px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: left;
  box-sizing: border-box;
}

.footer-right .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease;
  word-break: break-word;
}

.footer-right .contact-item i {
  font-size: 1.2rem;
  min-width: 20px;
  color: var(--white);
}

.footer-right .contact-item:hover i {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px;
  font-size: 0.85rem;
  color: #e5e5e5;
  box-sizing: border-box;
  width: 100%;
}

/* =========================
   FOOTER (Mobile)
   ========================= */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 8px;
    gap: 8px;
    background-color: #0c2d6a;
  }

  .footer-left {
    text-align: center;
    margin-bottom: 2px;
  }

  .footer-left h2,
  .footer-left h3 {
    margin: 0;
    line-height: 1.2;
  }

  .tagline {
    font-size: 18px;
    margin-top: 2px;
  }

  .footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .footer-right .contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    line-height: 1.3;
  }

  .footer-right .contact-item i,
  .footer-right .contact-item svg {
    font-size: 16px;
  }

  .footer-right a,
  .footer-right p {
    margin: 0;
  }

  .copyright {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 6px;
  }
}

/* =========================
   SEARCH BAR NAVIGATION
   ========================= */
.nav-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1.5px solid #ccc;
  border-radius: 40px;
  transition: all 0.3s ease;
  width: 240px;
  height: 40px;
  padding: 0 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nav-search:focus-within {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.nav-search input {
  flex: 1;
  border: none;
  border-radius: 40px;
  outline: none;
  font-size: 14px;
  padding: 6px 8px;
  background: transparent;
  min-width: 0;
}

.nav-search input::placeholder {
  color: #ffffff;
}

.nav-search button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #007bff;
  color: white;
  font-size: 18px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.nav-search button:hover {
  background: #0056b3;
  transform: scale(1.05);
}

/* =========================
   RESPONSIVE (HP)
   ========================= */
@media (max-width: 768px) {
  .nav-search {
    width: 100%;
    max-width: 320px;
    height: 44px;
    margin: 10px auto;
  }

  .nav-search input {
    font-size: 15px;
    padding: 10px 14px;
  }

  .nav-search button {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
}

/* =========================
   SEARCH RESULT SECTION
   ========================= */
.search-result-section {
  padding: 20px 15px;
}

.search-item h3 a {
  font-size: 1rem;
  color: #007bff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.search-item h3 a:hover {
  color: #0056b3;
}

.search-item p {
  font-size: 0.85rem;
  color: #555;
}

/* =========================
   HOME
   ========================= */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 40px 60px;
  min-height: 85vh;
  gap: 40px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent; /* sebelumnya rgba(255,255,255,0.45) */
  z-index: 0; /* taruh di bawah konten dan gambar */
}
.hero-content {
  flex: 1;
  position: relative;
  z-index: 3; /* pastikan teks tetap di atas */
  background: transparent;
  border-radius: 16px;
}
.hero-content h1 {
  font-size: 2.2rem;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  color: var(--primary);
  line-height: 1.3;
}
.hero-content p {
  margin-top: 20px;
  margin-right: 45px;
  text-align: justify;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #444;
  line-height: 1.5;
}

/* Slider container */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.slides {
  position: relative;
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #a8a8a8;
}

/* Arrow buttons positioned inside .slides to always be vertically centered */
.slides .slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  color: #000;
  border: none;
  font-size: 1.25rem;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 40;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
}
.slides .slider-arrow.left {
  left: 12px;
}
.slides .slider-arrow.right {
  right: 12px;
}

/* Images */
.slides img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  transition: opacity 0.8s ease;
  position: relative;
  z-index: 2;
}
.slides img.active {
  display: block;
  opacity: 1;
}
.slides img.fade-out {
  opacity: 0;
  z-index: 1;
}

/* Dots */
.slider-dots {
  text-align: center;
  padding: 10px 0;
  background: transparent;
  bottom: 15px;
  left: 0;
  width: 100%;
  z-index: 5;
}
.slider-dots .dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  display: inline-block;
  border-radius: 50%;
  background: var(--muted);
  cursor: pointer;
  transition: background 0.3s;
}
.slider-dots .dot.active {
  background: #333;
  transform: scale(1.4);
}

/* Fallback / legacy arrow class (kept minimal) */
.slider-arrow {
  position: absolute;
  top: 47%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  color: #000;
  border: none;
  font-size: 0.8rem;
  padding: 6px 8px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: background 0.3s, color 0.3s;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}
.slider-arrow.left {
  left: 10px;
}
.slider-arrow.right {
  right: 10px;
}

/* =========================
   WELCOME
   ========================= */
.welcome-section {
  background: linear-gradient(120deg, #0084ffa8, #3fa9f5, #0084ffa8);
  background-size: 200% 200%;
  animation: gradientMove 12s ease infinite;
  padding: 60px;
}
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.welcome-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}
.welcome-text {
  flex: 1;
  text-align: justify;
  color: var(--primary);
}

.welcome-text h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  margin-bottom: 10px;
  padding-left: 30px;
  text-align: left;
}
.welcome-text p {
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  color: #fff;
  padding-right: 30px;
  margin-bottom: 20px;
  text-align: justify;
  line-height: 2.4;
  border-left: 4px solid var(--primary);
  padding-left: 20px;
}
.welcome-cards {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-content: center;
  text-align: center;
}
.welcome-cards .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(40px);
}
.welcome-cards .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.welcome-cards img {
  width: 60px;
  height: 60px;
  background: #003d82;
  padding: 4px;
  border-radius: 8px;
  object-fit: contain;
}
.welcome-cards h3 {
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #000;
}

/* =========================
   WHY / FEATURES
   ========================= */
.why-section {
  padding: 80px 60px;
  background: #eee;
  text-align: center;
}
.why-section h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  text-shadow: 0 4px 16px rgba(0, 32, 96, 0.15);
}
.why-section p {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  margin-bottom: 50px;
}
.why-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.why-cards .card {
  background: #fff;
  color: #333;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
}
.why-cards .card:hover {
  transform: translateY(-6px);
}
.why-cards img {
  width: 120px;
  margin-bottom: 10px;
}

/* =========================
   ABOUT
   ========================= */
.about-section {
  padding: 40px 40px;
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
}
.about-section h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  margin-bottom: 10px;
  text-align: left;
  color: var(--primary);
}
.about-content {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  flex-direction: row-reverse;
}
.about-image {
  flex: 1;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.about-image.show {
  opacity: 1;
  transform: translateY(0);
}
.about-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.about-text {
  flex: 2;
  line-height: 1.5;
  text-align: justify;
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.9s ease;
}
.about-text.show {
  opacity: 1;
  transform: translateX(0);
}
.about-quote {
  margin-top: 40px;
  text-align: right;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease 0.3s;
}
.about-quote.show {
  opacity: 1;
  transform: translateY(0);
}
.about-quote p {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  color: #0073e6;
}
.about-quote span {
  display: block;
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 10px;
  text-align: right;
  color: #444;
}

/* =========================
   VISION
   ========================= */
.vision-section {
  padding: 60px 40px;
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  max-width: 50vw;
  margin-right: auto;
  text-align: left;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.vision-section h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  text-align: left;
  color: var(--primary);
}
.vision-section li {
  margin-bottom: 12px;
  line-height: 1.6;
}
.vision-section.show {
  opacity: 1;
  transform: translateY(0);
  animation: visionIn 0.8s cubic-bezier(0.6, 0.2, 0.4, 1.1) forwards;
}
@keyframes visionIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* =========================
   INSTRUCTOR
   ========================= */
.instructor-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.instructor-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 80px;
  flex-wrap: wrap;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.instructor-item.show {
  opacity: 1;
  transform: translateY(0);
}
.instructor-item:nth-child(even) {
  flex-direction: row-reverse;
}
.instructor-item img {
  width: 250px;
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
}
.instructor-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}
.instructor-text {
  flex: 1;
  max-width: 500px;
  background: #fff;
  padding: 20px 25px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
}
.instructor-text:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.instructor-text h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  margin-bottom: 5px;
  color: #003d82;
}
.instructor-text .position {
  font-size: 0.95rem;
  color: #777;
  margin-bottom: 15px;
}
.instructor-text p {
  font-size: 0.95rem;
  margin-bottom: 15px;
}
.achievements {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.achievements span {
  background: #f4f6f9;
  border-radius: 25px;
  padding: 6px 14px;
  font-size: 0.85rem;
  display: flex;
  align-items: left;
  gap: 6px;
  color: #333;
  transition: background 0.3s ease, transform 0.3s ease;
}
.achievements span i {
  color: #0077b6;
}
.achievements span:hover {
  background: #e8f0fe;
  transform: scale(1.05);
}

/* slide animations for instructor */
.instructor-item.show .instructor-text {
  animation: slideInLeft 1s ease forwards;
  box-shadow: 0 8px 24px rgba(0, 32, 96, 0.12);
}
.instructor-item.show img {
  animation: slideInRight 1.2s ease 0.3s forwards;
  box-shadow: 0 12px 32px rgba(0, 32, 96, 0.14);
}
@keyframes slideInLeft {
  from {
    transform: translateX(-60px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideInRight {
  from {
    transform: translateX(60px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* =========================
   PRODUCT (RESPONSIVE)
   ========================= */
.product-section {
  padding: 60px 40px;
  font-family: "Poppins", sans-serif;
}

.product-section h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-align: left;
}

.product-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.product-image {
  flex: 1;
  text-align: center;
}

.product-image img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.product-image p {
  margin-top: 10px;
  font-weight: 600;
  font-size: 1.1rem;
}

.product-features {
  flex: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 15px;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 2rem;
  color: #0073e6;
  flex-shrink: 0;
}

.feature-card h3 {
  margin: 0 0 8px 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}

/* =========================
   RESPONSIVE ADJUSTMENTS
   ========================= */

/* Tablet (≤ 992px) */
@media (max-width: 992px) {
  .product-section {
    padding: 50px 25px;
  }

  .product-section h2 {
    font-size: 2rem;
    text-align: center;
  }

  .product-content {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .product-features {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  .product-section {
    padding: 40px 20px;
  }

  .product-section h2 {
    font-size: 1.8rem;
  }

  .product-features {
    grid-template-columns: 1fr;
  }

  .feature-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-icon {
    font-size: 1.8rem;
  }

  .feature-card h3 {
    font-size: 1.1rem;
  }

  .feature-card p {
    font-size: 0.9rem;
  }
}

/* Small phones (≤ 480px) */
@media (max-width: 480px) {
  .product-section {
    padding: 30px 15px;
  }

  .product-section h2 {
    font-size: 1.6rem;
  }

  .product-image img {
    border-radius: 12px;
  }

  .product-image p {
    font-size: 1rem;
  }

  .feature-card {
    padding: 15px;
    gap: 10px;
  }
}

/* =========================
   TRAINING
   ========================= */
.training-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.training-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #fff, #ffffff, #fff);
  background-size: 200% 200%;
  animation: gradientMove 10s ease infinite;
  z-index: -1;
}
.training-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 80px;
  flex-wrap: wrap;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.training-item.show {
  opacity: 1;
  transform: translateY(0);
}
.training-item:nth-child(even) {
  flex-direction: row-reverse;
}
.training-item img {
  width: 400px;
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
}
.training-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}
.training-text {
  flex: 1;
  max-width: 450px;
  background: #fff;
  padding: 20px 25px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
}
.training-text:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* training animations */
.training-item.show .training-text {
  animation: trainingCardIn 0.8s cubic-bezier(0.6, 0.2, 0.4, 1.1) forwards;
}
.training-item.show img {
  animation: trainingCardIn 0.8s cubic-bezier(0.6, 0.2, 0.4, 1.1) forwards;
}
@keyframes trainingCardIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(40px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* =========================
   CUSTOMERS
   ========================= */
.customer-slider {
  overflow: hidden;
  width: 100%;
  background: #f8f8f8;
  padding: 40px 0;
}

.customer-track {
  display: flex;
  gap: 20px;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}
.customer-track::-webkit-scrollbar {
  display: none;
}

.customer-track.grabbing {
  cursor: grabbing;
}
.customer-card {
  flex: 0 0 auto;
  width: 420px;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.customer-card:hover {
  transform: scale(1.02);
}
.customer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.customer-desc {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 10px;
  font-size: 0.9rem;
  text-align: center;
  color: #222;
  font-weight: 500;
  line-height: 1.2rem;
  word-wrap: break-word;
  white-space: normal;
  z-index: 2;
}
@keyframes scrollLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

#customerTrack {
  display: flex;
  white-space: nowrap;
}
.customer-card {
  flex-shrink: 0;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 99;
  padding-top: 70px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow: auto;
}
.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 12px;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease-in-out;
}
.modal-content img {
  max-width: 45%;
  border-radius: 8px;
  margin-bottom: 15px;
}
.modal-content h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #222;
}
.modal-content p {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}
.close {
  color: #333;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover {
  color: #d00;
}

/* =========================
   GALLERY
   ========================= */
.gallery-section {
  padding: 60px 80px;
  justify-items: center;
  font-family: "Poppins", sans-serif;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.gallery-section h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 20px;
  color: #222;
}
.gallery-section.show {
  opacity: 1;
  transform: translateY(0);
  animation: galleryIn 0.8s cubic-bezier(0.6, 0.2, 0.4, 1.1) forwards;
}
.gallery-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  justify-items: center;
}
.video-container {
  margin-bottom: 20px;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: scale(0.96) translateY(30px);
  transition: all 0.7s;
}
.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.video-container.show {
  opacity: 1;
  transform: scale(1) translateY(0);
  animation: videoIn 0.7s cubic-bezier(0.6, 0.2, 0.4, 1.1) forwards;
}

/* =========================
   COMMON ANIMATIONS & HELPERS
   ========================= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes galleryIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes videoIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Card animations (welcome/why/feature/customer) */
.welcome-cards .card.show {
  animation: welcomeCardIn 0.8s cubic-bezier(0.6, 0.2, 0.4, 1.1) forwards;
}
@keyframes welcomeCardIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95) rotate(-2deg);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
    filter: blur(0);
  }
}
.why-cards .card.show {
  animation: whyCardIn 0.8s cubic-bezier(0.6, 0.2, 0.4, 1.1) forwards;
}
@keyframes whyCardIn {
  from {
    opacity: 0;
    transform: rotateY(60deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
  }
}
.feature-card.show {
  animation: featureCardIn 0.8s cubic-bezier(0.6, 0.2, 0.4, 1.1) forwards;
}
@keyframes featureCardIn {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.customer-card {
  opacity: 0;
  transform: scale(0.92) translateY(40px);
  transition: box-shadow 0.3s;
}
.customer-card.show {
  animation: customerCardIn 0.7s cubic-bezier(0.6, 0.2, 0.4, 1.1) forwards;
}
@keyframes customerCardIn {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(40px);
  }
  80% {
    opacity: 1;
    transform: scale(1.04) translateY(-4px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* hover effect across cards */
.welcome-cards .card:hover,
.why-cards .card:hover,
.feature-card:hover,
.instructor-text:hover,
.training-text:hover,
.customer-card:hover {
  transform: translateY(-8px) scale(1.03) rotate(1deg);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

/* =========================
   RESPONSIVE TWEAKS
   ========================= */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }
  .hero-content,
  .hero-image {
    width: 100%;
  }
  .slides img {
    max-height: 400px;
  }
  .gallery-section {
    padding: 50px 40px;
  }
  .gallery-section h2 {
    font-size: 1.75rem;
  }
  .gallery-content {
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .welcome-section {
    padding: 40px 20px;
  }
  .welcome-container {
    flex-direction: column;
    gap: 20px;
  }
  .welcome-text h2 {
    font-size: 1.5rem;
  }
  .welcome-text h1 {
    font-size: 1.8rem;
  }
  .welcome-text p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  .welcome-cards {
    grid-template-columns: 1fr;
    width: 100%;
    padding-top: 20px;
  }
  .about-section {
    padding: 40px 20px;
  }
  .about-content {
    flex-direction: column;
    gap: 20px;
  }
  .about-image img {
    max-height: 280px;
    object-fit: cover;
  }
  .about-text {
    margin-top: 15px;
  }
  .about-quote,
  .about-quote p,
  .about-quote span {
    text-align: center;
  }
  .customer-card {
    width: 300px;
  }
  .customer-desc {
    font-size: 12px;
    padding: 10px;
  }
  .instructor-item {
    flex-direction: column !important;
  }
  .instructor-text {
    max-width: 100%;
  }
  .training-item {
    flex-direction: column !important;
  }
}

@media (max-width: 600px) {
  .slides img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
  }
  .hero-content h1 {
    font-size: 1.6rem;
  }
  .hero-content p {
    font-size: 0.95rem;
    margin-right: 0;
  }
  .gallery-section {
    padding: 40px 20px;
  }
  .gallery-section h2 {
    font-size: 1.5rem;
  }
  .video-container {
    max-width: 100%;
    aspect-ratio: 16/9;
  }
}
