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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  color: white;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.Space {
  margin-top: 50px;
  margin-bottom: 50px;
}

body.home-page {
  padding-top: 0;
  background: #000;
  min-height: 100vh;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 20px;
  max-width: 900px;
  width: 100%;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.2;
  margin: 0 0 20px 0;
  transition: transform .3s ease;
}

.hero-content h1 span {
  color: #00aaff;
  display: inline-block;
  animation: floatingWord 4s ease-in-out infinite;
}

.hero-content .par {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.hero-content .cn {
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 40px;
  display: inline-block;
}

.hero-content .cn a {
  color: white;
  background-color: #041b46;
  padding: 15px 30px;
  font-weight: bold;
  border-radius: 5px;
  display: inline-block;
  transition: background-color 0.3s, transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;

  opacity: 0;
  animation: buttonReveal 1s ease-out 1s forwards;
}

.hero-content .cn a:hover {
  background-color: #06307a;
  transform: scale(1.1) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.info-banner {
    width: 100%;
    min-height: 70vh;

    display: flex;
    align-items: center;

    padding: 80px;

    background-image: url('images/info-bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.info-banner-content {
    max-width: 700px;
}

.info-banner-text p {
    color: #ffffff;

    font-size: 1.5rem;
    line-height: 2;

    text-shadow: 0 2px 10px rgba(0,0,0,.3);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(0, 0, 0, 0.85);
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 70px;
  font-weight: bold;
  font-size: 38px;
  color: white;
  white-space: nowrap;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.logo-img {
  height: 50px;
  width: auto;
}

.menu {
  list-style: none;
  display: flex;
  gap: 25px;
}

.menu li {
  position: relative;
}

.menu a {
  color: white;
  font-weight: bold;
  padding: 8px 12px;
  display: block;
  transition: color 0.3s;
}

.menu a:hover {
  color: #00aaff;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #00233f;
  min-width: 180px;
  border-radius: 4px;
  z-index: 10;
  flex-direction: column;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.363);
}

.dropdown-menu li {
  margin: 0;
  padding: 5px 0;
}

.dropdown-menu li a {
  padding: 10px 15px;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background-color: #002d80;
  color: #fff;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.home-page .overlay {
  background-color: transparent !important;
}

.burger {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 4px;
}

.bx-menu {
  font-size: 2rem;
  color: #fff;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.664);
  padding: 80px 20px 40px;
}

.section {
  max-width: 900px;
  margin: 40px auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 12px;
  transition: background-color 0.3s ease;
  color: #ffffff;
    border-radius: 16px;

    box-shadow:
        0 8px 30px rgba(0,0,0,.08);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background-color .3s ease;

}

.section:hover {
  background-color: #060f30;
  transform: translateY(-5px);

    box-shadow:
        0 15px 40px rgba(53, 5, 5, 0.37);

}

.section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  border-bottom: 2px solid #00aaff;
  display: inline-block;
  color: #00aaff;
}

.section p,
.section ul,
.section li {
  font-size: 18px;
  line-height: 1.8;
  margin-top: 10px;
  color: #ffffff;
}

.section:hover h1,
.section:hover p,
.section:hover ul,
.section:hover li {
    color: #ffffff;
}

.section ul {
  padding-left: 0;
}

.section ul li::before {
  content: "✔ ";
  color: #00aaff;
  margin-right: 8px;
}

#vision, #mission, #core-values, #quality-statement {
  scroll-margin-top: 110px;
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 1300px;
  margin: auto;
  padding: 20px;
}

.contact-map {
  flex: 1;
}

.contact-map iframe {
  width: 100%;
  height: 450px;
  margin-left: 0;
  border-radius: 10px;
  border: none;
}

.contact-info {
  background-color: rgba(0, 26, 51, 0.8);
  line-height: 1.9;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  height: auto;
}

.contact-info h1 {
  margin-bottom: 30px;
  color: #00ccff;
}

.contact-info h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 1rem;
  color: #ffffff;
}

.contact-info h2 i {
  font-size: 1.7rem;
  color: #00aaff;
  flex-shrink: 0;
}

.contact-info a {
  color: #00ccff;
}

.contact-info a:hover {
  text-decoration: underline;
}

#contact-section .contact-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px 80px;
  gap: 60px;
}

