﻿
:root {
  --indigo:       #1e1b4b;
  --royal:        #3730a3;
  --blue-bright:  #2563eb;
  --cyan:         #06b6d4;
  --emerald:      #10b981;
  --amber:        #f59e0b;
  --orange:       #f97316;
  --coral:        #f43f5e;
  --purple:       #7c3aed;
  --bg-page:      #f0f4ff;
  --surface:      #ffffff;
  --text-main:    #1e293b;
  --text-muted:   #475569;
  --radius-lg:    22px;
  --radius-md:    14px;
  --shadow-card:  0 12px 32px rgba(30, 27, 75, 0.08);
  --shadow-hover: 0 20px 48px rgba(55, 48, 163, 0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-page);
  background-image:
    radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 10%, rgba(244, 63, 94, 0.10) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(16, 185, 129, 0.10) 0px, transparent 55%);
  background-attachment: fixed;
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Admission Modal ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 10px;
  backdrop-filter: blur(8px);
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 28px 90px rgba(30, 27, 75, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(24px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--royal) 0%, var(--purple) 55%, var(--coral) 100%);
}
.modal-header h5 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.modal-close:hover {
  background: #ffffff;
  color: var(--coral);
  transform: rotate(90deg);
}
.modal-img {
  width: 100%;
  display: block;
  max-height: 500px;
  object-fit: cover;
}
.modal-footer {
  padding: 16px 24px;
  text-align: right;
  background: #f8fafc;
  border-top: 1px solid rgba(30, 27, 75, 0.08);
}
.modal-footer .btn-close-modal {
  background: linear-gradient(135deg, var(--blue-bright), var(--purple));
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 10px 26px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
  transition: all 0.25s ease;
}
.modal-footer .btn-close-modal:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.4);
}

/* ── Hero / Slider Section ── */
.hero-section {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 45%, #1d4ed8 100%);
  padding: 28px 24px 56px;
  position: relative;
}
.hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--coral), var(--amber), var(--emerald), var(--cyan), var(--purple));
}
.hero-wrap {
  position: relative;
  max-width: 1260px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--indigo);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.45);
  border: 3px solid rgba(255, 255, 255, 0.22);
}
#jssor_1 {
  position: relative;
  margin: 0 auto;
  width: 100% !important;
  max-width: 1300px;
  height: 480px;
  overflow: hidden;
  visibility: hidden;
}
#jssor_1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 64px 36px 28px;
  background: linear-gradient(to top, rgba(30, 27, 75, 0.94) 0%, rgba(49, 46, 129, 0.45) 55%, transparent 100%);
  color: #ffffff;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.slide-caption::before {
  content: "";
  display: inline-block;
  width: 36px;
  height: 5px;
  background: linear-gradient(90deg, var(--amber), var(--coral));
  border-radius: 4px;
}

/* ── Main Bento Grid Layout ── */
.main-container {
  max-width: 1260px;
  margin: -24px auto 0;
  padding: 0 24px 72px;
  position: relative;
  z-index: 5;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
  align-items: stretch;
}
.col-about      { grid-column: span 7; }
.col-admissions { grid-column: span 5; }
.col-news-fb    { grid-column: span 12; }

@media (max-width: 992px) {
  .col-about, .col-admissions, .col-news-fb { grid-column: span 12; }
}

/* ── Vibrant Card Architecture ── */
.home-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.home-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* Color-coded top bars & headers per card */
.col-about { border-top: 6px solid var(--blue-bright); }
.col-admissions { border-top: 6px solid var(--coral); }
.col-news-fb { border-top: 6px solid var(--emerald); }

.card-head {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(30, 27, 75, 0.06);
}
.col-about .card-head {
  background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%);
}
.col-admissions .card-head {
  background: linear-gradient(135deg, #fff1f2 0%, #fffbeb 100%);
}
.col-news-fb .card-head {
  background: linear-gradient(135deg, #ecfdf5 0%, #ecfeff 100%);
}

.card-icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  color: #ffffff;
}
.col-about .card-icon-badge {
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3);
}
.col-admissions .card-icon-badge {
  background: linear-gradient(135deg, var(--coral), var(--amber));
  box-shadow: 0 8px 18px rgba(244, 63, 94, 0.3);
}
.col-news-fb .card-icon-badge {
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.3);
}

