*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}



body{
  display:flex;
  flex-direction:column;
  min-height:100vh;
  overflow-x:hidden;
}


/* ===== HEADER ===== */
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;
}




/* 🔥 MAIN PUSH FIX */
main{
  flex:1;
  width:100%;
}

/* 🔥 FOOTER FIX */
#footer{
  width:100%;
  margin-top:auto;
}

/* 🔥 REMOVE EXTRA GAP */
section:last-child{
  margin-bottom:0;
}

/* safety fix for all sections */
.institutions,
.about,
.features,
.three-box{
  margin-bottom:0;
}


/* ===== HEADER ===== */



.banner{
  width:100%;
  background:#000; /* optional - fills empty space neatly */
  text-align:center;
}

.banner img{
  width:100%;
  height:auto;   /* ✅ keeps full image visible */
  display:block;
}

/* Mobile */
@media(max-width:768px){
  .banner{
    height:150px;
  }
}


/* ===== GLOBAL FIX ===== */
.cards, .features, .three-box{
  width:100%;
  max-width:1200px;
  margin:auto;
  padding:0 15px;
}

/* (remaining CSS unchanged - same as yours) */


/* ===== SECTION ===== */
.institutions {
  padding: 60px 20px;
  background:  #ffffff;
  text-align: center;
}

/* TITLE */
.section-title{
  text-align:center;
  margin:40px 0 30px;
  color:#6f42c1;
  font-size:28px;
}


/* SUB TEXT */
.section-sub {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* ===== CARDS LAYOUT ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

/* ===== CARD ===== */
.card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  border: 1px solid rgba(111, 66, 193, 0.15);

  /* IMPORTANT FIX */
  text-align: left;
  display: flex;
  flex-direction: column;
}

/* hover */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(111, 66, 193, 0.25);
}

/* TITLE INSIDE CARD */
.card h3 {
  font-size: 30px;
  font-weight: 800;
  color: #6f42c1;
  margin-bottom: 5px;
}

/* YEAR */
.card span {
  font-size: 20px;
  color: #888;
  margin-bottom: 12px;
}

/* TEXT FIX (MAIN SOLUTION) */
.card p {
  font-size: 17px;
  color: #444;
  line-height: 1.7;

  /* KEY FIXES */
  text-align: left;
  word-spacing: normal;
  letter-spacing: 0.2px;
  hyphens: auto;
}

/* CONTACT BANNER */
.contact-banner {
  margin-top: 50px;
  padding: 20px;
  background: #6f42c1;
  color: white;
  border-radius: 12px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.banner-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 24px;
  }
}


.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;
}

.phone-icon {
  width: 38px;
  height: 38px;

  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  text-decoration: none;   /* removes underline */
  color: white;
  cursor: pointer;
  transition: 0.3s ease;
}

.phone-icon:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.3);
}

.phone-icon svg {
  width: 18px;
  height: 18px;
  fill: white;
}



/* TEXT */
.banner-text p {
  margin: 0;
  color: white;
  line-height: 1.5;
}


/* ===== 3 IMAGE SECTION ===== */
.three-box{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  width:90%;
  max-width:1200px;
  margin:40px auto;
}

.three-box .box{
  position:relative;
  overflow:hidden;
  border-radius:12px;
  box-shadow:0 5px 15px rgba(0,0,0,0.1);
  cursor:pointer;
}

/* IMAGE */
.three-box img{
  width:100%;
  height:auto;
  display:block;
  transition:transform 0.5s ease;
}

/* DARK OVERLAY */
.three-box .box::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.4);
  opacity:0;
  transition:opacity 0.4s ease;
}

/* TEXT */
.three-box .box::after{
  content:"View";
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);

  background: linear-gradient(135deg, #ff4ecd, #6f42c1);
  color:#fff;
  padding:10px 18px;
  border-radius:25px;
  font-size:14px;
  font-weight:700;
  letter-spacing:0.5px;

  box-shadow:0 5px 15px rgba(0,0,0,0.3);

  opacity:0;
  transition:all 0.4s ease;
}

