/*
Theme Name: Nexgen Template
Theme URI: https://nexgenlearning.co.in
Author: NexGen Learning Pvt. Ltd.
Author URI: https://nexgenlearning.co.in
Description: Official WordPress FSE block theme for NexGen Learning government exam coaching institute, Ranchi, Jharkhand.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nexgen-template
Tags: full-site-editing, block-themes, education, coaching, one-column, custom-colors, custom-logo, custom-menu
*/

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

/* =============================================
   ROOT VARIABLES
   ============================================= */
:root {
  --nexgen-red:         #CC0000;
  --nexgen-red-dark:    #8B0000;
  --nexgen-green:       #138808;
  --nexgen-green-dark:  #0d6605;
  --nexgen-dark:        #1a1a1a;
  --nexgen-white:       #FFFFFF;
  --nexgen-muted:       #F5F5F5;
  --nexgen-muted-text:  #737373;
  --nexgen-border:      #E5E5E5;
  --nexgen-whatsapp:    #25D366;
  --nexgen-font:        'Poppins', sans-serif;
  --nexgen-radius:      0px;
  --nexgen-shadow:      0 2px 8px rgba(0,0,0,0.08);
  --nexgen-shadow-md:   0 4px 16px rgba(0,0,0,0.12);
  --nexgen-shadow-lg:   0 8px 32px rgba(0,0,0,0.16);
}

/* =============================================
   BASE STYLES
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--nexgen-font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--nexgen-dark);
  background: var(--nexgen-white);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--nexgen-font);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 0;
  color: var(--nexgen-dark);
}

a {
  color: var(--nexgen-red);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--nexgen-red-dark); }

img { max-width: 100%; height: auto; display: block; }

p { margin: 0 0 1rem; }

/* =============================================
   WORDPRESS BLOCK ALIGNMENTS
   ============================================= */
.wp-block-group.alignfull,
.wp-block-cover.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* =============================================
   HEADER
   ============================================= */
.nexgen-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nexgen-white);
  border-bottom: 2px solid var(--nexgen-red);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  min-height: 80px;
}

.nexgen-header .wp-block-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 0 2rem;
  max-width: 1320px;
  margin: 0 auto;
  gap: 2rem;
}

/* Logo */
.nexgen-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.nexgen-logo-wrap .site-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--nexgen-red);
  white-space: nowrap;
  line-height: 1.2;
}

/* Navigation */
.wp-block-navigation {
  font-size: 0.875rem;
  font-weight: 600;
}
.wp-block-navigation a {
  color: var(--nexgen-dark);
  padding: 0.5rem 0.75rem;
  transition: color 0.2s;
}
.wp-block-navigation a:hover,
.wp-block-navigation .current-menu-item > a {
  color: var(--nexgen-red);
}

/* Dropdown */
.wp-block-navigation__submenu-container {
  background: var(--nexgen-white);
  border-top: 2px solid var(--nexgen-red);
  box-shadow: var(--nexgen-shadow-md);
  min-width: 220px;
  border-radius: 0 0 4px 4px;
}
.wp-block-navigation__submenu-container a {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: block;
  border-bottom: 1px solid var(--nexgen-border);
}
.wp-block-navigation__submenu-container a:last-child { border-bottom: none; }

/* Mobile menu overlay */
.wp-block-navigation__responsive-container.is-menu-open {
  background: var(--nexgen-red);
  color: var(--nexgen-white);
}
.wp-block-navigation__responsive-container.is-menu-open a { color: var(--nexgen-white); }
.wp-block-navigation__responsive-container-close svg { fill: var(--nexgen-white); }

/* =============================================
   BUTTONS
   ============================================= */
.wp-block-buttons .wp-block-button__link,
.nexgen-btn {
  font-family: var(--nexgen-font);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  display: inline-block;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1.4;
}

/* Primary - Red */
.wp-block-button.is-style-primary .wp-block-button__link,
.nexgen-btn-primary {
  background: var(--nexgen-red);
  color: var(--nexgen-white);
  border-color: var(--nexgen-red);
}
.wp-block-button.is-style-primary .wp-block-button__link:hover,
.nexgen-btn-primary:hover {
  background: var(--nexgen-red-dark);
  border-color: var(--nexgen-red-dark);
  color: var(--nexgen-white);
}

/* Secondary - Green */
.wp-block-button.is-style-secondary .wp-block-button__link,
.nexgen-btn-secondary {
  background: var(--nexgen-green);
  color: var(--nexgen-white);
  border-color: var(--nexgen-green);
}
.wp-block-button.is-style-secondary .wp-block-button__link:hover,
.nexgen-btn-secondary:hover {
  background: var(--nexgen-green-dark);
  border-color: var(--nexgen-green-dark);
  color: var(--nexgen-white);
}

