@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins, sans-serif;
}
/* NAVBAR */
.navbar {
  width: 100%;
  padding: 12px 25px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  position: relative;
  z-index: 999;
}

/* LOGO */
.logo-link {
  text-decoration: none;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-box img {
  width: 52px;
}

.logo-text h2 {
  font-size: 18px;
  color: #00a8ff;
}

.logo-text p {
  font-size: 13px;
  color: #555;
}


/* NAV LINKS (DESKTOP) */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  background: #05b4ff;
  padding: 12px 22px;
  border-radius: 12px;
}

.nav-links li a,
.legal-btn {
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* LEGAL DROPDOWN */
.legal-item {
  position: relative;
}

.legal-btn {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legal-menu {
  position: absolute;
  top: 45px;
  left: 0;
  background: #fff;
  list-style: none;
  min-width: 220px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: none;
}

.legal-menu li a {
  display: block;
  padding: 12px 16px;
  color: #333;
  font-size: 14px;
}

.legal-menu li a:hover {
  background: #05b4ff;
  color: #fff;
}

.legal-menu.show {
  display: block;
}

/* SCHOLARSHIP BUTTON */
.scholar-desktop {
  background: #00a8ff;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
}

/* HAMBURGER */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* MOBILE SCHOLAR */
.mobile-scholar {
  display: none;
}

/* ================= MOBILE VIEW ================= */
@media (max-width: 900px) {

  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 88px;
    left: -100%;
    width: 100%;
    height: auto;
    background: #05b4ff;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    transition: 0.4s ease;
    border-radius: 0;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 1px 0;
  }

  .nav-links li a,
  .legal-btn {
    font-size: 17px;
    padding: 6px 0;
  }

  .legal-menu {
    position: static;
    box-shadow: none;
    width: 90%;
    margin-top: 6px;
  }

  .scholar-desktop {
    display: none;
  }

  .mobile-scholar {
    display: block;
    margin-top: 10px;
  }

  .mobile-scholar-btn {
    background: #fff;
    color: #05b4ff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
  }
}


/* Our Programs Hero Section */
.programs-hero {
  background-color: #00BFFF; /* Sky blue */
  color: #033b4a;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 10%;
  min-height: 80vh;
}

.programs-content {
  max-width: 900px;
}

.programs-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 1px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.programs-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #fff;
  font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
  .programs-content {
    text-align: left; /* Make all text left-aligned */
  }

  .programs-content h1 {
    font-size: 2.2rem;
    text-align: left; /* Ensure heading is left-aligned */
    margin-bottom: 10px; /* Optional spacing */
  }

  .programs-content p {
    font-size: 1rem;
    text-align: left; /* Ensure paragraph is left-aligned */
    line-height: 1.5; /* Improve readability */
  }
}



/* Project Section */
.project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 80px 10%;
  transition: all 0.8s ease;
  opacity: 0;
  transform: translateY(80px);
}

.project.visible {
  opacity: 1;
  transform: translateY(0);
}

.project.reverse {
  flex-direction: row-reverse;
}

/* ✅ Project Text */
.project-text {
  flex: 1;
}

