/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(135deg, #e9eef7, #f7f9fc);
}

/* =========================
   FULL WIDTH NAVBAR
========================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 30px;

  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.2);

  z-index: 1000;

  /* page load animation */
  opacity: 0;
  transform: translateY(-20px);
  animation: navbarLoad 0.6s ease forwards;
}

/* NAV LINKS - EVEN SPACING */
.nav-links {
  display: flex;
  flex: 1;              /* takes full space */
  justify-content: space-evenly; /* evenly spaced */
  list-style: none;
  align-items: center;
}

/* LINKS */
.nav-links a {
  text-decoration: none;
  color: #222;
  font-size: 14px;
  font-weight: 500;

  padding: 10px 16px;
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.4);

  transition: all 0.3s ease;
  display: inline-block;

  /* individual load animation */
  opacity: 0;
  transform: translateY(-10px);
  animation: linkFade 0.5s ease forwards;
}

/* stagger animation for each link */
.nav-links li:nth-child(1) a { animation-delay: 0.2s; }
.nav-links li:nth-child(2) a { animation-delay: 0.3s; }
.nav-links li:nth-child(3) a { animation-delay: 0.4s; }
.nav-links li:nth-child(4) a { animation-delay: 0.5s; }
.nav-links li:nth-child(5) a { animation-delay: 0.6s; }

/* hover */
.nav-links a:hover {
  background: #4f46e5;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

/* HAMBURGER */
.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #222;
  transition: transform 0.3s ease;
}

.hamburger:hover {
  transform: rotate(90deg);
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 20px;

    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    width: 220px;
    padding: 15px;

    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);

    border-radius: 16px;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);

    display: none;
  }

  .nav-links.active {
    display: flex;
  }
}

/* =========================
   ANIMATIONS
========================= */
@keyframes navbarLoad {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes linkFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}








