@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;
  }
}



/* What We Do Hero Section - Plain Version */
.what-we-do-hero {
  background-color: #00BFFF; /* Sky blue */
  height: auto;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 10%;
  text-align: left;
  color: #fff;
}

.what-we-do-content {
  max-width: 900px;
}

.what-we-do-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #fff;
}

.what-we-do-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #fff;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .what-we-do-hero {
    padding: 40px 5%;
    text-align: left; /* Left-align on tablet/mobile */
  }

  .what-we-do-content h1 {
    font-size: 2.2rem;
  }

  .what-we-do-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .what-we-do-hero {
    padding: 30px 5%;
    text-align: left; /* Left-align on mobile */
  }

  .what-we-do-content h1 {
    font-size: 1.8rem;
  }

  .what-we-do-content p {
    font-size: 0.95rem;
  }
}



/* Hero Section */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(to right, #a00028, #d11a45);
  color: white;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* What We Do Section */
.what-we-do {
  width: 90%;
  max-width: 1300px;
  margin: 60px auto;
}

/* Each Section */
.section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 100px;
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease-out;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reverse Layout */
.section.reverse {
  flex-direction: row-reverse;
}

/* ✅ Image Container */
.section .image {
  flex: 1;
  width: 100%;
  height: 100%;
}

/* ✅ Full-Width Images with Sky Blue Border */
.section .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  border: 5px solid #00BFFF; /* Sky Blue Border */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 400px;
}

.section .image img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ✅ Text Content */
.section .content {
  flex: 1;
}

.section .content h2 {
  color: #00BFFF; /* Sky Blue Text */
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.section .content p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: justify;
}

/* ✅ Responsive Design (Tablet & Mobile) */
@media (max-width: 900px) {
  .section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .section.reverse {
    flex-direction: column;
  }

  /* ✅ Ensure Heading → Image → Paragraph Order */
  .section .content h2 {
    order: 1;
    font-size: 1.6rem;
    text-align: left;
  }

  .section .image {
    order: 2;
    width: 100%;
  }

  .section .content p {
    order: 3;
    font-size: 1rem;
    text-align: left;
  }

  .section .image img {
    width: 100%;
    height: auto;
    min-height: 250px;
  }
}










/* ===== 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;
  }
}
