:root {
  --white: #f5edf0;       /* white colour */
  --navy: #003153;     /* NAVY BLUE */
  --yellow: #fbc02d;
  --dark: #222;
  --white: #ffffff;
}
/* RESET */
* {
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: "Times New Roman", Times, serif;
}
/* BODY */
body {
  background:white;
  color: var(--dark);
  padding-top:55px;   /* top strip patli */
}

/* ================= FLOAT BAR (TOP STRIP) ================= */
.admission-float {
  position: fixed;
  top:0; left:0;
  width:100%;
  background: var(--navy);   /* NAVY BLUE */
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 20px;   /* PATLI HEIGHT */
  font-weight:bold;
  z-index:9999;
}

.admission-left { text-align:left; }
.admission-main { font-size:16px; color:white; }
.admission-sub { font-size:13px; color:white; }

/* Right side numbers spacing kam */
.admission-right {
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:10px;   /* space kam */
}

.admission-right a {
  color:white;
  text-decoration:none;
  font-size:14px;
}
.admission-right a:hover {
  text-decoration:underline;
}
/* ================= HEADER ================= */
.header-main {
  display:flex;
  justify-content:space-between;
  align-items:center;
  background: var(--red);   /* RUBY COLOR */
  color:white;
  padding:18px 25px;
  gap:15px;
  flex-wrap:wrap;
}

/* LOGO */
.logo img {
  max-width:300px;
  max-height:200px;
}

/* SCHOOL NAME */
.school-text {
  text-align:center;
  flex:2;
}

.school-text h1 {
  font-size:clamp(60px,60px,50px);
  font-weight:1000;
  text-decoration-line: underline;
  letter-spacing:3px;
  margin-bottom:10px;
  color: var(--navy);   /* YELLOW TEXT */
}

.school-text .tagline {
  font-size:30px;
  font-weight: bold;
  font-style:italic;
  color: var(--navy);   /* navy */
}

/* SCHOOL PHOTO */
.school-photo img {
  max-width:500px;
  max-height:200px;
  border-radius:6px;
}

/* ================= NAVBAR ================= */
.navbar {
  background: var(--navy);   /* NAVY BLUE MENU */
}

.menu {
  list-style:none;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  font-size:20px;
}

.menu li { position:relative; }

.menu li a {
  display:block;
  padding:12px 18px;
  color:white;     
  text-decoration:none;
  font-weight:bold;
}

.menu li a:hover {
  background: var(--yellow);
  color:black;
}
/* DROPDOWN */
.dropdown-menu {
  display:none;
  position:absolute;
  top:100%;
  left:0;
  background:white;
  min-width:200px;
  text-align:center;
  border:1px solid #ddd;
  z-index:9999;
}

.dropdown-menu li a {
  color:black;
  padding:10px 14px;
}

.dropdown-menu li a:hover {
  background:var(--yellow);
  color:black;
}

.dropdown:hover .dropdown-menu {
  display:block;
}


/* ================= NOTICE ================= */
/* ================= NOTICE SECTION ================= */
.notice-section {
  padding: 40px 20px;
  background: white;
  text-align: center;
}

/* Wrapper */
.notice-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

/* Admission Image */
.admission-image-box img {
  width: 170px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ===== VERTICAL VIDEO STYLE NOTICE BOARD ===== */
.notice-scroll-box {
  width: 60%;
  height: 220px;
  overflow: hidden;
  background: #0a2540;
  border-radius: 10px;
  padding: 15px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.4);
}

/* TRACK — YAHIN SE VERTICAL HOTA HAI */
.notice-track {
  display: flex;
  flex-direction: column;   /* 👈 MOST IMPORTANT LINE */
  gap: 10px;
  animation: scrollNotice 14s linear infinite;
}

/* Individual Notice */
.notice-item {
  width: 100%;
  color: #ffffff;
  font-size: 18px;
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px dashed rgba(255,255,255,0.4);
}

/* Vertical Scroll Animation */
@keyframes scrollNotice {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-100%);
  }
}

/* Hover pe pause */
.notice-scroll-box:hover .notice-track {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
  .notice-scroll-box {
    width: 100%;
  }
  .notice-item {
    font-size: 16px;
  }
}


/* ================= WHATSAPP ================= */
.whatsapp-float {
  position:fixed;
  bottom:20px;
  right:20px;
  background:#25D366;
  color:white;
  font-size:26px;
  width:55px;
  height:55px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  z-index:9999;
}

