/* ===== GOOGLE FONT ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BODY ===== */
body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: #f9f9f9;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* ===== NAVBAR ===== */
.navbar {
  background: #1a237e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-logo {
  color: white;
  font-size: 22px;
  font-weight: 700;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #ffeb3b;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(135deg, #1a237e, #1565c0);
  color: white;
  text-align: center;
  padding: 70px 20px;
  position: relative;
}
.hero-section h1 {
  font-size: 46px;
  margin-bottom: 16px;
  animation: fadeup 1s ease;
}
@keyframes fadeup{
  from{
    opacity: 0;
    transform: translateY(25px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-section p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.9;
  background-size: 200% 200%;
  animation: gradientMove 8s ease infinite;
}
@keyframes gradientMove{
0%{background-position: 0% 50%;}
50%{background-position: 100% 50%;}
100%{background-position: 0% 50%;}
}



.btn-main {
  background: #ffeb3b;
  color: #1a237e;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.hero-icon {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  max-width: 280px;
  opacity: 0.9;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.3));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%   { transform: translateY(-50%); }
  50%  { transform: translateY(-60%); }
  100% { transform: translateY(-50%); }
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 80px 20px;
  background: white;
  text-align: center;
}

.about-section h2 {
  font-size: 32px;
  margin-bottom: 16px;
  color: #1a237e;
}

.about-intro {
  max-width: 700px;
  margin: auto;
  margin-bottom: 50px;
  color: #555;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.about-card {
  background: #f0f4ff;
  padding: 35px 25px;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-card span {
  font-size: 40px;
  display: block;
  margin-bottom: 15px;
}

.about-card h3 {
  margin-bottom: 10px;
}

/* ===== NEWS SECTION ===== */
.news-section {
  padding: 80px 20px;
  background: #f0f4ff;
  text-align: center;
}

.news-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #1a237e;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* ===== NEWS CARD ===== */
.news-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: 0.3s;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* News card image — agar image hai toh dikhegi */
.news-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* News card text area */
.news-card > .news-date,
.news-card > .news-category,
.news-card > h3,
.news-card > p,
.news-card > .read-more {
  padding-left: 20px;
  padding-right: 20px;
}

.news-date {
  color: #888;
  font-size: 13px;
  margin-top: 16px;
  margin-bottom: 6px;
  display: block;
}

/* Category badge */
.news-category {
  display: inline-block;
  background: #e8f0fe;
  color: #1a237e;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  margin-left: 20px;
}

.news-card h3 {
  color: #1a237e;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.4;
}

.news-card p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 4px;
}

.read-more {
  display: inline-block;
  margin: 14px 0 20px 20px;
  color: #1565c0;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

.read-more:hover { color: #f97316; }

/* ===== FOOTER ===== */
.footer {
  background: #1a237e;
  color: rgb(251, 255, 5);
  text-align: center;
  padding: 40px 20px;
  line-height: 2;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: row;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #1a237e;
    padding: 20px;
  }
  .nav-links.active { display: flex; }
  .hamburger { display: block; }
  .hero-section h1 { font-size: 28px; }
  .hero-icon { display: none; }
}
/* ===== NEWS TICKER ===== */
@font-face {
  font-family: 'FourCLaxmanExtraBold';
  src: url('fonts/Four C LaxmanExtraBold.ttf');
}

.ticker-wrapper {
  background: #1565c0;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 38px;
  border-bottom: 2px solid #ffeb3b;
}

.ticker-label {
  background: #ffeb3b;
  color: #1a237e;
  font-family: 'FourCLaxmanExtraBold', 'Hind', sans-serif;
  font-size: 24px;
  font-weight: 700;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.ticker-content {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-move 40s linear infinite;
}

.ticker-content:hover {
  animation-play-state: paused;
}

.ticker-item {
  font-family: 'FourCLaxmanExtraBold', 'Hind', sans-serif;
  font-size: 23px;
  color: white;
  padding: 0 8px;
}

.ticker-item a {
  color: #ffeb3b;
  text-decoration: none;
  transition: 0.2s;
}

.ticker-item a:hover {
  color: white;
  text-decoration: underline;
}

.ticker-separator {
  color: #ffeb3b;
  padding: 0 10px;
  font-size: 23px;
}

@keyframes ticker-move {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}
/* ===== DATE TIME BAR ===== */
.datetime-bar {
  background: #f4f6fb;
  padding: 5px 20px;
  border-bottom: 1px solid #e0e0e0;
}
 
.datetime-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid #c5cae9;
  border-radius: 20px;
  padding: 4px 14px;
  box-shadow: 0 2px 6px rgba(26,35,126,0.08);
}
 
.clock-icon {
  width: 15px;
  height: 15px;
  color: #1a237e;
  flex-shrink: 0;
}
 
#live-datetime {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #1a237e;
  letter-spacing: 0.3px;
}
/* ===== NOTICE PAPER — LEFT SIDE ABSOLUTE ===== */
.notice-stack {
  position: absolute;
  left: 25px;
  top: 210px;
  transform: translateY(-45%);
  width: 200px;
  z-index: 5;
}
 
 
.notice-paper{
  background:#fcf8e8;
  border:1px solid #e2d9b8;
  padding:14px;
  border-radius:6px;
  box-shadow:
  0 4px 8px rgba(0,0,0,0.15),
  0 12px 25px rgba(0,0,0,0.12);
  font-family:'Laxman', 'FourCMaya', sans-serif;
  position:relative;
  background: #fcf8e8;
  background-image: 
  linear-gradient(rgba(0,0,0,0.02))1px;
  background-size: 100% 26px;
  }

 
