
/* ============================================================
   17. Inner Page Styles — Banners, Breadcrumbs, Forms, etc.
   ============================================================ */

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, #0d2b6e 0%, #1a4fa0 100%);
  color: #ffffff;
  padding: 60px 0 40px;
  text-align: center;
}
.page-banner h1 {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.page-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  max-width: 550px;
  margin: 0 auto 1rem;
}
.page-banner .breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}
.page-banner .breadcrumb a { color: #f39c12; transition: color 0.25s; }
.page-banner .breadcrumb a:hover { color: #ffffff; }

/* Breadcrumb Bar */
.breadcrumb-bar { background-color: #f4f7fc; padding: 12px 0; border-bottom: 1px solid #e8e8e8; }
.breadcrumb-list { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: #666666; list-style: none; flex-wrap: wrap; }
.breadcrumb-list li a { color: #1a4fa0; transition: color 0.25s; }
.breadcrumb-list li a:hover { color: #e84118; }
.breadcrumb-list li + li::before { content: '/'; margin-right: 8px; color: #999999; }
.breadcrumb-list li[aria-current="page"] { color: #333333; font-weight: 500; }

/* Forms */
.form-section-title { font-size: 1.15rem; color: #0d2b6e; margin: 1.5rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid #f39c12; display: inline-block; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 500; font-size: 0.88rem; color: #333333; margin-bottom: 6px; }
.form-group .required { color: #e84118; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid #d0d0d0; border-radius: 6px; font-size: 0.9rem; color: #333333; background-color: #ffffff; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #1a4fa0; box-shadow: 0 0 0 3px rgba(26,79,160,0.12); outline: none; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #999999; }
.form-group-full { grid-column: 1 / -1; }
.btn-submit { display: block; width: 100%; padding: 14px; font-size: 1rem; text-align: center; border: none; cursor: pointer; }
.input-icon-wrapper { position: relative; display: flex; align-items: center; }
.input-icon-wrapper svg { position: absolute; left: 12px; color: #999999; pointer-events: none; }
.input-icon-wrapper input { padding-left: 40px; }

/* Alerts */
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 0.88rem; line-height: 1.6; }
.alert-error { background-color: #fff5f5; border: 1px solid #fdd; color: #e84118; }
.alert-error ul { margin-top: 6px; padding-left: 20px; list-style: disc; }

/* Courses Layout */
.courses-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
.courses-sidebar { display: none; }
.courses-sidebar h3 { font-size: 1rem; margin-bottom: 12px; color: #0d2b6e; }
.courses-filter-list { display: flex; flex-direction: column; gap: 4px; }
.courses-filter-list a { display: block; padding: 10px 16px; border-radius: 6px; font-size: 0.88rem; color: #333333; transition: background-color 0.25s, color 0.25s; }
.courses-filter-list a:hover, .courses-filter-list a.active { background-color: #1a4fa0; color: #ffffff; }
.courses-grid-3 { grid-template-columns: 1fr; }
.course-card-excerpt { font-size: 0.82rem; color: #666666; line-height: 1.6; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Search Bar */
.courses-search-bar { margin-bottom: 1.5rem; }
.courses-search-bar form { display: flex; gap: 10px; }
.search-input-wrapper { flex: 1; position: relative; display: flex; align-items: center; }
.search-input-wrapper svg { position: absolute; left: 12px; color: #999999; }
.search-input-wrapper input { width: 100%; padding: 10px 14px 10px 40px; border: 1px solid #d0d0d0; border-radius: 6px; font-size: 0.9rem; background: #ffffff; }
.search-input-wrapper input:focus { border-color: #1a4fa0; box-shadow: 0 0 0 3px rgba(26,79,160,0.12); outline: none; }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 2rem; flex-wrap: wrap; }
.pagination-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 8px 14px; border: 1px solid #d0d0d0; border-radius: 6px; font-size: 0.85rem; font-weight: 500; color: #333333; background-color: #ffffff; transition: background-color 0.25s, color 0.25s, border-color 0.25s; cursor: pointer; }
.pagination-btn:hover { background-color: #1a4fa0; color: #ffffff; border-color: #1a4fa0; }
.pagination-btn.active { background-color: #1a4fa0; color: #ffffff; border-color: #1a4fa0; }

/* Empty State */
.empty-state { text-align: center; padding: 48px 20px; color: #999999; }
.empty-state svg { margin: 0 auto 16px; color: #d0d0d0; }
.empty-state h3 { color: #666666; margin-bottom: 8px; }
.empty-state p { color: #999999; margin-bottom: 16px; }

/* Course Detail */
.course-detail-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
.course-detail-image { border-radius: 12px; overflow: hidden; max-height: 400px; }
.course-detail-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.course-detail-header h1 { font-size: 1.8rem; margin-bottom: 8px; }
.course-detail-header .course-card-badge { position: static; display: inline-block; margin-bottom: 10px; }
.course-detail-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.9rem; color: #666666; margin-bottom: 16px; }
.course-detail-meta span { display: flex; align-items: center; gap: 6px; }
.course-detail-meta .fee { font-weight: 600; color: #1a4fa0; }
.course-detail-block { margin-top: 2rem; }
.course-detail-block h2 { font-size: 1.3rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid #f39c12; display: inline-block; }
.course-detail-content, .course-syllabus { font-size: 0.92rem; line-height: 1.8; color: #555555; }
.course-detail-content h3, .course-syllabus h3 { font-size: 1.05rem; margin-top: 1rem; margin-bottom: 0.5rem; }
.course-detail-content ul, .course-syllabus ul { padding-left: 20px; list-style: disc; margin-bottom: 1rem; }
.course-sidebar-card { background-color: #ffffff; border: 1px solid #e8e8e8; border-radius: 12px; padding: 24px; position: sticky; top: 100px; }
.course-sidebar-card h3 { font-size: 1.05rem; margin-bottom: 16px; color: #0d2b6e; }
.course-highlights { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.course-highlights li { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: #555555; }
.course-highlights li svg { color: #27ae60; flex-shrink: 0; }
.course-sidebar-fee { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-top: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; margin-bottom: 16px; }
.fee-label { font-size: 0.88rem; color: #666666; }
.fee-amount { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.3rem; color: #e84118; }
.btn-enroll-scarlet { display: block; text-align: center; background-color: #e84118; color: #ffffff; padding: 14px 20px; border-radius: 6px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.95rem; transition: background-color 0.25s, transform 0.25s; }
.btn-enroll-scarlet:hover { background-color: #c73510; transform: translateY(-1px); }
.course-sidebar-note { font-size: 0.78rem; color: #999999; text-align: center; margin-top: 10px; margin-bottom: 0; }

/* Admission Layout */
.admission-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
.admission-form { background-color: #ffffff; padding: 28px 24px; border-radius: 12px; box-shadow: 0 4px 20px rgba(26,79,160,0.10); }
.info-card { background-color: #ffffff; padding: 20px; border-radius: 12px; box-shadow: 0 4px 20px rgba(26,79,160,0.10); margin-bottom: 16px; }
.info-card h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin-bottom: 12px; color: #0d2b6e; }
.info-card h3 svg { color: #f39c12; flex-shrink: 0; }
.info-list { display: flex; flex-direction: column; gap: 6px; }
.info-list li { font-size: 0.85rem; color: #555555; padding-left: 16px; position: relative; }
.info-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background-color: #f39c12; }
.info-list li a { color: #1a4fa0; transition: color 0.25s; }
.info-list li a:hover { color: #e84118; }

/* Franchisee Benefits */
.benefits-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.benefit-card { background-color: #f4f7fc; border-radius: 12px; padding: 28px 24px; text-align: center; transition: transform 0.3s, box-shadow 0.3s; }
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(26,79,160,0.12); }
.benefit-icon { display: inline-flex; align-items: center; justify-content: center; width: 70px; height: 70px; border-radius: 50%; margin-bottom: 14px; color: #ffffff; }
.benefit-icon.icon-navy { background-color: #1a4fa0; }
.benefit-icon.icon-scarlet { background-color: #e84118; }
.benefit-icon.icon-gold { background-color: #f39c12; }
.franchisee-form-wrapper { max-width: 700px; margin: 0 auto; background-color: #ffffff; padding: 28px 24px; border-radius: 12px; box-shadow: 0 4px 20px rgba(26,79,160,0.10); }

/* Blog Layout & Cards */
.blog-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.blog-card { background-color: #ffffff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(26,79,160,0.10); transition: transform 0.3s, box-shadow 0.3s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(26,79,160,0.16); }
.blog-card-image { width: 100%; height: 200px; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: 18px; }
.blog-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.blog-card-date { font-size: 0.75rem; color: #999999; display: flex; align-items: center; gap: 4px; }
.blog-card-title { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.35; }
.blog-card-title a { color: #0d2b6e; transition: color 0.25s; }
.blog-card-title a:hover { color: #e84118; }
.blog-card-excerpt { font-size: 0.85rem; color: #666666; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.blog-card-link { font-size: 0.85rem; font-weight: 600; color: #1a4fa0; display: inline-flex; align-items: center; gap: 4px; transition: color 0.25s, gap 0.25s; }
.blog-card-link:hover { color: #e84118; gap: 8px; }
.blog-sidebar { display: none; }
.sidebar-widget { background-color: #ffffff; padding: 20px; border-radius: 12px; box-shadow: 0 4px 20px rgba(26,79,160,0.10); margin-bottom: 16px; }
.sidebar-widget h3 { font-size: 1rem; margin-bottom: 12px; color: #0d2b6e; padding-bottom: 8px; border-bottom: 2px solid #f39c12; }
.sidebar-list { display: flex; flex-direction: column; gap: 6px; }
.sidebar-list a { font-size: 0.88rem; color: #555555; display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #f0f0f0; transition: color 0.25s; }
.sidebar-list a:hover { color: #1a4fa0; }
.sidebar-list .count { color: #999999; font-size: 0.8rem; }
.sidebar-recent { display: flex; flex-direction: column; gap: 10px; }
.sidebar-recent li { padding-bottom: 10px; border-bottom: 1px solid #f0f0f0; }
.sidebar-recent li:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-recent a { font-size: 0.88rem; color: #0d2b6e; font-weight: 500; display: block; transition: color 0.25s; }
.sidebar-recent a:hover { color: #e84118; }
.recent-date { font-size: 0.75rem; color: #999999; margin-top: 2px; display: block; }

/* Blog Post Detail */
.blog-post-article { max-width: 800px; margin: 0 auto; }
.blog-post-image { border-radius: 12px; overflow: hidden; margin-bottom: 2rem; }
.blog-post-image img { width: 100%; border-radius: 12px; }
.blog-post-header h1 { font-size: 1.8rem; margin-bottom: 12px; }
.blog-post-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid #e8e8e8; }
.blog-post-date, .blog-post-author { display: flex; align-items: center; gap: 6px; font-size: 0.88rem; color: #666666; }
.blog-post-content { font-size: 0.95rem; line-height: 1.85; color: #444444; }
.blog-post-content h2 { font-size: 1.3rem; margin-top: 1.5rem; margin-bottom: 0.75rem; }
.blog-post-content h3 { font-size: 1.1rem; margin-top: 1.25rem; margin-bottom: 0.5rem; }
.blog-post-content p { margin-bottom: 1rem; }
.blog-post-content ul, .blog-post-content ol { padding-left: 24px; margin-bottom: 1rem; }
.blog-post-content ul { list-style: disc; }
.blog-post-content ol { list-style: decimal; }
.blog-share { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #e8e8e8; }
.blog-share h3 { font-size: 1rem; margin-bottom: 12px; }
.share-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 6px; font-size: 0.85rem; font-weight: 500; color: #ffffff; transition: opacity 0.25s, transform 0.25s; }
.share-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.share-facebook { background-color: #1877f2; }
.share-twitter { background-color: #1da1f2; }
.share-whatsapp { background-color: #25d366; }

/* News Filter */
.news-filter-bar { margin-bottom: 1.5rem; }
.news-filter-form { display: flex; align-items: center; gap: 10px; }
.news-filter-form label { font-size: 0.9rem; font-weight: 500; color: #333333; }
.news-filter-form select { padding: 10px 14px; border: 1px solid #d0d0d0; border-radius: 6px; background: #ffffff; font-size: 0.88rem; color: #333333; }
.news-grid-full { grid-template-columns: 1fr; }
.news-article { max-width: 800px; margin: 0 auto; }
.news-article-image { border-radius: 12px; overflow: hidden; margin-bottom: 2rem; }
.news-article-image img { width: 100%; border-radius: 12px; }
.news-article-header h1 { font-size: 1.8rem; margin-bottom: 12px; }
.news-article-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.news-article-date { display: flex; align-items: center; gap: 4px; font-size: 0.88rem; color: #666666; }
.news-article-content { font-size: 0.95rem; line-height: 1.85; color: #444444; }

/* FAQ Page */
.faq-page-list { max-width: 800px; margin: 0 auto; }
.faq-category-filters { margin-bottom: 2rem; }
.faq-cta-section { padding: 48px 0; text-align: center; }
.faq-cta-content h2 { color: #ffffff; font-size: 1.5rem; margin-bottom: 0.75rem; }
.faq-cta-content p { color: rgba(255,255,255,0.85); max-width: 500px; margin: 0 auto 1.5rem; }
.faq-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Contact Page */
.contact-cards-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.contact-info-card { background-color: #f4f7fc; border-radius: 12px; padding: 24px 20px; text-align: center; transition: transform 0.3s; }
.contact-info-card:hover { transform: translateY(-3px); }
.contact-info-icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; margin-bottom: 12px; color: #ffffff; }
.contact-info-icon.icon-navy { background-color: #1a4fa0; }
.contact-info-icon.icon-scarlet { background-color: #e84118; }
.contact-info-icon.icon-gold { background-color: #f39c12; }
.contact-info-card h3 { font-size: 1rem; margin-bottom: 6px; }
.contact-info-card p { font-size: 0.88rem; color: #555555; margin-bottom: 0; }
.contact-info-card a { color: #1a4fa0; transition: color 0.25s; }
.contact-info-card a:hover { color: #e84118; }
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
.contact-form-wrapper h2, .contact-map-wrapper h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.contact-form { background-color: #ffffff; padding: 28px 24px; border-radius: 12px; box-shadow: 0 4px 20px rgba(26,79,160,0.10); }
.contact-map { border-radius: 12px; overflow: hidden; }
.contact-map iframe { display: block; }

/* About Page */
.about-hero { position: relative; background: linear-gradient(135deg, #0d2b6e 0%, #1a4fa0 100%); padding: 80px 0; text-align: center; color: #ffffff; }
.about-hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: radial-gradient(circle at 20% 80%, rgba(243,156,18,0.08) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(232,65,24,0.06) 0%, transparent 50%); }
.about-hero-content { position: relative; z-index: 1; }
.about-hero-content h1 { color: #ffffff; font-size: 2.2rem; margin-bottom: 0.5rem; }
.about-hero-content p { color: rgba(255,255,255,0.85); font-size: 1rem; }
.mission-vision-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.mv-card { background-color: #f4f7fc; border-radius: 12px; padding: 32px 24px; text-align: center; }
.mv-icon { display: inline-flex; align-items: center; justify-content: center; width: 70px; height: 70px; border-radius: 50%; margin-bottom: 14px; color: #ffffff; }
.mv-icon.icon-navy { background-color: #1a4fa0; }
.mv-icon.icon-scarlet { background-color: #e84118; }
.timeline { position: relative; max-width: 700px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background-color: #1a4fa0; }
.timeline-item { position: relative; margin-bottom: 24px; padding-left: 20px; }
.timeline-marker { position: absolute; left: -26px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background-color: #f39c12; border: 3px solid #ffffff; box-shadow: 0 0 0 2px #1a4fa0; }
.timeline-content h3 { color: #1a4fa0; font-size: 1.1rem; margin-bottom: 4px; }
.timeline-content p { font-size: 0.88rem; color: #555555; margin-bottom: 0; }
.director-layout { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.director-image { max-width: 300px; margin: 0 auto; border-radius: 12px; overflow: hidden; }
.director-image img { width: 100%; border-radius: 12px; }
.director-content blockquote { font-size: 0.95rem; color: #555555; line-height: 1.8; font-style: italic; border-left: 4px solid #f39c12; padding-left: 20px; margin-bottom: 1rem; }
.director-name { font-family: 'Poppins', sans-serif; font-weight: 600; color: #0d2b6e; font-size: 0.95rem; }
.team-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.team-card { background-color: #f4f7fc; border-radius: 12px; padding: 24px; text-align: center; transition: transform 0.3s; }
.team-card:hover { transform: translateY(-3px); }
.team-photo { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; margin: 0 auto 14px; border: 3px solid #1a4fa0; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-role { font-size: 0.82rem; color: #e84118; font-weight: 500; margin-bottom: 6px; }
.team-desc { font-size: 0.85rem; color: #666666; margin-bottom: 0; }
.affiliations-logo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; justify-items: center; }
.affiliation-logo-item { background-color: #ffffff; border: 1px solid #e8e8e8; border-radius: 12px; padding: 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: transform 0.3s, box-shadow 0.3s; }
.affiliation-logo-item:hover { transform: translateY(-3px); box-shadow: 0 4px 16px rgba(26,79,160,0.12); }
.affiliation-logo-item img { max-height: 50px; width: auto; filter: grayscale(100%); opacity: 0.6; transition: filter 0.3s, opacity 0.3s; }
.affiliation-logo-item:hover img { filter: grayscale(0); opacity: 1; }
.affiliation-logo-item span { font-size: 0.78rem; color: #666666; }
.affiliation-logo-item a { color: inherit; }

/* Exam Pages */
.exam-info-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.exam-info-block { background-color: #f4f7fc; border-radius: 12px; padding: 24px; text-align: center; }
.exam-info-icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; margin-bottom: 10px; color: #ffffff; }
.exam-info-icon.icon-navy { background-color: #1a4fa0; }
.exam-info-icon.icon-scarlet { background-color: #e84118; }
.exam-info-icon.icon-gold { background-color: #f39c12; }
.exam-login-prompt { text-align: center; padding: 32px; background-color: #fff5f5; border: 1px solid #fdd; border-radius: 12px; margin-bottom: 2rem; }
.exam-login-prompt svg { color: #e84118; margin-bottom: 12px; }
.exam-login-prompt h3 { color: #e84118; margin-bottom: 8px; }
.exam-login-prompt p { color: #666666; margin-bottom: 14px; }
.exams-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.exam-card { background-color: #ffffff; border-radius: 12px; border: 1px solid #e8e8e8; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.exam-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(26,79,160,0.12); }
.exam-card-header { background-color: #1a4fa0; padding: 16px 20px; }
.exam-card-title { color: #ffffff; font-size: 1.05rem; margin-bottom: 4px; }
.exam-card-course { font-size: 0.78rem; color: rgba(255,255,255,0.8); background-color: rgba(255,255,255,0.15); padding: 2px 10px; border-radius: 50px; }
.exam-card-body { padding: 20px; }
.exam-card-details { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.exam-detail-item { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: #555555; }
.exam-detail-item svg { color: #1a4fa0; flex-shrink: 0; }

/* Exam Take */
.exam-take-section { padding: 24px 0; }
.exam-header-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.exam-header-bar h1 { font-size: 1.3rem; }
.exam-q-count { font-size: 0.82rem; color: #666666; }
.exam-timer { display: flex; align-items: center; gap: 6px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.2rem; color: #1a4fa0; background-color: #f4f7fc; padding: 8px 16px; border-radius: 8px; }
.exam-timer.timer-warning { color: #f39c12; background-color: #fff8e1; }
.exam-timer.timer-danger { color: #e84118; background-color: #fff5f5; animation: pulse 1s infinite; }
.exam-progress-bar { height: 6px; background-color: #e8e8e8; border-radius: 3px; margin-bottom: 20px; overflow: hidden; }
.exam-progress-fill { height: 100%; background-color: #1a4fa0; border-radius: 3px; transition: width 0.3s; }
.exam-layout { display: grid; grid-template-columns: 1fr; gap: 20px; }
.exam-question { display: none; }
.exam-question.active { display: block; }
.question-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.question-number { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.88rem; color: #1a4fa0; }
.question-marks { font-size: 0.82rem; color: #f39c12; font-weight: 600; }
.question-text { font-size: 1rem; line-height: 1.7; color: #333333; margin-bottom: 16px; }
.question-options { display: flex; flex-direction: column; gap: 10px; }
.option-label { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background-color: #f4f7fc; border: 2px solid transparent; border-radius: 8px; cursor: pointer; transition: border-color 0.25s, background-color 0.25s; }
.option-label:hover { border-color: #1a4fa0; background-color: #eef3fb; }
.option-radio:checked + .option-marker { background-color: #1a4fa0; color: #ffffff; border-color: #1a4fa0; }
.option-radio { display: none; }
.option-marker { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #d0d0d0; font-weight: 600; font-size: 0.85rem; color: #333333; flex-shrink: 0; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.option-text { font-size: 0.92rem; color: #333333; }
.exam-nav-buttons { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.exam-nav-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 6px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.88rem; cursor: pointer; transition: opacity 0.25s, transform 0.25s; }
.exam-nav-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.exam-sidebar { display: none; }
.exam-sidebar h3 { font-size: 1rem; margin-bottom: 12px; color: #0d2b6e; }
.question-navigator { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 14px; }
.qnav-btn { width: 36px; height: 36px; border-radius: 6px; border: 1px solid #d0d0d0; background-color: #ffffff; font-size: 0.82rem; font-weight: 600; color: #333333; cursor: pointer; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.qnav-btn.active { background-color: #1a4fa0; color: #ffffff; border-color: #1a4fa0; }
.qnav-btn.visited { background-color: #e8f0fe; border-color: #1a4fa0; }
.qnav-btn.answered { background-color: #27ae60; color: #ffffff; border-color: #27ae60; }
.qnav-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.75rem; color: #666666; }
.legend-item { display: flex; align-items: center; gap: 4px; }
.legend-dot { width: 10px; height: 10px; border-radius: 3px; }
.legend-visited { background-color: #e8f0fe; border: 1px solid #1a4fa0; }
.legend-answered { background-color: #27ae60; }
.legend-current { background-color: #1a4fa0; }

/* Exam Result */
.result-wrapper { max-width: 700px; margin: 0 auto; }
.result-header { text-align: center; padding: 32px 24px; border-radius: 12px; margin-bottom: 20px; }
.result-pass { background: linear-gradient(135deg, #27ae60, #2ecc71); color: #ffffff; }
.result-fail { background: linear-gradient(135deg, #e84118, #c0392b); color: #ffffff; }
.result-icon { margin-bottom: 12px; }
.result-header h1 { color: #ffffff; font-size: 1.8rem; margin-bottom: 6px; }
.result-status { font-size: 0.95rem; opacity: 0.9; margin-bottom: 0; }
.result-exam-name, .result-student { font-size: 0.85rem; opacity: 0.8; margin-bottom: 0; }
.result-score-card { background-color: #ffffff; border-radius: 12px; padding: 28px; box-shadow: 0 4px 20px rgba(26,79,160,0.10); display: flex; align-items: center; gap: 24px; margin-bottom: 20px; }
.score-circle { width: 100px; height: 100px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.score-pass { background-color: #27ae60; color: #ffffff; }
.score-fail { background-color: #e84118; color: #ffffff; }
.score-percentage { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.6rem; }
.score-details { flex: 1; }
.score-item { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #f0f0f0; font-size: 0.88rem; }
.score-item:last-child { border-bottom: none; }
.score-label { color: #666666; }
.score-value { font-weight: 600; color: #0d2b6e; }
.text-pass { color: #27ae60 !important; }
.text-fail { color: #e84118 !important; }
.result-breakdown { background-color: #ffffff; border-radius: 12px; padding: 24px; box-shadow: 0 4px 20px rgba(26,79,160,0.10); margin-bottom: 20px; }
.result-breakdown h2 { font-size: 1.15rem; margin-bottom: 16px; }
.breakdown-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.breakdown-item { text-align: center; padding: 16px; border-radius: 8px; }
.breakdown-correct { background-color: #eafaf1; }
.breakdown-wrong { background-color: #fff5f5; }
.breakdown-unanswered { background-color: #f4f7fc; }
.breakdown-number { display: block; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.5rem; margin-bottom: 4px; }
.breakdown-correct .breakdown-number { color: #27ae60; }
.breakdown-wrong .breakdown-number { color: #e84118; }
.breakdown-unanswered .breakdown-number { color: #1a4fa0; }
.breakdown-label { font-size: 0.78rem; color: #666666; }
.result-answers-section { margin-bottom: 20px; }
.result-answers-toggle { border: 1px solid #e8e8e8; border-radius: 8px; overflow: hidden; }
.result-answers-toggle summary { padding: 16px 20px; font-weight: 600; color: #0d2b6e; cursor: pointer; background-color: #f4f7fc; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.result-answers-list { padding: 16px 20px; }
.answer-item { padding: 14px 0; border-bottom: 1px solid #f0f0f0; }
.answer-item:last-child { border-bottom: none; }
.answer-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.answer-q-num { font-weight: 600; color: #1a4fa0; font-size: 0.88rem; }
.answer-status-badge { font-size: 0.72rem; font-weight: 600; padding: 2px 10px; border-radius: 50px; }
.badge-correct { background-color: #eafaf1; color: #27ae60; }
.badge-wrong { background-color: #fff5f5; color: #e84118; }
.badge-skipped { background-color: #f4f7fc; color: #999999; }
.answer-question { font-size: 0.88rem; color: #333333; margin-bottom: 8px; }
.answer-options-mini { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; }
.answer-option { font-size: 0.82rem; color: #555555; padding: 4px 8px; border-radius: 4px; }
.option-correct { background-color: #eafaf1; color: #27ae60; }
.option-wrong { background-color: #fff5f5; color: #e84118; text-decoration: line-through; }
.answer-correct-note { font-size: 0.82rem; color: #27ae60; font-weight: 500; margin-bottom: 0; }
.result-actions { text-align: center; margin-top: 1.5rem; }

/* Auth Pages */
.auth-body { background: linear-gradient(135deg, #0d2b6e 0%, #1a4fa0 50%, #0d2b6e 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.auth-container { width: 100%; max-width: 440px; }
.auth-brand { text-align: center; margin-bottom: 20px; }
.auth-brand a { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.auth-brand .logo-text { font-size: 2rem; color: #ffffff; }
.auth-brand .logo-subtext { font-size: 0.7rem; color: #f39c12; }
.auth-card { background-color: #ffffff; border-radius: 16px; padding: 32px 28px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.auth-card h1 { font-size: 1.5rem; text-align: center; margin-bottom: 4px; }
.auth-subtitle { text-align: center; font-size: 0.88rem; color: #666666; margin-bottom: 20px; }
.auth-form .form-group { margin-bottom: 14px; }
.auth-form .form-group label { font-size: 0.85rem; font-weight: 500; margin-bottom: 5px; }
.auth-form .btn-submit { margin-top: 6px; border-radius: 8px; font-size: 0.95rem; }
.auth-links { text-align: center; margin-top: 16px; font-size: 0.85rem; color: #666666; }
.auth-link { color: #1a4fa0; font-weight: 500; transition: color 0.25s; }
.auth-link:hover { color: #e84118; }
.auth-back { text-align: center; margin-top: 16px; }
.auth-back a { color: rgba(255,255,255,0.7); font-size: 0.85rem; display: inline-flex; align-items: center; gap: 4px; transition: color 0.25s; }
.auth-back a:hover { color: #ffffff; }

/* ============================================================
   18. Responsive — Inner Pages
   ============================================================ */
@media (min-width: 576px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid-full { grid-template-columns: repeat(2, 1fr); }
  .exams-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .affiliations-logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .page-banner h1 { font-size: 2.4rem; }
  .mission-vision-grid { grid-template-columns: repeat(2, 1fr); }
  .director-layout { grid-template-columns: 300px 1fr; }
  .contact-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr 1fr; }
  .exam-info-grid { grid-template-columns: repeat(3, 1fr); }
  .exam-layout { grid-template-columns: 1fr 240px; }
  .exam-sidebar { display: block; }
  .admission-layout { grid-template-columns: 1fr 300px; }
  .courses-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .courses-layout { grid-template-columns: 240px 1fr; }
  .courses-sidebar { display: block; }
  .courses-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .blog-layout { grid-template-columns: 1fr 280px; }
  .blog-sidebar { display: block; }
  .course-detail-layout { grid-template-columns: 1fr 320px; }
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-cards-grid { grid-template-columns: repeat(4, 1fr); }
  .affiliations-logo-grid { grid-template-columns: repeat(4, 1fr); }
  .news-grid-full { grid-template-columns: repeat(3, 1fr); }
  .exams-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   Toppers Full Page — Light background override
   (Homepage uses dark bg with white text, but toppers page is light)
   ============================================================ */
.toppers-full-section {
  background: #f4f7fc;  /* Use shorthand 'background' to override the gradient from style.css */
  padding: 48px 0;
}

.toppers-full-section .topper-card {
  background-color: #ffffff;
  border: 1px solid #e8ecf4;
  box-shadow: 0 4px 16px rgba(26, 79, 160, 0.08);
}

.toppers-full-section .topper-card:hover {
  background-color: #ffffff;
  box-shadow: 0 8px 28px rgba(26, 79, 160, 0.14);
  transform: translateY(-4px);
}

.toppers-full-section .topper-name {
  color: #0d2b6e;
}

.toppers-full-section .topper-course {
  color: #666666;
}

.toppers-full-section .topper-marks {
  color: #e84118;
}

.toppers-full-section .topper-meta {
  color: #999999;
}

.toppers-full-section .topper-photo {
  border-color: rgba(13, 43, 110, 0.15);
}

.toppers-full-section .topper-card.rank-1 .topper-photo {
  border-color: #f39c12;
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.25);
}

.toppers-full-section .topper-card.rank-2 .topper-photo {
  border-color: #c0c0c0;
  box-shadow: 0 0 0 3px rgba(192, 192, 192, 0.25);
}

.toppers-full-section .topper-card.rank-3 .topper-photo {
  border-color: #cd7f32;
  box-shadow: 0 0 0 3px rgba(205, 127, 50, 0.25);
}

/* ============================================================
   Footer Logo Fix — Better visibility on dark footer
   ============================================================ */
.footer-about .footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-bottom: 14px;
}

.footer-about .footer-logo .logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.footer-about .footer-logo .logo-subtext {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.65rem;
  color: #f39c12;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ============================================================
   Mobile View Fixes — Horizontal scroll / margin issues
   ============================================================ */
@media (max-width: 768px) {
  /* Prevent horizontal overflow on mobile */
  html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  /* Aggressive fix: prevent ANY element from causing horizontal scroll */
  *, *::before, *::after {
    max-width: 100vw;
  }

  /* Ensure no element exceeds viewport */
  .container {
    padding-left: 16px;
    padding-right: 16px;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Top bar compact styling for mobile (visible on all pages) */
  .top-bar {
    padding: 5px 0;
  }
  .top-bar .container {
    flex-wrap: wrap;
    gap: 4px;
  }
  .top-bar-left {
    gap: 10px;
    font-size: 0.72rem;
  }
  .top-bar-left .label {
    display: none;
  }
  .top-bar-left span {
    gap: 3px;
  }
  .top-bar-left a {
    font-size: 0.72rem;
  }
  .top-bar-center {
    gap: 10px;
    font-size: 0.72rem;
  }
  .top-bar-center .label {
    display: none;
  }
  .top-bar-center span {
    gap: 3px;
  }
  .top-bar-center a {
    font-size: 0.72rem;
  }
  .top-bar-right {
    gap: 8px;
    flex-wrap: wrap;
  }
  .top-bar-right a {
    font-size: 0.72rem;
  }
  .top-bar-divider {
    height: 12px;
  }
  .lang-toggle {
    padding: 2px 8px;
    font-size: 0.7rem;
  }

  section {
    padding: 36px 0;
  }

  /* Fix hero banner mobile overflow */
  .hero-banner,
  .hero-banner-slider,
  .hero-slide,
  .hero-static {
    min-height: 300px;
  }

  .hero-content {
    padding: 40px 16px;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 0.88rem;
  }

  /* Fix stats counter on mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  /* Fix course cards */
  .courses-grid,
  .courses-grid-3 {
    grid-template-columns: 1fr;
  }

  /* Fix toppers grid mobile */
  .toppers-full-section .toppers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 1.5rem 0;
  }

  /* Fix batch/countdown mobile */
  .home-countdown {
    padding: 40px 16px;
  }

  .home-countdown h2 {
    font-size: 20px !important;
  }

  .countdown-item {
    min-width: 70px !important;
    padding: 14px 10px !important;
  }

  /* Fix demo class form mobile */
  .home-demo-class form {
    padding: 20px !important;
  }

  /* Fix footer grid mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Fix offer popup mobile */
  .offer-popup-content {
    max-width: 90vw;
    padding: 20px;
  }

  /* Fix chat window mobile */
  .whatsapp-float {
    bottom: 88px;
    right: 16px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .chat-widget-toggle {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }

  .chat-widget-toggle svg {
    width: 24px;
    height: 24px;
  }

  /* Fix video testimonials mobile */
  .home-video-testimonials .video-grid {
    grid-template-columns: 1fr;
  }

  /* Fix featured batches mobile */
  .home-featured-batches .batches-grid {
    grid-template-columns: 1fr;
  }

  /* Fix newsletter mobile */
  .home-newsletter form {
    flex-direction: column;
  }

  /* Fix page banner mobile */
  .page-banner {
    padding: 40px 0 28px;
  }

  .page-banner h1 {
    font-size: 1.5rem;
  }

  /* Fix inner pages mobile */
  .courses-layout {
    grid-template-columns: 1fr;
  }

  .courses-sidebar {
    display: none;
  }

  .course-detail-layout {
    grid-template-columns: 1fr;
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    display: none;
  }

  .admission-layout {
    grid-template-columns: 1fr;
  }
}