/* Hero Section */
.firstDiv {
  height: 100vh;
  width: 100%;
  background-image: url(./images/magnific_a-group-of-black-children_jSCjCGqLD0.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* background-attachment: fixed; */
  position: relative;
}

.firstDiv::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}
.hero-content button{
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.hero-content button:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
  color: white;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -30%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.aboutUs {
  flex: 1;
  border-radius: 10px;
  height: 550px;
  width: 500px;
  border: 1px solid black;
  margin-left: 50px;

  background-image:
    url("./images/WhatsApp Image 2026-04-20 at 1.08.24 PM.jpeg"),
    url("./images/WhatsApp Image 2026-04-14 at 15.16.59.jpeg");

  background-size: 600px 272px, 600px 272px;

  background-position: left top, right bottom;

  background-repeat: no-repeat, no-repeat;

  background-color: #f0f0f0;
}

.second {
  display: flex;
}

.aboutUsContent {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
  margin-left: 50px;
}

.aboutUsContent h1 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #333;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 550;
  font-style: normal;
  font-size: 2.5rem;
  margin-bottom: 60px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.aboutUsContent h1::first-letter{
  font-size: 2em;
  font-weight: bold;
}

.aboutUsContent p{
  line-height: 1.4;
  font-size: 1em;
  color: #555;
  text-align: justify;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}



h5{
  color: #006838;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
  font-size: 16px;
}
.whoWeAre{
  text-align: center;
  line-height: 1.4;
  font-size: 1em;
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;

}
.whoWeAre p{
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: italic;
}


.whoWeAre h5{
  color: #006838;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
  font-size: 16px;
  text-align: center;
  font-style: italic;
}



/* =========================
   BASE LAYOUT (DESKTOP)
========================= */

.second {
  display: flex;
  gap: 40px;
  padding: 60px;
  align-items: center;
}

.aboutUs {
  flex: 1;
  height: 500px;
  background: url("your-image.jpg") center/cover no-repeat;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.aboutUsContent {
  flex: 1.2;
}

.aboutUsContent h1 {
  font-size: 2rem;
}

.aboutUsContent p {
  line-height: 1.7;
  color: #333;
}

/* =========================
   THIRD SECTION (CARDS)
========================= */

.third .container {
  display: flex;
  gap: 25px;
  margin-top: 40px;
}

.third .box {
  flex: 1;
  padding: 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}

.third .box:hover {
  transform: translateY(-10px);
}

/* =========================
   TABLET RESPONSIVE
========================= */

@media (max-width: 992px) {

  .second {
    flex-direction: column;
    padding: 40px;
    text-align: center;
  }

  .aboutUs {
    width: 100%;
    height: 350px;
  }

  .aboutUsContent h1 {
    font-size: 1.6rem;
  }

  .third .container {
    flex-wrap: wrap;
  }

  .third .box {
    flex: 1 1 45%;
  }
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 600px) {

  .second {
    padding: 25px;
  }

  .aboutUs {
    height: 250px;
  }

  .aboutUsContent h1 {
    font-size: 1.3rem;
  }

  .aboutUsContent p {
    font-size: 0.95rem;
  }

  .third .container {
    flex-direction: column;
  }

  .third .box {
    flex: 1 1 100%;
  }

  .third .box h2 {
    font-size: 1.1rem;
  }
}



.third{
  background: #f6f6f6;
}

.container{
  display: flex;
  gap: 10px;
  margin-top: 30px;
  justify-content: center;
}
.fa-graduation-cap{
  width: 400px;
  top: 0px;
  font-size: 50px;
  padding: 10px;
  border-width: 2px 2px 2px 2px;

}

.fa-person{
  width: 400px;
  top: 0px;
  font-size: 50px;
  padding: 10px;
  border-width: 2px 2px 2px 2px;
}
.fa-briefcase-medical{
  width: 400px;
  top: 0px;
  font-size: 50px;
  padding: 10px;
  border-width: 2px 2px 2px 2px;
}

.box{
  width: 400px;
  height: 350px;
  padding: 20px;
  background-color: #ffffff;
  border: none;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;

}

.box:hover{
  color: black;
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  
}
.readmore{
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.readmore:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
  color: white;
}

.readmoreMiddle{
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.readmoreMiddle:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
  color: white;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
}

.programs-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  color: white;
  font-size: 2.5rem;
  margin-bottom: 60px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.program-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #f9ca24);
  background-size: 300% 300%;
  animation: gradientShift 3s ease infinite;  
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.program-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.program-title {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 600;
}

.program-description {
  color: #7f8c8d;
  margin-bottom: 25px;
  font-size: 1rem;
  line-height: 1.7;
}

.learn-more-btn {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.learn-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
  color: white;
}


/* responsivness */


/* =========================
   PROJECT SECTION (DESKTOP)
========================= */

.projects {
  display: flex;
  gap: 25px;
  padding: 60px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  background: #f8fafc;
}

/* CARD */
.project-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

/* HOVER */
.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* IMAGE */
.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* TEXT */
.project-card h2 {
  font-size: 1.3rem;
  margin: 15px;
  color: #0f172a;
}

.project-card p {
  margin: 0 15px 20px 15px;
  line-height: 1.6;
  color: #475569;
}

/* BUTTON */
.project-card button {
  margin: 0 15px 20px 15px;
  padding: 10px 18px;
  border: none;
  background: #0ea5e9;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.project-card button:hover {
  background: #0284c7;
  transform: scale(1.05);
}

/* =========================
   TABLET VIEW (2 per row)
========================= */

@media (max-width: 992px) {
  .projects {
    padding: 40px;
    gap: 20px;
  }

  .project-card {
    flex: 1 1 45%;
  }
}

/* =========================
   MOBILE VIEW (STACK VERTICALLY)
========================= */

@media (max-width: 600px) {

  .projects {
    flex-direction: column;   /* 🔥 THIS FORCES VERTICAL STACK */
    align-items: center;
    padding: 25px;
  }

  .project-card {
    width: 100%;
    max-width: 100%;
  }

  .project-card img {
    height: 180px;
  }

  .project-card h2 {
    font-size: 1.1rem;
  }

  .project-card p {
    font-size: 0.95rem;
  }
}







/* footer starts here */

.footer {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: #ffffff;
  font-family: 'Arial', sans-serif;
}

.footer-top {
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-section h3 {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: #ffd700;
  border-radius: 2px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li:last-child {
  margin-bottom: 0;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 15px;
}

.footer-section a:hover {
  color: #ffd700;
  padding-left: 5px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

.contact-item i {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-size: 12px;
  color: #ffd700;
}

.newsletter-form {
  display: flex;
  margin-top: 20px;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 14px;
  outline: none;
  backdrop-filter: blur(10px);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
  padding: 12px 20px;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  border: none;
  border-radius: 25px;
  color: #1e3c72;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.footer-bottom {
  padding: 30px 0;
  background: rgba(0, 0, 0, 0.2);
}

.footer-bottom .footer-container {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-links a:hover {
  background: #ffd700;
  color: #1e3c72;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: end;
  text-align: right;
  gap: 10px;
}

.footer-legal p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.legal-links {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-links li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.legal-links li a:hover {
  color: #ffd700;
}









/* code for featured project */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.projects {
  width: 90%;
  margin: 50px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.project-card {
  text-align: center;
}

.project-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: 35px;
  border: 2px solid gold;
  display: block;
}

.project-card h2 {
  margin-top: 15px;
  font-size: 2rem;
  font-family: Georgia, serif;
  font-weight: bold;
  color: #000;
}

.project-card p {
  margin-top: 15px;
  font-size: 1.3rem;
  line-height: 1.8;
  color: #5a6675;
  padding: 0 10px;
}

.project-card button {
  margin-top: 25px;
  background: #f4c400;
  color: #000;
  border: none;
  padding: 15px 40px;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 3px;
  transition: 0.3s;
}

.project-card button:hover {
  background: #ddb000;
}

/* animation */

 
.container1{
  width:100%;
  height:100px;
  position:relative;
  overflow: hidden;
  background-color: whitesmoke;
}

 .icons{
  position:absolute;
  display:flex;
  gap:50px;
  animation: moveSideToSide 8s ease-in-out infinite alternate;
}

.circle{
  width:60px;
  height:60px;
  border-radius:50%;
  background:#4f46e5;
  color:white;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:28px;
  box-shadow:0 4px 10px rgba(0,0,0,0.15);
}

@keyframes moveSideToSide{
  from{
      left:0;
  }
  to{
      left:calc(100% - 450px);
  }
}