/* Outline - White */
.wp-block-button.is-style-outline .wp-block-button__link,
.nexgen-btn-outline {
  background: transparent;
  color: var(--nexgen-white);
  border-color: var(--nexgen-white);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.nexgen-btn-outline:hover {
  background: var(--nexgen-white);
  color: var(--nexgen-red);
}

/* Enquire Now trigger */
.enquire-now-btn { cursor: pointer; }

/* =============================================
   SECTIONS
   ============================================= */
.nexgen-section {
  padding: 5rem 0;
}
.nexgen-section-sm { padding: 3rem 0; }
.nexgen-section-lg { padding: 7rem 0; }

.nexgen-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nexgen-section-title {
  text-align: center;
  margin-bottom: 0.75rem;
  font-size: 2rem;
  color: var(--nexgen-dark);
}
.nexgen-section-subtitle {
  text-align: center;
  color: var(--nexgen-muted-text);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

/* Red heading underline */
.nexgen-heading-underline {
  display: inline-block;
  border-bottom: 3px solid var(--nexgen-red);
  padding-bottom: 0.4rem;
  margin-bottom: 1.5rem;
}

/* =============================================
   HERO
   ============================================= */
.nexgen-hero {
  background: var(--nexgen-red);
  background-image: linear-gradient(135deg, #CC0000 0%, #8B0000 100%);
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.nexgen-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.nexgen-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.nexgen-hero h1 {
  color: var(--nexgen-white);
  font-size: clamp(2.25rem, 5vw, 4rem);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nexgen-hero p {
  color: rgba(255,255,255,0.88);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* =============================================
   STATS BAR
   ============================================= */
.nexgen-stats {
  background: var(--nexgen-white);
  border-top: 1px solid var(--nexgen-border);
  border-bottom: 1px solid var(--nexgen-border);
  padding: 2.5rem 1.5rem;
}
.nexgen-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}
.nexgen-stat-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--nexgen-red);
  line-height: 1;
  margin-bottom: 0.375rem;
}
.nexgen-stat-label {
  font-size: 0.9rem;
  color: var(--nexgen-muted-text);
  font-weight: 500;
}
@media (max-width: 768px) {
  .nexgen-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   CARDS
   ============================================= */
.nexgen-card {
  background: var(--nexgen-white);
  border: 1px solid var(--nexgen-border);
  border-radius: 4px;
  padding: 1.75rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
}
.nexgen-card:hover {
  box-shadow: var(--nexgen-shadow-md);
  transform: translateY(-3px);
}
.nexgen-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(204, 0, 0, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.nexgen-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--nexgen-dark);
}
.nexgen-card p {
  color: var(--nexgen-muted-text);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.nexgen-card-link {
  color: var(--nexgen-red);
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.nexgen-card-link::after { content: ' →'; }

/* Course cards grid */
.nexgen-courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}
@media (max-width: 992px) {
  .nexgen-courses-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .nexgen-courses-grid { grid-template-columns: 1fr; }
}

/* =============================================
   BADGE / TAG
   ============================================= */
.nexgen-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 2px;
  background: rgba(204,0,0,0.1);
  color: var(--nexgen-red);
  margin-bottom: 0.75rem;
}
.nexgen-badge-green {
  background: rgba(19,136,8,0.1);
  color: var(--nexgen-green);
}

/* =============================================
   RESULTS / SELECTIONS
   ============================================= */
.nexgen-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1140px;
  margin: 0 auto;
}
.nexgen-result-card {
  background: var(--nexgen-white);
  border: 1px solid var(--nexgen-border);
  border-top: 3px solid var(--nexgen-red);
  padding: 1.25rem;
  text-align: center;
  border-radius: 4px;
}
.nexgen-result-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.75rem;
  border: 2px solid var(--nexgen-red);
}
.nexgen-result-card .name { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.25rem; }
.nexgen-result-card .exam { font-size: 0.8rem; color: var(--nexgen-muted-text); }
.nexgen-result-card .rank { font-weight: 700; color: var(--nexgen-red); font-size: 0.875rem; margin-top: 0.5rem; }
@media (max-width: 768px) {
  .nexgen-results-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.nexgen-testimonial {
  background: var(--nexgen-white);
  border: 1px solid var(--nexgen-border);
  border-left: 4px solid var(--nexgen-red);
  padding: 1.5rem;
  border-radius: 0 4px 4px 0;
}
.nexgen-testimonial p {
  font-style: italic;
  color: var(--nexgen-dark);
  margin-bottom: 1rem;
}
.nexgen-testimonial .author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--nexgen-red);
}