.three-box .box:hover::after{
  opacity:1;
  transform:translate(-50%, -50%) scale(1.1);
}


/* HOVER */
.three-box .box:hover img{
  transform:scale(1.1);
}

.three-box .box:hover::before{
  opacity:1;
}

.three-box .box:hover::after{
  opacity:1;
}

/* MOBILE */
@media(max-width:768px){
  .three-box{
    grid-template-columns:1fr;
  }
}

/*next section*/
/* SECTION */
.about{
  background:#f8fafc;
  padding:90px 20px;
}

/* WRAPPER */
.about-wrap{
  max-width:1100px;
  margin:auto;
  display:flex;
  align-items:center;
  gap:60px;
  flex-wrap:wrap;
}

/* LEFT IMAGE */
.about-left img{
width: 292px;
    height: 334px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* RIGHT */
.about-right{
  flex:1;
}

/* BADGE */
.badge{
  display:inline-block;
  background:#4f46e5;
  color:#fff;
  padding:5px 12px;
  border-radius:20px;
  font-size:12px;
  margin-bottom:10px;
}

/* TITLE */
.about-right h2{
    font-size: 40px;
    color: #6f42c1;
    margin-bottom: 10px;
}

/* PARAGRAPH */
.about-right p{
    color: #d069b5;
    
    max-width: 678px;
    /* align-items: center; */
    font-size: 21px;
}

/* POINTS */
.points{
  display:flex;
  flex-direction:column;
  gap:12px;
}

/* SINGLE POINT */
.point{
  display:flex;
  align-items:center;
  gap:10px;
  background:linear-gradient(135deg, #ff4ecd, #6f42c1);
  padding:10px 15px;
  border-radius:10px;
  box-shadow:0 5px 15px rgba(0,0,0,0.05);
  transition:0.3s;
}

.point:hover{
  transform:translateX(5px);
}

/* CHECK ICON */
.point span{
  color:#fff;
  font-weight:bold;
}

/* MOBILE */
@media(max-width:768px){
  .about-wrap{
    flex-direction:column;
    text-align:center;
  }

  .about-left img{
            width: 255px;
        height: 308px;
  }

  .points{
    align-items:center;
  }
}


/* TITLE */
.section-title{
  text-align:center;
  margin:40px 0 30px;
  color:#6f42c1
  font-size:28px;
}

/* FEATURES GRID (3 per row) */
.features{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:20px;
  max-width:1100px;
  margin:auto;
  padding:0 20px;
}

/* CARD */
.feature{
  display:flex;
  align-items:center;
  gap:12px;

  background: linear-gradient(135deg, #d069b5, #6f42c1);
  color:#fff;

  padding:15px 20px;
  border-radius:12px;

  transition:0.3s;
  opacity:0;
  transform:translateY(20px);
  animation:fadeUp 0.6s forwards;
}

/* ICON */
.feature i{
  font-size:18px;
  background:#fff;
  color:#6f42c1;
  padding:10px;
  border-radius:50%;
}

/* HOVER */
.feature:hover{
  transform:translateY(-6px) scale(1.03);
  box-shadow:0 10px 20px rgba(0,0,0,0.2);
}

/* ANIMATION */
@keyframes fadeUp{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* DELAY */
.feature:nth-child(1){ animation-delay:0.1s; }
.feature:nth-child(2){ animation-delay:0.2s; }
.feature:nth-child(3){ animation-delay:0.3s; }
.feature:nth-child(4){ animation-delay:0.4s; }
.feature:nth-child(5){ animation-delay:0.5s; }
.feature:nth-child(6){ animation-delay:0.6s; }
.feature:nth-child(7){ animation-delay:0.7s; }
.feature:nth-child(8){ animation-delay:0.8s; }
.feature:nth-child(9){ animation-delay:0.9s; }

/* TABLET */
@media(max-width:900px){
  .features{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media(max-width:600px){
  .features{
    grid-template-columns: 1fr;
  }
}

/* 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 h2{
    font-size:24px;
  }

  .join-section p{
    font-size:14px;
  }
}



    /* 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 */
  }
}
