/* === Global Styles === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f7faff;
  color: #333;
  line-height: 1.6;
}

/* Switch Language Button */
#langSwitchBtn {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

#langSwitchBtn button {
  padding: 10px 18px;
  background: #ff9800;
  color: #fff;
  font-size: 14px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: 0.2s ease;
}

#langSwitchBtn button:hover {
  background: #e88b00;
}

.fallback-btn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff9900;
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  z-index: 2000;
  display: none; /* hidden by default */
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}


/* === Navbar === */
.simple-top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 25px;
  background: #0a0a0a;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.simple-top-nav.transparent {
  background: transparent;
  backdrop-filter: none;
}

.simple-top-nav .nav-right {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  align-items: center;
  transition: opacity 0.3s, transform 0.3s;
}

.simple-top-nav .nav-right.hide-others li {
  display: none;
}

.simple-top-nav .nav-right.hide-others .highlight-item {
  display: block !important;
}

.simple-top-nav .nav-right a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.simple-top-nav .nav-right a.active {
  color: #ff9900;
  font-weight: bold;
}

.simple-top-nav .highlight-item a {
  color: white;
  font-weight: bold;
  border: 2px solid #ff9900;
  background: #ff9900;
  border-radius: 8px;
  padding: 6px 14px;
  transition: background 0.3s, color 0.3s;
}

.simple-top-nav .highlight-item a:hover {
  background: #ffa733;
}

.small-logo {
  height: 38px;
  transition: transform 0.4s ease, height 0.4s ease;
}

.simple-top-nav.scrolled .small-logo {
  transform: scale(0.75);
  height: 28px;
}


/* === Home Section (Keep Original Image) === */
.home-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 90vh;

  /* Keep your existing image exactly as-is */
  background: url("../img/home-bg.jpg") center center / cover no-repeat;
  color: #fff;
  padding: 20px;
  position: relative;
}

.home-content {
  position: relative;
  z-index: 2;
}

.headline {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

#changing-text {
  display: inline-block;
}

.subline {
  font-size: 1.6rem;
  margin-top: 10px;
  color: #f7f702;
}

.highlight-propellour {
  color: #fafafa; /* Deep neon blue, no glow */
  font-weight: 700;
}


.description {
  font-size: 1.1rem;
  margin-top: 15px;
  max-width: 700px;
  font-style: italic;
  color: #f0f0f0;
  line-height: 1.5;
}

.cta-btn {
  margin-top: 25px;
  padding: 12px 28px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background-color: #ffcc00;
  color: #222;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none; /* removes underline */
  display: inline-block; /* makes link behave like button */
  transition: background 0.3s, transform 0.2s;
}


.cta-btn:hover {
  background-color: #ffdb4d;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .headline { font-size: 2.2rem; }
  .subline { font-size: 1.3rem; }
  .description { font-size: 1rem; padding: 0 15px; }
  .cta-btn { font-size: 0.95rem; padding: 10px 22px; }
}


/* === About Section === */
.about-section {
  background: #f7faff;
  padding: 80px 20px;
  color: #333;
}

.about-content {
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Intro --- */
.about-content .intro {
  font-size: 1.1rem;
  color: #222;
  margin-bottom: 50px;
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
}

/* --- Mission & Vision Side by Side --- */
.mv-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 60px;
}

.mv-block {
  flex: 1 1 45%;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 30px;
  transition: transform 0.3s;
}

.mv-block:hover {
  transform: translateY(-5px);
}

.mv-block h2 {
  color: #2a5298;
  margin-bottom: 10px;
}

/* --- Core Team Grid --- */
.team-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 25px;
}

.team-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  width: 200px;           /* fixed width for palette */
  height: 240px;          /* fixed height for uniform look */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card img {
  width: 100%;
  height: 150px;          /* image area fixed */
  object-fit: cover;
}

.team-card h3 {
  margin: 10px 0 4px;
  font-size: 1rem;
  color: #0a0a0a;
}

.team-card p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}

/* Hover animation */
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  background: #fef8e6;
}

