/* ============================================================
   JSM Study Circle — Shared Stylesheet
   Base design system + component library
   ============================================================ */

/* Reset & base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --accent: #7bc5ff;
  --accent-glow: rgba(123, 197, 255, 0.4);
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --bg-dark: #020b18;
  --bg-dark-alt: #030f24;
  --card-dark: rgba(255, 255, 255, 0.03);
  --border-dark: rgba(255, 255, 255, 0.08);
  --text-dark: #0f172a;
  --text-light: #e2edfb;
  --text-muted: #94a3b8;
  --text-muted-light: #cbd5e1;
  --border-radius: 16px;
  --border-radius-lg: 28px;
  --transition: all 0.3s ease;
}

/* ============================================================
   Header & Navigation
   ============================================================ */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(8, 20, 38, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  max-width: 1440px;
  margin: 0 auto;
}

.logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff, #7bc5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  display: inline-block;
  flex-shrink: 0;
}

.logo small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #7bc5ff;
  display: block;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 26px;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-link,
.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover,
.nav-links a:hover {
  color: var(--accent);
}

.nav-link::after,
.nav-links > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-links > a:hover::after,
.nav-link.active::after,
.nav-links > a.active::after {
  width: 100%;
}

.nav-link.active,
.nav-links > a.active {
  color: var(--accent);
  font-weight: 600;
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-trigger-row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dropdown-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted-light);
  font-size: 0.75rem;
  padding: 4px 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, color 0.25s ease;
}

.dropdown-toggle-btn:hover,
.nav-dropdown:hover .dropdown-toggle-btn {
  color: var(--accent);
}

.nav-dropdown.active > .dropdown-trigger-row > .nav-link {
  color: var(--accent);
  font-weight: 600;
}

.nav-dropdown.active > .dropdown-trigger-row > .nav-link::after {
  width: 100%;
}

/* Dropdown Menu (Desktop) */
@media (min-width: 901px) {
  .dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 250px;
    background: rgba(8, 20, 38, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(37, 99, 235, 0.15);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1010;
    display: flex;
    flex-direction: column;
  }

  .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 10px;
    height: 10px;
    background: rgba(8, 20, 38, 0.98);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-dropdown:hover .dropdown-toggle-btn i {
    transform: rotate(180deg);
  }

  .dropdown-menu a {
    padding: 10px 20px;
    color: #cbd5e1 !important;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: block;
  }

  .dropdown-menu a::after {
    display: none !important;
  }

  .dropdown-menu a:hover {
    background: rgba(37, 99, 235, 0.18);
    color: #7bc5ff !important;
    padding-left: 24px;
  }

  .dropdown-menu a.active {
    background: rgba(37, 99, 235, 0.25);
    color: #93c5fd !important;
    font-weight: 600;
  }
}

.btn-nav {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}

.btn-nav:hover {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  transform: translateY(-2px);
  color: #fff !important;
}

.btn-nav::after {
  display: none !important;
}

/* Mobile responsive navigation (<= 900px) */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(6, 16, 31, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 10px;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 24px 20px 48px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .dropdown-trigger-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 4px 0;
  }

  .dropdown-toggle-btn {
    font-size: 0.95rem;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #7bc5ff;
  }

  .nav-dropdown.open .dropdown-toggle-btn i {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    margin: 6px 0 10px 10px;
    padding: 6px 0 6px 12px;
    border-left: 2px solid rgba(123, 197, 255, 0.35);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 10px 10px 0;
  }

  .nav-dropdown.open .dropdown-menu {
    display: flex;
  }

  .dropdown-menu a {
    padding: 8px 10px;
    font-size: 0.9rem;
    color: #cbd5e1;
    display: block;
  }

  .dropdown-menu a::after {
    display: none !important;
  }

  .dropdown-menu a:hover,
  .dropdown-menu a.active {
    color: #7bc5ff !important;
  }

  .nav-links .btn-nav {
    width: 100%;
    text-align: center;
    margin-top: 14px;
    padding: 14px;
    display: block;
  }
}

/* ============================================================
   Hero & Buttons
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 130px 20px 80px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.btn-primary,
.btn-submit {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.35);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary:hover,
.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 16px 34px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid var(--primary-light);
  color: var(--primary-light);
  padding: 10px 24px;
  border-radius: 44px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 10px;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--primary-light);
  color: var(--bg-dark);
}

/* ============================================================
   Sections
   ============================================================ */
section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-muted-light);
}

.section-dark-alt {
  background: var(--bg-dark-alt);
  color: var(--text-muted-light);
}

