*{
  margin:0;
  padding:0;
  box-sizing:border-box;
   word-wrap:break-word;
}

body{
  font-family:'Poppins', sans-serif;
   overflow-x:hidden;
}

html, body{
  max-width:100%;
  overflow-x:hidden;
}



/* ================= TOP HEADER ================= */
.top-header{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:35px;
  padding:20px;
  background: linear-gradient(135deg, #F8DDE3, #F3C7D3);
  position:relative;
  flex-wrap:wrap;
  text-align:center;
}

/* SHINE EFFECT */
.top-header::before{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  animation:shine 6s infinite;
}

@keyframes shine{
  0%{ left:-100%; }
  100%{ left:100%; }
}

/* HEADER TEXT */
.header-center{
  text-align:center;
}

/* TITLE (similar to 5th image) */
.top-header h1{
  font-size:clamp(24px, 3vw, 52px);
  font-weight:700;
  color:#7B1E3A;
  letter-spacing:2px;
  font-family:'Cinzel', serif;
}

/* SUB TITLE */
.top-header h2{
  font-size:clamp(18px, 2.5vw, 26px);
  font-weight:600;
  color:#9A2E50;
  margin-top:5px;
  font-family:'Cinzel', serif;
}

@media(max-width:768px){
  .top-header h2{
    font-size:26px !important;
  }
}


/* SUB TEXT */
.sub-text{
  font-size:clamp(14px, 2vw, 20px);
  font-weight:500;
  color:#6A2C45;
  margin-top:6px;
  font-family:'Cinzel', serif;
}

/* LOGO */
.top-logo{
  width:clamp(90px, 10vw, 150px);
  height:auto;
}

/* ================= MAIN HEADER ================= */
.main-header{
  padding:14px 0;
  background: linear-gradient(135deg, #E9AFC0, #D98CA5);
  border-top:1px solid rgba(255,255,255,0.4);
}

/* NAV CONTAINER */
.container{
  width:95%;
  max-width:1300px;
  margin:auto;
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
}


/* NAV LINKS */
.navbar a{
  color:#6A1B37;
  text-decoration:none;
  margin:0 12px;
  font-weight:600;
  font-size:16px;
  font-family:'Poppins', sans-serif;
  transition:0.3s;
}

.navbar a:hover{
  color:#ffffff;
}

/* RESPONSIVE */
@media(max-width:768px){
  .top-header{
    flex-direction:column;
    gap:15px;
  }

  .top-header h1{
    font-size:22px;
  }

  .top-header h2{
    font-size:18px;
  }

  .sub-text{
    font-size: 18px;
    font-weight: 500;
  }
}


/* MENU CONTAINER */
.menu{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap; /* ✅ IMPORTANT */
  gap:10px;
  overflow:hidden;


  background: linear-gradient(135deg, #E9AFC0, #D98CA5);
  padding:10px;

}

/* MENU LINKS */
.menu a{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  color:#2E1B25; /* dark readable text */
  text-decoration:none;

  font-size:17px;
  font-weight:600;

  padding:12px 14px;
  border-radius:20px;

  transition:0.3s;
  white-space:nowrap;

  background:rgba(255,255,255,0.3); /* soft pill background */
  backdrop-filter:blur(4px);
}

/* ICON INSIDE MENU (if any) */
.menu a i{
  color:#6A1B37; /* violet icon */
}

/* HOVER EFFECT */
.menu a:hover{
  background:#ffffff;
  color:#6A1B37;
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(111,66,193,0.25);
}

/* HOVER ICON */
.menu a:hover i{
  color:#6A1B37;
}

/* MENU TOGGLE ICON */
.menu-toggle{
  display:none;
  font-size:26px;
  color:#6A1B37; /* dark violet */
  cursor:pointer;
  transition:0.3s;
}

.menu-toggle:hover{
  color:#6A1B37;
}

/* HERO CONTENT*/
.message-hero{
  text-align:center;
  padding:60px 20px;
  color:#6f42c1;
  animation:fadeDown 1s ease;
  font-size:25px;
}

@keyframes fadeDown{
  from{opacity:0;transform:translateY(-30px);}
  to{opacity:1;transform:translateY(0);}
}

/* CARDS */
.message-box{
  padding:60px 20px;
  
}


.message-card{
  background:#fff;
  padding:30px 25px;
  width:300px;
  text-align:center;
  border-radius:15px;
  box-shadow:0 8px 25px rgba(0,0,0,0.08);
  transition:all 0.4s ease;
  opacity:0;
  transform:translateY(50px);
}

/* HOVER EFFECT */
.message-card:hover{
  transform:translateY(-10px) scale(1.03);
  box-shadow:0 15px 40px rgba(0,0,0,0.15);
}

.message-card:hover i{
  color:#ff9800;
}

/* ACTIVE ANIMATION */
.message-card.show{
  opacity:1;
  transform:translateY(0);
}

/* MOBILE */
@media(max-width:768px){
  .container{
    flex-direction:column;
    align-items:center;
  }
}

/* QUOTE */
.quote{
  text-align:center;
  padding:40px;
  font-style:italic;
  color:#444;
  animation:fadeUp 1s ease;
}

@keyframes fadeUp{
  from{opacity:0;transform:translateY(30px);}
  to{opacity:1;transform:translateY(0);}
}

/* HERO */
.message-hero{
  text-align:center;
  padding:60px 20px;
  color:#6f42c1;
  animation:fadeDown 1s ease;
}

/* TITLE */
.message-hero h1{
  font-size:45px;
  font-weight:10px;
  margin-bottom:10px;
  color:#6f42c1;
}

/* SUB TEXT */
.message-hero p{
  font-size:28px;
  color:#d069b5;
}


@keyframes fadeDown{
  from{opacity:0;transform:translateY(-30px);}
  to{opacity:1;transform:translateY(0);}
}

/* CARDS CONTAINER */
.message-box{
  width:90%;
  max-width:1100px;
  margin:60px auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:25px;
}

/* CARD */
.message-card{
  background:#ffffff;
  padding:30px 25px;
  border-radius:16px;
  text-align:center;
 
  transition:all 0.4s ease;
  position:relative;
  overflow:hidden;
  border:1px solid rgba(0,0,0,0.05);
}

/* TOP GRADIENT LINE */
.message-card::after{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg,#6f42c1,#d069b5);
}

/* ICON BACKGROUND CIRCLE */
.message-card i{
  font-size:28px;
  color:#6f42c1;
  background:rgba(111,66,193,0.1);
  padding:18px;
  border-radius:50%;
  margin-bottom:15px;
  transition:0.3s;
}

/* TITLE */
.message-card h2{
  margin-bottom:10px;
  color:#d069b5;
  font-size:20px;
  font-weight:600;
}

/* TEXT */
.message-card p{
  color:#6f42c1;
  font-size:14px;
  line-height:1.7;
}

/* HOVER EFFECT */
.message-card:hover{
  transform:translateY(-12px);
  box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

/* ICON HOVER */
.message-card:hover i{
  background:#6f42c1;
  color:#fff;
  transform:scale(1.1);
}

/* SOFT GLOW EFFECT */
.message-card::before{
  content:"";
  position:absolute;
  width:120%;
  height:120%;
  background:radial-gradient(circle,rgba(111,66,193,0.08),transparent);
  top:-50%;
  left:-50%;
  opacity:0;
  transition:0.5s;
}

.message-card:hover::before{
  opacity:1;
}


.message-card:nth-child(2)::after{
  background:linear-gradient(90deg,#ff9800,#ff5722);
}

.message-card:nth-child(3)::after{
  background:linear-gradient(90deg,#00bcd4,#2196f3);
}


/* ================= LEADER SECTION ================= */
.leader-section{
  width:90%;
  max-width:1100px;
  margin:60px auto;
}

.leader-box{
  display:flex;
  align-items:center;
  gap:30px;
  margin-bottom:50px;
  animation:fadeUp 1s ease;
}

.leader-box.reverse{
  flex-direction:row-reverse;
}

/* IMAGE */
.leader-img img{
  width:260px;
  border-radius:12px;
  box-shadow:0 10px 20px rgba(0,0,0,0.15);
  transition:0.4s;
}

.leader-img img:hover{
  transform:scale(1.05);
}

/* TEXT */
.leader-text{
  flex:1;
}

.leader-text h2{
  color:#6f42c1;
  margin-bottom:10px;
  font-size:40px;
  font-weight:20px;
}

.leader-text h3{
  color:#d069b5;
  margin-bottom:10px;
    font-size:30px;
  font-weight:20px;
}


.leader-text p{
  color:#070707;
  line-height:1.7;
  font-size:18px;
}

img{
  max-width:100%;
  height:auto;
}


/* MOBILE */
@media(max-width:768px){

  .leader-box{
    flex-direction:column;
    text-align:center;
  }

  .leader-box.reverse{
    flex-direction:column;
  }

  .leader-img img{
    width:200px;
  }
}


.banner{
  width:100%;
  height:600px;   /* fixed height */
  overflow:hidden;
}

.banner img{
  width:100%;
  height:100%;
         /* main magic */
  object-position:center;  /* center crop */
  display:block;
}

/* Mobile */
@media(max-width:768px){
  .banner{
    height:150px;
  }
}


/* CTA */
.contact-cta{
  text-align:center;
  padding:50px 20px;
}

.contact-cta h2{
  color:#6f42c1;
  margin-bottom:10px;
}

.contact-cta a{
  display:inline-block;
  margin-top:15px;
  padding:12px 25px;
  background:#6f42c1;
  color:#fff;
  text-decoration:none;
  border-radius:8px;
  transition:0.3s;
}

.contact-cta a:hover{
  background:#ff4ecd;
}


.contact-banner {
  margin-top: 50px;
  padding: 20px;
  background: #6f42c1;
  color: white;
  border-radius: 12px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* 🔥 THIS IS THE MAIN FIX */
.banner-text {
  display: flex;
  align-items: center;   /* <-- KEY FIX */
  gap: 12px;
}
.contact-banner{
  max-width:900px;
  margin:60px auto;
  padding:25px 30px;
  background:#6f42c1;
  border-radius:15px;
  display:flex;
  align-items:center;
  gap:20px;
  box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

/* ICON */
.contact-icon{
  width:55px;
  height:55px;
  min-width:55px;
  border-radius:50%;
  background:rgba(255,255,255,0.1);
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  transition:0.3s ease;
}

/* SVG */
.contact-icon svg{
  width:24px;
  height:24px;
  color:#ffffff;
}

/* TEXT */
.contact-text p{
  margin:0;
  color:#dcd6f7;
  font-size:15px;
  line-height:1.6;
}

/* TITLE */
.contact-text strong{
  color:#ffffff;
  font-weight:600;
}

/* HOVER */
.contact-icon:hover{
  background:#ff9800;
  transform:scale(1.1);
}

/* MOBILE */
@media(max-width:768px){
  .contact-banner{
    flex-direction:column;
    text-align:center;
  }
}


/* FOOTER */
#footer{
  margin-top:50px;
}



.edu-leader-section {
  padding: 80px 20px;
  background: #f5f7fb;
}

.edu-container {
  max-width: 1100px;
  margin: auto;
}

/* MAIN ROW */
.edu-row {
  display: flex;
  gap: 35px;
  align-items: flex-start;
  margin-bottom: 70px;

  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.7s ease;
}

/* reverse animation */
.edu-row.reverse {
  flex-direction: row-reverse;
  transform: translateX(50px);
}

/* SHOW animation */
.edu-row.show {
  opacity: 1;
  transform: translateX(0);
}

/* IMAGE BOX */
.edu-img {
  width: 180px;
  flex-shrink: 0;
}

.edu-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #dbe4ff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.edu-img img:hover {
  transform: scale(1.05);
}

/* TEXT BOX */
.edu-text {
  background: #ffffff;
  padding: 25px 30px;
  border-left: 5px solid #1e3a8a;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  border-radius: 8px;
}

/* MAIN TITLE */
.edu-text h2 {
  font-size: 23px;
  color: #ff4ecd;;
  margin-bottom: 8px;
  font-weight: 700;
}

/* NAME */
.edu-text h3 {
  font-size: 20px;
  color: #1d4ed8;
  margin-bottom: 5px;
  font-weight: 600;
}

/* SCHOOL NAME */
.edu-text h4 {
  font-size: 14px;
  color: #0482e2;
  margin-bottom: 15px;
  font-weight: 500;
}

/* PARAGRAPH */
.edu-text p {
  font-size: 14px;
  line-height: 1.8;
  color: #0d0f11;
  text-align: justify;
}

/* HOVER EFFECT */
.edu-text:hover {
  transform: translateY(-4px);
  transition: 0.3s ease;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .edu-row,
  .edu-row.reverse {
    flex-direction: column;
    text-align: center;
    transform: translateY(40px);
  }

  .edu-row.show {
    transform: translateY(0);
  }

  .edu-img {
    width: 150px;
    margin: auto;
  }

  .edu-img img {
    height: 180px;
  }

  .edu-text {
    border-left: none;
    border-top: 5px solid #1e3a8a;
  }
}


/* SECTION */
.join-section{
  margin:60px auto;
  width:90%;
  max-width:1100px;
  background:linear-gradient(135deg,#6f42c1,#ff4ecd);
  padding:50px 30px;
  border-radius:15px;
  text-align:center;
  color:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

/* TITLE */
.join-section h2{
  font-size:32px;
  margin-bottom:15px;
}

/* TEXT */
.join-section p{
  font-size:16px;
  max-width:700px;
  margin:auto;
  line-height:1.6;
}

/* BUTTON GROUP */
.join-buttons{
  margin-top:25px;
  display:flex;
  justify-content:center;
  gap:15px;
  flex-wrap:wrap;
}

/* BUTTON */
.btn{
  padding:12px 25px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}

/* PRIMARY */
.primary{
  background:#fff;
  color:#6f42c1;
}

/* SECONDARY */
.secondary{
  background:transparent;
  border:2px solid #fff;
  color:#fff;
}

/* HOVER */
.btn:hover{
  transform:translateY(-4px) scale(1.05);
}

.primary:hover{
  background:#ffe6fa;
}

.secondary:hover{
  background:#fff;
  color:#6f42c1;
}


/* MOBILE */
@media(max-width:768px){
  .join-section{
    margin:20px auto;   /* 🔥 reduce top space */
    padding:30px 15px;
  }

  .join-section h2{
    font-size:22px;         /* smaller title */
    line-height:1.3;
  }

  .join-section p{
    font-size:14px;
    padding:0 5px;          /* prevent text touching edge */
  }

  /* BUTTON GROUP FIX */
  .join-buttons{
    flex-direction:column;  /* 🔥 stack buttons */
    gap:12px;
    align-items:center;
  }

  /* BUTTON FULL WIDTH */
  .btn{
    width:90%;              /* full width buttons */
    text-align:center;
    padding:12px;
  }
}


/* FOOTER */
    #footer {
      margin-top: 40px;
    }

    

    /* ================= MOBILE MENU ================= */

/* show toggle button */
@media(max-width:768px){

  .menu-toggle{
    display:block;
    position:absolute;
    right:20px;
    top:15px;
    z-index:1000;
  }

.menu{
  position:absolute;
  top:60px;
  left:0;
  width:100%;
  flex-direction:column;
  background: linear-gradient(135deg, #E9AFC0, #D98CA5);
  display:none;
  padding:15px 0;
  border-radius:0;
  overflow:hidden; /* ✅ add this */
}


  .menu a{
    width:90%;
    margin:5px auto;
    text-align:center;
  }

  .menu.active{
    display:flex; /* show when clicked */
  }
}