/* Responsive */
@media (max-width: 768px) {
  .team-card {
    width: 160px;
    height: 210px;
  }
  .team-card img {
    height: 130px;
  }
}

/* --- Activities Section --- */
.activities-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.activity-card {
  background: #e8f1ff;
  padding: 15px 25px;
  border-radius: 8px;
  font-weight: 500;
  border-left: 5px solid #2a5298;
  flex-grow: 1;
  flex-basis: auto;
  width: auto;
  transition: background 0.3s, transform 0.2s;
}

.activity-card:hover {
  background: #dce9ff;
  transform: translateY(-3px);
}

/* --- Future Opportunities & Quote --- */
.about-block h2 {
  color: #2a5298;
  margin-bottom: 15px;
}

.about-quote {
  font-style: italic;
  border-left: 5px solid #ff9900;
  padding: 15px 20px;
  background: #fff8e1;
  border-radius: 6px;
  margin-top: 50px;
  text-align: center;
}

.portfolio-link {
  text-align: center;
  margin-top: 25px;
}

.portfolio-link a {
  color: #2a5298;
  text-decoration: none;
  font-weight: 600;
}

.portfolio-link a:hover {
  text-decoration: underline;
}

/* Responsive tweak */
@media (max-width: 768px) {
  .mv-container {
    flex-direction: column;
  }
  .mv-block {
    flex: 1 1 100%;
  }
}



/* === Page Content === */
.page-content {
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.page-content h1 {
  margin-bottom: 20px;
  color: #0a3d62;
}

.page-content h2 {
  margin-top: 7px;
  margin-bottom: 10px;
  color: #2a5298;
}

.page-content ul {
  margin-left: 20px;
  margin-top: 10px;
}

.page-content li {
  margin-bottom: 8px;
}

blockquote {
  background: #eef4ff;
  border-left: 5px solid #2a5298;
  padding: 15px;
  margin: 20px 0;
  font-style: italic;
  border-radius: 6px;
}

/* === Blog Post Cards === */
.blog-post {
  margin-bottom: 30px;
  padding: 20px;
  border-left: 4px solid #2a5298;
  background: #fafcff;
  border-radius: 8px;
  transition: transform 0.2s;
}

.blog-post:hover {
  transform: translateX(5px);
}

/* === Footer === */
footer {
  text-align: center;
  padding: 15px;
  background: #0a3d62;
  color: #fff;
  margin-top: 40px;
}

footer a {
  color: #ffcc00;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* === Responsive Design === */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    background: #0a3d62;
    position: absolute;
    top: 60px;
    right: 0;
    padding: 20px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .page-content {
    margin: 20px;
  }
}

/* Contact / Feedback Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2a5298;
  outline: none;
}

.contact-form .btn {
  width: fit-content;
  align-self: flex-start;
  background: #0a3d62;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
}

.contact-form .btn:hover {
  background: #2a5298;
}

html {
  scroll-behavior: smooth;
}


/* Carousel */
/* Carousel Container */
.carousel-track-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

/* Track */
.carousel-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease-in-out;
}

