@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Jost:ital,wght@0,300..900;1,300..900&family=Montserrat:ital,wght@0,300..900;1,300..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* ==========================================================================
   Custom Font Declarations
   ========================================================================== */
@font-face {
  font-family: 'Massilia';
  src: url('https://resources.edunexttechnologies.com/web-data/navriti/fonts/Massilia-Bold.woff2') format('woff2'),
       url('https://resources.edunexttechnologies.com/web-data/navriti/fonts/Massilia-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Massilia';
  src: url('https://resources.edunexttechnologies.com/web-data/navriti/fonts/Massilia-Regular.woff2') format('woff2'),
       url('https://resources.edunexttechnologies.com/web-data/navriti/fonts/Massilia-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Design Tokens & Root
   ========================================================================== */
:root {
  --primary-red: #9E2A2B;
  --primary-red-hover: #7F1D1D;
  --secondary-cream: #F1E4D1;
  --bg-cream-card: #F9E8EA;
  --bg-cream-soft: #F9F8F6;
  --text-dark: #1A1A1A;
  --text-gray: #5B5B5B;
  --border-color: #E2DBD0;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", "Jost", sans-serif !important;
  color: var(--text-dark);
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

p {
  font-family: "Montserrat", "Jost", sans-serif !important;
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: #333333;
}

.custom_h2 {
  color: #9E2A2B;
  font-weight: 700;
  font-size: 34px;
  margin-top: 0;
  margin-bottom: 12px;
  font-family: 'Playfair Display', 'Massilia', Georgia, serif;
  line-height: 1.25;
}

.custom_h2 span {
  color: #9E2A2B;
}

.custom_h2 span.text-red {
  color: #9E2A2B !important;
}

.text-red {
  color: #9E2A2B !important;
}

.text-white {
  color: #ffffff !important;
}

.fw-500 { font-weight: 500 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fs-12 { font-size: 12px !important; }
.fs-13 { font-size: 13px !important; }
.fs-14 { font-size: 14px !important; }

/* ==========================================================================
   Exact Figma Header Navigation (Floating Fixed Card with Curved Bottom)
   ========================================================================== */
.site-header-figma {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  width: 100%;
  padding-top: 0;
  background: transparent;
  pointer-events: none;
  transition: all 0.3s ease;
}

.figma-nav-container {
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
  pointer-events: auto;
}

.header-inner-figma {
  background: #ffffff;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-top: none;
  transition: all 0.3s ease;
}

.site-header-figma.is-scrolled .header-inner-figma {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.brand-logo-wrap img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links-wrapper {
  display: flex;
  align-items: center;
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links-desktop li a {
  font-size: 14px;
  font-weight: 600;
  color: #222222;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-links-desktop li a:hover {
  color: var(--primary-red);
}

.nav-dropdown-arrow {
  font-size: 11px;
  line-height: 1;
  color: #666666;
  margin-top: -1px;
}

.btn-figma-apply {
  background: #9E2A2B;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 24px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease, transform 0.2s ease;
  letter-spacing: 0.2px;
}

.btn-figma-apply:hover {
  background: #7F1D1D;
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .nav-links-desktop {
    display: none;
  }
  .header-inner-figma {
    border-radius: 0 0 12px 12px;
    padding: 8px 16px;
  }
  .brand-logo-wrap img {
    height: 40px;
  }
}

/* ==========================================================================
   Hero Section with "Registration Page" Title & Floating Card
   ========================================================================== */
.hero-figma-section {
  position: relative;
  background-color: #F7F5F0;
  padding-bottom: 50px;
  margin-top: 0;
}

.hero-banner-image-wrap {
  width: 100%;
  height: 360px;
  overflow: hidden;
  position: relative;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.65);
}

.hero-dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
}

.hero-page-title {
  font-family: 'Playfair Display', 'Massilia', Georgia, serif;
  font-size: 46px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
  margin: 0;
  letter-spacing: 0.5px;
}

.hero-card-container {
  margin-top: -110px;
  position: relative;
  z-index: 10;
}

.hero-form-card {
  background: #F9F8F6;
  border-radius: 24px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.09);
  max-width: 820px;
  margin: 0 auto;
  padding: 36px 30px 24px 30px;
  border: 1px solid #ECE6DC;
}

.hero-card-title {
  font-family: 'Playfair Display', 'Massilia', Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 6px;
  line-height: 1.25;
}

.hero-card-subtitle {
  font-size: 14.5px;
  color: #555555;
  margin-bottom: 20px;
}

.form-iframe-wrapper {
  background: #ffffff;
  border-radius: 12px;
  padding: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.form-iframe-wrapper iframe {
  width: 100%;
  min-height: 620px;
  height: 620px;
  border: none;
  display: block;
  overflow: hidden;
  transition: height 0.25s ease;
}

@media (max-width: 991px) {
  .form-iframe-wrapper iframe {
    min-height: 650px;
    height: 650px;
  }
}

@media (max-width: 767px) {
  .hero-figma-section {
    margin-top: -56px;
  }
  .hero-banner-image-wrap {
    height: 200px;
  }
  .hero-page-title {
    font-size: 26px;
  }
  .hero-card-container {
    margin-top: -45px;
  }
  .hero-form-card {
    padding: 20px 14px 16px 14px;
    border-radius: 16px;
  }
  .hero-card-title {
    font-size: 21px;
  }
  .hero-card-subtitle {
    font-size: 12.5px;
    margin-bottom: 12px;
  }
  .form-iframe-wrapper {
    padding: 4px;
  }
  .form-iframe-wrapper iframe {
    min-height: 740px;
    height: 740px;
  }
}

/* ==========================================================================
   News Marquee Strip
   ========================================================================== */
.banner-bottom-strip {
  background: #2D2D2D;
  color: #ffffff;
}

.mrq-row {
  display: flex;
  align-items: center;
}

.news {
  background: #9E2A2B;
  color: #ffffff;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
}

.news-content ul {
  list-style: none;
  display: inline-flex;
  margin: 0;
  padding: 4px 0;
  gap: 30px;
}

.news-content ul li {
  color: #ffffff;
  font-size: 13px;
  white-space: nowrap;
}

/* ==========================================================================
   Section 1: About & "Igniting Curiosity"
   ========================================================================== */
.inner_box01 {
  padding: 50px 0;
  background-color: #ffffff;
}

.about-left p {
  color: #333333;
  font-size: 14.5px;
  line-height: 1.65;
}

.hand-list {
  list-style: none;
  padding-left: 0;
}

.hand-list li {
  font-size: 13.5px;
  font-weight: 500;
  color: #222222;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.text_itelic {
  font-style: italic;
  color: #444444;
}

.about-right img {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Section 2: "Why Choose SDHPS?"
   ========================================================================== */
.chooseview {
  background-color: #F1E4D1;
  padding: 50px 0;
}

.bg_img {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  background: #ffffff;
  height: 100%;
}

.bg_img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.box_hover {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.72);
  color: #ffffff;
  padding: 14px 16px;
  transition: background 0.3s ease;
}

.box_center .line_pra {
  font-family: 'Massilia', 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 2px;
}

.box_center p {
  color: #EAEAEA;
  margin-bottom: 0;
}

/* Slick Dots on Mobile */
.slick-dots {
  bottom: -25px !important;
}

.slick-dots li {
  margin: 0 2px !important;
}

.slick-dots li button:before {
  font-size: 8px !important;
  color: #9E2A2B !important;
  opacity: 0.35 !important;
}

.slick-dots li.slick-active button:before {
  opacity: 1 !important;
  color: #9E2A2B !important;
}

/* ==========================================================================
   Section 3: "Life in Motion @SDHPS" Mosaic Grid & Mobile Slider
   ========================================================================== */
.CampusView {
  padding: 50px 0;
  background-color: #ffffff;
}

.mosaic-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: 14px;
  margin-top: 18px;
}

.mosaic-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mosaic-span-4 { grid-column: span 4; }

.mobile-slider-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* ==========================================================================
   Section 4: "Our Legacy of Leadership"
   ========================================================================== */
.advisoryBoard {
  padding: 50px 0;
  background-color: #F9F8F6;
}

.cardnvt {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.header_cardnvt {
  background: #F9E8EA;
  text-align: center;
  padding: 16px 12px 0 12px;
}

.header_cardnvt img {
  max-height: 210px;
  width: auto;
  margin: 0 auto;
  display: block;
}

.footer_cardnvt {
  background: var(--primary-red);
  padding: 14px 16px;
  min-height: 105px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  flex: 1;
}

.footer_cardnvt p.name {
  font-weight: 700;
  font-size: 14.5px;
  color: #ffffff;
  margin-bottom: 3px;
}

.footer_cardnvt p.award,
.footer_cardnvt p.collage,
.footer_cardnvt p.degree {
  font-size: 12px;
  color: #F5EAEB;
  margin-bottom: 2px;
}

/* ==========================================================================
   Section 5: "Apply For Admission" CTA
   ========================================================================== */
.section_4 {
  background: var(--primary-red);
}

.app-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.add-cont {
  padding: 40px 30px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.add-cont h2 {
  font-family: 'Massilia', 'Montserrat', serif;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
}

.add-cont p {
  color: #F5EAEB;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 12px;
}

.page-btn {
  background: #ffffff;
  color: var(--primary-red) !important;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 10px 26px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  width: fit-content;
  transition: all 0.2s ease;
}

.page-btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ==========================================================================
   Section: Collaboration Strip (From sdheritagepride.com/abc)
   ========================================================================== */
.strip-wrap {
  background: #FFFFFF;
  padding: 30px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
}

.strip-label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
}

.marquee-collab {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-collab-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: collabScroll 30s linear infinite;
  gap: 36px;
}

.marquee-collab:hover .marquee-collab-track {
  animation-play-state: paused;
}

@keyframes collabScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-item {
  flex-shrink: 0;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  background: #FAF7F2;
  border-radius: 8px;
  border: 1px solid #EBE5DB;
  transition: all 0.2s ease;
}

.logo-item img {
  max-height: 38px;
  width: auto;
  object-fit: contain;
}

.logo-item:hover {
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-color: var(--primary-red);
}

/* ==========================================================================
   Section 6: "FAQs" Accordion
   ========================================================================== */
.faq-view {
  padding: 50px 0;
  background-color: #ffffff;
}

.myaccordion .card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.myaccordion .card:nth-child(even) .card-header {
  background: #9E2A2B;
}

.myaccordion .card:nth-child(even) .card-header .btn-link {
  color: #ffffff !important;
}

.myaccordion .card:nth-child(even) .faq-icon-sign {
  color: #ffffff;
}

.myaccordion .card:nth-child(odd) .card-header {
  background: #F9F8F6;
}

.myaccordion .card:nth-child(odd) .card-header .btn-link {
  color: #1A1A1A !important;
}

.myaccordion .card:nth-child(odd) .faq-icon-sign {
  color: #1A1A1A;
}

.myaccordion .card-header {
  padding: 12px 16px;
  border: none;
}

.myaccordion .btn-link {
  text-decoration: none;
  width: 100%;
  padding: 0;
  font-size: 14.5px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
}

.faq-icon-sign {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.myaccordion .card-body {
  padding: 16px 18px;
  background: #FFFDF9;
  font-size: 13.5px;
  color: #444444;
  line-height: 1.6;
}

.myaccordion .card-body ul {
  margin-bottom: 0;
  padding-left: 18px;
}

.myaccordion .card-body ul li {
  margin-bottom: 3px;
}

/* ==========================================================================
   Section 7: Footer (Figma Design)
   ========================================================================== */
.footer_section {
  background-color: #F7F5F0;
  border-top: 1px solid #ECE7DF;
  color: #333333;
}

.footer_widget_title {
  font-size: 13.5px;
  color: #555555;
  line-height: 1.6;
}

.footer_section_title {
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 8px;
}

.footer_section_title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background-color: var(--primary-red);
  border-radius: 2px;
}

/* Social icons matching Figma */
ul.sm_view {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #E2DBD0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.social-icon-btn:hover {
  background-color: var(--primary-red);
  color: #ffffff !important;
  border-color: var(--primary-red);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(158, 42, 43, 0.25);
}

/* Footer Contact Row with circle badge matching Figma */
.footer_contact_row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.footer_icon_circle {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background-color: #F3E5E6;
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  margin-top: 2px;
}

.footer_contact_info {
  display: flex;
  flex-direction: column;
}

.footer_info_label {
  font-weight: 700;
  font-size: 13.5px;
  color: #1A1A1A;
  line-height: 1.3;
  margin-bottom: 3px;
}

.footer_info_link {
  font-size: 13px;
  color: #555555;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.footer_info_link:hover {
  color: var(--primary-red);
}

.footer_info_text {
  font-size: 13px;
  color: #555555;
  margin: 0;
  line-height: 1.5;
}

.frame {
  border-radius: 8px;
}

/* ==========================================================================
   Floating Rotating Admission Sticker
   ========================================================================== */
.floating-admission-sticker {
  position: fixed;
  bottom: 85px;
  right: 20px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(158, 42, 43, 0.25);
  border: 2px solid #C59B27;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-admission-sticker:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 12px 28px rgba(158, 42, 43, 0.35);
}

.sticker-rotate-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: stickerSpin 14s linear infinite;
}

.floating-admission-sticker:hover .sticker-rotate-ring {
  animation-play-state: paused;
}

@keyframes stickerSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.sticker-svg-text {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sticker-center-icon {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
}

.sticker-center-icon i {
  font-size: 18px;
  color: var(--primary-red);
  margin-bottom: 2px;
}

.sticker-center-icon span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #741718;
}

/* ==========================================================================
   Back To Top Floating Button
   ========================================================================== */
#backToTopBtn {
  display: none;
  position: fixed;
  bottom: 25px;
  right: 20px;
  z-index: 999;
  background-color: #9E2A2B;
  color: white;
  border: none;
  outline: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.3s ease;
}

#backToTopBtn:hover {
  background-color: #7F1D1D;
  transform: translateY(-2px);
}

/* ==========================================================================
   Thank You Page
   ========================================================================== */
.thankyou-page-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F7F5F0;
  padding: 40px 20px;
}

.thankyou-card {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
  border: 1px solid #ECE6DC;
  max-width: 620px;
  width: 100%;
  padding: 40px 36px;
  text-align: center;
  position: relative;
}

.thankyou-icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #E8F5E9;
  color: #2E7D32;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 20px;
}

.thankyou-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  color: #1A1A1A;
  margin-bottom: 16px;
}

.thankyou-msg {
  font-size: 14.5px;
  color: #444444;
  line-height: 1.65;
  margin-bottom: 24px;
  text-align: left;
  background: #F9F8F6;
  padding: 22px;
  border-radius: 12px;
  border: 1px solid #EAE4D8;
}

.thankyou-msg p {
  margin-bottom: 10px;
}

.thankyou-msg p:last-child {
  margin-bottom: 0;
}
