/* =========================
   RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, sans-serif;
  background: #fff;
  color: #0f172a;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff7ed;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

/* LOGO SECTION */
.logo {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

/* Logo Image Bigger */
.logo img {
  width: 100px;        /* 🔥 bada kar diya */
  height: 70px;
  object-fit: contain;
}

.logo span {
  font-size: 20px;
  font-weight: 800;
  color: #1e3a8a;
  transition: 0.3s;
}

.logo:hover span {
  color: #0f172a;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  font-weight: 500;
  color: #0f172a;
  text-decoration: none;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #1e3a8a;
}


/* MOBILE */
@media (max-width: 900px) {

  .nav-links {
    position: absolute;
    top: 75px;
    right: 20px;
    background: white;
    flex-direction: column;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .logo span {
    font-size: 16px;
  }
}


/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #0f172a;
  border-radius: 2px;
}

/* MOBILE MENU */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
    margin-right: 15px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff7ed;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 24px 0;

    display: none;          /* hidden by default */
  }

  .nav-links.active {
    display: flex;          /* open on click */
  }
}

/* ================= ADMISSION SECTION ================= */

.admission-section {
  padding: 120px 40px;
  background: #f8fafc;
  text-align: center;
}

.admission-header h4 {
  font-size: 20px;
  font-weight: 500;
  color: #1e3a8a;
  margin-bottom: 6px;
}

.admission-header h2 {
  font-size: 42px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 80px;
}