#contact-section .contact-map iframe {
  width: 100%;
  height: 450px;
  margin-left: 0;
  border-radius: 14px;
  margin-bottom: 60px;
}

#contact-section .contact-info {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 80px;
  padding: 30px 36px;
  border-radius: 14px;
  align-self: center;
}

.courses {
  position: relative;
  padding: 60px 20px 80px;
}

.courses .heading {
  text-align: center;
  font-size: 4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 36px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 1;
}

.courses .heading span {
  color: #00aaff;
}

.courses .overlay {
  background-color: rgba(0, 0, 0, 0.62);
  padding: 50px 40px 60px;
  border-radius: 24px;
  max-width: 1200px;
  margin: 0 auto;
  color: white;
}

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

.courses-box {
  position: relative;
  border-radius: 2rem;
  box-shadow: 0 0 1rem #060f30;
  overflow: hidden;
  display: flex;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.6s ease, scale 0.6s ease;
  
  opacity: 0;
  transform: scale(0.85);
}

.courses-box.in-view {
  opacity: 1;
  transform: scale(1);
}

.courses-box.in-view:active {
  transform: scale(0.98);
}

.courses-box:active {
  transform: scale(0.98);
}

.courses-box img {
  width: 100%;
  transition: 0.5s ease;
}

.courses-box:hover img {
  transform: scale(1.1);
}

.courses-box .courses-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(4, 27, 70, 0.2), #041b46);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 1rem 2rem;
  transform: translateY(101%);
  transition: 0.5s ease;
  gap: 1rem;
  overflow: hidden;
}

.courses-box:hover .courses-layer {
  transform: translateY(0);
}

.courses-layer h4 {
  font-size: clamp(0.85rem, 2.2vw, 1.5rem); 
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

.courses-layer p {
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  margin: 0.3rem 0 0.5rem;
}

.courses-layer a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border-radius: 0;
  width: auto;
  height: auto;
}

.courses-layer a i {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: #00aaff;
}

.updates-section {
  padding: 90px 20px 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.updates-heading {
  text-align: center;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 40px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.updates-heading span {
  color: #00aaff;
}

.updates-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.15);
  padding: 10px 28px;
  border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  background: #060f30;
  border-color: #060f30;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.tab-btn.active {
  background: #060f30;
  border-color: #060f30;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.update-card {
  background: rgba(0, 26, 51, 0.75);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 170, 255, 0.15);
}

.update-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-color: #00aaff;
}

.update-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.update-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.update-body {
  padding: 18px 20px 24px;
}

.update-date {
  font-size: 0.78rem;
  color: #00aaff;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.update-headline {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
}

.update-desc {
  font-size: 0.88rem;
  color: #ccc;
  line-height: 1.6;
}

.photo-strip {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  background: #111827;
  margin-top: 60px;
  margin-bottom: 24px;
}

.strip-track {
  display: flex;
  width: max-content;
  animation: scrollStrip 30s linear infinite;
}

.strip-track:hover {
  animation-play-state: paused;
}

.strip-inner {
  display: flex;
  gap: 16px;
  padding: 0 8px;
}

.strip-inner img {
  height: 200px;
  width: auto;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #060f30;
  transition: border-color 0.3s;
}

.strip-inner img:hover {
  border-color: #00aaff;
}

@keyframes scrollStrip {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.562);
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-container {
  background: #1e1e1e;
  color: white;
  padding: 2rem;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  position: relative;
  text-align: center;
  animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.modal-container h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.modal-container p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.enroll-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #041b46;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.enroll-btn:hover {
  background-color: #06307a;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
  background: transparent;
  border: none;
  line-height: 1;
}

.footer-container {
  width: 100%;
  margin-top: auto;
  background-color: #041946;
  color: white;
  padding: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 12px;
}

.footer-container a {
  color: #dddddd;
}

.footer-contact-info h2 {
  background-color: #060f30;
  margin-bottom: 10px;
  margin-top: 20px;
  padding: 6px 16px;
  border-radius: 30px;
  text-align: center;
  font-size: 18px;
}

.footer-contact-info p {
  font-size: 14px;
  text-align: center;
}

.logo-name img {
  width: 100px;
  height: auto;
}

.social-icons {
  display: flex;
  align-items: center;
  margin-top: 15px;
  gap: 8px;
}