/* Slides */
.carousel-item {
  flex: 0 0 calc((100% - 60px) / 3); /* exactly 3 slides for desktop */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Image maintains aspect ratio */
.carousel-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* Text under image */
.carousel-item p {
  padding: 10px;
  font-weight: bold;
}

/* Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
  transition: 0.3s;
}

.carousel-btn.prev { left: 5px; }
.carousel-btn.next { right: 5px; }

.carousel-btn:hover {
  background: #ff9900;
  color: #0a0a0a;
}

/* Responsive — 1 slide for mobile */
@media (max-width: 1024px) {
  .carousel-item {
    flex: 0 0 100%; /* show only one slide */
  }
  .carousel-item img {
    aspect-ratio: 4 / 3; /* taller for mobile */
  }
}



/* Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
}
.carousel-btn.prev { left: 5px; }
.carousel-btn.next { right: 5px; }
.carousel-btn:hover { background: #ff9900; color: #0a0a0a; }

/* Responsive */
@media (max-width: 2500px) {
  .carousel-item { flex: 0 0 calc((100% - 30px) / 2); }
  .carousel-item img { height: 200px; }
}
@media (max-width: 2000px) {
  .carousel-item { flex: 0 0 100%; }
  .carousel-item img { height: 180px; }
}



.current-courses {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  margin-bottom: 40px;
  text-align: center;
}

.current-courses h2 {
  color: #ff9900;
  margin-bottom: 25px;
}

/* Basic & Advance: slightly narrower than Pro row */
.course-level {
  background: #f1f1f1;
  padding: 15px 25px;
  border-radius: 10px;
  width: 520px;  /* ⬅️ reduced from 540px to 480px */
  margin: 10px auto;
  text-align: center;
  transition: 0.3s;
  height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.course-level h3 {
  margin: 0;
  color: #0a0a0a;
  font-size: 1.2rem;
}

.course-level p {
  margin: 4px 0 0;
  color: #555;
  font-size: 0.95rem;
}

/* Pro Level Row (two blocks side-by-side) */
.pro-level {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.pro-block {
  background: #f1f1f1;
  padding: 15px 25px;
  border-radius: 10px;
  text-align: center;
  width: 265px;
  height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: 0.3s;
}

/* Hover effect */
.course-level:hover,
.pro-block:hover {
  background: #ff9900;
  color: #fff;
  transform: translateY(-3px);
}

.course-level:hover h3,
.course-level:hover p,
.pro-block:hover h3,
.pro-block:hover p {
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .course-level {
    width: 100%;
  }

  .pro-level {
    flex-direction: column;
    gap: 15px;
  }

  .pro-block {
    width: 100%;
  }
}



/* Guidelines Block - styled like carousel pallets */
.guidelines-block {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  max-width: 800px;
  margin: 30px auto;
}

.guidelines-block h2 {
  text-align: center;
  margin-bottom: 12px;
  color: #0a0a0a;
}

.guidelines-block ul {
  list-style-type: none;
  padding-left: 0;
}

.guidelines-block ul li {
  background: #fffae6; /* slightly different from white pallet */
  border-left: 5px solid #ff9900;
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-weight: 500;
}

/* Learning Resources Section */
.learning-intro, .current-courses {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.learning-intro h2, .current-courses h2 {
  color: #ff9900;
  margin-bottom: 10px;
}

.course-summary {
  text-align: center;
  margin: 50px auto;
  width: 65%;
  padding: 15px 0;
}

/* Row 1: Mode Buttons */
.mode-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.mode-btn {
  padding: 8px 18px;
  border: none;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.mode-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Button Colors */
.mode-btn.online  { background-color: #00D2D6; }  /* Blue */
.mode-btn.offline { background-color: #ff9800; }  /* Green */
.mode-btn.hybrid  { background-color: #D10069; }  /* Orange */

/* Course List */
.course-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.course-item {
  width: 65%;
  background: #fff8e6;
  border-left: 4px solid #ffa500;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.course-item:hover {
  transform: translateY(-3px);
}

.course-item h4 {
  margin-bottom: 4px;
  color: #222;
  font-size: 1.1rem;
}

.course-item p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .course-summary {
    width: 90%;
  }

  .course-item {
    width: 100%;
  }

  .mode-buttons {
    flex-wrap: wrap;
  }
}



/* Right-bottom sidebar scroll-to-top */
.scroll-sidebar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.scroll-btn {
  background: #ff9900;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.scroll-btn:hover {
  background: #e68a00;
  transform: translateY(-2px);
}

.contact-form select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  font-size: 1rem;
}

.contact-form select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ff9900;
  outline: none;
  box-shadow: 0 0 5px rgba(255,153,0,0.5);
}

footer {
  background: #0a0a0a;
  color: #fff;
  text-align: center;
  padding: 18px 12px;
}

footer .footer-links {
  margin-top: 6px;
  font-size: 0.9rem;
}

footer .footer-links a {
  color: #ffcc00;
  text-decoration: none;
  margin: 0 6px;
}

footer .footer-links a:hover {
  text-decoration: underline;
}