.section-light {
  background: #f8fafc;
  color: var(--text-dark);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-dark .section-title,
.section-dark-alt .section-title {
  color: #fff;
}

.section-light .section-title {
  color: var(--text-dark);
}

.section-sub {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
  font-size: 1.05rem;
}

.section-dark .section-sub {
  color: var(--text-muted);
}

.section-light .section-sub {
  color: #64748b;
}

/* ============================================================
   Typography
   ============================================================ */
h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-dark h2,
.section-dark-alt h2 {
  color: #fff;
}

h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
   Content Layout Helpers
   ============================================================ */
.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.content-wrapper.single {
  grid-template-columns: 1fr;
  max-width: 800px;
  margin: 0 auto;
}

.content-block h2 {
  color: var(--primary);
  font-size: 1.7rem;
}

.content-block p {
  margin-bottom: 1rem;
  color: var(--text-muted-light);
}

.section-dark .content-block p {
  color: var(--text-muted-light);
}

.section-light .content-block p {
  color: #475569;
}

.content-block ul,
.content-block ol {
  margin: 1rem 0 1rem 1.5rem;
}

.content-block li {
  margin: 0.5rem 0;
}

.prose p {
  margin-bottom: 1rem;
}

.prose ul,
.prose ol {
  margin: 1rem 0 1rem 1.5rem;
}

.prose li {
  margin: 0.4rem 0;
}

.prose h2 {
  color: var(--primary);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.section-dark .prose h2 {
  color: var(--accent);
}

.prose h3 {
  color: var(--primary-dark);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.section-dark .prose h3 {
  color: var(--accent);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.prose th,
.prose td {
  border: 1px solid #cbd5e1;
  padding: 0.6rem 0.8rem;
  text-align: left;
  font-size: 0.9rem;
}

.section-light .prose th,
.section-light .prose td {
  border-color: #cbd5e1;
}

.section-dark .prose th,
.section-dark .prose td {
  border-color: var(--border-dark);
}

.prose th {
  background: rgba(37, 99, 235, 0.1);
  font-weight: 600;
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.breadcrumb a {
  color: var(--primary-light);
  font-weight: 500;
}

.breadcrumb span {
  color: var(--text-muted);
}

.breadcrumb i {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* ============================================================
   Card Grid
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 28px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-light);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: #eff6ff;
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.card h3 {
  color: var(--text-dark);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card p {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.6;
  flex: 1;
}

.card ul {
  list-style: none;
  margin-top: auto;
}

.card ul li {
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #334155;
  font-weight: 500;
}

.card ul li i {
  color: #16a34a;
}

/* ============================================================
   CTA Banner
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
  padding: 50px 30px;
  border-radius: var(--border-radius-lg);
  margin: 60px 0;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-banner p {
  color: #cbd5e1;
  font-size: 1.1rem;
  margin-bottom: 24px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.section-light .faq-item {
  background: #fff;
  border-color: #e2e8f0;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.section-dark .faq-question,
.section-dark-alt .faq-question {
  color: #fff;
}

.section-light .faq-question {
  color: var(--text-dark);
}

.faq-question:hover {
  color: var(--primary-light);
}

.faq-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted-light);
}

.section-light .faq-answer {
  color: #475569;
}

.faq-item.active .faq-answer {
  max-height: 800px;
  padding: 0 24px 24px;
}

.faq-answer p {
  margin-bottom: 0.75rem;
}

.faq-answer ul,
.faq-answer ol {
  margin: 0.75rem 0 0.75rem 1.5rem;
}

/* ============================================================
   Contact / Enquiry
   ============================================================ */
.enquiry-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.enquiry-info h3 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 800;
}

.enquiry-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.enquiry-perks {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.enquiry-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted-light);
  font-size: 0.95rem;
}

.enquiry-perks i {
  color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-group select option {
  background: #0a192f;
  color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  background: rgba(255, 255, 255, 0.08);
}

.form-error {
  color: #f87171;
  font-size: 0.85rem;
  margin-top: 4px;
  display: none;
}

/* ============================================================
   Contact Details & Map
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  background: rgba(255, 255, 255, 0.02);
  padding: 32px;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-details p {
  color: var(--text-muted-light);
  font-size: 1.05rem;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-details i {
  color: var(--primary-light);
  font-size: 1.2rem;
  margin-top: 2px;
}

.map-frame {
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================================
   Trust Badges / Stats
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-item h4 {
  font-size: 2.2rem;
  color: var(--primary-light);
  font-weight: 800;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   Badge Clusters & Quick Pills
   ============================================================ */
.badge-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(123, 197, 255, 0.15);
  border: 1px solid rgba(123, 197, 255, 0.35);
  color: var(--accent);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.badge-rating {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--gold-light);
}

.quick-pills {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.pill {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pill i {
  color: var(--accent);
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   WhatsApp Float
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: #010610;
  text-align: center;
  padding: 36px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: left;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-col .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-col .contact-item i {
  color: var(--primary-light);
  margin-top: 2px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .content-wrapper {
    grid-template-columns: 1fr;
  }
  .enquiry-wrapper {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 580px) {
  .hero h1 {
    font-size: 2rem;
  }
  .container {
    padding: 0 16px;
  }
  nav {
    padding: 14px 20px;
  }
  .badge-cluster,
  .hero-btns,
  .quick-pills {
    flex-direction: column;
    align-items: center;
  }
  .hero-btns {
    gap: 10px;
  }
}

/* ============================================================
   Faculty & Achievers Cards
   ============================================================ */
.faculty-card {
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--border-radius);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
}

.faculty-card:hover {
  transform: translateY(-5px);
  border-color: rgba(123, 197, 255, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.faculty-round-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid rgba(123, 197, 255, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.faculty-card h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 6px;
  font-weight: 700;
}

.faculty-card p {
  color: var(--text-muted-light);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.faculty-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.15);
  color: #7bc5ff;
  border: 1px solid rgba(123, 197, 255, 0.3);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.achievers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.achiever-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.achiever-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.achiever-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid #3b82f6;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.2);
}

.achiever-card h4 {
  color: #0f172a;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.achiever-card .subject-detail {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.4;
}

