/* ===================================================
   JAI JAWAN SCHOLARSHIP PAGE — LPU Online University
   =================================================== */

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #eee;
  transition: box-shadow 0.3s;
}
.header.sticky { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo img { height: 50px; width: auto; }
.header__nav { flex: 1; display: flex; justify-content: center; }
.header__menu { display: flex; gap: 30px; align-items: center; }
.header__menu-link {
  font-weight: 600;
  font-size: 15px;
  color: #333;
  transition: color 0.3s;
  padding: 8px 0;
}
.header__menu-link:hover, .header__menu-link.text-highlight { color: #e8740c; }
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e8740c;
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.3s;
}
.btn-phone:hover { background: #d06500; }
.btn-phone i { font-size: 16px; }
.header__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #333;
  cursor: pointer;
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu.active { visibility: visible; opacity: 1; }
.mobile-menu__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.mobile-menu__panel {
  position: absolute;
  top: 0; right: -280px;
  width: 280px;
  height: 100%;
  background: #fff;
  transition: right 0.3s;
  padding: 60px 20px 20px;
}
.mobile-menu.active .mobile-menu__panel { right: 0; }
.mobile-menu__close {
  position: absolute;
  top: 15px; right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}
.mobile-menu__item { border-bottom: 1px solid #f0f0f0; }
.mobile-menu__link {
  display: block;
  padding: 14px 0;
  font-weight: 600;
  font-size: 15px;
  color: #333;
  transition: color 0.3s;
}
.mobile-menu__link:hover, .mobile-menu__link.text-highlight { color: #e8740c; }

/* ========== BREADCRUMB ========== */
.breadcrumb {
  padding: 10px 0;
  padding-top: 78px;
  background: #f9f9f9;
  border-bottom: 1px solid #eee;
}
.breadcrumb__list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.breadcrumb__item a {
  color: #e8740c;
  text-decoration: none;
}
.breadcrumb__item a:hover { text-decoration: underline; }
.breadcrumb__item--active { color: #666; }
.breadcrumb__item + .breadcrumb__item::before {
  content: '>';
  margin-right: 8px;
  color: #999;
}

/* ========== HERO BANNER ========== */
.jw-hero { padding-top: 0; position: relative; }
.jw-hero__wrapper { position: relative; }
.jw-hero__desktop { display: block; }
.jw-hero__mobile { display: none; }
.jw-hero img { width: 100%; height: auto; }

/* Hero Form Overlay */
.jw-hero__form-overlay {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  z-index: 10;
  width: 360px;
  max-width: 90%;
}
.jw-hero__form {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border: 2px solid #e8740c;
}
.jw-hero__form-title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  padding-bottom: 12px;
}
.jw-hero__form-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #e8740c;
}
.jw-hero__form-group {
  margin-bottom: 14px;
}
.jw-hero__form-group input,
.jw-hero__form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s;
  background: #fff;
}
.jw-hero__form-group input:focus,
.jw-hero__form-group select:focus {
  outline: none;
  border-color: #e8740c;
}
.jw-hero__form-submit {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #e8740c, #f5a623);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.jw-hero__form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 116, 12, 0.4);
}

/* ========== SCHOLARSHIP DETAILS SECTION ========== */
.jw-details {
  padding: 60px 0;
  background: #fff;
}
.jw-details__grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}
.jw-details__heading {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 32px;
  margin-bottom: 30px;
  color: #333;
}
.jw-details__heading span { font-weight: 700; }
.jw-details__heading::before {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #e8740c;
  margin-bottom: 8px;
}
.jw-details__text p { margin-bottom: 16px; font-size: 15px; line-height: 1.75; color: #444; }
.jw-details__text strong { color: #333; }

/* Founder sidebar */
.jw-founder {
  background: #fff8f0;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
}
.jw-founder img { width: 100%; }
.jw-founder__info { padding: 16px; }
.jw-founder__name { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.jw-founder__credentials { font-size: 13px; color: #666; line-height: 1.5; }

/* ========== ELIGIBILITY SECTION ========== */
.jw-eligible {
  padding: 60px 0;
  background: #fff;
}
.jw-eligible__heading {
  font-weight: 300;
  font-size: 32px;
  margin-bottom: 10px;
  color: #333;
}
.jw-eligible__heading span { font-weight: 700; }
.jw-eligible__heading::before {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #e8740c;
  margin-bottom: 8px;
}
.jw-eligible__subtitle {
  font-size: 15px;
  color: #555;
  margin-bottom: 30px;
}
.jw-eligible__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.jw-branch-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: left;
  transition: box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.jw-branch-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border-color: #e8740c;
}
.jw-branch-card__icon { width: 80px; height: auto; }
.jw-branch-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #e8740c;
}
.jw-branch-card__desc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* ========== NOTE / DEB-ID SECTION ========== */
.jw-note {
  padding: 40px 0;
  background: #fff8f0;
}
.jw-note__content {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
}
.jw-note__content strong { color: #333; }
.jw-note__content a { color: #e8740c; font-weight: 600; text-decoration: underline; }
.jw-note__content a:hover { color: #d06500; }

/* ========== WHY CHOOSE LPU ONLINE ========== */
.jw-why {
  padding: 60px 0;
  background: #fff;
}
.jw-why__heading {
  font-weight: 300;
  font-size: 32px;
  margin-bottom: 40px;
  color: #333;
}
.jw-why__heading span { font-weight: 700; }
.jw-why__heading::before {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #e8740c;
  margin-bottom: 8px;
}
.jw-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 32px;
}
.jw-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}
.jw-feature__icon-wrap {
  width: 70px;
  height: 70px;
  background: #f8f8f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 4px solid #fff;
  transition: border-color 0.3s;
}
.jw-feature:hover .jw-feature__icon-wrap { border-color: #e8740c; }
.jw-feature__icon { width: 40px; height: auto; }
.jw-feature__text {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
}

/* ========== HOW TO APPLY ========== */
.jw-apply {
  padding: 60px 0;
  background: linear-gradient(90deg, #e8740c 30%, #fff 30%);
}
.jw-apply__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}
.jw-apply__image { border-radius: 12px; border: 8px solid #fff; overflow: hidden; }
.jw-apply__image img { width: 100%; display: block; }
.jw-apply__heading {
  font-weight: 300;
  font-size: 32px;
  margin-bottom: 20px;
  color: #333;
}
.jw-apply__heading span { font-weight: 700; }
.jw-apply__heading::before {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #e8740c;
  margin-bottom: 8px;
}
.jw-apply__text {
  font-size: 15px;
  color: #444;
  line-height: 1.75;
  margin-bottom: 20px;
}
.jw-apply__docs-title {
  font-size: 16px;
  font-weight: 700;
  color: #e8740c;
  margin-bottom: 8px;
}
.jw-apply__docs {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
}
.jw-apply__docs strong { color: #333; }

/* ========== TERMS & CONDITIONS ========== */
.jw-terms {
  padding: 60px 0;
  background: #f9f9f9;
}
.jw-terms__heading {
  font-weight: 300;
  font-size: 32px;
  margin-bottom: 40px;
  color: #333;
}
.jw-terms__heading span { font-weight: 700; }
.jw-terms__heading::before {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #e8740c;
  margin-bottom: 8px;
}
.jw-terms__group { margin-bottom: 24px; }
.jw-terms__subtitle {
  font-size: 17px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}
.jw-terms__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: #444;
  line-height: 1.7;
}
.jw-terms__item i {
  color: #e8740c;
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}
.jw-terms__item a { color: #e8740c; text-decoration: underline; }
.jw-terms__item--indent { padding-left: 30px; }

/* ========== CTA SECTION ========== */
.jw-cta {
  padding: 50px 0;
  background: #f2f2f2;
  text-align: center;
}
.jw-cta__text {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ========== FOOTER ========== */
.footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #ccc;
}
.footer__inner { max-width: 1200px; margin: 0 auto; padding: 50px 20px 0; }
.footer__top { display: flex; gap: 50px; align-items: flex-start; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__logo img { height: 45px; width: auto; }
.footer__contact { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.footer__contact-item { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.footer__contact-item i { font-size: 20px; color: #e8740c; margin-top: 2px; }
.footer__contact-item strong { display: block; color: #fff; margin-bottom: 2px; }
.footer__contact-item p { margin: 0; }
.footer__contact-item a { color: #ccc; transition: color 0.3s; }
.footer__contact-item a:hover { color: #e8740c; }
.footer__contact-row { display: flex; gap: 40px; }
.footer__contact-note { font-size: 12px; color: #999; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; flex-wrap: wrap; gap: 10px; }
.footer__copyright { font-size: 13px; color: #888; }
.footer__links { display: flex; gap: 10px; font-size: 13px; }
.footer__links a { color: #888; transition: color 0.3s; }
.footer__links a:hover { color: #e8740c; }

/* ========== POPUP FORMS ========== */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}
.popup-overlay.active { visibility: visible; opacity: 1; }

.popup-form {
  background: #fff;
  border-radius: 16px;
  width: 95%;
  max-width: 480px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.popup-form__close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  z-index: 1;
}
.popup-form__header {
  position: relative;
  background: linear-gradient(135deg, #e8740c, #f5a623);
  padding: 20px 24px 16px;
  color: #fff;
  flex-shrink: 0;
}
.popup-form__header h3 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.popup-form__header p { font-size: 14px; margin: 0; opacity: 0.9; }
.popup-form__subtitle { display: block; font-size: 12px; opacity: 0.85; margin-top: 4px; }
.popup-form__body {
  padding: 16px 24px 24px;
  overflow-y: auto;
  flex: 1;
}
.popup-form__group { margin-bottom: 14px; }
.popup-form__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}
.popup-form__group input,
.popup-form__group select,
.popup-form__group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s;
  background: #fafafa;
}
.popup-form__group input:focus,
.popup-form__group select:focus,
.popup-form__group textarea:focus {
  outline: none;
  border-color: #e8740c;
  background: #fff;
}
.popup-form__consent {
  margin: 14px 0 16px;
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}
.popup-form__consent label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.popup-form__consent input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: #e8740c;
  margin-top: 2px;
  flex-shrink: 0;
}
.popup-form__consent a { color: #e8740c; }
.popup-form__submit {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #e8740c, #f5a623);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.popup-form__submit:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(232,116,12,0.4); }
.popup-form__success {
  text-align: center;
  padding: 40px 20px;
}
.popup-form__success i { font-size: 60px; color: #e8740c; }
.popup-form__success h4 { font-size: 22px; margin: 12px 0 8px; color: #333; }
.popup-form__success p { color: #666; }

/* YouTube Popup */
.youtube-popup {
  width: 90%;
  max-width: 900px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.youtube-popup__player { position: relative; padding-top: 56.25%; }
.youtube-popup__player iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background: #25d366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.5); }

/* ========== ENQUIRE FLOATING BUTTON ========== */
.jw-enquire-float {
  position: fixed;
  bottom: 85px;
  right: 20px;
  z-index: 999;
  background: linear-gradient(135deg, #e8740c, #f5a623);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 16px rgba(232,116,12,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
}
.jw-enquire-float:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(232,116,12,0.5); }

/* ========== RESPONSIVE: TABLET (<=1024px) ========== */
@media (max-width: 1024px) {
  .jw-details__grid { grid-template-columns: 1fr 240px; gap: 30px; }
  .jw-eligible__grid { grid-template-columns: repeat(2, 1fr); }
  .jw-why__grid { grid-template-columns: repeat(2, 1fr); }
  .jw-apply { background: linear-gradient(180deg, #e8740c 30%, #fff 30%); }
  .jw-apply__grid { grid-template-columns: 1fr; }
  .jw-apply__image { max-width: 400px; }
  .footer__top { flex-direction: column; gap: 30px; }
  .footer__contact-row { flex-direction: column; gap: 16px; }
}

/* ========== RESPONSIVE: MOBILE (<=768px) ========== */
@media (max-width: 768px) {
  .header__nav, .header__actions { display: none; }
  .header__toggle { display: block; }
  .header__inner { padding: 8px 16px; }

  .jw-hero { padding-top: 0; }
  .jw-hero__desktop { display: none; }
  .jw-hero__mobile { display: block; }
  .jw-hero__form-overlay { display: none; }
  .breadcrumb { padding-top: 68px; }

  .jw-details { padding: 40px 0; }
  .jw-details__grid { grid-template-columns: 1fr; }
  .jw-details__heading { font-size: 26px; }
  .jw-founder { max-width: 300px; margin: 0 auto; }

  .jw-eligible { padding: 40px 0; }
  .jw-eligible__heading { font-size: 26px; }
  .jw-eligible__grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .jw-note { padding: 30px 0; }

  .jw-why { padding: 40px 0; }
  .jw-why__heading { font-size: 26px; }
  .jw-why__grid { grid-template-columns: 1fr 1fr; }

  .jw-apply { padding: 40px 0; }
  .jw-apply__heading { font-size: 26px; }

  .jw-terms { padding: 40px 0; }
  .jw-terms__heading { font-size: 26px; }

  .jw-cta__text { font-size: 17px; }

  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ========== RESPONSIVE: SMALL MOBILE (<=480px) ========== */
@media (max-width: 480px) {
  .jw-details__heading, .jw-eligible__heading, .jw-why__heading, .jw-apply__heading, .jw-terms__heading { font-size: 22px; }

  .jw-eligible__grid { grid-template-columns: 1fr; }
  .jw-branch-card { padding: 20px 16px; }

  .jw-why__grid { grid-template-columns: 1fr; }
  .jw-feature__icon-wrap { width: 56px; height: 56px; }
  .jw-feature__icon { width: 32px; }

  .jw-cta__text { font-size: 15px; }
  .jw-enquire-float { bottom: 75px; right: 14px; padding: 10px 18px; font-size: 13px; }
  .whatsapp-float { bottom: 14px; right: 14px; width: 48px; height: 48px; }
}

/* ========== FAQ SECTION ========== */
.faq-section {
  padding: 60px 0;
  background-color: #fff;
}
.faq-section__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}
.faq-section__inner .jw-apply__heading {
  text-align: center;
  margin-bottom: 40px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.faq-item:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.faq-item[open] {
  border-color: #e8740c;
}
.faq-item__question {
  padding: 18px 50px 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  position: relative;
  list-style: none;
  user-select: none;
  line-height: 1.5;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: #e8740c;
  transition: transform 0.3s ease;
}
.faq-item[open] .faq-item__question::after { content: '\2013'; }
.faq-item[open] .faq-item__question {
  color: #e8740c;
  border-bottom: 1px solid #f0f0f0;
}
.faq-item__answer { padding: 16px 20px 20px; }
.faq-item__answer p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}
.faq-item__answer a {
  color: #e8740c;
  text-decoration: none;
  font-weight: 500;
}
.faq-item__answer a:hover { text-decoration: underline; }