.project-text h2 {
  color: #00BFFF;
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.project-text p {
  color: #333;
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 1.05rem;
  text-align: justify;
}

/* ✅ Project Image */
.project-img {
  flex: 1;
}

.project-img img {
  width: 100%;
  border-radius: 20px;
  border: 6px solid #00BFFF;
  object-fit: cover;
  min-height: 400px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-img img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.read-more-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 22px;
  background: #00BFFF;  /* Crimson / dark red */
  color: #fff;
  font-size: 15px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s ease;
}

.read-more-btn:hover {
  background: #0c242c;
  box-shadow: 0 4px 10px rgba(179, 0, 0, 0.3);
}

/* ✅ Responsive Design */
@media (max-width: 900px) {
  .project,
  .project.reverse {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 10px; /* 🔥 Remove all side and vertical padding */
    margin: 10px; /* 🔥 Remove any extra margin */
    gap: 20px; /* Small gap between items only */
    background: none;
  }

  /* Maintain order: Heading → Image → Text */
  .project-text h2 {
    order: 1;
    font-size: 1.6rem;
    text-align: left;
    margin: 10px 15px 5px; /* compact margins */
  }

  .project-img {
    order: 2;
    width: 100%;
    margin: 0; /* Remove any top/bottom space */
  }

  .project-text p {
    order: 3;
    font-size: 1rem;
    text-align: left;
    margin: 0 15px 20px; /* uniform side spacing */
  }

  .project-img img {
    width: 100%;
    height: auto;
    min-height: 250px;
    border-radius: 12px;
  }
}


/* Scholarship Apply Section */
.scholar-apply {
  background: #f7f9fc;
  padding: 60px 20px;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.scholar-container {
  max-width: 800px;
  margin: auto;
}

.scholar-title {
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: #00BFFF; /* Crimson */
}

.scholar-text {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #333;
}

.scholar-btn {
  display: inline-block;
  padding: 12px 32px;
  background: #00BFFF;
  color: #fff;
  font-size: 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.scholar-btn:hover {
  background: #7a0000;
  box-shadow: 0 4px 12px rgba(179, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 480px) {
  .scholar-title {
    font-size: 1.8rem;
  }
  .scholar-text {
    font-size: 0.95rem;
  }
}




















/* ===== Footer Section ===== */


.footer {
  position: relative;
  background: linear-gradient(135deg, #003c5f, #007BFF);
  color: #fff;
  padding: 60px 20px 30px;
  overflow: hidden;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-about,
.footer-programs,
.footer-links,
.footer-contact {
  flex: 1 1 250px;
  margin: 20px;
  min-width: 250px;
}

.footer-about h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.footer-about p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Social Icons */
.footer-social {
  margin-top: 15px;
}

.footer-social a {
  display: inline-block;
  margin-right: 12px;
  color: #fff;
  font-size: 1.1rem;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #ffcc00;
  transform: translateY(-3px);
}

.footer-programs h3,
.footer-links h3,
.footer-contact h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  border-left: 4px solid #ffcc00;
  padding-left: 10px;
}

.footer-programs ul,
.footer-links ul {
  list-style: none;
}

.footer-programs ul li,
.footer-links ul li {
  margin-bottom: 10px;
}

.footer-programs ul li a,
.footer-links ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-programs ul li a:hover,
.footer-links ul li a:hover {
  color: #ffcc00;
}

.footer-contact p {
  margin-bottom: 8px;
  font-size: 1rem;
}

.footer-contact i {
  margin-right: 8px;
  color: #ffcc00;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  opacity: 0.85;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
}

.footer-bottom a {
  color: #ffcc00;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Floating Dot Effect */
.footer-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff, rgba(255, 255, 255, 0.2));
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.07s ease-out;
  z-index: 1;
  opacity: 0;
  box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

.footer:hover .footer-dot {
  opacity: 1;
}

/* Responsive Design - Improved for Mobile */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: left;
    gap: 15px; /* Add small gap instead of big margins */
  }

  .footer-about,
  .footer-programs,
  .footer-links,
  .footer-contact {
    margin: 10px 0; /* Reduce vertical margin */
    flex: 1 1 auto;
  }

  .footer-about h2 {
    font-size: 1.5rem;
  }

  .footer-about p,
  .footer-contact p,
  .footer-programs ul li a,
  .footer-links ul li a {
    font-size: 0.95rem; /* Slightly smaller text for mobile */
  }

  .footer-programs h3,
  .footer-links h3,
  .footer-contact h3 {
    border: none;
    padding-left: 0;
    margin-bottom: 8px;
    font-size: 1.1rem;
  }

  .footer-social a {
    margin-right: 8px;
    font-size: 1rem;
  }

  .footer-bottom {
    text-align: left;
    font-size: 0.8rem;
    margin-top: 20px;
    padding-top: 10px;
  }
}