.social-icons img {
  height: 60px;
  width: 60px;
  object-fit: contain;
  background-color: #041b46;
  padding: 12px;
  border-radius: 20px;
  display: inline-block;
  transition: background-color 0.3s, transform 0.3s ease;
}

.social-icons img:hover {
  background-color: #06307a;
  transform: scale(1.1);
}

.data-protection {
  color: white;
  background-color: #041b46;
  padding: 15px 30px;
  font-weight: bold;
  border-radius: 30px;
  display: inline-block;
  margin-top: 20px;
  transition: background-color 0.3s, transform 0.3s ease, box-shadow 0.3s ease;
}

.data-protection:hover {
  background-color: #06307a;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.credits {
  margin-top: 10px;
  text-align: center;
}

.credits p {
  font-size: 12px;
  color: #aaaaaa;
}

.footer-copy {
  margin-top: 20px;
  text-align: center;
  width: 100%;
}

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

  .burger {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    z-index: 1000;
  }

  .menu {
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.95);
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    padding: 1rem 0;
    text-align: center;
    transform: translateY(-100%);
    opacity: 0;
    z-index: 999;
    pointer-events: none;
  }

  .menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu li {
    margin: 15px 0;
  }

  .dropdown-menu,
  .dropdown:hover .dropdown-menu,
  .dropdown-menu.show {
    display: none !important;
  }

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

@media (max-width: 768px) {
  .navbar {
    padding: 0 10px;
  }

  .logo span {
    font-size: 30px;
  }

  .logo-img {
    height: 40px;
  }

  .hero {
    height: 100svh;
  }

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

  .updates-section {
    padding: 60px 16px 40px;
  }

  .strip-inner img {
    height: 140px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content .par {
    font-size: 1rem;
  }

  .hero-content .cn a {
    padding: 12px 25px;
  }

  
  .info-banner {
    padding: 60px 24px;
  }

  .info-banner-content {
    max-width: 100%;
  }

  .info-banner-content p {
    font-size: 1rem;
    line-height: 1.8;
  }

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

  .courses-layer h4 {
    font-size: clamp(0.85rem, 3.5vw, 1.2rem);
  }

  .courses-layer p {
    font-size: clamp(0.7rem, 2.5vw, 0.9rem);
    padding: 0 8px;
  }

  
  .contact-map iframe {
    height: 300px;
  }

  .contact-info {
    font-size: 14px;
  }

  #contact-section .contact-map {
    margin-bottom: 0;
  }

  #contact-section .contact-map iframe {
    height: 300px;
    border-radius: 10px;
    margin-bottom: 40px;
  }

  .modal-container {
    width: 95%;
    padding: 1.5rem;
  }

  .modal-container h2 {
    font-size: 1.5rem;
  }

  .modal-container p {
    font-size: 1rem;
  }

  .enroll-btn {
    width: 100%;
  }

  .footer-container {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2rem;
  }
}

@media (min-width: 769px) {
  .hero-content {
    padding-top: 100px;
    margin-top: 50px;
  }
  .hero-content h1 {
    font-size: 6rem;
  }
}

@media (max-width: 435px) {
  .hero-content {
    padding-top: 120px;
    margin-top: 10px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {

    .info-banner {
        min-height: 300px;
        padding: 40px 24px;
    }

    .info-banner-content {
        max-width: 100%;
    }

    .info-banner-text p {
        font-size: 1rem;
        line-height: 1.8;
    }

}

.img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
}

.img-lightbox.active { display: flex; }

.img-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  cursor: zoom-out;
}

.img-lightbox-img {
  position: relative;
  z-index: 1;
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
  animation: fadeInModal 0.25s ease;
}

.img-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: #00aaff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 1.4rem;
  transition: background 0.2s, transform 0.2s;
}

.img-lightbox-close:hover {
  background: #0088cc;
  transform: scale(1.1);
}

.update-img-wrap img,
.strip-inner img {
  cursor: zoom-in;
}

.hero-content h1 {
    animation: heroTitleReveal 1.2s ease-out forwards;
}

.hero-content .par {
    opacity: 0;
    animation: heroTextReveal 1.2s ease-out 0.4s forwards;
}

.hero-content .cn {
    opacity: 0;
    animation: heroTextReveal 1.2s ease-out 0.8s forwards;
}

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

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

@keyframes floatingWord {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes buttonReveal {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.hero-content h1:hover {
    transform: scale(1.5);
}