@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;
  }
}


body {
  font-family: "Poppins", sans-serif;
  background: #ffffff;
  color: #222;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: #222;
}

p, label, input, textarea, select, button {
  font-size: 16px;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==========================
   Hero Section
========================== */
.contact-hero {
  background: url("./Assets/contact-bg.jpg") center/cover no-repeat;
  width: 100%;
  height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  position: relative;
  background-color: #00BFFF;
}

/* Optional dark overlay */
.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.45); */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 3rem;
  color: #fff;
}

.hero-content p {
  font-size: 1.2rem;
  color: #f1f1f1;
  margin-top: 10px;
}

/* ================= SUPPORT OUR MISSION SECTION ================= */

.support-mission {
  padding: 60px 20px;
  background: #ffffff;
}

.support-container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.support-container h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  color: #00BFFF; /* Blue heading */
}

.support-container p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #444;
}

.support-container .tax-note {
  margin-top: 18px;
  font-weight: 600;
  color: #00BFFF;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .support-container h2 {
    font-size: 26px;
  }

  .support-container p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .support-mission {
    padding: 45px 15px;
  }

  .support-container h2 {
    font-size: 22px;
  }

  .support-container p {
    font-size: 15px;
  }
}


/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .support-container h2 {
    font-size: 26px;
  }

  .support-container p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .support-mission {
    padding: 45px 15px;
  }

  .support-container h2 {
    font-size: 22px;
  }

  .support-container p {
    font-size: 15px;
  }
}


/* ==========================
   Contact Form Section
========================== */
.contact-form-section {
  padding: 70px 8%;
  background: #ffffff;
  text-align: center;
}

.contact-form-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}

.contact-container {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 40px;
  align-items: flex-start;
}

/* ==========================
   Form Styling
========================== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
  background: #fdfdfd;
  padding: 35px;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 4px 12px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 5px;
}

input, select, textarea {
  padding: 12px;
  border: 1px solid #aaa;
  border-radius: 6px;
  outline: none;
  transition: 0.3s;
}

input:focus, textarea:focus, select:focus {
  border-color: #1463ff;
  box-shadow: 0 0 6px rgba(20, 99, 255, 0.3);
}

.full-width {
  grid-column: span 2;
}

.submit-btn {
  padding: 13px;
  background: #1463ff;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background: #003bbf;
}

/* ==========================
   Contact Info Box
========================== */
.contact-info-box {
  background: #f4f6ff;
  padding: 35px;
  border-radius: 10px;
  text-align: left;
  border: 1px solid #d0d7ff;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 4px 12px;
}

.contact-info-box h3 {
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.contact-info-box p {
  margin-bottom: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
}

.contact-info-box i {
  color: #1463ff;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}

.social-icons a {
  font-size: 1.3rem;
  transition: 0.3s;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: #003bbf;
}

/* ==========================
   Success Popup
========================== */
.success-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.popup-content {
  background: #fff;
  padding: 40px;
  text-align: center;
  border-radius: 12px;
  width: 350px;
  animation: fadeIn 0.3s ease-in-out;
}

.popup-content i {
  font-size: 3rem;
  color: #11b44b;
  margin-bottom: 15px;
}

.popup-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.popup-content button {
  margin-top: 15px;
  padding: 10px 22px;
  border: none;
  background: #1463ff;
  color: white;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.popup-content button:hover {
  background: #003bbf;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
/* ==========================
   FULLY RESPONSIVE FIX
========================== */


/* Mobile Fix — Remove extra spacing */
@media (max-width: 768px) {
  .contact-form-section {
    padding: 40px 15px;
  }

  .contact-container {
    display: block;
  }

  .form-row {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .contact-form,
  .contact-info-box {
    padding: 22px;
    margin: 0;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .contact-form-section {
    padding: 35px 10px;
  }
}

/* Extra Small Devices */
@media (max-width: 400px) {
  .hero-content h1 {
    font-size: 1.4rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }
}




/* ===== 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;
  }
}
