/* =======================
   Inforing Training Institute - Responsive CSS
   Kept original design/colors. Added mobile responsiveness (shrink on small screens).
   Replace your current style.css with this file.
   ======================= */

/* -------------------------
   GLOBAL / RESET
   ------------------------- */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f7fafc;
  color: #0c0c0c;
  padding-top: 100px; /* space for fixed navbar on desktop */
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
/* -------------------------
   NAVBAR
------------------------- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #101756;
  padding: 14px 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =======================
   LOGO + NAME
======================= */
.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 48px;
}

.institute-name {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

/* =======================
   DESKTOP MENU
======================= */
.nav-links {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
}

.nav-links li a.active {
  background: #0b0f3d;
}

/* HIDE HAMBURGER ON DESKTOP */
.mobile-menu-icon {
  display: none;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

/* =======================
   MOBILE VIEW
======================= */
@media (max-width: 900px) {

  .desktop-only {
    display: none !important;
  }

  .mobile-menu-icon {
    display: block;
  }

  .logo-wrapper {
    width: 100%;
    justify-content: space-between;
  }

  .institute-name {
    font-size: 20px;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {

  .logo img {
    height: 42px;
  }

  .institute-name {
    font-size: 18px;
  }
}
/* FORCE NAVBAR TEXT COLOR FIX */
.navbar .logo span,
.navbar .institute-name {
  color: #ffffff !important;
}
@media (max-width: 900px) {
  .navbar .logo span {
    color: #ffffff !important;
  }
}
/* ===============================
   FIX: Institute name size (ALL PAGES)
================================ */
.navbar .institute-name {
  font-size: 22px !important;
  font-weight: 700;
  color: #ffffff !important;
}

/* Mobile size */
@media (max-width: 900px) {
  .navbar .institute-name {
    font-size: 20px !important;
  }
}

@media (max-width: 480px) {
  .navbar .institute-name {
    font-size: 18px !important;
  }
}



/* -------------------------
   HERO SLIDER
   ------------------------- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 90vh;            /* desktop look preserved */
  min-height: 520px;
  overflow: hidden;
  padding-top: 160px;      /* original spacing preserved for desktop */
}

/* slides */
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.slide.active { opacity: 1; z-index: 2; }

/* image */
.slide img { width: 100%; height: 100%; object-fit: cover; }

/* dark overlay (if used) */
.overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.45); z-index: 5;
}

/* text content: keep original placement on desktop but center for mobile via media queries */
.slide .content {
  position: absolute;
  bottom: 22%;
  left: 10%;
  z-index: 10;
  color: rgb(122, 124, 217);
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  max-width: 600px;
}

/* keyframes */
@keyframes fadeUp {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* subtitle and heading */
.subtitle { font-size: 18px; font-weight: 600; letter-spacing: 1px; margin-bottom: 10px; }
.slide h1 {
  font-size: 70px;
  line-height: 1.2;
  font-weight: 800;
  max-width: 600px;
  margin: 0;
}

/* buttons */
.btn {
  background: #051534;
  color: white;
  padding: 14px 30px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  border-radius: 6px;
  margin-top: 20px;
  display: inline-block;
  transition: all 0.35s ease;
  position: relative;
  z-index: 20;
}
.btn:hover {
  background: #1555e9;
  transform: translateY(-4px) scale(1.07);
  box-shadow: 0 8px 25px rgba(21, 85, 233, 0.35);
}

/* -------------------------
   WHY SECTION (cards)
   ------------------------- */
.why-section {
  background: #b2a6a6;
  padding: 70px 0 50px;
  text-align: center;
}
.cards-row {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}
.why-card {
  width: 250px;
  background: white;
  padding: 25px 22px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: 0.3s ease;
  position: relative;
}
.card-icon { width: 90px; margin-bottom: 12px; }
.why-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; color: #222; }
.why-card p { font-size: 16px; color: #271f7c; line-height: 1.4; margin-bottom: 25px; }
.why-card:hover { transform: translateY(-12px); }

/* trusted text */
.trusted { margin-top: 45px; color: white; font-size: 16px; }

/* -------------------------
   SECTION WRAPPER - IMAGE STACK + CONTENT
   ------------------------- */
.section-wrapper {
  width: 100%;
  padding: 80px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  background: #ffffff;
  flex-wrap: nowrap;
}

/* image stack - change to responsive coordinates via media queries */
.image-stack {
  position: relative;
  width: 600px;
  height: 570px;
  flex-shrink: 0;
}
.img-back {
  position: absolute;
  width: 400px;
  height: 550px;
  object-fit: cover;
  border-radius: 10px;
  top: 40px;
  left: 20px;
  z-index: 3;
}
.blue-rect {
  position: absolute;
  width: 330px;
  height: 550px;
  background: #00c0e8;
  border-radius: 12px;
  left: 140px;
  top: 80px;
  z-index: 1;
}
.img-front {
  position: absolute;
  width: 360px;
  height: 460px;
  border-radius: 5px;
  object-fit: cover;
  left: 280px;
  top: 280px;
  z-index: 4;
}
.exp-box {
  position: absolute;
  left: 450px;
  top: 100px;
  background: rgb(205, 198, 236);
  padding: 15px 22px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  text-align: center;
  z-index: 10;
}

/* right text side */
.content-box { max-width: 500px; flex: 0 0 500px; }
.top-heading { font-size: 26px; color: #666; font-weight: 600; }
.main-heading { font-size: 60px; font-weight: 800; line-height: 1.2; margin: 10px 0 20px; }
.main-heading span { color: #003e7e; }
.description { font-size: 20px; line-height: 1.7; color: #444; margin-bottom: 25px; }

/* points */
.points-group { margin-bottom: 25px; }
.point-item { display: flex; align-items: center; gap: 15px; margin-bottom: 18px; }
.point-icon { width: 90px; height: 85px; }

/* primary button */
.primary-btn { background: #003eae; padding: 12px 32px; color: white; text-decoration: none; font-weight: 700; border-radius: 8px; display: inline-block; transition: 0.3s ease; }
.primary-btn:hover { background: #002f8a; transform: translateY(-3px); }

/* -------------------------
   STATS SECTION
   ------------------------- */
.stats-section {
  width: 100%;
  background: linear-gradient(135deg, #003e9e, #0054d6);
  padding: 55px 0;
  margin: 40px 0;
  border-radius: 20px;
}
.stats-container {
  max-width: 1180px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  text-align: center;
  flex-wrap: nowrap;
}
.stat-box {
  flex: 1;
  padding: 20px 10px;
  border-right: 1px solid rgba(255,255,255,0.4);
  animation: fadeUp 1s ease forwards;
  opacity: 0;
}
.stat-box:last-child { border-right: none; }
.stat-box h2 { font-size: 58px; font-weight: 1000; color: #fff; margin-bottom: 8px; }
.stat-box p { font-size: 28px; color: #fff; margin: 0; }

/* -------------------------
   PLACEMENT SECTION
   ------------------------- */
.placement-section { padding: 40px 6%; background: #f4f8ff; }
.placement-title { text-align: center; font-size: 55px; font-weight: 900; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 50px; color: #021f63; }
.placement-title span { color: #0a3fa0; font-size: 90px; }
.placement-container { display: flex; gap: 40px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.placement-image { flex: 1 1 45%; }
.placement-image img { width: 100%; height: 670px; object-fit: cover; border-radius: 16px; box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.placement-content { flex: 1 1 45%; font-size: 18px; color: #444; line-height: 1.7; }
.placement-highlight { background: #e8efff; padding: 15px; border-left: 5px solid #021f63; border-radius: 6px; font-weight: 700; color: #0a3fa0; margin-top: 15px; }

/* -------------------------
   PROGRAMS SECTION
   ------------------------- */
.program-area { padding: 60px 20px; text-align: center; }
.program-heading { font-size: 52px; font-weight: 800; }
.program-subtitle { font-size: 27px; color: #444; margin-bottom: 40px; }
.program-wrapper {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}
.prog-box { background: #fff; padding: 20px; border-radius: 20px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); transition: 0.3s ease; text-align: left; }
.prog-photo { width: 100%; height: 380px; border-radius: 15px; object-fit: cover; margin-bottom: 12px; }
.prog-title { font-size: 25px; font-weight: 700; margin-bottom: 6px; }
.prog-text { font-size: 18px; color: #555; line-height: 1.5; }
.prog-mode { font-weight: 600; margin-top: 10px; color: #003a8f; }
.prog-btn { display: block; width: fit-content; margin: 15px auto 0 auto; padding: 10px 25px; background: #051534; color: #fff; border-radius: 8px; text-decoration: none; font-weight: 600; transition: 0.3s ease; text-align: center; }
.prog-btn:hover { background: #1555e9; transform: translateY(-3px) scale(1.05); box-shadow: 0 6px 18px rgba(21, 85, 233, 0.35); }

/* -------------------------
   GROWTH / EVENTS
   ------------------------- */
.growth-section { padding: 10px 100px; background: #bca9a9; }
.growth-title { font-size: 65px; font-weight: 800; margin-bottom: 30px; line-height: 1.2; color: #07204d; animation: slideDown 5s ease forwards; opacity: 0; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-30px);} to { opacity: 1; transform: translateY(0);} }
.growth-btn { background: #0037d2; color: white; border: none; padding: 10px 22px; border-radius: 6px; font-size: 25px; float: right; cursor: pointer; transition: 0.3s; margin-bottom: 30px; }
.growth-list { margin-top: 20px; }
.growth-item { display: flex; align-items: center; padding: 25px 0; border-bottom: 1px solid #dcdcdc; animation: fadeUp 1s ease; }
.growth-date h3 { font-size: 60px; color: #001e62; margin: 0; font-weight: 600; }
.growth-content { flex: 1; padding-left: 20px; }
.growth-content h4 { font-size: 35px; margin: 0; font-weight: 300; }
.growth-content p { font-size: 25px; color: #444; margin-top: 5px; }
.growth-arrow { font-size: 37px; cursor: pointer; padding: 10px; transition: 0.3s; color: #001e62; }

/* -------------------------
   TESTIMONIALS
   ------------------------- */
.testimonial-wrapper { display: flex; width: 100%; background: #c4d1dc; align-items: stretch; gap: 0; flex-wrap: nowrap; }
.left-info-box {
  width: 55%;
  min-height: 750px;
  background: url("imagef/rev5.jpeg") center/cover no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.left-info-text { font-size: 56px; font-weight: 1000; color: white; text-shadow: 0px 2px 10px rgba(0,0,0,0.6); text-align: center; padding: 20px; }
.right-review-box { width: 45%; padding: 65px; background: rgb(227, 239, 242); position: relative; }
.review-title { font-size: 60px; margin-bottom: 30px; }
.review-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; }
.review-text { font-size: 22px; color: #444; line-height: 1.6; margin-bottom: 18px; max-width: 500px; }
.rev-arrow { font-size: 56px; margin: 0 15px; cursor: pointer; transition: 0.5s; color: #003e7e; }

/* -------------------------
   INSTITUTE INFO / FOOTER
   ------------------------- */
.institute-info-section { background: #d4f3f5; padding: 80px 30px; }
.info-container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}
.info-col { flex: 1; min-width: 230px; }
.info-logo { width: 180px; margin-bottom: 15px; }
.info-title { font-size: 26px; color: #111; margin-bottom: 15px; font-weight: 700; }
.info-list { list-style: none; padding: 0; font-size: 18px; }

/* footer */
footer {
  background: #222831;
  color: #faf4f4;
  padding: 25px 0;
  text-align: center;
  font-size: 1rem;
  margin-top: 40px;
}

/* -------------------------
   ANIMATIONS
   ------------------------- */
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px);} to { opacity: 1; transform: translateY(0);} }

/* ===========================
   RESPONSIVE OVERRIDES (TABLETS / MOBILE)
   Keep layout identical on desktop; shrink safely on smaller screens.
   =========================== */

/* -------- medium screens -------- */
@media (max-width: 1100px) {

  /* reduce hero and paddings a bit */
  body { padding-top: 90px; }
  .hero-slider { height: 78vh; min-height: 480px; padding-top: 140px; }

  /* image stack shrink */
  .image-stack { width: 520px; height: 500px; }
  .img-back { width: 360px; height: 500px; top: 30px; left: 10px; }
  .blue-rect { width: 300px; height: 500px; left: 120px; top: 70px; }
  .img-front { width: 320px; height: 420px; left: 240px; top: 240px; }
  .exp-box { left: 410px; top: 80px; }

  /* testimonial */
  .left-info-box { min-height: 600px; }
  .left-info-text { font-size: 48px; padding: 10px; }
  .right-review-box { padding: 45px; }
}

/* -------- tablet and small laptops -------- */
@media (max-width: 900px) {

  /* navbar spacing */
  .nav-container { padding: 0 14px; gap: 8px; }

  /* hero */
  .hero-slider { height: 65vh; min-height: 420px; padding-top: 120px; }
  .slide .content { left: 50%; transform: translate(-50%, 0); bottom: 18%; text-align: center; max-width: 90%; }
  .slide h1 { font-size: 40px; max-width: 600px; }

  /* section wrapper -> stack vertically */
  .section-wrapper { flex-direction: column; padding: 50px 20px; gap: 30px; align-items: center; }
  .image-stack { width: 420px; height: 420px; position: relative; }
  .img-back { width: 300px; height: 400px; top: 20px; left: 8px; }
  .blue-rect { width: 260px; height: 400px; left: 100px; top: 60px; }
  .img-front { width: 240px; height: 320px; left: 200px; top: 200px; }
  .exp-box { left: auto; right: 20px; top: 20px; }

  /* content box width */
  .content-box { max-width: 700px; width: 100%; padding: 0 12px; }

  /* stats */
  .stats-container { flex-wrap: wrap; gap: 12px; }
  .stat-box { width: 48%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); padding: 20px; }

  /* placement image height */
  .placement-image img { height: 480px; }

  /* programs grid -> single column on smaller tablets */
  .program-wrapper { grid-template-columns: 1fr; max-width: 720px; }

  /* growth section padding */
  .growth-section { padding: 20px 30px; }

  /* testimonial -> stack vertically */
  .testimonial-wrapper { flex-direction: column; }
  .left-info-box, .right-review-box { width: 100%; min-height: 320px; }
  .right-review-box { padding: 30px; }
  .review-title { font-size: 40px; }

  /* institute info container */
  .info-container { gap: 30px; padding: 0 12px; }
}

/* -------- mobile responsive (phones) -------- */
@media (max-width: 768px) {

  /* reduce top padding to accommodate stacked navbar */
  body { padding-top: 120px; }

  /* NAVBAR: stack links but keep same design */
  .nav-container { flex-direction: column; gap: 8px; padding: 8px 14px; }
  .logo img { height: 50px; }
  .logo { font-size: 18px; }
  .nav-links { gap: 10px; flex-wrap: wrap; justify-content: center; }

  /* HERO - reduce sizes and center content */
  .hero-slider { height: 65vh; min-height: 380px; padding-top: 100px; }
  .slide .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: auto;
    max-width: 92%;
    padding: 0 12px;
    text-align: center;
  }
  .slide h1 { font-size: 28px; max-width: 95%; line-height: 1.15; }
  .subtitle { font-size: 14px; }
  .btn { font-size: 15px; padding: 10px 22px; }

  /* WHY cards: reduce width and center */
  .why-card { width: calc(50% - 22px); padding: 18px; }
  .card-icon { width: 70px; }

  /* Section wrapper: image stack should scale to be narrower */
  .section-wrapper { padding: 30px 16px; gap: 24px; }
  .image-stack { width: 360px; height: 320px; order: 2; }
  .img-back { width: 260px; height: 300px; top: 10px; left: 10px; }
  .blue-rect { width: 220px; height: 300px; left: 100px; top: 40px; }
  .img-front { width: 200px; height: 240px; left: 200px; top: 160px; }
  .exp-box { left: auto; right: 12px; top: 8px; padding: 10px 14px; }

  .content-box { width: 100%; max-width: 100%; order: 1; text-align: center; }
  .main-heading { font-size: 30px; margin-top: 6px; }
  .description { font-size: 16px; }

  /* stats */
  .stat-box { width: 50%; padding: 18px 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.18); }
  .stat-box:nth-child(3), .stat-box:nth-child(4) { border-bottom: none; }

  /* placement */
  .placement-title { font-size: 34px; }
  .placement-image img { height: 300px; border-radius: 12px; }
  .placement-content { font-size: 16px; }

  /* programs */
  .prog-photo { height: 220px; }
  .prog-title { font-size: 20px; }
  .prog-text { font-size: 15px; }

  /* growth / events - stack */
  .growth-section { padding: 20px 12px; }
  .growth-title { font-size: 28px; text-align: left; }
  .growth-btn { float: none; display: block; margin: 12px 0; }

  .growth-item { flex-direction: column; align-items: flex-start; gap: 10px; }
  .growth-date h3 { font-size: 34px; }
  .growth-content h4 { font-size: 20px; }
  .growth-content p { font-size: 16px; }

  /* testimonials stacked */
  .testimonial-wrapper { flex-direction: column; }
  .left-info-box, .right-review-box { width: 100%; min-height: 260px; }
  .left-info-text { font-size: 32px; padding: 10px; }
  .right-review-box { padding: 22px; }
  .review-title { font-size: 28px; }

  /* institute info */
  .institute-info-section { padding: 40px 16px; }
  .info-logo { width: 140px; margin: 0 auto 12px; display: block; }
  .info-title { font-size: 20px; text-align: center; }
  .info-col p, .info-list, .info-list li { text-align: center; font-size: 15px; }
}

/* -------- extra small phones -------- */
@media (max-width: 480px) {

  body { padding-top: 110px; }

  /* navbar */
  .logo img { height: 42px; }
  .logo span { font-size: 14px; }

  /* hero */
  .hero-slider { height: 60vh; min-height: 340px; padding-top: 100px; }
  .slide h1 { font-size: 20px; }
  .subtitle { font-size: 12px; }
  .btn { font-size: 13px; padding: 8px 16px; }

  /* why cards one column */
  .why-card { width: 100%; }

  /* stack everything */
  .section-wrapper { padding: 20px 12px; gap: 18px; }
  .image-stack { width: 320px; height: 280px; order: 2; }
  .img-back { width: 240px; height: 260px; top: 8px; left: 8px; }
  .img-front { width: 180px; height: 210px; left: 180px; top: 130px; }
  .exp-box { right: 8px; top: 6px; }

  .main-heading { font-size: 24px; }
  .description { font-size: 15px; }

  /* stats boxes full width */
  .stat-box { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.12); }

  /* placement */
  .placement-image img { height: 220px; }

  /* programs */
  .prog-photo { height: 180px; }

  /* testimonial text */
  .left-info-text { font-size: 26px; }
  .review-text { font-size: 18px; max-width: 100%; }

  /* footer */
  footer { padding: 20px 12px; font-size: 14px; }
}

/* ===========================
   SMALL FIXES (prevent overflow)
   =========================== */
.container, .nav-container, .info-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ensure no element forces horizontal scroll */
html, body, .hero-slider, .slide, .section-wrapper, .program-wrapper, .testimonial-wrapper {
  overflow-x: hidden;
}

/* Accessibility: make sure focus states remain visible */
a:focus, button:focus { outline: 3px solid rgba(21,85,233,0.25); outline-offset: 2px; }

/* End of file */
/* TESTIMONIAL SLIDER FIX */
.review-slide {
  display: none;
}

.review-slide.active {
  display: block;
}

.review-arrows {
  margin-top: 20px;
  text-align: center;
}

.rev-arrow {
  font-size: 40px;
  cursor: pointer;
  padding: 10px 15px;
  user-select: none;
  transition: 0.2s ease;
}

.rev-arrow:hover {
  transform: scale(1.2);
  color: #001e62;
}
/* Hide desktop nav on mobile */
@media (max-width: 900px) {
    .desktop-only {
        display: none !important;
    }
}

/* Hide mobile menu icon + sidebar on desktop */
@media (min-width: 901px) {
    .mobile-menu-icon,
    .mobile-sidebar {
        display: none !important;
    }
}

/* MOBILE MENU STYLES */
.mobile-menu-icon {
    font-size: 32px;
    color: white;
    cursor: pointer;
    display: none;
}

@media (max-width: 900px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-menu-icon {
        display: block !important;
    }
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    height: 100vh;
    background: #101756;
    padding: 40px 25px;
    transition: 0.3s ease;
    z-index: 99999;
}

.mobile-sidebar a {
    display: block;
    padding: 18px 0;
    color: white;
    font-size: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.mobile-sidebar.show {
    left: 0;
}

.close-btn {
    font-size: 32px;
    color: white;
    float: right;
    margin-bottom: 25px;
    cursor: pointer;
}















/*course section or study material/
/* TOP HERO IMAGE */
/* ================================
   STUDY MATERIAL PAGE - RESPONSIVE
================================ */

/* ------------------------------
   HERO SECTION
------------------------------ */
.study-hero {
  position: relative;
  width: 100%;
  height: 750px;
  overflow: hidden;
}

.study-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXT ON HERO */
.study-hero h1 {
  position: absolute;
  bottom: 200px;
  left: 100px;
  color: rgb(154, 68, 68);
  font-size: 100px;
  font-weight: 800;
  text-shadow: 0px 0px 8px rgba(8, 8, 8, 0.7);
}

/* -------- MOBILE FIX FOR HERO -------- */
@media (max-width: 768px) {

  .study-hero {
    height: 380px;
  }

  .study-hero h1 {
    font-size: 40px;
    left: 20px;
    bottom: 25px;
  }
}

@media (max-width: 480px) {
  .study-hero {
    height: 320px;
  }
  .study-hero h1 {
    font-size: 30px;
    left: 15px;
    bottom: 18px;
  }
}

/* ------------------------------
   CONTENT SECTION
------------------------------ */

.study-content {
  background: white;
  padding: 80px 20px;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
}

.study-content p {
  font-size: 54px;
  font-weight: 500;
  line-height: 1.4;
  color: #222;
  margin-bottom: 30px;
}

/* MOBILE CONTENT FIX */
@media (max-width: 768px) {
  .study-content p {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .study-content p {
    font-size: 20px;
  }
}

/* ------------------------------
   IMAGE GALLERY SECTION
------------------------------ */

.study-gallery-row {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 35px;
  margin: 50px 0;
}

.g-img {
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.2);
  transition: 0.3s ease;
}

.small-img { width: 200px; height: 290px; }
.ssmall-img { width: 180px; height: 240px; }
.large-img { width: 260px; height: 360px; }
.medium-img { width: 220px; height: 300px; }

.g-img:hover {
  transform: scale(1.03);
}

/* MOBILE GALLERY FIX */
@media (max-width: 768px) {

  .study-gallery-row {
    flex-direction: column;
    align-items: center;
  }

  .g-img {
    width: 85%;
    height: auto;
  }
}

/* ------------------------------
   MEDICAL SECTION (Blue + Image)
------------------------------ */

.medical-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background: white;
}

.medical-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.medical-top h2 {
  font-size: 36px;
  font-weight: 700;
}

.medical-top p {
  max-width: 600px;
  font-size: 18px;
  color: #444;
}

.medical-row {
  display: flex;
  align-items: center;
  gap: 0;
}

/* BLUE BOX */
.medical-blue {
  width: 55%;
  background: linear-gradient(135deg, #064dac, #003a7d);
  color: white;
  padding: 40px;
  border-radius: 15px;
  min-height: 280px;
}

.medical-blue h3 {
  font-size: 26px;
  margin-bottom: 12px;
}

/* IMAGE RIGHT */
.medical-photo {
  width: 50%;
  margin-left: -60px;
  z-index: 2;
}

.medical-photo img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
}

/* MOBILE STACKING FIX */
@media (max-width: 768px) {

  .medical-top {
    flex-direction: column;
    gap: 10px;
  }

  .medical-row {
    flex-direction: column;
  }

  .medical-blue,
  .medical-photo {
    width: 100%;
    margin-left: 0;
  }

  .medical-photo img {
    margin-top: 20px;
  }
}

/* ------------------------------
   WHY MEDICAL (Peach box)
------------------------------ */

.why-medical-section {
  max-width: 1200px;
  margin: 60px auto;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 20px;
  background: white;
}

.why-left, .why-right {
  width: 50%;
}

.why-image-box {
  background: #f5cfa4;
  padding: 20px;
  border-radius: 18px;
}

.why-image-box img {
  width: 100%;
  border-radius: 12px;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .why-medical-section {
    flex-direction: column;
  }
  .why-left,
  .why-right {
    width: 100%;
  }
}

/* ------------------------------
   IT BOOM SECTION
------------------------------ */

.info-section {
  max-width: 1200px;
  margin: 50px auto;
  display: flex;
  gap: 40px;
  padding: 0 20px;
}

.info-left, .info-right {
  width: 50%;
}

.info-img-box {
  background: #04292f;
  padding: 20px;
  border-radius: 18px;
}

.info-img-box img {
  width: 100%;
  border-radius: 12px;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .info-section {
    flex-direction: column;
  }

  .info-left,
  .info-right {
    width: 100%;
  }
}

/* ------------------------------
   BLUE BANNER SECTION
------------------------------ */

.blue-banner {
  width: 90%;
  background: url("imagef/bannerimg.jpeg") center/cover no-repeat;
  padding: 60px 80px;
  color: rgb(39, 37, 37);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 12px;
  margin: auto;

  opacity: 0;
  transform: translateY(40px);
  animation: slideUp 1.1s ease-out forwards;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(55px); }
  to { opacity: 1; transform: translateY(0); }
}

.blue-banner > div {
  max-width: 600px;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .blue-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px 25px;
    gap: 25px;
  }
}















/* ------------------------------------
   PLANS PAGE – CLEAN + RESPONSIVE CSS
------------------------------------ */

/* ------------------------------------
   PLANS PAGE – FINAL RESPONSIVE CSS
------------------------------------ */

.events-section {
  padding: 60px 20px;
  background: #dfcccc;
  text-align: center;
}

/* Layout */
.main-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 40px;
}

/* Sidebar */
.left-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar {
  width: 220px;
  background: #f7f7f7;
  padding: 18px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: left;
}

/* Grid */
.plans-area {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Desktop */
  gap: 20px;
}

/* Card */
.row {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}

.row img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

/* Tablet → 2 cards */
@media (max-width: 992px) {
  .plans-area {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile → FORCE 1 card */
@media (max-width: 600px) {
  .main-wrapper {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .plans-area {
    grid-template-columns: 1fr !important;
  }

  .row img {
    height: 200px;
  }
}






/*-------------------------------------------------------------------------------------------------about section-----------------------*/




/* ===============================
   ABOUT SECTION
================================ */
.about-section {
  background: #b2a6a6;
  margin: 0;
  padding: 0;
}

/* ===============================
   HERO
================================ */
.about-hero {
  width: 100%;
  min-height: 650px;
  background: url("imagef/imf7.jpeg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.about-hero h1 {
  position: relative;
  z-index: 2;
  font-size: 80px;
  font-weight: 900;
  color: #fff;
}

/* ===============================
   SUB TEXT
================================ */
.sub,
.tagline {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  text-align: center;
}

.sub {
  font-size: 28px;
  color: #fff;
  margin-top: 40px;
}

.tagline {
  font-size: 46px;
  color: #fff;
  margin: 10px auto 40px;
  line-height: 1.2;
}

/* ===============================
   EXPERIENCE
================================ */
.experience-wrapper {
  background: url("imagef/imf8.jpeg") center/cover no-repeat;
  padding: 140px 20px;
  display: flex;
  justify-content: center;
}

.experience-card {
  max-width: 600px;
  background: #fff;
  border-radius: 22px;
  padding: 40px;
  display: flex;
  gap: 30px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.25);
}

.exp-number {
  font-size: 160px;
  font-weight: 900;
  line-height: 0.8;
}

/* ===============================
   WHY OUR TRAINING CONTENT
================================ */
.text-section {
  background: #e6e2e2;
  padding: 80px 20px;
  text-align: center;
}

.text-section h2 {
  font-size: 38px;
  font-weight: 700;
  color: #222;
  margin-bottom: 30px;
}

.text-section p {
  max-width: 900px;
  margin: 0 auto 18px;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

/* ===============================
   SKILL-FOCUSED LEARNING
================================ */
.feature-section {
  background: #e9e6ee;
  padding: 90px 20px;
  text-align: center;
}

.feature-title {
  font-size: 38px;
  font-weight: 700;
  color: #222;
  margin-bottom: 60px;
}

.feature-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-card {
  background: #d8d2e1;
  border-radius: 20px;
  padding: 45px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.feature-icon {
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  flex-grow: 1;
}

.feature-card .learn-more-btn {
  margin-top: 25px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  background: #3b3f78;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}

/* ===============================
   MISSION HERO
================================ */
.mission-hero {
  min-height: 650px;
  background: url("imagef/imf9.jpeg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.mission-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.mission-hero-content {
  position: relative;
  z-index: 2;
}

.mission-hero-content h1 {
  font-size: 68px;
  font-weight: 900;
  color: #fff;
}

/* ===============================
   MISSION TEXT
================================ */
.mission-text-below {
  background: #d9d0d0;
  padding: 70px 20px;
  text-align: center;
}

.mission-text-below h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 25px;
}

.mission-text-below p {
  max-width: 900px;
  margin: 0 auto 18px;
  font-size: 16px;
  line-height: 1.7;
}

/* ===============================
   MISSION VALUES CARDS
================================ */
.mv-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
}

.mv-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.mv-card:nth-child(1),
.mv-card:nth-child(2),
.mv-card:nth-child(3) {
  grid-column: span 2;
}

.mv-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.mv-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.mv-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.mv-card h3 {
  margin: 20px 15px 10px;
  font-size: 18px;
}

.mv-card p {
  padding: 0 15px;
  font-size: 14px;
  line-height: 1.5;
  flex-grow: 1;
}

.mv-card .learn-more-box {
  padding: 0 15px 20px;
  text-align: left;
}

.mv-card .learn-more-btn {
  padding: 8px 16px;
  font-size: 14px;
  background: #1f4fd8;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}

/* ===============================
   TEACHER
================================ */
.teacher-section {
  padding: 80px 20px;
  background: #bac2d7;
}

.teacher-flex {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.teacher-right img {
  max-width: 480px;
  height: auto;
  border-radius: 18px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 992px) {
  .feature-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-hero h1 {
    font-size: 56px;
  }

  .tagline {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .feature-container,
  .mv-container {
    grid-template-columns: 1fr;
  }

  .about-hero {
    min-height: 380px;
  }

  .about-hero h1 {
    font-size: 34px;
  }

  .sub,
  .tagline {
    font-size: 24px;
  }

  .experience-card {
    flex-direction: column;
    text-align: center;
  }

  .exp-number {
    font-size: 120px;
  }

  .text-section h2 {
    font-size: 26px;
  }
}
/* ===============================
   GLOBAL MOBILE FIX
================================ */
html, body {
  overflow-x: hidden;
}

/* ===============================
   FEATURE SECTION – SAFE MOBILE
================================ */
@media (max-width: 768px) {
  .feature-section {
    padding: 50px 15px;
  }

  .feature-container {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .feature-card {
    width: 100%;
    padding: 30px 20px;
  }
}

/* ===============================
   MISSION VALUES – MOBILE RESET
================================ */
@media (max-width: 768px) {
  .mv-container {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  /* REMOVE DESKTOP COLUMN SPANS */
  .mv-card,
  .mv-card:nth-child(1),
  .mv-card:nth-child(2),
  .mv-card:nth-child(3),
  .mv-card:nth-child(4),
  .mv-card:nth-child(5) {
    grid-column: auto !important;
    width: 100%;
  }

  .mv-img img {
    height: 200px;
  }

  .mv-card h3 {
    font-size: 18px;
  }

  .mv-card p {
    font-size: 15px;
  }
}

/* ===============================
   EXPERIENCE CARD – MOBILE
================================ */
@media (max-width: 768px) {
  .experience-wrapper {
    padding: 80px 15px;
  }

  .experience-card {
    width: 100%;
    padding: 30px 20px;
  }
}

/* ===============================
   TEXT SECTIONS – MOBILE
================================ */
@media (max-width: 768px) {
  .text-section {
    padding: 45px 15px;
  }

  .text-section p,
  .mission-text-below p {
    padding: 0 5px;
  }
}








/*--.location-section--_______________________________________________________________*/
/* ---------------- LOCATIONS SECTION ---------------- */
.location-section {
  padding: 55px 0 50px;
  background: #9f9894;
  text-align: center;
}

.locations-list {
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: #222;
  letter-spacing: 1px;
  font-weight: 600;
}

/* MAP FLEX ROW */
.map-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

/* EACH MAP COLUMN */
.map-column {
  flex: 1 1 340px;
  min-width: 300px;
  max-width: 500px;
  background: #ffffff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  transition: 0.3s ease;
}

/* Hover animation */
.map-column:hover {
  transform: translateY(-6px);
}

/* Heading */
.map-column h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0e0f0f;
  margin-bottom: 10px;
}

/* Map iframe styling */
.map-column iframe {
  width: 100%;
  height: 280px;
  border: none;
  border-radius: 10px;
}

/* -- MOBILE RESPONSIVE FIX --*/
@media (max-width: 768px) {
  .locations-list {
    font-size: 1rem;
  }

  .map-column {
    max-width: 90%;
  }

  .map-column h3 {
    font-size: 18px;
  }

  .map-column iframe {
    height: 230px;
  }
}

@media (max-width: 480px) {
  .map-column {
    padding: 12px;
  }

  .map-column iframe {
    height: 200px;
  }
}









/*contact section__________________________________________________________________*/
/* CONTACT SECTION ------------------------------------------------*/
.visible { 
  opacity: 1 !important; 
  transform: translateY(0) !important; 
}

.contact-section {
  background: #b2a6a6;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* HERO SECTION  */
.contact-hero {
  width: 100%;
  min-height: 550px;
  background: url("imagef/imf19.jpeg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* overlay */
.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

/* hero title */
.contact-hero h1 {
  position: relative;
  font-size: 55px;
  font-weight: 800;
  color: #f0630a;
  text-align: center;
  z-index: 2;
  margin: 0;
}

/*Sub headings */
.subb {
  font-size: 50px;
  font-weight: 600;
  color: rgb(20, 19, 57);
  margin-top: 20px;
}

.taglines {
  font-size: 22px;
  color: rgb(20, 19, 57);
  max-width: 900px;
  margin: 10px auto;
}

/*  MOBILE HERO FIx*/
@media (max-width: 768px) {
  .contact-hero {
    min-height: 320px;
  }

  .contact-hero h1 {
    font-size: 36px;
  }

  .subb {
    font-size: 30px;
  }

  .taglines {
    font-size: 18px;
  }
}

/* CONTACT FORM SECTION*/
.google-form-box {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.google-form-box iframe {
  width: 100%;
  max-width: 900px;   /* same width as your form container */
  border: none;
  border-radius: 10px;
}


/* MOBILE FORM FIX */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
  .form-heading {
    font-size: 28px;
    padding-left: 0;
    text-align: center;
  }
}

/* SECTION TITLE */
.help-title {
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  margin: 40px 0 25px;
  color: #09083c;
}

/* CONTACT CARDS SECTION  */
.contact-cards-section {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.card {
  width: 300px;
  background: linear-gradient(135deg, #003d8d, #001d4a);
  padding: 25px;
  border-radius: 15px;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: 0.35s ease;
}

.card:hover {
  transform: translateY(-10px) scale(1.03);
}

/* ICON */
.icon-box {
  width: 60px;
  height: 60px;
  background: #ffffff;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  transition: 0.3s ease;
}

.icon-box i {
  font-size: 30px;
  color: #003d8d;
}

/* icon hover */
.card:hover .icon-box {
  transform: scale(1.15);
  background: #e8eeff;
}

.card h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.card p {
  font-size: 18px;
}

/* MOBILE CARD FIX */
@media (max-width: 768px) {
  .card {
    width: 90%;
  }
  .help-title {
    font-size: 26px;
  }
}


/* .................Institute Info Section ..................----------------------*/
.institute-info-section {
  background: #d4f3f5;
  padding: 80px 30px;
}
.institute-info-section a:hover {
    color: #0037d2 !important;
}


.info-container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.info-col {
  flex: 1;
  min-width: 230px;
  
}
.info-col p{
  font-size: 18px;
}
.info-logo {
  width: 180px;
  margin-bottom: 15px;
}

.info-desc {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.info-title {
  font-size: 26px;
  color: #111;
  margin-bottom: 15px;
  font-weight: 700;
}

.info-list {
  list-style: none;
  padding: 0;
  font-size: 18px;
}

.info-list li {
  margin: 6px 0;
}

.info-list a {
  text-decoration: none;
  color: #444;
  font-size: 20px;
}

.info-phone {
  font-size: 22px;
  font-weight: 600;
  color: #222;
  margin: 4px 0;
}

.info-email {
  font-size: 25px;
  margin-bottom: 10px;
  color: #444;
}
/* ===================== RESPONSIVE FIX ===================== */

@media (max-width: 900px) {

  .info-container {
    flex-direction: column;
    text-align: center;
    gap: 35px;
  }

  .info-col {
    width: 100%;
  }

  .info-logo {
    margin-left: auto;
    margin-right: auto;
    width: 150px;
  }

  .info-title {
    font-size: 22px;
  }

  .info-list a {
    font-size: 18px;
  }

  .info-phone {
    font-size: 20px;
  }

  .info-email {
    font-size: 20px;
  }
}

@media (max-width: 480px) {

  .institute-info-section {
    padding: 50px 20px;
  }

  .info-title {
    font-size: 20px;
  }

  .info-col p {
    font-size: 16px;
  }

  .info-list {
    font-size: 16px;
  }

  .info-list a {
    font-size: 17px;
  }

  .info-phone {
    font-size: 18px;
  }

  .info-email {
    font-size: 18px;
  }
}

/*end of institute section*/





footer {
  background: #222831;
  color: #faf4f4;
  padding: 25px 0;
  text-align: center;
  font-size: 1rem;
  margin-top: 40px;
}
.footer-content p {
  margin: 7px 0;
}
@media (max-width: 1100px) {
  .map-row {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
}
@media (max-width: 900px) {
  .stats-grid, .cards-grid, .teacher-grid {
    flex-direction: column;
    align-items: center;
  }
  .locations-list { font-size: 1rem; }
}
@media (max-width: 576px) {
  .nav-links { flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
  .logo { font-size: 1rem; }
  .cards-grid, .teacher-grid, .stats-grid {
    flex-direction: column; gap: 20px; align-items: center;
  }
  .course-card, .teacher-card, .stat-card { width: 90vw; max-width: 100%; }
  .welcome-section h1 { font-size: 1.6rem; }
  .welcome-section h2 { font-size: 1rem; max-width: 90vw; }
  .contact-section form { padding: 20px; width: 90vw; }
}
@media (max-width: 768px) {
  .nav-links { flex-direction: column; gap: 0.7rem; }
  .logo { font-size: 1.15rem; }
  .welcome-section h1 { font-size: 1.4rem; }
  .welcome-section h2 { font-size: 0.98rem; max-width: 97vw; padding: 0.5em 0.3em; }
  .about-section, .contact-section, .events-section, .courses-section { padding: 32px 7px; }
  .contact-section form { padding: 14px 3vw 12px 3vw; }
  .map-row { gap: 12px; }
  .map-column { min-width: 220px; }
}
@keyframes typing { from { width: 0; } to { width: 100%; } }
@keyframes blink { 50% { border-color: transparent; } }








/* --------------------------------------------------
   EXTRA SMALL MOBILE FIX (iPhone SE, small android)
-------------------------------------------------- */
@media (max-width: 480px) {

  .logo img {
    height: 38px;
  }

  .logo span {
    font-size: 14px;
  }

  .nav-links li a {
    font-size: 12px;
    padding: 3px 8px;
  }

  .nav-links {
    gap: 6px;
  }
}
/* ACTIVE LINK – MOBILE MENU */
.mobile-sidebar a.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 700;
  border-left: 4px solid #ffffff;
}

/* Smooth hover */
.mobile-sidebar a {
  display: block;
  padding: 14px 20px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.mobile-sidebar a:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* =========================================
   FINAL FIX – LOCK INSTITUTE NAME SIZE
   (ALL PAGES: Home, StudyMaterial, Plans, etc.)
========================================= */

.navbar .institute-name {
  font-size: 22px !important;
  font-weight: 700;
  color: #ffffff !important;
}

/* Tablet & Mobile */
@media (max-width: 900px) {
  .navbar .institute-name {
    font-size: 20px !important;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .navbar .institute-name {
    font-size: 18px !important;
  }
}
.contact-form{
    max-width:700px;
    margin:30px auto;
    display:flex;
    flex-direction:column;
    gap:15px;
}

.contact-form input,
.contact-form textarea{
    padding:14px;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:16px;
    width:100%;
}

.contact-form textarea{
    min-height:120px;
}

.contact-form button{
    background:#13032f;
    color:white;
    padding:14px;
    border:none;
    border-radius:8px;
    font-size:18px;
    cursor:pointer;
}

.contact-form button:hover{
    background:#e67326;
}


















