/* ================= VARIABLES ================= */
:root {
  --primary-blue: #0b2653; 
  --accent-yellow: #ffb400; 
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-gray: #f4f7f6;
  --bg-white: #ffffff;
  --transition-speed: 0.3s;
}

* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

/* Global Reset */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; background-color: var(--bg-gray); }

/* ================= ANIMATIONS ================= */
@keyframes slideUpFade {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes floatForm {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

@keyframes slideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ================= NEW NAVBAR (Safely Merged) ================= */
.navbar { 
  display: flex; justify-content: space-between; align-items: center; 
  padding: 15px 5%; background: var(--bg-white); box-shadow: 0 4px 10px rgba(0,0,0,0.08); 
  position: sticky; top: 0; z-index: 1000; 
  transition: all var(--transition-speed) ease-in-out;
}

.navbar.scrolled {
  padding: 8px 5%;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; cursor: pointer; }
.logo-img { height: 55px; width: 55px; object-fit: contain; border-radius: 50%; transition: transform var(--transition-speed); }
.logo:hover .logo-img { transform: scale(1.05); }

.logo-text-wrapper { display: flex; flex-direction: column; justify-content: center; margin-top: 2px; }
.logo-title { margin: 0; padding: 0; line-height: 1; color: var(--primary-blue); font-size: 24px; font-weight: 900; letter-spacing: 1px; }
.logo-highlight { color: var(--accent-yellow); }
.logo-subtitle { margin-top: 2px; color: #555555; font-size: 11px; letter-spacing: 1.2px; font-weight: bold; }

.nav-links { list-style: none; display: flex; gap: 25px; align-items: center; margin: 0; padding: 0; }
.nav-item { text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 15px; transition: color var(--transition-speed);}
.nav-item:hover, .nav-item.active-link { color: var(--accent-yellow); }

.dropdown { position: relative; display: inline-block; }
.dropbtn { 
  background-color: var(--primary-blue); color: var(--bg-white); padding: 10px 20px; 
  font-size: 15px; font-weight: bold; border: none; border-radius: 5px; cursor: pointer; 
  transition: background-color var(--transition-speed);
}

.dropdown-content { 
  visibility: hidden; opacity: 0; position: absolute; background-color: #f9f9f9; 
  min-width: 220px; box-shadow: 0px 8px 16px rgba(0,0,0,0.2); 
  z-index: 1001; border-radius: 5px; right: 0; overflow: hidden;
  transform: translateY(10px); transition: all var(--transition-speed) ease;
}

@media (min-width: 769px) {
  .dropdown:hover .dropbtn { background-color: var(--accent-yellow); color: var(--primary-blue); }
  .dropdown:hover .dropdown-content { visibility: visible; opacity: 1; transform: translateY(0); }
}

.dropdown-content a { color: var(--text-dark); padding: 12px 16px; text-decoration: none; display: block; font-size: 14px; border-bottom: 1px solid #ddd; transition: background 0.2s; }
.dropdown-content a:hover { background-color: #eaf0f6; color: var(--primary-blue); font-weight: bold;}

.menu-toggle { display: none; background: none; border: none; font-size: 28px; color: var(--primary-blue); cursor: pointer; }
.mobile-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.5); z-index: 998; backdrop-filter: blur(3px); }
.mobile-overlay.active { display: block; }

/* ================= HERO SECTION (Original Image Safe) ================= */
.hero {
  background: linear-gradient(135deg, rgba(11, 38, 83, 0.9) 0%, rgba(11, 38, 83, 0.7) 100%), url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=1920&q=80') center/cover;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  flex-wrap: wrap;
}

.hero-text { flex: 1; min-width: 300px; color: var(--text-light); padding-right: 40px; animation: slideUpFade 1s ease-out forwards; }
.hero-text h1 { font-size: 3.2rem; line-height: 1.2; margin-bottom: 20px; }
.hero-text h1 span { color: var(--accent-yellow); }
.hero-text p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }

.hero-btn {
  background: var(--accent-yellow); color: var(--primary-blue); padding: 15px 35px; border: none;
  border-radius: 30px; font-size: 16px; font-weight: bold; cursor: pointer;
  transition: 0.3s ease; box-shadow: 0 10px 20px rgba(255, 180, 0, 0.3); text-decoration: none; display: inline-block;
}
.hero-btn:hover { background: #e6a200; transform: translateY(-3px); }

/* ================= HERO ENQUIRY FORM ================= */
.hero-form-container {
  flex: 0.4; min-width: 320px; background: var(--text-light); padding: 35px; border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3); border-top: 5px solid var(--accent-yellow);
  animation: slideUpFade 1s ease-out forwards, floatForm 4s ease-in-out 1s infinite;
}
.hero-form-container h3 { color: var(--primary-blue); margin-bottom: 20px; font-size: 22px; text-align: center; }
.hero-form-container input, .hero-form-container select {
  width: 100%; padding: 12px 15px; margin-bottom: 15px; border: 1px solid #ccc;
  border-radius: 5px; font-size: 15px; transition: 0.3s;
}
.hero-form-container input:focus, .hero-form-container select:focus {
  border-color: var(--primary-blue); outline: none; box-shadow: 0 0 8px rgba(11, 38, 83, 0.2);
}
.submit-btn { width: 100%; background: var(--primary-blue); color: var(--text-light); padding: 14px; border: none; border-radius: 5px; font-size: 16px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.submit-btn:hover { background: var(--accent-yellow); color: var(--primary-blue); }

/* ================= COURSES SECTION ================= */
.courses-section { padding: 80px 8%; background: var(--bg-gray); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { 
  font-size: 2.6rem; /* थोडा सा ऑप्टिमाइज किया */
  color: var(--primary-blue); 
  margin-bottom: 12px; 
}
.section-title h2 span { color: var(--accent-yellow); }
.section-title p { color: #666; font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.course-card { background: var(--text-light); border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.4s ease; border-bottom: 4px solid transparent; text-align: center; }
.course-card:hover { transform: translateY(-12px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); border-bottom: 4px solid var(--accent-yellow); }
.img-container { width: 100%; height: 180px; overflow: hidden; }
.course-img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s ease; }
.course-card:hover .course-img { transform: scale(1.05); }
.course-content { padding: 25px 20px; }
.course-content h3 { color: var(--primary-blue); font-size: 1.4rem; margin-bottom: 10px; }
.course-content p { color: #555; font-size: 0.95rem; margin-bottom: 20px; line-height: 1.5; }
.course-btn { display: inline-block; padding: 10px 25px; border: 2px solid var(--primary-blue); color: var(--primary-blue); border-radius: 25px; text-decoration: none; font-weight: bold; transition: 0.3s; }
.course-card:hover .course-btn { background: var(--primary-blue); color: var(--text-light); }

/* ================= WHY CHOOSE US SECTION ================= */
.features-section { padding: 80px 8%; background: var(--text-light); text-align: center; }
.features-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
  gap: 30px; 
  /* margin-top: 50px; <-- इस डबल मार्जिन को हटा दिया गया है */
}
.feature-box { padding: 30px 20px; border-radius: 10px; background: var(--text-light); border: 1px solid #e0e0e0; transition: 0.3s ease; }
.feature-box:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: var(--accent-yellow); }
.feature-icon { font-size: 50px; margin-bottom: 20px; display: inline-block; color: var(--primary-blue); background: var(--bg-gray); width: 100px; height: 100px; line-height: 100px; border-radius: 50%; transition: 0.4s; }
.feature-box:hover .feature-icon { background: var(--primary-blue); color: var(--accent-yellow); transform: rotateY(360deg); }
.feature-box h4 { color: var(--primary-blue); font-size: 1.3rem; margin-bottom: 12px; }
.feature-box p { color: #666; font-size: 0.95rem; line-height: 1.6; }

/* ================= FOOTER SECTION ================= */
.footer { background: var(--primary-blue); color: var(--text-light); padding: 40px 8% 15px; }
.footer-container { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
  gap: 20px; 
  margin-bottom: 10px; /* 25px से घटाकर 10px कर दिया */
}
.footer-col h3 { color: var(--accent-yellow); font-size: 1.4rem; margin-bottom: 15px; position: relative; }
.footer-col h3::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 40px; height: 3px; background: var(--accent-yellow); border-radius: 2px; }
.footer-col p { color: #cbd5e1; font-size: 0.95rem; line-height: 1.5; margin-bottom: 10px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { text-decoration: none; color: #cbd5e1; transition: 0.3s; }
.footer-col ul li a:hover { color: var(--accent-yellow); padding-left: 8px; }
.footer-bottom { text-align: center; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.1); color: #cbd5e1; font-size: 0.9rem; }

/* ================= PLACEMENT PARTNERS ================= */
.placement-section { 
  padding: 40px 8%; 
  background: var(--text-light); 
  text-align: center; 
  border-bottom: 1px solid #eee; 
}

/* हेडिंग और लोगोस के बीच का गैप 30px से घटाकर 15px कर दिया गया है */
.placement-logos { 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  gap: 40px; 
  flex-wrap: wrap; 
  margin-top: 15px; 
  opacity: 0.6; 
}
.placement-logos img { 
  height: 38px; /* सभी लोगोस की हाइट एक समान */
  width: auto; 
  object-fit: contain;
  transition: 0.3s ease; 
  filter: grayscale(100%); 
}
.placement-logos img:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.1); }

/* ================= TESTIMONIALS (REVIEWS) ================= */
.testimonial-section { padding: 80px 8%; background: var(--bg-gray); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.review-card { background: var(--text-light); padding: 30px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); position: relative; transition: 0.3s; }
.review-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.review-card::before { content: '❝'; position: absolute; top: 10px; right: 20px; font-size: 60px; color: rgba(255, 180, 0, 0.2); font-family: serif; }
.stars { color: var(--accent-yellow); font-size: 20px; margin-bottom: 15px; }
.review-text { font-size: 0.95rem; color: #555; font-style: italic; line-height: 1.6; margin-bottom: 20px; }
.student-info { display: flex; align-items: center; gap: 15px; }
.student-img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-blue); }
.student-details h4 { color: var(--primary-blue); font-size: 1.1rem; }
.student-details p { color: #888; font-size: 0.85rem; }

/* ================= PHOTO GALLERY ================= */
.gallery-section { padding: 80px 8%; background: var(--text-light); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 40px; }
.gallery-item { border-radius: 12px; overflow: hidden; position: relative; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }

/* ================= FAQ SECTION ================= */
.faq-section { padding: 80px 8%; background: var(--bg-gray); }
.faq-container { max-width: 800px; margin: 40px auto 0; }
details { background: var(--text-light); margin-bottom: 15px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); overflow: hidden; transition: all 0.3s; }
summary { padding: 20px; font-size: 1.1rem; font-weight: bold; color: var(--primary-blue); cursor: pointer; list-style: none; position: relative; }
summary::after { content: '+'; position: absolute; right: 20px; font-size: 1.5rem; color: var(--accent-yellow); transition: transform 0.3s; }
details[open] summary::after { content: '−'; transform: rotate(180deg); }
details[open] summary { border-bottom: 1px solid #eee; }
.faq-content { padding: 20px; color: #555; line-height: 1.6; font-size: 0.95rem; }

/* ================= DIRECTOR MESSAGE ================= */
.director-section { padding: 80px 8%; background: var(--text-light); display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.director-img { flex: 1; min-width: 300px; text-align: center; }
.director-img img { width: 300px; height: 300px; border-radius: 50%; object-fit: cover; border: 8px solid var(--bg-gray); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.director-text { flex: 2; min-width: 300px; }
.director-text h2 { color: var(--primary-blue); font-size: 2.2rem; margin-bottom: 15px; }
.director-text h2 span { color: var(--accent-yellow); }
.director-text p { color: #555; font-size: 1.1rem; line-height: 1.8; font-style: italic; }
.director-name { margin-top: 20px; font-weight: bold; color: var(--primary-blue); font-size: 1.2rem; }

/* ================= CERTIFICATE VERIFICATION ================= */
.verify-section { padding: 60px 8%; background: linear-gradient(135deg, var(--primary-blue) 0%, #1a4387 100%); color: var(--text-light); text-align: center; }
.verify-box { background: var(--text-light); max-width: 600px; margin: 30px auto 0; padding: 30px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); color: var(--text-dark); }
.verify-box input { width: 70%; padding: 12px; border: 2px solid #ddd; border-radius: 5px; font-size: 16px; margin-right: 10px; outline: none; }
.verify-box input:focus { border-color: var(--accent-yellow); }
.verify-btn { background: var(--accent-yellow); color: var(--primary-blue); border: none; padding: 13px 25px; font-size: 16px; font-weight: bold; border-radius: 5px; cursor: pointer; transition: 0.3s; }
.verify-btn:hover { background: #e6a200; }
#verifyResult { margin-top: 20px; font-size: 1.1rem; }

/* ================= EXTRA COMPONENTS ================= */
.notice-board { background: #d32f2f; color: white; padding: 8px 5%; font-size: 15px; font-weight: bold; display: flex; align-items: center; }
.notice-board span { background: var(--accent-yellow); color: var(--primary-blue); padding: 3px 10px; margin-right: 15px; border-radius: 3px; white-space: nowrap; }
.notice-text { overflow: hidden; white-space: nowrap; width: 100%; }
.notice-text p { display: inline-block; animation: marquee 15s linear infinite; }

.counter-section { padding: 50px 8%; background: linear-gradient(135deg, var(--primary-blue) 0%, #1a4387 100%); color: white; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; text-align: center; }
.counter-box h3 { font-size: 3rem; color: var(--accent-yellow); margin-bottom: 5px; }
.counter-box p { font-size: 1.1rem; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; }

.popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 10000; display: none; justify-content: center; align-items: center; }
.popup-box { background: white; width: 90%; max-width: 450px; padding: 30px; border-radius: 12px; text-align: center; position: relative; border-top: 6px solid #d32f2f; animation: slideDown 0.5s ease-out; }
.close-btn { position: absolute; top: 10px; right: 15px; font-size: 25px; color: #999; cursor: pointer; }
.close-btn:hover { color: red; }
.popup-box h2 { color: var(--primary-blue); margin-top: 10px; font-size: 28px; }
.popup-box h2 span { color: #d32f2f; font-size: 35px; }
#popupHeadingDisplay {color: var(--primary-blue) !important; font-size: 28px;}

.download-btn { display: inline-block; margin-top: 20px; padding: 12px 30px; background: #28a745; color: white; text-decoration: none; font-weight: bold; border-radius: 30px; box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4); transition: 0.3s; }
.download-btn:hover { background: #218838; transform: translateY(-3px); color: white; }

.whatsapp-float { position: fixed; bottom: 25px; right: 25px; background-color: #25d366; color: white; padding: 15px 20px; border-radius: 50px; text-decoration: none; font-size: 16px; font-weight: bold; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 1000; transition: transform 0.3s ease; }
.whatsapp-float:hover { transform: scale(1.1); }

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {
  /* Navbar Mobile Code */
  .section-title h2 { font-size: 2rem; } 
  .placement-logos { gap: 30px; }
 .navbar { padding: 15px 5%; }
  .menu-toggle { display: block; order: 3; } 
  .nav-links { 
    position: absolute; top: 80px; left: -100%; width: 100%; 
    background: var(--bg-white); flex-direction: column; text-align: center; 
    box-shadow: 0 10px 10px rgba(0,0,0,0.1); padding: 20px 0; z-index: 999;
    transition: left var(--transition-speed) ease-in-out;
  }
  .nav-links.active { left: 0; } 
  .nav-links li { padding: 12px 0; border-bottom: 1px solid #eee; width: 100%;}
  .dropdown { width: 100%; text-align: center; margin-top: 10px; }
  .dropbtn { width: 80%; padding: 12px; }
  .dropdown-content { 
    position: static; box-shadow: none; width: 100%; display: none; 
    background: #f1f5f9; margin-top: 5px; visibility: visible; opacity: 1; transform: none;
  }
  .dropdown-content.mobile-active { display: block; }
  
  /* Sections Mobile Code */
  .hero { flex-direction: column; text-align: center; padding: 40px 5%; }
  .hero-text { padding-right: 0; margin-bottom: 40px; }
  .hero-text h1 { font-size: 2.2rem; }
  .hero-form-container { width: 100%; }
  
  .verify-box input { width: 100%; margin-bottom: 15px; }
  .verify-btn { width: 100%; }
}
/* ================= COURSES PAGE SPECIFIC STYLES ================= */
.page-header { padding: 100px 8% 60px; background: linear-gradient(135deg, var(--primary-blue), #1a4387); color: white; text-align: center; }
.breadcrumb { font-size: 0.95rem; margin-bottom: 20px; color: #cbd5e1; }
.breadcrumb a { color: var(--accent-yellow); text-decoration: none; font-weight: bold;}
.breadcrumb a:hover { text-decoration: underline; }
.page-header h1 { font-size: 3rem; color: var(--accent-yellow); }
.page-header p { font-size: 1.2rem; margin-top: 15px; max-width: 600px; margin-left: auto; margin-right: auto; }

.detailed-courses { padding: 80px 8%; background: var(--bg-gray); }
.course-card-row { background: white; border-radius: 12px; padding: 30px; margin-bottom: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; transition: transform 0.3s ease, box-shadow 0.3s ease; opacity: 0; transform: translateY(40px); }
.course-card-row.visible { opacity: 1; transform: translateY(0); }
.course-card-row:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.12); }
.course-img-container { flex: 1; min-width: 300px; position: relative; }
.course-img-container img { width: 100%; border-radius: 8px; object-fit: cover; }
.course-details { flex: 2; min-width: 300px; }
.course-details h2 { color: var(--primary-blue); font-size: 2rem; margin-bottom: 10px; }
.course-details p { color: #555; font-size: 1.1rem; margin-bottom: 20px; line-height: 1.6; }

.course-features { list-style: none; padding: 0; color: #444; margin-bottom: 25px; line-height: 1.8; }
.course-features li { display: flex; align-items: center; gap: 8px; }
.course-features i { color: #28a745; font-size: 16px; }

.action-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.btn-download { padding: 12px 25px; background: #28a745; color: white; text-decoration: none; border-radius: 5px; font-weight: bold; transition: 0.3s; }
.btn-download:hover { background: #218838; color: white; transform: translateY(-2px); }
.btn-enroll { padding: 12px 25px; background: var(--accent-yellow); color: var(--primary-blue); text-decoration: none; border-radius: 5px; font-weight: bold; cursor: pointer; border: none; transition: 0.3s; }
.btn-enroll:hover { background: #e6a200; transform: translateY(-2px); }

/* Data Analytics / Coming Soon Card UI */
.coming-soon-card { position: relative; overflow: hidden; }
.coming-soon-card .course-img-container img, .coming-soon-card .course-details { filter: blur(5px); pointer-events: none; user-select: none; }
.coming-soon-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(11, 38, 83, 0.95); color: white; padding: 20px 40px; border-radius: 10px; text-align: center; z-index: 10; border: 2px solid var(--accent-yellow); box-shadow: 0 10px 30px rgba(0,0,0,0.3); width: 80%; max-width: 400px; }
.coming-soon-overlay h3 { color: var(--accent-yellow); font-size: 1.8rem; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; }
.coming-soon-overlay p { font-size: 1rem; color: #eee; }
/* ================= CONTACT PAGE SPECIFIC STYLES ================= */
.contact-section { padding: 80px 8%; background: var(--bg-gray); display: flex; flex-wrap: wrap; gap: 40px; }

/* Contact Box Animation Added Here */
.contact-box { 
  flex: 1; 
  min-width: 300px; 
  background: white; 
  padding: 40px; 
  border-radius: 12px; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* स्मूद एनीमेशन के लिए ट्रांजीशन जोड़ा गया */
}

/* होवर करने पर बॉक्स ऊपर उठेगा और शैडो बढ़ेगी */
.contact-box:hover {
  transform: translateY(-10px); 
  box-shadow: 0 20px 40px rgba(0,0,0,0.15); 
}

.contact-box h2 { color: var(--primary-blue); font-size: 2rem; margin-bottom: 25px; }

.info-row { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px; }
.info-icon { font-size: 24px; background: var(--bg-gray); border-radius: 50%; display: flex; align-items: center; justify-content: center; width: 55px; height: 55px; flex-shrink: 0; transition: transform 0.3s ease, background-color 0.3s; }
.info-row:hover .info-icon { transform: translateY(-5px); background-color: var(--primary-blue); }
.info-row:hover .info-icon i { color: var(--accent-yellow); }
.info-icon i { color: var(--primary-blue); transition: color 0.3s; }

.info-text h3 { color: var(--primary-blue); font-size: 1.2rem; margin-bottom: 5px; }
.info-text p { color: #555; line-height: 1.6; }
.info-text p strong { color: var(--primary-blue); }

.contact-form input, .contact-form select { width: 100%; padding: 14px; margin-bottom: 15px; border: 2px solid #eee; border-radius: 5px; outline: none; font-family: inherit; font-size: 15px; transition: border-color 0.3s; }
.contact-form select { background: white; }
.contact-form input:focus, .contact-form select:focus { border-color: var(--primary-blue); }

.submit-message-btn { width: 100%; padding: 15px; background: var(--accent-yellow); color: var(--primary-blue); font-size: 16px; font-weight: bold; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s, transform 0.3s; }
.submit-message-btn:hover { background: #e6a200; transform: translateY(-2px); }

.map-section { line-height: 0; }
.map-section iframe { width: 100%; height: 400px; border: 0; }

.magic-reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s ease-out; }
.magic-reveal.active { opacity: 1; transform: translateY(0); }
/* ================= ABOUT PAGE SPECIFIC STYLES ================= */
.mission-section { padding: 80px 8%; background: white; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }

/* 1. Mission Text Area Animation */
.mission-content { 
  flex: 1; 
  min-width: 300px; 
  padding: 20px; /* लिफ्ट इफ़ेक्ट अच्छा लगे इसलिए थोड़ी पैडिंग जोड़ी है */
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* एनीमेशन की स्पीड */
}
.mission-content:hover {
  transform: translateY(-10px); /* माउस ले जाने पर ऊपर उठना */
  box-shadow: 0 10px 25px rgba(0,0,0,0.06); /* हल्की सी परछाई (Shadow) */
}
.mission-content h2 { color: var(--primary-blue); font-size: 2.5rem; margin-bottom: 20px; }
.mission-content p { color: #555; font-size: 1.1rem; line-height: 1.8; margin-bottom: 15px; }

/* 2. Mission Image Area Animation */
.mission-img { 
  flex: 1; 
  min-width: 300px; 
  text-align: center; 
  transition: transform 0.3s ease; /* इमेज कंटेनर के लिए एनीमेशन */
}
.mission-img:hover {
  transform: translateY(-10px); /* तस्वीर भी माउस ले जाने पर ऊपर उठेगी */
}
.mission-img img { 
  width: 100%; 
  border-radius: 12px; 
  box-shadow: 0 15px 30px rgba(0,0,0,0.15); 
  transition: box-shadow 0.3s ease;
}
.mission-img:hover img {
  box-shadow: 0 25px 45px rgba(0,0,0,0.25); /* होवर करने पर इमेज का शैडो डार्क हो जाएगा */
}

/* --- इसके नीचे का Leadership Section वाला आपका पुराना कोड ऐसे ही रहेगा --- */

.leadership-section { max-width: 1000px; margin: 20px auto 60px auto; padding: 20px; }
.leadership-title { color: var(--primary-blue); text-align: center; border-bottom: 2px solid var(--accent-yellow); padding-bottom: 10px; margin-bottom: 30px; font-size: 2.5rem; }
.leadership-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }

.leader-card { background: white; padding: 30px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); flex: 1; min-width: 280px; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.leader-card:hover { transform: translateY(-10px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.leader-card i { font-size: 40px; margin-bottom: 15px; }
.leader-card h3 { color: var(--primary-blue); margin-bottom: 5px; font-size: 22px; }
.leader-card .designation { color: var(--accent-yellow); font-weight: bold; margin-bottom: 15px; }
.leader-card p { color: #555; font-size: 15px; line-height: 1.6; }

.card-sparsh { border-top: 4px solid var(--primary-blue); }
.card-sparsh i { color: var(--primary-blue); }
.card-krish { border-top: 4px solid var(--accent-yellow); }
.card-krish i { color: var(--accent-yellow); }

.gallery-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.gallery-images img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); cursor: pointer; transition: transform 0.3s ease; }
.gallery-images img:hover { transform: scale(1.05); }
/* ================= FOOTER PAGE SPECIFIC STYLES ================= */
.footer-contact-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 5px; }
.footer-contact-row-center { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.footer-icon-align { margin-top: 4px; font-size: 16px; color: #ffb300; }
.footer-icon-center { font-size: 14px; color: #ffb300; }
.footer-text-block { margin: 0; line-height: 1.5; }
.footer-text-inline { margin: 0; }
.footer-clickable-link { color: inherit; text-decoration: none; transition: color 0.3s; }
.footer-clickable-link:hover { color: var(--accent-yellow); }
.footer-map-col { min-width: 250px; }
.footer-map-iframe { border: 0; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); transition: transform 0.3s ease; }
.footer-map-iframe:hover { transform: scale(1.02); }
.footer-bottom-box { 
  text-align: center; 
  border-top: 1px solid #444; 
  padding-top: 15px; 
  margin-top: 10px; /* 20px से घटाकर 10px कर दिया */ 
}
.footer-bottom-text { margin: 0; }
.footer-reg-text { font-size: 12px; color: #a0aec0; margin-top: 5px; }
/* ================= PRO ADMIN PANEL STYLES ================= */
#adminLoginScreen { width: 100%; min-height: 85vh; display: flex; justify-content: center; align-items: center; background: linear-gradient(135deg, rgba(11, 38, 83, 0.05) 0%, rgba(11, 38, 83, 0.1) 100%); }
.login-box { background: white; width: 100%; max-width: 400px; padding: 40px 30px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); text-align: center; border-top: 5px solid var(--accent-yellow); animation: fadeInSlideUp 0.5s ease-out forwards; }
.login-box i.fa-user-shield { font-size: 50px; color: var(--primary-blue); margin-bottom: 15px; }
.login-box h2 { color: var(--primary-blue); margin-bottom: 5px; font-size: 24px; }
.login-box p { color: #666; margin-bottom: 25px; font-size: 14px; }
.login-box input { width: 100%; padding: 12px 15px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 5px; font-size: 15px; outline: none; transition: 0.3s; }
.login-box input:focus { border-color: var(--primary-blue); box-shadow: 0 0 8px rgba(11, 38, 83, 0.1); }
.login-box button { width: 100%; height: 50px; background: var(--primary-blue); color: var(--text-light); border: none; border-radius: 8px; font-size: 16px; font-weight: bold; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(11, 38, 83, 0.2); display: flex; align-items: center; justify-content: center; gap: 10px; }
.login-box button:hover { background: var(--accent-yellow); color: var(--primary-blue); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255, 180, 0, 0.4); }
#loginError { color: #dc3545; font-size: 14px; font-weight: bold; margin-bottom: 15px; display: none; }

.admin-container { display: flex; flex: 1; margin-top: 2px; }
.sidebar { width: 250px; background: var(--text-light); box-shadow: 2px 0 10px rgba(0,0,0,0.05); padding: 20px 0; min-height: 100vh; flex-shrink: 0;}
.sidebar h3 { text-align: center; color: var(--primary-blue); margin-bottom: 30px; font-size: 1.2rem; padding: 0 20px; }
.sidebar button { width: 100%; background: none; border: none; padding: 13px 20px; text-align: left; font-size: 14px; color: var(--text-dark); font-weight: bold; cursor: pointer; transition: 0.3s; border-left: 4px solid transparent; }
.sidebar button i { margin-right: 10px; color: var(--primary-blue); width: 20px; text-align: center; }
.sidebar button:hover { background: var(--bg-gray); color: var(--primary-blue); }
.sidebar button.active { background: #eaf0f6; color: var(--primary-blue); border-left: 4px solid var(--accent-yellow); }

.main-content { flex: 1; padding: 30px 40px; overflow-x: auto; }
.tab-section { display: none; animation: fadeIn 0.4s; }
.tab-section.active { display: block; }
.section-title { 
  text-align: center; 
  margin-bottom: 35px; /* 50px से घटाकर 35px किया ताकि टेक्स्ट पास दिखे */
}
.card { background: var(--text-light); padding: 25px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin-bottom: 20px; overflow-x: auto; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.input-group { display: flex; flex-direction: column; margin-bottom: 15px;}
.input-group label { font-weight: bold; margin-bottom: 8px; color: #555; font-size: 13px; }
.input-group input, .input-group select, .input-group textarea { padding: 10px; border: 1px solid #ccc; border-radius: 5px; font-size: 14px; outline: none; }
.input-group input:focus, .input-group select:focus { border-color: var(--primary-blue); }

.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; background: #f9f9f9; padding: 15px; border-radius: 5px; border: 1px solid #ddd;}
.checkbox-grid label { font-weight: normal; font-size: 13px; color: #333; display: flex; align-items: center; cursor: pointer;}
.checkbox-grid input { margin-right: 8px; width: 15px; height: 15px; cursor: pointer;}

.action-btn { padding: 12px 25px; background: var(--primary-blue); color: white; border: none; border-radius: 5px; font-size: 14px; font-weight: bold; cursor: pointer; transition: 0.3s;}
.action-btn:hover { background: var(--accent-yellow); color: var(--primary-blue); }
.edit-btn { background: #ffb300; color: #000; padding: 6px 12px; border: none; border-radius: 3px; cursor: pointer; font-size: 12px; font-weight: bold; margin-right: 5px;}
.del-btn { background: #dc3545; color: white; padding: 6px 12px; border: none; border-radius: 3px; cursor: pointer; font-size: 12px; font-weight: bold;}

table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 13px; white-space: nowrap; }
th { background: var(--primary-blue); color: white; padding: 10px; text-align: left; }
td { padding: 10px; border-bottom: 1px solid #eee; vertical-align: middle;}
tr:hover { background: #f2f5fa; }

.att-radio { display: flex; gap: 8px; }
.att-radio label { padding: 4px 8px; border-radius: 3px; cursor: pointer; font-size: 12px; font-weight: bold; color: white; text-align:center;}
.att-radio input[type="radio"] { display: none; }
.att-p, .att-a, .att-l, .att-h { background: #ccc; }
.att-radio input[value="P"]:checked + .att-p { background: #28a745; }
.att-radio input[value="A"]:checked + .att-a { background: #dc3545; }
.att-radio input[value="L"]:checked + .att-l { background: #ffc107; color: #000;}
.att-radio input[value="H"]:checked + .att-h { background: #17a2b8; }
.reg-p { color: #28a745; font-weight: bold; } .reg-a { color: #dc3545; font-weight: bold; } .reg-l { color: #ffb300; font-weight: bold; } .reg-h { color: #17a2b8; font-weight: bold; }
.due-amt { color: #dc3545; font-weight: bold; } .paid-amt { color: #28a745; font-weight: bold; }

.dur-toggle-btn { position: absolute; right: 5px; background: #eaf0f6; border: none; padding: 5px 10px; border-radius: 3px; font-weight: bold; cursor: pointer; color: var(--primary-blue); }
.dur-toggle-btn:hover { background: var(--accent-yellow); color: var(--primary-blue); }
.student-photo-mini { width: 35px; height: 35px; border-radius: 50%; object-fit: cover; border: 1px solid #ccc; margin-right: 10px; vertical-align: middle;}
.matrix-input-node { width: 70px; padding: 5px; text-align: center; border: 1px solid #ccc; border-radius: 4px; }
.badge-container { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.settings-badge { background: #eaf0f6; padding: 6px 12px; border-radius: 20px; font-size: 13px; font-weight: bold; color: var(--primary-blue); display: flex; align-items: center; gap: 8px; }
.settings-badge i { cursor: pointer; color: #dc3545; }

/* Dashboard Search Bar */
.dash-search { padding: 8px 15px; border: 1px solid #ccc; border-radius: 5px; font-size: 14px; width: 250px; outline: none;}
.dash-search:focus { border-color: var(--primary-blue); }
/* ================= ENTRANCE EXAM PORTAL SPECIFIC STYLES ================= */

/* Full Screen Mode Adjustments for Anti-Cheating */
:fullscreen .portal-navbar, :fullscreen .portal-footer { display: none !important; }
:-webkit-full-screen .portal-navbar, :-webkit-full-screen .portal-footer { display: none !important; }

/* Dedicated Body Scope to prevent affecting other pages */
.entrance-exam-body {
  background-color: var(--bg-light, #f4f7f6); 
  padding-bottom: 80px; 
}

/* ================= NAVBAR & FOOTER ================= */
.portal-navbar {
  background: var(--primary-blue, #0b2653); padding: 15px 5%; display: flex; justify-content: space-between; align-items: center; color: white; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.portal-navbar .logo { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.portal-navbar .logo img { height: 55px; width: 55px; object-fit: contain; border-radius: 50%; background: white; padding: 2px; }
.portal-navbar .logo-text h2 { margin: 0; padding: 0; line-height: 1; color: white; font-size: 24px; font-weight: 900; letter-spacing: 1px; }
.portal-navbar .logo-text h2 span { color: var(--accent-yellow, #ffb400); }
.portal-navbar .logo-text p { margin-top: 2px; color: #e0e0e0; font-size: 11px; letter-spacing: 1.2px; font-weight: bold; }

.back-home-btn { background: var(--accent-yellow, #ffb400); color: var(--primary-blue, #0b2653); border: none; padding: 10px 20px; font-weight: bold; border-radius: 5px; cursor: pointer; transition: 0.3s; }
.back-home-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(255, 179, 0, 0.4); }

/* ================= LOGIN PAGE ================= */
.portal-login-box { width: 100%; max-width: 400px; margin: 60px auto; background: white; padding: 40px 30px; border-radius: 12px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.15); animation: fadeInSlideUp 0.6s ease-out forwards; border-top: 5px solid var(--accent-yellow, #ffb400); }
.input-label { display: block; text-align: left; font-size: 13px; font-weight: bold; color: #333; margin-top: 15px; margin-bottom: 5px; }
.portal-input { width: 100%; padding: 12px 15px; border: 1px solid #ccc; border-radius: 5px; font-size: 15px; outline: none; transition: 0.3s; }
.portal-input:focus { border-color: var(--primary-blue, #0b2653); box-shadow: 0 0 5px rgba(10, 37, 88, 0.2); }
.portal-submit-btn { width: 100%; padding: 14px; margin-top: 25px; border: none; background: var(--primary-blue, #0b2653); color: white; font-size: 16px; font-weight: bold; border-radius: 5px; cursor: pointer; transition: 0.3s; }
.portal-submit-btn:hover { background: var(--accent-yellow, #ffb400); color: var(--primary-blue, #0b2653); box-shadow: 0 5px 15px rgba(255, 179, 0, 0.4); }

/* ================= INSTRUCTIONS PAGE ================= */
.instructions-container { display: none; max-width: 800px; margin: 40px auto; background: white; padding: 30px; border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); animation: fadeInSlideUp 0.6s ease-out forwards; }
.instructions-container h2 { color: var(--primary-blue, #0b2653); margin-bottom: 15px; border-bottom: 2px solid #eaf0f6; padding-bottom: 10px; }
.inst-list { margin: 15px 0 25px 20px; color: #444; line-height: 1.8; font-size: 15px; }
.inst-highlight { background: #f9f9f9; padding: 15px; border-left: 4px solid var(--accent-yellow, #ffb400); margin-bottom: 20px; font-weight: bold; }
.agree-box { background: #eaf0f6; padding: 15px; border-radius: 5px; margin-bottom: 20px; font-size: 14px; }
.agree-box input { margin-right: 10px; width: 16px; height: 16px; vertical-align: middle; }

/* ================= EXAM PAGE OPTIONS & PALETTE ================= */
.option { display: block; background: #f2f5fa; padding: 15px; margin-bottom: 12px; border-radius: 5px; cursor: pointer; font-size: 16px; transition: 0.3s; border: 1px solid transparent; }
.option:hover { background: #e6ecf5; transform: translateX(5px); border-color: var(--primary-blue, #0b2653); }
.option input { margin-right: 12px; transform: scale(1.2); }

.palette button { padding: 12px 0; border: none; background: #e6ecf5; cursor: pointer; border-radius: 5px; font-size: 14px; font-weight: bold; transition: 0.3s; }
.palette button.answered { background: #28a745; color: white; }
.palette button.review { background: var(--accent-yellow, #ffb400); color: #000; } 
.palette button.current { outline: 3px solid var(--primary-blue, #0b2653); outline-offset: 2px; }

/* ================= WARNING OVERLAY ================= */
.fs-warning-modal { 
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 37, 88, 0.95); z-index: 9999; justify-content: center; align-items: center; flex-direction: column; color: white; text-align: center; padding: 20px; 
}
.fs-resume-btn { padding: 15px 35px; font-size: 18px; background: var(--accent-yellow, #ffb400); color: var(--primary-blue, #0b2653); border: none; border-radius: 8px; cursor: pointer; font-weight: bold; margin-top: 25px; }

@keyframes fadeInSlideUp { 
  0% { opacity: 0; transform: translateY(20px); } 
  100% { opacity: 1; transform: translateY(0); } 
}
/* ================= STUDENT DASHBOARD TABS STYLING ================= */
.student-tab-btn {
  background: none;
  border: none;
  padding: 12px 25px;
  font-size: 15px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  white-space: nowrap;
  transition: all 0.3s ease;
  position: relative;
  outline: none;
}

/* Hover Effect - जब माउस ले जाएंगे */
.student-tab-btn:hover {
  color: var(--primary-blue);
  background-color: #f0f5fa;
}

/* Active State Effect - जब टैब खुला होगा */
.student-tab-btn.active {
  color: var(--primary-blue);
  background-color: white; /* टैब कंटेंट के साथ मिल जाएगा */
  border-bottom: 3px solid var(--accent-yellow); /* नीचे एक पीली लाइन आएगी */
  box-shadow: 0 -4px 10px rgba(0,0,0,0.02); /* हल्का सा 3D लुक */
}

/* टैब के अंदर के आइकॉन का रंग भी डार्क हो जाएगा */
.student-tab-btn.active i {
  color: var(--accent-yellow);
}
/* ==========================================================================
   PRINT STYLES FOR DIGITAL ID CARD
   ========================================================================== */
@media print {
  body * {
    visibility: hidden !important;
  }
  #printableIdCard, #printableIdCard * {
    visibility: visible !important;
  }
  #printableIdCard {
    position: absolute !important;
    left: 50% !important;
    top: 40px !important;
    transform: translateX(-50%) !important;
    width: 380px !important;
    border: 2px solid #0b2653 !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    page-break-inside: avoid !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
