body, html {
  margin: 0;
  padding: 0;
  font-family: 'Lexend', sans-serif;
background: linear-gradient(145deg, #d4f1ff, #89c9f7, #2a4d89, #001f3f);


  /* background-color: #1b2a4e;  Deep Navy Blue */
  color: #111;
  overflow-x: hidden;
}


/* Transparent bubbles */
.bubbles {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bubble {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: floatUp 10s linear infinite;
}

.bubble:nth-child(1) { left: 10%; animation-delay: 0s; }
.bubble:nth-child(2) { left: 20%; animation-delay: 2s; }
.bubble:nth-child(3) { left: 30%; animation-delay: 4s; }
.bubble:nth-child(4) { left: 40%; animation-delay: 1s; }
.bubble:nth-child(5) { left: 50%; animation-delay: 3s; }
.bubble:nth-child(6) { left: 60%; animation-delay: 5s; }
.bubble:nth-child(7) { left: 70%; animation-delay: 6s; }
.bubble:nth-child(8) { left: 80%; animation-delay: 7s; }
.bubble:nth-child(9) { left: 90%; animation-delay: 8s; }

@keyframes floatUp {
  0% { transform: translateY(100vh) scale(0.8); }
  100% { transform: translateY(-100vh) scale(1.2); }
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 30px;
  background: rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 2;
}

.logo img {
  height: 60px;
}

.menu-toggle {
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  border-radius: 5px;
}

.nav-desktop {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-desktop li a {
  text-decoration: none;
  color: #000;
  font-weight: 700;
}

/* 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;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 2;
}
}

/* 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-line span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInOnly 1s ease-out forwards;
  animation-delay: calc(var(--i) * 0.05s);
}
@keyframes fadeInOnly {
  to { opacity: 1; transform: translateY(0); }
}

/* Info Section */
.info-section {
  background-color: rgba(255, 255, 255, 0.1); /* Light transparent white for readability */
  padding: 80px 10px;
  border-radius: 10px;
}


.info-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  align-items: center;
}

.info-image {
  flex: 1 1 40%;
  text-align: center;
}
.info-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.info-text {
  flex: 1 1 55%;
  font-size: 16px;
  line-height: 1.7;
}

/* Stats */
.stats-container {
  background: rgba(255, 255, 255, 0.1); /* Transparent base */
  backdrop-filter: blur(15px);         /* Frosted blur */
  -webkit-backdrop-filter: blur(15px); /* Safari support */
  border-radius: 20px;
  padding: 40px;
  max-width: 1000px;
  margin: 80px auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}


.stats-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.stat-card {
  background: linear-gradient(145deg, #ffffff, #d4f0ff);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-on-scroll.visible .stat-card {
  opacity: 1;
  transform: translateY(0);
}
.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.stat-card h3 {
  font-size: 30px;
  font-weight: 900;
  color: #0077ff;
}
.stat-card p {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
@media screen and (max-width: 768px) {
  .stats-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Always 2 columns */
  gap: 20px;
  width: 100%;
}

.stat-card {
  background: linear-gradient(145deg, #ffffff, #d4f0ff);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%; /* Ensure all cards match height */
  min-height: 150px; /* Set a base height for mobile symmetry */
  box-sizing: border-box;
}

.stats-box > .stat-card h3 {
  font-size: 26px;
  font-weight: 900;
  margin: 0;
  color: #0077ff;
}

.stats-box > .stat-card p {
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  color: #333;
}

}
@media screen and (max-width: 400px) {
  .stats-box {
    grid-template-columns: 1fr;
  }
}


/* YouTube */

.youtube-heading {
  text-align: center;
  font-size: 2rem;
  color: #fff;
  margin-top: 60px;
  margin-bottom: -40px;
}

.youtube-section {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}
.youtube-section iframe {
  width: 90%;
  max-width: 700px;
  height: 400px;
  border-radius: 10px;
  border: none;
}

.youtube-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: 10px;
  justify-items: center;
  align-items: center;
  max-width: 1200px;
  margin: 60px auto;
}

.youtube-grid iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.youtube-grid iframe:hover {
  transform: scale(1.03);
}

@media screen and (max-width: 768px) {
  .youtube-grid {
    grid-template-columns: 1fr;
  }
}


.bubbles {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bubble {
  position: absolute;
  bottom: -100px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: floatBubbles linear infinite;
}

/* JavaScript will randomize these */


@keyframes floatBubbles {
  0% {
    transform: translateX(0) translateY(0);
    opacity: 0.2;
  }
  50% {
    transform: translateX(var(--translateX)) translateY(-50vh) scale(1.1);
    opacity: 0.6;
  }
  100% {
    transform: translateX(calc(var(--translateX) * 1.5)) translateY(-100vh) scale(0.9);
    opacity: 0;
  }
}