.card-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: 25px;
  font-weight: 700;
  color: var(--indigo);
  letter-spacing: -0.2px;
}

.card-body-inner {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ── About Us Styling ── */
.motto-banner {
  background: linear-gradient(135deg, #fef3c7 0%, #ffedd5 100%);
  border-left: 5px solid var(--orange);
  padding: 15px 20px;
  border-radius: 0 14px 14px 0;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.12);
}
.motto {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-style: italic;
  color: #9a3412;
  font-weight: 700;
  display: block;
}
.about-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-main);
}
.about-text p {
  margin-bottom: 16px;
}
.about-text p:first-child {
  font-size: 15.5px;
  color: var(--royal);
  font-weight: 600;
}
.about-text p:last-child {
  margin-bottom: 0;
}

/* ── Admissions Card Styling ── */
.admission-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid #ffe4e6;
  box-shadow: 0 10px 26px rgba(244, 63, 94, 0.14);
}
.admission-img {
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.admission-img-wrap:hover .admission-img {
  transform: scale(1.03);
}

.prospectus-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .prospectus-grid { grid-template-columns: 1fr; }
}

.btn-prospectus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.25s ease;
}
.btn-prospectus-navy {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #1d4ed8;
  border: 1px solid #93c5fd;
}
.btn-prospectus-navy:hover {
  background: linear-gradient(135deg, var(--blue-bright), var(--royal));
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}
.btn-prospectus-gold {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #b45309;
  border: 1px solid #fcd34d;
}
.btn-prospectus-gold:hover {
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.32);
}

.btn-apply-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  background: linear-gradient(135deg, var(--coral) 0%, var(--orange) 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 10px 24px rgba(244, 63, 94, 0.35);
  transition: all 0.25s ease;
}
.btn-apply-primary:hover {
  background: linear-gradient(135deg, #e11d48 0%, #ea580c 100%);
  color: #ffffff;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 30px rgba(244, 63, 94, 0.45);
}

/* ── News & Social Split Section ── */
.news-fb-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .news-fb-split { grid-template-columns: 1fr; }
}

.notice-board {
  background: linear-gradient(145deg, #1e1b4b 0%, #312e81 60%, #1e3a8a 100%);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  border: 2px solid rgba(6, 182, 212, 0.45);
  box-shadow: 0 12px 30px rgba(30, 27, 75, 0.2);
  position: relative;
}
.notice-board-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: #fde047;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  width: 100%;
}
.live-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.3);
}
.news-marquee {
  height: 290px;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.8;
}
.news-marquee a {
  color: #fde047;
  font-weight: 700;
  text-decoration: underline;
}