/* GRID */
.admission-grid {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* CARD */
.admission-card {
  background: #ffffff;
  padding: 60px 30px 40px;
  border-radius: 30px;
  border: 2px solid #e2e8f0;
  position: relative;
  transition: 0.3s ease;
  text-align: left;
}

.admission-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

/* STEP NUMBER CIRCLE */
.step-number {
  position: absolute;
  top: -30px;
  left: 40px;
  width: 60px;
  height: 60px;
  background: #fb5c5c;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}

/* ICON */
.icon {
  font-size: 34px;
  margin-bottom: 18px;
}

/* TEXT */
.admission-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
}

.admission-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {
  .admission-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {

  .admission-header h2 {
    font-size: 30px;
  }

  .admission-grid {
    grid-template-columns: 1fr;
  }

  .admission-card {
    text-align: center;
  }

  .step-number {
    left: 50%;
    transform: translateX(-50%);
  }
}

.fees-pro {
  padding: 120px 20px;
  background: linear-gradient(135deg, #fef9c3, #fde68a);
}

.fees-wrapper {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.fees-heading {
  font-size: 44px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 15px;
}

.fees-desc {
  color: #475569;
  margin-bottom: 70px;
  font-size: 16px;
}

.fees-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

/* Premium Card */
.fee-pro-card {
  position: relative;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(18px);
  border-radius: 36px;
  padding: 45px;
  text-align: left;
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
  transition: 0.4s ease;
}

.fee-pro-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 70px rgba(0,0,0,0.15);
}

.fee-pro-card h3 {
  font-size: 26px;
  margin-bottom: 30px;
  font-weight: 700;
  color: #1e293b;
}

/* Fee Row */
.fee-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 16px;
}

.fee-row:last-child {
  border-bottom: none;
}

.fee-row span {
  font-weight: 500;
  color: #334155;
}

.fee-row strong {
  font-weight: 700;
  font-size: 18px;
  color: #0f172a;
}

.highlight {
  background: rgba(30,58,138,0.08);
  padding: 14px;
  border-radius: 12px;
}


/* Accent Colors */
.academic {
  border-left: 6px solid #1e3a8a;
}

.transport {
  border-left: 6px solid #16a34a;
}

/* Responsive */
@media (max-width: 900px) {
  .fees-cards {
    grid-template-columns: 1fr;
  }

  .fees-heading {
    font-size: 30px;
  }

  .fee-pro-card {
    padding: 30px;
  }
}

/* OPEN BUTTON */
.open-calculator{
  padding:12px 22px;
  background:linear-gradient(135deg,#1e3a8a,#2563eb);
  color:#fff;
  border:none;
  border-radius:12px;
  cursor:pointer;
  font-weight:600;
  margin-top: 50px;
}

/* OVERLAY (FULL SCREEN) */
.fee-popup{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);

  display: flex;
  align-items: flex-start;   /* 🔥 CHANGE HERE */
  justify-content: center;

  padding-top: 100px;        /* 🔥 HEADER HEIGHT KE HISAB SE */
  padding-bottom: 40px;
  overflow-y: auto;          /* 🔥 SCROLL ENABLE */

  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;

  z-index: 999999;
}

/* ACTIVE STATE */
.fee-popup.active{
  opacity:1;
  visibility:visible;
}

/* POPUP BOX */
.fee-box{
  width: 95%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  margin-bottom: 40px; /* scrolling ke liye space */
  margin-top: 320px;
}

.fee-popup.active .fee-box{
  transform:translateY(0);
}

/* HEADER */
.fee-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
}

.close-popup{
  font-size:24px;
  cursor:pointer;
  font-weight:700;
  color:#0f172a;
}

.close-popup:hover{
  color:#ef4444;
}

/* SELECT STYLE */
.fee-body select{
  width:100%;
  padding:14px;
  border-radius:12px;
  border:1px solid #cbd5e1;
  margin-bottom:18px;
  font-size:15px;
  background:#f1f5f9;
  color:#0f172a;
}

/* RESULT BOX */
.result-box{
  margin-top:20px;
  padding:15px;
  background:#f8fafc;
  border-radius:14px;
}

.result-box h3{
  margin-top:8px;
  font-size:20px;
  color:#1e3a8a;
}

/* LOCK SCROLL */ 
body.modal-open{ 
  overflow:hidden;
 }

.admission-section{
  padding:100px 20px;
  background:linear-gradient(135deg,#f0f9ff,#e0f2fe);
}

.admission-container{
  max-width:1000px;
  margin:auto;
}

.admission-header{
  text-align:center;
  margin-bottom:50px;
}

.admission-header h2{
  font-size:42px;
  font-weight:800;
  color:#0f172a;
}

.admission-form{
  background:#ffffff;
  padding:50px;
  border-radius:28px;
  box-shadow:0 25px 60px rgba(0,0,0,0.08);
}

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}

.full-width{
  grid-column:span 2;
}

.form-group{
  display:flex;
  flex-direction:column;
}

.form-group label{
  font-weight:600;
  margin-bottom:6px;
}

.form-group input,
.form-group select,
.form-group textarea{
  padding:14px;
  border-radius:14px;
  border:1px solid #cbd5e1;
  background:#f8fafc;
  font-size:15px;
  transition:all 0.3s ease;
}

/* Button */
.admission-btn{
  margin-top:25px;
  width:100%;
  padding:16px;
  border:none;
  border-radius:18px;
  font-size:16px;
  font-weight:700;
  color:#fff;
  background:linear-gradient(135deg,#0f172a,#1e3a8a);
  cursor:pointer;
  transition:0.3s;
}

.admission-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 30px rgba(30,58,138,0.3);
}

/* Success Animation */
.success-message{
  margin-top:20px;
  text-align:center;
  font-weight:700;
  color:#16a34a;
  opacity:0;
  transform:scale(0.9);
  transition:all 0.4s ease;
}

.success-message.show{
  opacity:1;
  transform:scale(1);
}

/* Responsive */
@media(max-width:768px){
  .form-grid{
    grid-template-columns:1fr;
  }

  .full-width{
    grid-column:span 1;
  }

  .admission-form{
    padding:35px 25px;
  }

  .fee-box{
    margin-top: 690px;
  }
}

/* ================= CTA SECTION ================= */

.cta-wrap {
  padding: 100px 20px;
  background: transparent;   /* ❗ white hatao */
  position: relative;
  z-index: 5;
}

.cta-card {
  max-width: 1200px;
  margin: auto;
  background: #facc15;
  border-radius: 48px;
  padding: 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* TEXT */
.cta-text h4 {
  font-size: 20px;
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 8px;
}

.cta-text h2 {
  font-size: 44px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
}

.cta-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #1e293b;
  max-width: 520px;
  margin-bottom: 28px;
}

/* BUTTONS */
.cta-btns {
  display: flex;
  gap: 16px;
}

.btn-white {
  background: #ffffff;
  color: #0f172a;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-outline-yellow {
  background: transparent;
  color: #0f172a;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 600;
  border: 2px solid #0f172a;
  cursor: pointer;
}

/* IMAGE */
.cta-img {
  position: relative;
  text-align: right;
}

.cta-img img {
  width: 100%;
  max-width: 360px;
}

/* ================= FOOTER ================= */

.footer-main {
  background: #00b853;
  margin-top: -220px;
  padding: 260px 80px 140px;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.footer-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

/* BRAND */
.footer-brand h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 25px;
}

/* SOCIAL ICONS */
.footer-social {
  display: flex;
  gap: 14px;
}

.social-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-icon:hover {
  transform: translateY(-6px);
  background: #ffffff;
  color: #00b853;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* LINKS */
.footer-links h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links a {
  display: block;
  font-size: 15px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.footer-links a:hover {
  opacity: 0.7;
  padding-left: 6px;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .footer-main {
   margin-top: -160px;
    padding-top: 220px;
    padding-bottom: 120px;
  }


   .cta-wrap {
    padding: 60px 20px 40px;    /* 🔥 Reduced top/bottom padding */
    margin-bottom: -80px;       /* 🔥 Less negative margin */
  }

  .cta-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 32px;         /* 🔥 Reduced from 60px */
    border-radius: 32px;        /* 🔥 Slightly smaller radius */
  }

  .cta-text h4 {
    font-size: 16px;            /* 🔥 Compact heading */
    margin-bottom: 6px;
  }

  .cta-text h2 {
    font-size: 32px;            /* 🔥 Smaller title */
    margin-bottom: 14px;
    line-height: 1.2;
  }

  .cta-text p {
    font-size: 15px;            /* 🔥 Compact text */
    line-height: 1.6;
    margin-bottom: 22px;
    max-width: 100%;
  }

  .cta-btns {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;                  /* 🔥 Tighter button gap */
  }

  .btn-white,
  .btn-outline-yellow {
    padding: 12px 22px;         /* 🔥 Smaller buttons */
    font-size: 15px;
  }

  .cta-img {
    margin-top: 28px;           /* 🔥 Reduced from 40px */
    text-align: center;
  }

  .cta-img img {
    max-width: 240px;           /* 🔥 Smaller image */
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin: auto;
  }
}

@media (max-width: 480px) {

     .cta-wrap {
    padding: 50px 16px 30px;
  }

  .cta-card {
    padding: 32px 24px;         /* 🔥 Even more compact */
    border-radius: 28px;
  }

  .cta-text h2 {
    font-size: 28px;
  }

  .cta-text p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .cta-img {
    margin-top: 24px;
  }

  .cta-img img {
    max-width: 200px;           /* 🔥 Compact for small screens */
  }

  .footer-main {
  margin-top: -120px;
    padding-top: 190px;
    padding-bottom: 100px
  }
}