*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Poppins', sans-serif;
  background:#fdf6f8;
  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;
}

@media(max-width:768px){
  .top-header h2{
    font-size:26px !important;
  }
}


/* SUB TITLE */
.top-header h2{
  font-size:clamp(18px, 2.5vw, 26px);
  font-weight:600;
  color:#9A2E50;
  margin-top:5px;
  font-family:'Cinzel', serif;
}

/* 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;
}

/* 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:14px;
  }
}


/* MENU CONTAINER */
.menu{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:nowrap;
  gap:10px;
  background: linear-gradient(135deg, #E9AFC0, #D98CA5);
  padding:10px;
  border-radius:12px;
}

/* 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;
}

/* ================= 3 IMAGE SECTION ================= */
.three-box{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  width:90%;
  max-width:1200px;
  margin:40px auto;
}

/* AUTO RESPONSIVE GRID FIX */
@media(max-width:1024px){
  .three-box{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:600px){
  .three-box{
    grid-template-columns:repeat(1,1fr);
  }
}

.three-box .box{
  position:relative;
  overflow:hidden;
  border-radius:12px;
  box-shadow:0 5px 15px rgba(0,0,0,0.1);
  cursor:pointer;
}

.three-box img{
  width:100%;
  display:block;
  transition:0.5s;
}

.three-box .box:hover img{
  transform:scale(1.08);
}

/* VIEW BUTTON */
.three-box .box::after{
  content:"View";
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%) scale(0.8);
  background: linear-gradient(135deg, #ff4ecd, #6f42c1);
  color:#FFD700;
  padding:10px 18px;
  border-radius:25px;
  font-weight:700;
  opacity:0;
  transition:0.4s;
}

.three-box .box:hover::after{
  opacity:1;
  transform:translate(-50%, -50%) scale(1);
}

.three-box .box::before{
  content:"";
  position:absolute;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.4);
  opacity:0;
  transition:0.4s;
}

.three-box .box:hover::before{
  opacity:1;
}

/* ================= CONTENT ================= */
.content{
  width:90%;
  max-width:1200px;
  margin:30px auto;
  background:white;
  padding:clamp(15px, 2vw, 25px);
  border-radius:10px;
  box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.welcome{
  font-size:34px;
  font-weight:900;
  text-align:center;
  margin-bottom:8px;   /* 🔥 reduced gap */

  background: linear-gradient(135deg, #ff4ecd, #6f42c1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  letter-spacing:0.5px;

  text-shadow:
    0 2px 8px rgba(111, 66, 193, 0.2);

  animation: popIn 0.8s ease;
}

@keyframes popIn{
  from{
    opacity:0;
    transform:scale(0.97) translateY(5px);
  }
  to{
    opacity:1;
    transform:scale(1) translateY(0);
  }
}
.welcome{
  font-size:40px;
  font-weight:900;
  text-align:center;
  margin-bottom:8px;   /* 🔥 reduced gap */

  background: linear-gradient(135deg, #ff4ecd, #6f42c1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  letter-spacing:0.5px;

  text-shadow:
    0 2px 8px rgba(111, 66, 193, 0.2);

  animation: popIn 0.8s ease;
}

@keyframes popIn{
  from{
    opacity:0;
    transform:scale(0.97) translateY(5px);
  }
  to{
    opacity:1;
    transform:scale(1) translateY(0);
  }
}



.quote{
  text-align:center;
  color:#dc3545;
  font-style:italic;
  margin:10px 0;
}

.since{
  text-align:center;
  color:#ff4ecd;
  font-style:italic;
  margin:10px 0;
}

.content p{
  line-height:1.8;
  text-align:justify;
  font-size:clamp(20px, 1.5vw, 16px);
  font-weight: 20px;
}

/* ================= FLOAT BUTTON ================= */
.floating-btn{
  position:relative;
  right:70px;
  bottom:20px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:10px 14px;
margin-left:40%;
margin-top:5%;
  background:linear-gradient(135deg,#ff4ecd,#6f42c1);
  color:#fff;
  text-decoration:none;
  font-size:25px;

  border-radius:12px;
  box-shadow:0 10px 25px rgba(0,0,0,0.25);

  z-index:99999;

  animation:floatGlow 2.5s infinite;
}

@keyframes floatGlow{
  0%{box-shadow:0 0 0 0 rgba(255,78,205,0.4);}
  70%{box-shadow:0 0 0 15px rgba(255,78,205,0);}
  100%{box-shadow:0 0 0 0 rgba(255,78,205,0);}
}

/* ================= TABLET ================= */
@media(max-width:1024px){

  .top-header{
    flex-direction:column;
    gap:15px;
    padding:16px 10px;
    text-align:center;
    background: linear-gradient(135deg, #E9AFC0, #D98CA5);
  }

  .top-logo{
    width:120px;
  }

  .top-header h1{
    letter-spacing:1px;
    color:#6A1B37; /* UPDATED */
  }

  .sub-text{
    margin-top:4px;
    color:#6A1B37; /* UPDATED */
  }

  .menu{
    justify-content:center;
  }
}

/* ================= MOBILE ================= */
@media(max-width:768px){

  /* HEADER */
  .top-header{
    flex-direction:column;
    gap:10px;
    padding:12px;
    background: linear-gradient(135deg, #E9AFC0, #D98CA5);
  }

  /* LOGO */
  .top-logo{
    width:90px;
  }

  /* TITLE */
  .top-header h1{
    font-size:clamp(22px, 6vw, 28px);
    text-align:center;
    color:#6A1B37; /* UPDATED */
  }

  .sub-text{
    font-size:clamp(14px, 4vw, 18px);
    color:#6A1B37; /* UPDATED */
  }

  /* MENU ICON */
  .menu-toggle{
    display:block;
    position:absolute;
    right:15px;
    top:18px;
    color:#6A1B37; /* UPDATED */
    font-size:28px;
    cursor:pointer;
  }

  /* MOBILE MENU */
  .menu{
    display:none;
    flex-direction:column;
    width:100%;
    margin-top:10px;

    background: linear-gradient(135deg, #E9AFC0, #D98CA5);
    border-radius:10px;
    overflow:hidden;
  }

  .menu.active{
    display:flex !important;
  }

  .menu a{
    width:100%;
    justify-content:center;
    padding:12px;
    border-bottom:1px solid rgba(106,27,55,0.2);

    color:#6A1B37; /* UPDATED */
    font-weight:600;
  }

  .menu a:hover{
    background:#ffffff;
    color:#6A1B37;
  }

  .menu a:last-child{
    border-bottom:none;
  }




  /* FLOAT BUTTON */
  .floating-btn{
    margin-left:43%;
    bottom:10px;
    font-size:13px;
    padding:8px 10px;

    background:#6f42c1;
    color:#fff;
    border-radius:20px;
  }

  .floating-btn:hover{
    background:#4B3FA0;
  }
}



/* ================= BUBBLES (UNCHANGED) ================= */
.bubble-box{
  position:absolute;
  inset:0;
  overflow:hidden;
  border-radius:inherit;
  pointer-events:none;
}

.bubble-box span{
  position:absolute;
  bottom:-20px;
  border-radius:50%;
  opacity:0.8;
  animation:floatUp linear infinite;
}

.bubble-box span:nth-child(1){ background:#ff4ecd; }
.bubble-box span:nth-child(2){ background:#00d4ff; }
.bubble-box span:nth-child(3){ background:#6f42c1; }
.bubble-box span:nth-child(4){ background:#00ff9d; }
.bubble-box span:nth-child(5){ background:#ffb703; }
.bubble-box span:nth-child(6){ background:#fb5607; }
.bubble-box span:nth-child(7){ background:#8338ec; }
.bubble-box span:nth-child(8){ background:#3a86ff; }
.bubble-box span:nth-child(9){ background:#ff006e; }
.bubble-box span:nth-child(10){ background:#06ffa5; }

@keyframes floatUp{
  0%{transform:translateY(0); opacity:0;}
  20%{opacity:0.8;}
  100%{transform:translateY(-150px); opacity:0;}
}




/* SECTION */
.admission-hero{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:57vh;
    padding:20px;
}

/* WRAPPER */
.admission-wrapper{
    width:95%;
    max-width:1100px;
    display:flex;
    border-radius:20px;
    overflow:hidden;
    background:white;
    box-shadow:0 10px 40px rgba(0,0,0,0.15);
}

/* LEFT IMAGE */
.admission-left{
    flex:1;
    min-height:450px;
    background-image: url('/tuition-frontend/image/admission_bro.jpeg');
    background-size:cover;
    background-position:center;
}

/* RIGHT CONTENT */
.admission-right{
    flex:1;
    padding:50px;
}

/* TAG */
.tag{
    background:#4f46e5;
    color:white;
    padding:6px 14px;
    border-radius:20px;
    font-size:15px;
}

/* TITLE */
.admission-right h1{
    font-size:34px;
    margin:15px 0;
}

.admission-right h1 span{
    color:#4f46e5;
}

p{
    color:#555;
    line-height:1.6;
}

/* BUTTONS */
.buttons{
    display:flex;
    gap:15px;
    margin-top:20px;
}

/* BUTTONS */
.buttons button{
    padding:12px 18px;
    border:none;
    cursor:pointer;
    border-radius:8px;
}

/* PRIMARY */
.buttons button:first-child{
    background:#4f46e5;
    color:white;
}

/* APPLY */
.apply-btn{
    background:#16a34a;
    color:white;
    text-decoration:none;
    padding:12px 18px;
    border-radius:8px;
    display:inline-block;
}

/* MODAL */
.modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.4);
    justify-content:center;
    align-items:center;
    z-index:999;
}

/* IMAGE BOX */
.modal-box{
    position:relative;
    max-width:90%;
    max-height:90%;
}

/* IMAGE */
.modal-box img{
    width:100%;
    height:auto;
    max-height:90vh;
    object-fit:contain;
    border-radius:10px;
}

/* CLOSE */
.close{
    position:absolute;
    top:-15px;
    right:-15px;
    background:red;
    color:white;
    width:35px;
    height:35px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    font-size:20px;
    cursor:pointer;
    z-index:1000;
}

/* ========================= */
/* 📱 MOBILE RESPONSIVE FIX */
/* ========================= */

@media (max-width: 768px){

    /* STACK LAYOUT */
    .admission-wrapper{
        flex-direction:column;
    }

    /* IMAGE HEIGHT SMALL */
    .admission-left{
        min-height:250px;
    }

    /* CONTENT PADDING REDUCE */
    .admission-right{
        padding:25px;
    }

    /* TITLE SMALL */
    .admission-right h1{
        font-size:24px;
    }

    /* BUTTON STACK */
    .buttons{
        flex-direction:column;
        gap:10px;
    }

    .buttons button,
    .apply-btn{
        width:100%;
        text-align:center;
    }
}

/* EXTRA SMALL DEVICES */
@media (max-width: 480px){

    .admission-right h1{
        font-size:20px;
    }

    .tag{
        font-size:12px;
    }
}

@media (max-width: 768px){
    html, body{
        overflow-x: hidden;
    }
}