.notice-pin {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: radial-gradient(circle at 40% 40%, #ff6b6b, #c0392b);
  border-radius: 50%;
  box-shadow: 
  0 2px 4px rgba(0,0,0,0.3),
  0 4px 8px rgba(0,0,0,0.15);
  z-index: 4;
}
.notice-pin::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 8px;
  background: #888;
}
 
.notice-header {
  font-family: 'Hind', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1a237e;
  text-align: center;
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 2px solid #1a237e;
  letter-spacing: 1px;
}
 
.notice-line {
  display: block;
  width: 100%;
  height: 1px;
  background: #c8bfa0;
  margin: 6px 0;
  opacity: 0.5;
}
 
.notice-sub {
  font-family: 'FourCLaxmanExtraBold', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #110090;
  margin-top: 10px;
  margin-bottom: 3px;
  display: flex;
  align-items: left;
  gap: 4px;
}
.notice-sub::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #c0392b;
  border-radius: 50%;
  flex-shrink: 0;
}
 
.notice-text {
  font-family: 'FourCLaxmanExtraBold', 'Hind', sans-serif;
  font-size: 20px;
  color: #333;
  line-height: 1.6;
}
 
.notice-date {
  font-family: 'FourCLaxmanExtraBold', 'Hind', sans-serif;
  font-size: 18px;
  color: #888;
  text-align: right;
  margin-top: 10px;
  font-style: italic;
}
/* ===== NOTICE TOGGLE BUTTON ===== */
.notice-toggle-btn {
  position: absolute;
  left: 215px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(0,0,0,0.25);
  z-index: 20;
  transition: background 0.3s, box-shadow 0.3s;
}
 
.notice-toggle-btn:hover {
  background: #ffeb3b;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
 
.notice-btn-icon {
  width: 22px;
  height: 22px;
  color: #1a237e;
  position: absolute;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
 
/* Default — Bell dikhe, Shield chhupa rahe */
.open-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
 
.close-icon {
  opacity: 0;
  transform: scale(0.4) rotate(-30deg);
}
 
/* Jab notice band ho — Shield dikhe, Bell chhupa jaye */
.notice-toggle-btn.is-open .open-icon {
  opacity: 0;
  transform: scale(0.4) rotate(30deg);
}
 
.notice-toggle-btn.is-open .close-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
 
/* Notice paper slide + fade animation */
.notice-stack {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease;
}
 
.notice-stack.notice-hidden {
  transform: translateX(-240px) translateY(-50%) !important;
  opacity: 0;
  pointer-events: none;
}
 
/* Red dot pulse */
.notif-dot {
  animation: pulse-dot 2s infinite;
}
 
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
 
/* Mobile mein dono hide */
@media (max-width: 768px) {
  .notice-stack { display: none; }
  .notice-toggle-btn { display: none; }
}
 /* ===================================================
   NEWS CARDS — style.css ke BILKUL END MEIN add karo
   =================================================== */

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

/* News Card */
.news-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border: 1px solid #e0e0e0;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.13);
}

/* Card Image — TOP mein */
.news-card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.news-card-img-placeholder {
  width: 100%;
  height: 190px;
  background: linear-gradient(135deg, #e8f0fe, #c5d8ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

/* Card Body */
.news-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Badge (Education News) */
.news-card-badge {
  display: inline-block;
  background: #e8f0fe;
  color: #1a237e;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

/* Date */
.news-card-date {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

/* Title */
.news-card h3 {
  font-family: 'FourCMaya', 'Poppins', sans-serif;
  font-size: 18px;
  color: #1a237e;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* Description */
.news-card p {
  font-family: 'FourCLaxman', 'Hind', sans-serif;
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

/* Read More Button */
.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1a237e;
  color: white;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  width: fit-content;
}
.news-read-more:hover {
  background: #1565c0;
}
@font-face {
  font-family: 'AbhishekBold';
  src: url('fonts/Four C AbhishekBold.ttf');
}
.construction-notice{
font-family:'AbhishekBold', sans-serif;
background:#fff4b3;
border:2px solid #d6b400;
padding:10px;
text-align:center;
font-size:22px;
color:#000;
box-shadow:0 2px 6px rgba(0,0,0,0.2);
margin:10px auto;
max-width:900px;
}
@media (max-width:768px){

/* Page layout mobile */
.page-container{
display:flex;
flex-direction:column;
padding:10px;
}

/* Article area full width */
.article-area{
width:100%;
order:1;
}

/* Sidebar नीचे आए */
.sidebar{
width:100%;
margin-top:20px;
order:2;
}

/* Article image responsive */
.article-area img{
width:100%;
height:auto;
border-radius:8px;
}

/* Title size mobile */
.article-title{
font-size:26px;
line-height:1.4;
}

/* Content text */
.article-content{
font-size:18px;
line-height:1.7;
}

}