.fb-section {
  background: linear-gradient(135deg, #f0f9ff 0%, #f5f3ff 100%);
  border: 2px solid #ddd6fe;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fb-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--royal);
  margin-bottom: 14px;
  font-weight: 700;
  width: 100%;
  text-align: left;
  padding-bottom: 10px;
  border-bottom: 2px solid #c4b5fd;
}

/* ── Slider nav (preserved) ── */
.jssorb05{position:absolute}.jssorb05 div,.jssorb05 div:hover,.jssorb05 .av{position:absolute;width:16px;height:16px;background:url('Images/b05.png') no-repeat;overflow:hidden;cursor:pointer}.jssorb05 div{background-position:-7px -7px}.jssorb05 div:hover,.jssorb05 .av:hover{background-position:-37px -7px}.jssorb05 .av{background-position:-67px -7px}.jssorb05 .dn,.jssorb05 .dn:hover{background-position:-97px -7px}.jssora22l,.jssora22r{display:block;position:absolute;width:40px;height:58px;cursor:pointer;background:url('Images/a22.png') center center no-repeat;overflow:hidden}.jssora22l{background-position:-10px -31px}.jssora22r{background-position:-70px -31px}.jssora22l:hover{background-position:-130px -31px}.jssora22r:hover{background-position:-190px -31px}.jssora22l.jssora22ldn{background-position:-250px -31px}.jssora22r.jssora22rdn{background-position:-310px -31px}.jssora22l.jssora22lds{background-position:-10px -31px;opacity:.3;pointer-events:none}.jssora22r.jssora22rds{background-position:-70px -31px;opacity:.3;pointer-events:none}

/* ── Fade-in animation ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 600px) {
  .hero-section { padding: 14px 12px 36px; }
  .hero-wrap { border-radius: 16px; }
  #jssor_1 { height: 240px !important; }
  .slide-caption { font-size: 20px; padding: 36px 18px 16px; }
  .card-head { padding: 18px 20px; }
  .card-head h2 { font-size: 21px; }
  .card-body-inner { padding: 20px; }
}


  .about-page-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 36px 20px 64px;
  }

  /* ── Campus Banner Frame ── */
  .about-hero-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(30, 27, 75, 0.18);
    border: 3px solid #ffffff;
    background: #1e1b4b;
    margin-bottom: -44px;
    z-index: 1;
  }

  .about-hero-card img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
  }

  .about-hero-card:hover img {
    transform: scale(1.02);
  }

  .about-hero-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #f43f5e, #f59e0b, #10b981, #06b6d4, #2563eb);
  }

  /* ── Main Content Card ── */
  .about-story-card {
    position: relative;
    z-index: 2;
    max-width: 960px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 22px;
    padding: 44px 48px;
    box-shadow: 0 18px 48px rgba(30, 27, 75, 0.10);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-top: 6px solid #2563eb;
  }

  .about-title-row {
    text-align: center;
    margin-bottom: 28px;
  }

  .about-title-row h1 {
    font-family: "PT Serif", Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    color: #1e1b4b;
    margin: 0 0 10px;
    letter-spacing: -0.3px;
  }

  .about-title-bar {
    width: 72px;
    height: 5px;
    border-radius: 4px;
    margin: 0 auto;
    background: linear-gradient(90deg, #f43f5e, #f59e0b, #2563eb);
  }

  /* ── Opening Quote Banner ── */
  .about-quote-box {
    background: linear-gradient(135deg, #fffbeb 0%, #fff1f2 100%);
    border-left: 5px solid #f59e0b;
    border-radius: 0 16px 16px 0;
    padding: 20px 26px;
    margin-bottom: 28px;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.10);
    font-family: "PT Serif", Georgia, serif;
    font-size: 18.5px;
    line-height: 1.75;
    color: #9a3412;
    text-align: center;
  }

  /* ── Story Paragraphs ── */
  .text {
    font-family: 'Plus Jakarta Sans', "PT Serif", sans-serif;
    font-size: 16.5px;
    line-height: 1.9;
    color: #1e293b;
    text-align: left;
  }

  .about-paragraph {
    background: #f8faff;
    border: 1px solid #e0e7ff;
    border-radius: 16px;
    padding: 22px 26px;
    margin-bottom: 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .about-paragraph:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
  }

  .about-paragraph.accent-emerald {
    background: #f0fdf4;
    border-color: #bbf7d0;
    border-left: 5px solid #10b981;
  }

  .about-paragraph.accent-blue {
    background: #eff6ff;
    border-color: #bfdbfe;
    border-left: 5px solid #2563eb;
  }

  .about-paragraph.accent-purple {
    background: #faf5ff;
    border-color: #e9d5ff;
    border-left: 5px solid #7c3aed;
    margin-bottom: 0;
  }

  .about-paragraph em {
    color: #b45309;
    font-weight: 700;
  }

  @media (max-width: 768px) {
    .about-hero-card {
      margin-bottom: 20px;
      border-radius: 16px;
    }
    .about-story-card {
      padding: 28px 20px;
      border-radius: 16px;
    }
    .about-title-row h1 {
      font-size: 28px;
    }
    .about-quote-box {
      font-size: 16px;
      padding: 16px 18px;
    }
    .text {
      font-size: 15.5px;
    }
    .about-paragraph {
      padding: 18px;
    }
    .about-paragraph br {
      display: none;
    }
  }

/* css*/