/* 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_black-children-in-a-brigh_xgfxfGUjfW.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);
  }


/* new section after first section */


/* second section */

/* SECTION */

.about {
  padding: 100px 8%;
  background: #f5f7fa;
}

/* MAIN CONTAINER */

.about-container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 60px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,.08);

  animation: fadeUp 1.2s ease;
}

/* LEFT SIDE */

.about-image {
  flex: 1;
  min-height: 650px;
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: 0.8s;
}

.about-image:hover img {
  transform: scale(1.08);
}

/* FLOATING BOX */

.experience-box {
  position: absolute;
  bottom: 30px;
  left: 30px;

  background: #ffc107;
  color: #000;

  padding: 20px 25px;
  border-radius: 12px;

  animation: float 3s infinite ease-in-out;
}

.experience-box h3 {
  font-size: 32px;
}

.experience-box p {
  font-size: 14px;
}

/* RIGHT SIDE */

.about-content {
  flex: 1.3;
  padding: 50px;
}

.subtitle {
  color: #f4b400;
  font-weight: 700;
  letter-spacing: 2px;
}

.about-content h2 {
  font-size: 45px;
  color: #17356f;
  margin: 10px 0 15px;
}

.intro {
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* OBJECTIVES */

.objectives-list {
  list-style: none;
}

.objectives-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 30px;

  color: #444;
  line-height: 1.5;

  transition: .4s;
}

.objectives-list li::before {
  content: "✓";
  position: absolute;
  left: 0;

  width: 20px;
  height: 20px;

  background: #17356f;
  color: white;

  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 12px;
}

.objectives-list li:hover {
  color: #17356f;
  transform: translateX(8px);
}

/* BUTTON */

.about-btn {
  display: inline-block;
  margin-top: 20px;

  background: #17356f;
  color: white;

  padding: 14px 35px;
  border-radius: 5px;

  text-decoration: none;

  transition: .4s;
}

.about-btn:hover {
  background: #f4b400;
  color: black;
  transform: translateY(-3px);
}

/* ANIMATIONS */

@keyframes fadeUp {
  from {
      opacity: 0;
      transform: translateY(80px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes float {
  0% {
      transform: translateY(0);
  }

  50% {
      transform: translateY(-12px);
  }

  100% {
      transform: translateY(0);
  }
}

/* RESPONSIVE */

@media(max-width:992px){

  .about-container{
      flex-direction:column;
  }

  .about-image{
      width:100%;
      min-height:400px;
  }

  .about-content{
      padding:40px;
  }

  .about-content h2{
      font-size:35px;
  }
}




/* SECTION */
.cards-section{
  display:flex;
  justify-content:center;
  gap:30px;
  padding:60px 20px;
  flex-wrap:wrap;
}

/* CARD */
.card{
  width:350px;
  background:white;
  border-radius:15px;
  overflow:hidden;
  box-shadow:0 5px 15px rgba(0,0,0,0.1);

  /* Animation */
  opacity:0;
  animation:fadeUp 1s forwards;

  /* Transition */
  transition:all 0.4s ease;
}

/* Hover Effect */
.card:hover{
  transform:translateY(-10px);
  box-shadow:0 15px 30px rgba(0,0,0,0.2);
}

/* Image Container */
.card-image{
  height:220px;
  overflow:hidden;
}

/* Image */
.card-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.5s ease;
}

/* Zoom Image on Hover */
.card:hover img{
  transform:scale(1.1);
}

/* Content */
.card-content{
  padding:20px;
}

.card-content h3{
  margin-bottom:10px;
}

.card-content p{
  line-height:1.6;
  color:#555;
}

/* Button */
.btn{
  margin-top:15px;
  padding:12px 25px;
  border:none;
  border-radius:30px;
  background:#0066ff;
  color:white;
  cursor:pointer;
  transition:all 0.3s ease;
}

.btn:hover{
  transform:scale(1.05);
  background:#004dc0;
}

/* Entrance Animation */
@keyframes fadeUp{
  from{
      opacity:0;
      transform:translateY(50px);
  }

  to{
      opacity:1;
      transform:translateY(0);
  }
}

/* Animation Delays */
.card:nth-child(1){
  animation-delay:0.2s;
}

.card:nth-child(2){
  animation-delay:0.5s;
}

.card:nth-child(3){
  animation-delay:0.8s;
}



/* about founder starts here */

/* SECTION BACKGROUND */
.founder-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  overflow: hidden;
}

/* FLEX CONTAINER */
.founder-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

/* IMAGE BOX */
.founder-image {
  flex: 1;
  min-width: 280px;
  animation: slideInLeft 1s ease forwards;
  opacity: 0;
}

.founder-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transition: transform 0.5s ease;
}

.founder-image img:hover {
  transform: scale(1.05);
}

/* TEXT BOX */
.founder-content {
  flex: 1;
  min-width: 280px;
  animation: slideInRight 1s ease forwards;
  opacity: 0;
}

.founder-content h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #38bdf8;
}

.founder-content h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #f8fafc;
}

.founder-content p {
  line-height: 1.7;
  margin-bottom: 15px;
  color: #cbd5e1;
}

/* BUTTON */
.founder-btn {
  padding: 12px 25px;
  border: none;
  background: #38bdf8;
  color: #0f172a;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.founder-btn:hover {
  background: #0ea5e9;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
}

/* ANIMATIONS */
@keyframes slideInLeft {
  from {
    transform: translateX(-80px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(80px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .founder-container {
    flex-direction: column;
    text-align: center;
  }

  .founder-content {
    animation: slideInLeft 1s ease forwards;
  }
}




/* 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;
}