@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background: #0b0f1a; color: white; }
a { text-decoration: none; color: inherit; }

/* BUTTONS */
.btn { padding: 10px 20px; border-radius: 6px; cursor: pointer; display: inline-block; transition: 0.3s; font-family: 'Poppins', sans-serif; border: none; font-size: 14px; }
.btn.primary { background: #ffb400; color: black; font-weight: 600; box-shadow: 0 5px 15px rgba(255,180,0,0.4); }
.btn.primary:hover { transform: scale(1.05); }
.btn.secondary { border: 2px solid #ffb400; color: #ffb400; background: transparent; font-weight: 600; }
.btn.secondary:hover { background: #ffb400; color: black; }

/* NAVBAR */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 20px 40px; background: rgba(11,15,26,0.95); position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,180,0,0.15); }
.logo{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:20px;
  font-weight:700;
  color:#ffb300;
  line-height:1.1;
}

.logo img{
  width:60px;
  height:60px;
  object-fit:contain;
  border-radius:50%;
  background:white;
  padding:4px;
}

.logo span{
  display:block;
}
.cbse-line{
  margin-top:12px;
  font-size:14px;
  color:#ffffff;
  font-weight:500;
  letter-spacing:.3px;
}
.navbar nav { display: flex; gap: 25px; align-items: center; }
.navbar nav a { color: white; font-size: 14px; font-weight: 400; transition: color 0.3s; }
.navbar nav a:hover, .navbar nav a.active { color: #ffb400; }
.menu-toggle { display: none; font-size: 24px; cursor: pointer; color: white; background: none; border: none; }

/* HERO */
.hero { height: 100vh; position: relative; overflow: hidden; }
.bg-img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.bg-img-placeholder { position: absolute; width: 100%; height: 100%; background: linear-gradient(135deg, #1a1f2e 0%, #0b0f1a 50%, #1a1f2e 100%); }
.overlay { position: absolute; width: 100%; height: 100%; top: 0; left: 0; background: linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0.2)); z-index: 1; }
.hero-content { position: absolute; top: 50%; left: 5%; transform: translateY(-50%); z-index: 2; max-width: 550px; }
.hero h1 { font-size: 52px; line-height: 1.2; margin-bottom: 15px; }
.hero h1 .cursor { border-right: 2px solid #ffb400; margin-left: 2px; animation: blink 1s infinite; }
.hero p { font-size: 16px; line-height: 1.6; margin-bottom: 25px; color: #ddd; }
.buttons { display: flex; gap: 15px; flex-wrap: wrap; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* STATS */
.stats { display: flex; justify-content: space-around; padding: 50px; background: #111827; }
.counter { text-align: center; font-size: 36px; font-weight: 700; color: #ffb400; }
.counter span { display: block; font-size: 14px; color: #aaa; font-weight: 400; }

/* SLIDER */
.slider { text-align: center; padding: 80px 20px; }
.slider h2 { font-size: 28px; margin-bottom: 30px; }
.slider-box { max-width: 1000px; height: 500px; margin: auto; position: relative; overflow: hidden; border-radius: 15px; background: #1f2937; }
.slide { width: 100%; height: 500px; display: none; object-fit: cover; }
.slide.active { display: block; }
.slide-placeholder { width: 100%; height: 500px; display: none; align-items: center; justify-content: center; background: #1f2937; color: #666; font-size: 14px; flex-direction: column; gap: 10px; }
.slide-placeholder.active { display: flex; }
.slider-box button.prev, .slider-box button.next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.2); backdrop-filter: blur(6px); border-radius: 50%; width: 44px; height: 44px; color: white; border: none; cursor: pointer; z-index: 5; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: background 0.3s; }
.slider-box button.prev:hover, .slider-box button.next:hover { background: rgba(255,180,0,0.5); }
.slider-box button.prev { left: 10px; }
.slider-box button.next { right: 10px; }
.dots { position: absolute; bottom: 15px; width: 100%; text-align: center; z-index: 5; }
.dot { height: 10px; width: 10px; margin: 3px; display: inline-block; background: rgba(255,255,255,0.4); border-radius: 50%; cursor: pointer; transition: background 0.3s; }
.dot.active { background: #ffb400; }
.slider-text { position: absolute; bottom: 50px; left: 30px; color: white; background: rgba(0,0,0,0.45); padding: 12px 18px; border-radius: 10px; backdrop-filter: blur(8px); text-align: left; z-index: 4; }
.slider-text h3 { font-size: 16px; font-weight: 600; }
.slider-text p { font-size: 13px; color: #ccc; }

/* NEWS TICKER */
.news-section { padding: 0 0 80px; background: #0b0f1a; }
.news-ticker { display: flex; align-items: center; background: #111827; border-top: 2px solid #ffb400; border-bottom: 1px solid #1f2937; overflow: hidden; height: 44px; }
.ticker-label { background: #ffb400; color: black; font-weight: 700; font-size: 13px; padding: 0 18px; height: 100%; display: flex; align-items: center; white-space: nowrap; flex-shrink: 0; }
.ticker-track { overflow: hidden; flex: 1; }
.ticker-inner { display: inline-flex; white-space: nowrap; animation: ticker-scroll 35s linear infinite; font-size: 13px; color: #ccc; padding-left: 20px; }
.ticker-inner:hover { animation-play-state: paused; }
@keyframes ticker-scroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* NEWS HEADER & GRID */
.news-header { display: flex; justify-content: space-between; align-items: flex-end; padding: 55px 50px 30px; }
.news-header h2 { font-size: 32px; margin-bottom: 6px; }
.news-header h2 span { color: #ffb400; }
.news-subtitle { color: #aaa; font-size: 14px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; padding: 0 50px; max-width: 1300px; margin: 0 auto; }
.news-card { background: #111827; border-radius: 14px; padding: 22px 24px; border: 1px solid #1f2937; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; display: flex; flex-direction: column; gap: 10px; }
.news-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.4); border-color: #ffb400; }
.news-card-top { display: flex; justify-content: space-between; align-items: center; }
.news-badge { font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-exam     { background: rgba(239,68,68,0.15);  color: #f87171; }
.badge-holiday  { background: rgba(34,197,94,0.15);  color: #4ade80; }
.badge-admission{ background: rgba(255,180,0,0.15);  color: #ffb400; }
.badge-event    { background: rgba(139,92,246,0.15); color: #a78bfa; }
.badge-notice   { background: rgba(59,130,246,0.15); color: #60a5fa; }
.badge-ptm      { background: rgba(236,72,153,0.15); color: #f472b6; }
.news-date { font-size: 12px; color: #555; }
.news-title { font-size: 15px; font-weight: 600; color: white; line-height: 1.4; }
.news-desc { font-size: 13px; color: #aaa; line-height: 1.7; }

/* ABOUT */
.about { padding: 100px 60px; }
.about-container { display: flex; align-items: center; gap: 60px; max-width: 1100px; margin: auto; }
.about-text { flex: 1; }
.about-text h2 { font-size: 32px; margin-bottom: 15px; }
.about-text h2 span { color: #ffb400; }
.about-text p { line-height: 1.8; margin-bottom: 25px; color: #ccc; }
.about-img { flex: 1; }
.about-img img { width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.about-img-placeholder { width: 100%; height: 350px; background: #1f2937; border-radius: 20px; display: flex; align-items: center; justify-content: center; color: #666; font-size: 14px; flex-direction: column; gap: 10px; }

/* FACILITIES */
.facilities { padding: 100px 50px; text-align: center; }
.facilities h2 { font-size: 32px; margin-bottom: 10px; }
.facilities h2 span { color: #ffb400; }
.facility-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 40px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.facility-card { background: #1f2937; border-radius: 15px; overflow: hidden; transition: 0.3s; }
.facility-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }
.facility-card img { width: 100%; height: 180px; object-fit: cover; }
.facility-img-placeholder { width: 100%; height: 180px; background: linear-gradient(135deg, #2d3748, #1f2937); display: flex; align-items: center; justify-content: center; font-size: 36px; }
.facility-card h3 { margin: 15px 0 5px; padding: 0 15px; font-size: 16px; }
.facility-card p { padding: 0 15px 20px; font-size: 14px; color: #ccc; }

/* FEATURES */
.features { padding: 80px 50px; text-align: center; }
.features h2 { font-size: 28px; margin-bottom: 30px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 900px; margin: auto; }
.card { padding: 30px; background: #1f2937; border-radius: 12px; transition: 0.3s; border-left: 3px solid #ffb400; font-weight: 600; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.3); }

/* CTA */
.cta { padding: 60px 20px; text-align: center; background: linear-gradient(135deg, #ffb300, #ff9800); color: #111; }
.cta h2 { font-size: 36px; margin-bottom: 20px; font-weight: 700; }
.cta .btn { background: #111; color: white; padding: 14px 35px; border-radius: 10px; font-weight: 600; font-size: 16px; }
.cta .btn:hover { transform: scale(1.05); }

/* WHATSAPP */
.whatsapp-float { position: fixed; bottom: 25px; right: 25px; z-index: 1000; width: 55px; height: 55px; border-radius: 50%; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.3); transition: transform 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float img { width: 100%; height: 100%; }

/* FOOTER */
.footer { background: #060a14; padding: 60px 40px 20px; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; max-width: 1100px; margin: 0 auto 30px; }
.footer-box h3, .footer-box h4 { font-size: 16px; font-weight: 600; margin-bottom: 15px; color: #ffb400; }
.footer-box p { font-size: 14px; color: #aaa; line-height: 1.8; margin-bottom: 5px; }
.footer-box a { display: block; font-size: 14px; color: #aaa; margin-bottom: 8px; transition: color 0.3s; }
.footer-box a:hover { color: #ffb400; }
.footer-bottom { text-align: center; font-size: 13px; color: #555; border-top: 1px solid #1f2937; padding-top: 20px; }

/* PAGE HERO */
.page-hero { background: linear-gradient(135deg, #111827, #1f2937); padding: 100px 40px 60px; text-align: center; }
.page-hero h1 { font-size: 38px; font-weight: 700; margin-bottom: 10px; }
.page-hero h1 span { color: #ffb400; }
.page-hero p { color: #aaa; font-size: 15px; }

/* ADMISSION */
.admission-section { padding: 80px 20px; max-width: 800px; margin: auto; }
.form-card { background: #111827; border-radius: 16px; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { font-size: 13px; color: #aaa; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea { background: #1f2937; border: 1px solid #2d3748; border-radius: 8px; padding: 12px 15px; color: white; font-size: 14px; font-family: 'Poppins', sans-serif; transition: border-color 0.3s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #ffb400; }
.form-group select option { background: #1f2937; }
.form-group textarea { resize: vertical; min-height: 100px; }
.submit-btn { width: 100%; padding: 14px; background: #ffb400; color: black; font-size: 16px; font-weight: 700; border-radius: 10px; border: none; cursor: pointer; margin-top: 10px; transition: 0.3s; font-family: 'Poppins', sans-serif; }
.submit-btn:hover { transform: scale(1.02); box-shadow: 0 5px 20px rgba(255,180,0,0.4); }

/* FEES */
.fees-section { padding: 80px 40px; max-width: 900px; margin: auto; }
.fees-card { background: #111827; border-radius: 16px; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.download-btn { display: inline-block; padding: 14px 30px; background: #ffb400; color: black; font-weight: 700; border-radius: 10px; font-size: 15px; transition: 0.3s; margin-bottom: 30px; }
.download-btn:hover { transform: scale(1.05); box-shadow: 0 5px 20px rgba(255,180,0,0.4); }
.fee-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; text-align: left; }
.fee-table th { background: #ffb400; color: black; padding: 12px 15px; font-size: 14px; font-weight: 600; }
.fee-table td { padding: 12px 15px; font-size: 14px; border-bottom: 1px solid #1f2937; color: #ddd; }
.fee-table tr:hover td { background: #1a2335; }
.fee-notice { background: #1f2937; border-radius: 10px; padding: 14px 20px; margin-bottom: 25px; font-size: 14px; color: #ccc; line-height: 1.8; }
.fee-notes { background: #0d1221; border-radius: 10px; padding: 20px 25px; margin-bottom: 20px; }
.fee-notes h4 { color: #ffb400; font-size: 15px; margin-bottom: 12px; }
.fee-notes ul { padding-left: 18px; }
.fee-notes li { font-size: 13px; color: #bbb; line-height: 1.8; margin-bottom: 6px; }
.fee-contact { background: #1f2937; border-radius: 10px; padding: 20px 25px; text-align: center; }
.fee-contact h3 { font-size: 15px; color: #ffb400; margin-bottom: 10px; }
.fee-contact p { color: #ccc; font-size: 15px; line-height: 2; }

/* GALLERY */
.gallery-section { padding: 60px 40px; max-width: 1200px; margin: auto; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.gallery-item { border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 4/3; background: #1f2937; transition: transform 0.3s; }
.gallery-item:hover { transform: scale(1.03); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; color: #555; font-size: 13px; background: linear-gradient(135deg, #1f2937, #111827); }
.gallery-placeholder .icon { font-size: 32px; }
.gallery-item .caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.7)); padding: 20px 15px 10px; font-size: 13px; color: white; font-weight: 500; }

/* DISCLOSURE */
.disclosure-section { padding: 60px 40px; max-width: 1000px; margin: auto; }
.disclosure-table-wrapper { margin-bottom: 40px; }
.disclosure-table-wrapper h3 { font-size: 16px; background: #1f2937; padding: 12px 20px; border-left: 4px solid #ffb400; margin-bottom: 0; border-radius: 8px 8px 0 0; }
.disc-table { width: 100%; border-collapse: collapse; }
.disc-table td { padding: 12px 20px; font-size: 14px; border-bottom: 1px solid #1a2335; color: #ddd; }
.disc-table td:first-child { color: #aaa; width: 40%; background: #0d1221; }
.disc-table td:last-child { background: #111827; }
.disc-table tr:last-child td { border-bottom: none; }
.doc-link { color: #ffb400; text-decoration: underline; cursor: pointer; }

/* ANNOUNCEMENTS */
.ann-section { padding: 50px 40px; max-width: 1200px; margin: 0 auto; }
.ann-toolbar { display: flex; flex-direction: column; gap: 15px; margin-bottom: 20px; }
.ann-search { width: 100%; max-width: 420px; padding: 11px 16px; background: #111827; border: 1px solid #2d3748; border-radius: 8px; color: white; font-size: 14px; font-family: 'Poppins', sans-serif; outline: none; transition: border-color 0.3s; }
.ann-search:focus { border-color: #ffb400; }
.ann-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.ann-filter-btn { padding: 7px 16px; background: #111827; border: 1px solid #2d3748; border-radius: 20px; color: #aaa; font-size: 13px; cursor: pointer; font-family: 'Poppins', sans-serif; transition: all 0.25s; display: flex; align-items: center; gap: 6px; }
.ann-filter-btn:hover { border-color: #ffb400; color: white; }
.ann-filter-active { background: #ffb400 !important; border-color: #ffb400 !important; color: black !important; font-weight: 600; }
.ann-count { background: rgba(0,0,0,0.15); border-radius: 10px; padding: 1px 6px; font-size: 11px; font-weight: 600; }
.ann-result-count { color: #555; font-size: 13px; margin-bottom: 25px; }
.ann-result-count strong { color: #ffb400; }
.ann-list { display: flex; flex-direction: column; gap: 14px; }
.ann-item { display: flex; gap: 20px; background: #111827; border-radius: 14px; padding: 20px 24px; border: 1px solid #1f2937; transition: border-color 0.3s, transform 0.2s; }
.ann-item:hover { border-color: #ffb400; transform: translateX(4px); }
.ann-item-left { flex-shrink: 0; }
.ann-date-block { background: #1f2937; border-radius: 10px; padding: 10px 14px; text-align: center; min-width: 60px; border-top: 3px solid #ffb400; }
.ann-day { display: block; font-size: 22px; font-weight: 700; color: #ffb400; line-height: 1; }
.ann-month { display: block; font-size: 11px; color: #888; margin-top: 4px; line-height: 1.3; }
.ann-item-body { flex: 1; }
.ann-title { font-size: 15px; font-weight: 600; color: white; margin-bottom: 6px; line-height: 1.4; }
.ann-desc { font-size: 13px; color: #aaa; line-height: 1.7; }
.ann-empty { text-align: center; padding: 60px 20px; color: #555; }
.ann-empty div { font-size: 48px; margin-bottom: 12px; }

/* PRIVACY */
.privacy-section { padding: 60px 40px; max-width: 900px; margin: auto; }
.policy-block { background: #111827; border-radius: 12px; padding: 30px; margin-bottom: 20px; }
.policy-block h3 { font-size: 16px; color: #ffb400; margin-bottom: 10px; }
.policy-block p, .policy-block li { font-size: 14px; color: #bbb; line-height: 1.8; margin-bottom: 8px; }
.policy-block ul { padding-left: 20px; }

/* CONTACT */
.contact-page { padding-top: 0; }
.contact-wrapper { max-width: 1200px; margin: 0 auto; padding: 60px 40px; }
.contact-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 60px; }
.contact-card { background: #1a1f2e; border: 1px solid #2a2f3e; border-radius: 14px; padding: 28px 20px; text-align: center; transition: 0.3s; }
.contact-card:hover { border-color: #ffb400; transform: translateY(-4px); box-shadow: 0 8px 24px rgba(255,180,0,0.15); }
.contact-icon { font-size: 36px; margin-bottom: 12px; }
.contact-card h3 { color: #ffb400; font-size: 15px; font-weight: 600; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.contact-card p { color: #ccc; font-size: 14px; line-height: 1.7; }
.contact-card a { color: #ccc; transition: 0.2s; }
.contact-card a:hover { color: #ffb400; }
.contact-bottom { display: flex; gap: 40px; align-items: flex-start; }
.contact-form-section { flex: 1; }
.contact-form-section h2, .contact-map-section h2 { font-size: 26px; font-weight: 700; margin-bottom: 24px; }
.contact-form-section h2 span, .contact-map-section h2 span { color: #ffb400; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-map-section { flex: 1; }
.map-container { border-radius: 12px; overflow: hidden; margin-bottom: 20px; border: 1px solid #2a2f3e; }
.quick-actions { display: flex; flex-direction: column; gap: 12px; }
.quick-actions .btn { display: flex; align-items: center; gap: 8px; justify-content: center; }
.highlight { color: #ffb400; }
.footer-box h3,
.footer-box h4,
.contact-details h3,
.contact-details h4 {
    color: #ffb703 !important;
    font-size: 18px; /* Agar font size bhi baaki headings jaisa bada karna ho */
    margin-bottom: 15px;
}

/* CHATBOT */
.chat-toggle { position: fixed; bottom: 90px; right: 25px; z-index: 1001; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #ffb400, #ff9500); color: #111; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(255,180,0,0.45); transition: transform 0.3s, box-shadow 0.3s; }
.chat-toggle:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(255,180,0,0.6); }
.chat-badge { position: absolute; top: -4px; right: -4px; background: #ef4444; color: white; font-size: 9px; font-weight: 700; padding: 2px 5px; border-radius: 8px; }
.chat-window { position: fixed; bottom: 155px; right: 25px; z-index: 1002; width: 360px; max-height: 520px; background: #111827; border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); border: 1px solid #1f2937; display: flex; flex-direction: column; overflow: hidden; animation: chat-pop 0.25s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes chat-pop { from{opacity:0;transform:scale(0.85) translateY(20px)} to{opacity:1;transform:scale(1) translateY(0)} }
.chat-header { background: linear-gradient(135deg, #1f2937, #111827); padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #1f2937; flex-shrink: 0; }
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-avatar { width: 40px; height: 40px; background: linear-gradient(135deg, #ffb400, #ff9500); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.chat-name { font-size: 14px; font-weight: 600; color: white; }
.chat-status { font-size: 11px; color: #4ade80; margin-top: 2px; }
.chat-close { background: none; border: none; color: #aaa; font-size: 16px; cursor: pointer; padding: 4px 8px; border-radius: 6px; transition: color 0.2s; font-family: 'Poppins', sans-serif; }
.chat-close:hover { color: white; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; scrollbar-color: #2d3748 transparent; }
.chat-msg { display: flex; gap: 8px; align-items: flex-end; }
.chat-msg.user { flex-direction: row-reverse; }
.msg-avatar { width: 30px; height: 30px; background: linear-gradient(135deg, #ffb400, #ff9500); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.msg-bubble { max-width: 75%; padding: 10px 14px; border-radius: 16px; font-size: 13px; line-height: 1.6; white-space: pre-wrap; }
.chat-msg.assistant .msg-bubble { background: #1f2937; color: #e5e7eb; border-bottom-left-radius: 4px; }
.chat-msg.user .msg-bubble { background: linear-gradient(135deg,#ffb400,#ff9500); color: #111; font-weight: 500; border-bottom-right-radius: 4px; }
.msg-bubble.typing { display: flex; gap: 5px; align-items: center; padding: 12px 16px; }
.msg-bubble.typing span { width: 7px; height: 7px; background: #ffb400; border-radius: 50%; animation: typing-dot 1.2s infinite ease-in-out; }
.msg-bubble.typing span:nth-child(2) { animation-delay: 0.2s; }
.msg-bubble.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-dot { 0%,80%,100%{transform:scale(0.7);opacity:0.5} 40%{transform:scale(1.1);opacity:1} }
.quick-questions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 4px; }
.quick-btn { background: #1f2937; border: 1px solid #2d3748; color: #ccc; font-size: 11px; padding: 6px 12px; border-radius: 14px; cursor: pointer; font-family: 'Poppins', sans-serif; transition: all 0.2s; }
.quick-btn:hover { background: #ffb400; color: #111; border-color: #ffb400; font-weight: 600; }
.chat-input-area { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid #1f2937; background: #0d1221; flex-shrink: 0; }
.chat-input { flex: 1; background: #1f2937; border: 1px solid #2d3748; border-radius: 10px; padding: 10px 14px; color: white; font-size: 13px; font-family: 'Poppins', sans-serif; outline: none; transition: border-color 0.2s; }
.chat-input:focus { border-color: #ffb400; }
.chat-input::placeholder { color: #555; }
.chat-send { width: 40px; height: 40px; background: linear-gradient(135deg, #ffb400, #ff9500); border: none; border-radius: 10px; color: #111; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform 0.2s, opacity 0.2s; font-family: 'Poppins', sans-serif; font-weight: 700; flex-shrink: 0; font-size: 18px; }
.chat-send:disabled { opacity: 0.4; cursor: not-allowed; }
.chat-send:not(:disabled):hover { transform: scale(1.08); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar { padding: 15px 20px; flex-wrap: wrap; }
  .menu-toggle { display: block; }
  .navbar nav { display: none; flex-direction: column; width: 100%; padding: 15px 0; gap: 12px; background: rgba(11,15,26,0.98); }
  .navbar nav.open { display: flex; }
  .hero h1 { font-size: 32px; }
  .hero-content { left: 5%; right: 5%; max-width: 100%; }
  .stats { flex-direction: column; gap: 25px; padding: 40px 20px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .about { padding: 60px 20px; }
  .about-container { flex-direction: column; }
  .facilities { padding: 60px 20px; }
  .features { padding: 60px 20px; }
  .news-header { padding: 40px 20px 20px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .news-grid { padding: 0 20px; grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 25px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .disclosure-section, .privacy-section, .fees-section, .gallery-section, .ann-section { padding: 40px 20px; }
  .slider-box { height: 280px; }
  .slide, .slide-placeholder { height: 280px; }
  .contact-info-grid { grid-template-columns: 1fr 1fr; }
  .contact-bottom { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .contact-wrapper { padding: 40px 20px; }
  .ann-item { flex-direction: column; gap: 12px; padding: 18px; }
  .ann-date-block { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-top: none; border-left: 3px solid #ffb400; border-radius: 6px; }
  .ann-day { font-size: 16px; }
  .chat-window { width: calc(100vw - 20px); right: 10px; bottom: 140px; }
  .chat-toggle { bottom: 80px; right: 10px; }
}
@media (max-width: 500px) {
  .contact-info-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 28px; }
}
/* ==========================================
   🔥 PREMIUM 4X4 GALLERY MATRIX STYLING 
============================================ */

.gallery-section {
    padding: 60px 20px;
    background-color: #0c1a30; /* School ka dark navy blue background theme */
}

.gallery-matrix-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* ⚡ Computer screen par perfect 4-column matrix layout automatic set karega */
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* Photos ke beech ka clean professional distance/gap */
}

.gallery-matrix-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px; /* ⚡ Smooth curved corners design jo tumne photo me dikhaya tha */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #1f2937;
    aspect-ratio: 4 / 3; /* ⚡ Isse saari 40 photos automatic ek barabar symmetrical dimension me rahengi */
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

/* Hover Effect: Smooth Premium Lift-up and Glow */
.gallery-matrix-item:hover {
    transform: translateY(-8px); /* Mouse le jane par halka upar uthega */
    box-shadow: 0 12px 25px rgba(255, 183, 3, 0.35); /* Hover par tumhare school ka bright yellow shadow glow dikhega */
    cursor: pointer;
}

.gallery-matrix-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ⚡ Isse photo kabhi pichkegi ya khichegi nahi, perfectly crop hokar center fit rahegi */
    display: block;
    transition: transform 0.5s ease;
}

/* Hover karne par photo halki si zoom-in hogi premium look ke liye */
.gallery-matrix-item:hover img {
    transform: scale(1.05);
}

/* Small Image Number Badge styling */
.img-number {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(12, 26, 48, 0.85); /* Dark background opacity */
    color: #ffb703; /* Perfect Header Yellow color */
    padding: 4px 10px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 6px;
    border: 1px solid rgba(255, 183, 3, 0.4);
    z-index: 2;
}

/* ==========================================
   📱 MOBILE & TABLET RESPONSIVE QUERIES 
============================================ */

/* Bade screen / Laptops ke liye grid adjustment */
@media (max-width: 1024px) {
    .gallery-matrix-container {
        grid-template-columns: repeat(3, 1fr); /* Tablets par automatic 3 columns ho jayenge */
    }
}

/* Chote tablets aur bade mobile phones ke liye */
@media (max-width: 768px) {
    .gallery-matrix-container {
        grid-template-columns: repeat(2, 1fr); /* Screen par automatic 2 columns adjust honge */
        gap: 15px;
    }
}

/* Normal Android / iOS Mobile phones ke liye layout */
@media (max-width: 480px) {
    .gallery-matrix-container {
        grid-template-columns: repeat(1, 1fr); /* Mobile screen par auto 1 single photo row stack */
        gap: 15px;
    }
    .gallery-matrix-item {
        border-radius: 12px; /* Mobile par border thoda clean rakhne ke liye */
    }
}
/* ====================================================
   📱 CHROME & FIREFOX FIXED MOBILE NAVBAR RESPONSIVE
====================================================== */

@media (max-width: 768px) {
    /* 1. Header wrapper ko push hone se bachaayein */
    .header {
        position: relative;
        width: 100%;
        padding: 15px 0 !important;
        background-color: #0c1a30 !important;
        display: block !important;
    }

    /* 2. Main Nav Container ko center stack karein */
    .nav-container {
        display: flex !important;
        flex-direction: column !important; /* Force block stacking */
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
        gap: 15px !important;
    }

    /* 3. Logo aur school name layout automatic size adjustment */
    .logo-section {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .nav-logo {
        height: 50px !important;
        width: auto !important;
    }

    .logo-text {
        font-size: 16px !important;
        text-align: center !important;
        font-weight: 700 !important;
        color: #ffb703 !important;
        white-space: normal !important; /* Chrome text overlap fix */
    }

    /* 4. Chrome layout breakdown fix: Saare Links vertical block grid banenge */
    .nav-links {
        display: grid !important;
        /* Mobile par automatic 3 ya 2 columns me menu distribute ho jayega tameez se */
        grid-template-columns: repeat(3, 1fr) !important; 
        gap: 10px !important;
        width: 100% !important;
        padding: 5px 10px !important;
        box-sizing: border-box !important;
    }

    .nav-links a {
        font-size: 13px !important;
        text-align: center !important;
        padding: 6px 4px !important;
        background: rgba(255, 255, 255, 0.05); /* Links ko clickable box banane ke liye */
        border-radius: 4px;
        color: #ffffff !important;
        display: block !important;
    }
    
    /* Apply now button ko mobile grid me adjust karne ke liye */
    .nav-links a[href*="apply"], 
    .apply-btn {
        grid-column: span 3 !important; /* Yeh pure phone ki width le lega button link */
        background: #ffb703 !important;
        color: #0c1a30 !important;
        font-weight: bold !important;
        margin-top: 5px;
    }

    /* 5. OVERLAP FIX: Baki page content ko header se niche dho ke rakhein */
    .gallery-section, 
    .hero-section,
    main,
    .fees-section {
        margin-top: 30px !important; 
        padding-top: 10px !important;
        clear: both !important;
    }
}

/* Chote mobile screen optimization (e.g., iPhone/Chote Android) */
@media (max-width: 480px) {
    .nav-links {
        grid-template-columns: repeat(2, 1fr) !important; /* Chote phones par 2-column menu balance */
    }
    .nav-links a[href*="apply"], 
    .apply-btn {
        grid-column: span 2 !important;
    }
}
/* Apply Now button ka text hamesha dark rakhne ke liye, chahe active ho ya na ho */
.navbar nav a.btn.primary.active {
    color: #0c1a30 !important; 
}