/* =============================================
   FORM STYLES
   ============================================= */
.nexgen-form input,
.nexgen-form select,
.nexgen-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--nexgen-font);
  font-size: 0.95rem;
  border: 1px solid var(--nexgen-border);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 1rem;
  background: var(--nexgen-white);
}
.nexgen-form input:focus,
.nexgen-form select:focus,
.nexgen-form textarea:focus {
  border-color: var(--nexgen-red);
}
.nexgen-form textarea { min-height: 120px; resize: vertical; }
.nexgen-form-btn {
  width: 100%;
  padding: 0.875rem;
  background: var(--nexgen-red);
  color: var(--nexgen-white);
  border: none;
  font-family: var(--nexgen-font);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.nexgen-form-btn:hover { background: var(--nexgen-red-dark); }

/* =============================================
   FOOTER
   ============================================= */
.nexgen-footer {
  background: var(--nexgen-dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 2rem;
}
.nexgen-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.nexgen-footer h4 {
  color: var(--nexgen-white);
  font-size: 1.05rem;
  font-weight: 600;
  border-bottom: 2px solid var(--nexgen-red);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  display: inline-block;
}
.nexgen-footer a {
  color: rgba(255,255,255,0.65);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nexgen-footer a:hover { color: var(--nexgen-red); }
.nexgen-footer p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.nexgen-footer-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--nexgen-white);
  margin-bottom: 0.5rem;
}
.nexgen-footer-tagline {
  color: rgba(255,255,255,0.5);
  font-style: italic;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

/* Social icons */
.nexgen-social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.nexgen-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nexgen-white);
  font-size: 1rem;
  transition: background 0.2s;
  text-decoration: none;
}
.nexgen-social-icon:hover {
  background: var(--nexgen-red);
  color: var(--nexgen-white);
}

/* Footer bottom bar */
.nexgen-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.nexgen-footer-bottom p {
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  margin: 0;
}
.nexgen-footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.nexgen-footer-bottom-links a {
  color: rgba(255,255,255,0.45) !important;
  font-size: 0.85rem;
  display: inline !important;
}
.nexgen-footer-bottom-links a:hover { color: var(--nexgen-red) !important; }

@media (max-width: 900px) {
  .nexgen-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
  .nexgen-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .nexgen-footer { padding-bottom: 5rem; } /* Mobile bar clearance */
}

/* =============================================
   FLOATING: WHATSAPP BUTTON
   ============================================= */
.nexgen-whatsapp-btn {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--nexgen-whatsapp);
  color: var(--nexgen-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nexgen-whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  color: var(--nexgen-white);
}
.nexgen-whatsapp-btn svg { width: 28px; height: 28px; fill: white; }

/* =============================================
   FLOATING: MOBILE STICKY BAR
   ============================================= */
.nexgen-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  height: 60px;
  z-index: 998;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.12);
}
.nexgen-mobile-bar-call,
.nexgen-mobile-bar-enquire {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--nexgen-font);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}
.nexgen-mobile-bar-call {
  background: var(--nexgen-red);
  color: var(--nexgen-white);
}
.nexgen-mobile-bar-enquire {
  background: var(--nexgen-green);
  color: var(--nexgen-white);
}
.nexgen-mobile-bar-call:hover,
.nexgen-mobile-bar-enquire:hover { opacity: 0.9; color: white; }
@media (min-width: 768px) {
  .nexgen-mobile-bar { display: none; }
}

/* =============================================
   ENQUIRY POPUP MODAL
   ============================================= */