/* ================= RESPONSIVE ================= */
@media (max-width:900px){
  .header-main{
    flex-direction:column;
  }
  .menu{
    flex-direction:column;
  }
  .dropdown-menu{
    position:static;
    width:100%;
  }
}

@media (max-width:600px){
  .admission-float{
    flex-direction:column;
    align-items:center;
    gap:4px;
  }
  .admission-right{
    flex-direction:row;
    justify-content:center;
  }
}
/* ================= HOME SECTION ================= */
.home-section {
  padding: 50px 20px;
  background: #f5f5f5;
  text-align: center;
}

.home-section h2 {
  font-size: 36px;
  color: var(--navy);
  margin-bottom: 30px;
}

.home-content {
  max-width: 1000px;
  margin: auto;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.home-content img {
  width: 500px;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.home-content p {
  font-size: 20px;
  line-height: 1.6;
  color: #333;
  max-width: 400px;
}
.hero-section {
  width: 100%;
  height: 100vh; /* Full screen height */
  background-image: url("../images/school.jpg"); /* apni image ka path */
  background-size: cover;      /* poori screen cover kare */
  background-position: center; /* center se image */
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  background: rgba(0, 0, 0, 0.5); /* text readable rahe */
  color: #fff;
  padding: 20px 40px;
  text-align: center;
  border-radius: 10px;
}
/* DARK OVERLAY (text clear dikhane ke liye) */
.banner-overlay {
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-overlay h1 {
  color: white;
  font-size: 60px;
  text-align: center;
  text-shadow: 2px 2px 6px black;
}
.principal-desk {
  padding: 60px 20px;
  background: #f9f9f9;
}

.principal-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.principal-image img {
  width: 280px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.principal-content {
  flex: 1;
}

.principal-content h2 {
  color: #b30000;
  margin-bottom: 10px;
}

.principal-content .quote {
  font-style: italic;
  color: #555;
  margin-bottom: 15px;
}

.principal-content p {
  line-height: 1.7;
  margin-bottom: 10px;
  color: #333;
}

.principal-content h4 {
  margin-top: 15px;
  color: #000;
}
.about-sanskar {
  padding: 60px 20px;
  background: #f7f9fc;
}

.about-container {
  max-width: 1000px;
  margin: auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-container h2 {
  text-align: center;
  color: #0a2a66;
  font-size: 32px;
  margin-bottom: 20px;
  position: relative;
}

.about-container h2::after {
  content: "";
  width: 80px;
  height: 3px;
  background: #f4c430;
  display: block;
  margin: 10px auto 0;
}

.about-container p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
  text-align: justify;
}
/* DESK MODAL STYLES - CSS FILE KE END MEIN ADD KARO */
.desk-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
}

.desk-modal-content {
  background: white;
  margin: 5% auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.desk-close {
  position: absolute;
  right: 20px;
  top: 15px;
  color: #aaa;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
}

.desk-close:hover {
  color: var(--navy);
}

.desk-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  margin: 0 auto 20px;
  display: block;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

#deskContent h2 {
  color: var(--navy);
  text-align: center;
  margin-bottom: 10px;
  font-size: 24px;
}

#deskContent h4 {
  color: #b30000;
  text-align: center;
  margin-bottom: 15px;
}

#deskContent p {
  line-height: 1.6;
  text-align: center;
  color: #333;
  font-size: 16px;
}

/* Dropdown fix for better look */
.dropbtn {
  padding: 12px 18px !important;
}
.notice-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.notice-box {
  width: 60%;
}

.admission-image-box img {
  width: 180px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
/* ===== VIDEO STYLE NOTICE BOARD ===== */

.notice-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

/* Admission Image */
.admission-image-box img {
  width: 170px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Notice Board Box */
.notice-scroll-box {
  width: 60%;
  height: 220px;            /* thoda bada */
  overflow: hidden;
  background: #0a2540;
  border-radius: 10px;
  padding: 15px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.4);
}

/* Track */
.notice-track {
  display: flex;
  flex-direction: column;
  animation: scrollNotice 14s linear infinite;
}

/* Individual Notice */
.notice-item {
  color: #fff;
  font-size: 18px;
  padding: 14px 10px;
  border-bottom: 1px dashed rgba(255,255,255,0.4);
}

/* REAL VERTICAL SCROLL */
@keyframes scrollNotice {
  0%   { transform: translateY(100%); }
  100% { transform: translateY(-100%); }
}
