body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Lexend', sans-serif;
  color: #fff;
  overflow-x: hidden;
}

.bg-video {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(255, 255, 255, 0.9);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
}

.logo img {
  height: 60px;
  margin-left: -20px;
}

.menu-toggle {
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  border-radius: 5px;
  margin-right: 60px;
}

/* Desktop nav items */

.nav-desktop {
  display: flex;
  justify-content: center;
  gap: 60px; /* increased spacing */
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop li a {
  text-decoration: none;
  color: #000;
  font-weight: 700;
  font-size: 18px; /* increased size */
  padding: 10px 0;
  transition: color 0.3s ease;
}

.nav-desktop li a:hover {
  color: #0077ff;
}


/* Dropdown menu for mobile */
.nav-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 80px;
  right: 40px;
  background: rgba(255,255,255,0.95);
  padding: 20px;
  border-radius: 8px;
  list-style: none;
  z-index: 3;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.nav-menu.active {
  display: flex;
}

.nav-menu li {
  margin: 10px 0;
}

.nav-menu li a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  transition: 0.3s;
}

.nav-menu li a:hover {
  color: #0077ff;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
}

.hero-text {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
  padding-bottom: 100px;
}

.hero-text h1 {
  font-size: 32px;
  margin: 0;
  font-weight: bold;
}

.hero-text h2 {
  font-size: 20px;
  margin-top: 10px;
  font-weight: normal;
}

@media screen and (max-width: 768px) {
  .hero-text h2 {
    font-size: 16px;
    line-height: 1.4;
    max-width: 90%;
    word-break: keep-all;
    text-align: center;
  }

  .nav-desktop {
    display: none;
  }
}

/* Animate on scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animate words one by one */
.animate-line span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeWord 17s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.3s);
  animation-fill-mode: both;
}

@keyframes fadeWord {
  0% { opacity: 0; transform: translateY(20px); }
  10% { opacity: 1; transform: translateY(0); }
  80% { opacity: 1; transform: translateY(0); }
  85% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 0; transform: translateY(20px); }
}

.info-section {
  background: #f5f7fa;
  padding: 80px 40px;
  color: #111;
}

.info-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.info-text {
  flex: 1 1 45%;
}

.info-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 700;
}

.info-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.btn-dark {
  text-decoration: none;
  background: #111;
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  letter-spacing: 2px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn-dark:hover {
  background: #0077ff;
}

.info-image {
  flex: 1 1 45%;
  text-align: center;
}

.info-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
}


/* Certificates Section */
/* Certificates Section */

.certificates-section {
  background: #eef6f9;
  padding: 60px 20px;
  overflow: hidden;
  text-align: center;
}

.section-heading {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #001f3f;
}

.certificates-wrapper {
  overflow: hidden;
  position: relative;
}

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

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

.cert-card {
  background: #001f3f;
  border-radius: 12px;
  min-width: 260px;
  max-width: 260px;
  height: 280px;
  margin-right: 40px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cert-card img {
  max-height: 120px;
  object-fit: contain;
  background: none;
  margin-bottom: 10px;
}

.cert-card h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  margin: 0;
}


/* -- - - - - - - - - - - - - - - - - - - - - - - - -  --  */

<!-- Flashcards Section -->


.featuring-section {
  padding: 100px 20px;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
}

.featuring-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  padding: 40px 20px;
}

.flashcards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.flashcard {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #fff;
  padding: 30px 20px;
  width: 260px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

.flashcard:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.card-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #fff;
}

.card-content p {
  font-size: 14px;
  color: #eee;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
  .flashcard {
    width: 90%;
  }
}

/* Section Headings OF FLASHCARD AND CERTIFICATE SECTION */
.section-heading {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: #000;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* Associates Section */


.associates-section {
  background: #eef6f9;
  padding: 40px 20px;
  overflow: hidden;
}

.associates-track {
  display: flex;
  gap: 40px;
  align-items: center;
  width: max-content;
  animation: scrollAssociates 30s linear infinite;
}

.associates-track img {
  height: 100px;
  flex-shrink: 0;
}

@keyframes scrollAssociates {
  0% {
    transform: translateX(0);         /* Start from visible */
  }
  100% {
    transform: translateX(-50%);      /* Move half of its width to loop */
  }
}


/* Footer Styling */
.site-footer {
  background-color: #000;
  color: #fff;
  font-family: 'Lexend', sans-serif;
  padding: 50px 20px 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1300px;
  margin: auto;
  padding-bottom: 40px;
  border-bottom: 1px solid #444;
}

.footer-contact,
.footer-recognized {
  flex: 1 1 400px;
}

.footer-contact h3,
.footer-recognized h3 {
  font-size: 22px;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #ffffff;
}

.footer-contact p {
  font-size: 14px;
  line-height: 1.6;
  color: #ddd;
}

.footer-contact h3 {
  text-align: center;
  width: 100%;
}


.footer-contact strong {
  color: #fff;
}

.footer-social {
  margin-top: 20px;
}

.footer-social a {
  color: #fff;
  margin-right: 15px;
  font-size: 20px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  color: #1da1f2;
  transform: scale(1.1);
}

/* Recognized Logos */
.footer-recognized {
  display: flex;
  flex-direction: column;
  align-items: center;   /* horizontally center both title and image */
  justify-content: center;
  text-align: center;
}


.recognized-single img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  margin: 0 auto; /* extra safeguard to center */
}



/* Footer bottom */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 20px 10px;
  color: #bbb;
}