#nexgen-enquiry-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  display: none;
}
.nexgen-popup-inner {
  background: var(--nexgen-white);
  max-width: 500px;
  width: 90%;
  padding: 2.5rem 2rem;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  border-top: 4px solid var(--nexgen-red);
}
.nexgen-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--nexgen-muted-text);
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.nexgen-popup-close:hover { background: var(--nexgen-muted); }
.nexgen-popup-inner h3 {
  color: var(--nexgen-red);
  margin-bottom: 0.375rem;
  font-size: 1.375rem;
}
.nexgen-popup-inner p {
  color: var(--nexgen-muted-text);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* =============================================
   COURSE PAGE SPECIFIC
   ============================================= */
.nexgen-course-hero {
  background: var(--nexgen-red);
  background-image: linear-gradient(135deg, #CC0000 0%, #8B0000 100%);
  padding: 4rem 1.5rem;
  text-align: center;
}
.nexgen-course-hero h1 { color: var(--nexgen-white); margin-bottom: 0.75rem; }
.nexgen-course-hero p  { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto; }

/* Breadcrumb */
.nexgen-breadcrumb {
  background: var(--nexgen-muted);
  padding: 0.875rem 0;
  font-size: 0.875rem;
}
.nexgen-breadcrumb a { color: var(--nexgen-red); }
.nexgen-breadcrumb span { color: var(--nexgen-muted-text); }

/* Exam pattern table */
.nexgen-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.nexgen-table th {
  background: var(--nexgen-red);
  color: var(--nexgen-white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
}
.nexgen-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--nexgen-border);
}
.nexgen-table tr:nth-child(even) td { background: var(--nexgen-muted); }

/* Accordion */
.nexgen-accordion { border: 1px solid var(--nexgen-border); border-radius: 4px; overflow: hidden; }
.nexgen-accordion-item { border-bottom: 1px solid var(--nexgen-border); }
.nexgen-accordion-item:last-child { border-bottom: none; }
.nexgen-accordion-header {
  background: var(--nexgen-white);
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
  user-select: none;
}
.nexgen-accordion-header:hover { background: var(--nexgen-muted); }
.nexgen-accordion-header.active { background: var(--nexgen-red); color: var(--nexgen-white); }
.nexgen-accordion-header .toggle { font-size: 1.25rem; line-height: 1; }
.nexgen-accordion-body {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
}
.nexgen-accordion-body.open {
  max-height: 500px;
  padding: 1.25rem;
}

/* =============================================
   BLOG
   ============================================= */
.nexgen-blog-card {
  background: var(--nexgen-white);
  border: 1px solid var(--nexgen-border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.nexgen-blog-card:hover {
  box-shadow: var(--nexgen-shadow-md);
  transform: translateY(-3px);
}
.nexgen-blog-card img { width: 100%; height: 200px; object-fit: cover; }
.nexgen-blog-card-body { padding: 1.25rem; }
.nexgen-blog-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.nexgen-blog-card p { font-size: 0.875rem; color: var(--nexgen-muted-text); margin-bottom: 1rem; }
.nexgen-blog-meta { font-size: 0.8rem; color: var(--nexgen-muted-text); margin-bottom: 0.75rem; }

/* Category filter tabs */
.nexgen-filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.nexgen-filter-tab {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--nexgen-border);
  background: var(--nexgen-white);
  font-family: var(--nexgen-font);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
}
.nexgen-filter-tab:hover, .nexgen-filter-tab.active {
  background: var(--nexgen-red);
  border-color: var(--nexgen-red);
  color: var(--nexgen-white);
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.nexgen-contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.nexgen-contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(204,0,0,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
}
.nexgen-contact-text strong { display: block; font-size: 0.875rem; color: var(--nexgen-dark); }
.nexgen-contact-text span { color: var(--nexgen-muted-text); font-size: 0.875rem; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.nexgen-faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.nexgen-faculty-card {
  text-align: center;
  border: 1px solid var(--nexgen-border);
  border-radius: 4px;
  padding: 1.5rem 1rem;
}
.nexgen-faculty-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--nexgen-red);
}
.nexgen-faculty-card h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.nexgen-faculty-card span { font-size: 0.825rem; color: var(--nexgen-muted-text); }

@media (max-width: 768px) {
  .nexgen-faculty-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   UTILITY
   ============================================= */
.nexgen-text-center { text-align: center; }
.nexgen-text-red    { color: var(--nexgen-red); }
.nexgen-text-green  { color: var(--nexgen-green); }
.nexgen-bg-muted    { background: var(--nexgen-muted); }
.nexgen-bg-red      { background: var(--nexgen-red); }
.nexgen-bg-dark     { background: var(--nexgen-dark); }
.nexgen-mt-1 { margin-top: 1rem; }
.nexgen-mt-2 { margin-top: 2rem; }
.nexgen-mt-3 { margin-top: 3rem; }
.nexgen-mb-1 { margin-bottom: 1rem; }
.nexgen-mb-2 { margin-bottom: 2rem; }
.nexgen-mb-3 { margin-bottom: 3rem; }

/* =============================================
   RESPONSIVE UTILITIES
   ============================================= */
@media (max-width: 768px) {
  .nexgen-section { padding: 3rem 0; }
  .nexgen-hero    { min-height: 400px; padding: 3rem 1.25rem; }
  .nexgen-hero h1 { font-size: 2rem; }
  .hide-mobile    { display: none !important; }
}
@media (min-width: 769px) {
  .hide-desktop { display: none !important; }
}
