/* ============================================================
   COLLEGE PORTAL - MAIN STYLESHEET
   Designed and Maintained by Vikram I Mirji (www.vikrammirji.in)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Anek+Kannada:wght@300;400;500;600;700;800&family=Baloo+Tamma+2:wght@400;500;600;700;800&display=swap');

/* ============================================================
   CSS COLOR VARIABLES (Global - Easy to modify)
   ============================================================ */
:root {
  /* Header Colors */
  --header-bg: #1a1a2e;
  --header-text: #ffffff;
  --header-accent: #e8a000;
  --header-topbar-bg: #0f0f1a;
  --header-topbar-text: #cccccc;

  /* Navigation / Menu Colors */
  --menu-bg: #16213e;
  --menu-text: #f0f0f0;
  --menu-hover-bg: #e8a000;
  --menu-hover-text: #1a1a2e;
  --menu-active-bg: #e8a000;
  --menu-active-text: #1a1a2e;
  --menu-dropdown-bg: #0f3460;
  --menu-dropdown-text: #ffffff;
  --menu-dropdown-hover: #e8a000;
  --menu-border: #e8a000;

  /* Home / Page Content Colors */
  --content-bg: #ffffff;
  --content-alt-bg: #f8f5ef;
  --content-card-bg: #ffffff;
  --content-card-border: #e8d5b0;
  --content-hero-bg: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  --content-highlight: #e8a000;
  --content-section-bg: #faf7f2;

  /* Footer Colors */
  --footer-bg: #0f0f1a;
  --footer-text: #cccccc;
  --footer-heading: #e8a000;
  --footer-link: #a8c4e0;
  --footer-link-hover: #e8a000;
  --footer-border: #2a2a4e;
  --footer-credit-bg: #080810;
  --footer-credit-text: #888888;

  /* Heading Colors H1–H6 */
  --h1-color: #1a1a2e;
  --h2-color: #16213e;
  --h3-color: #0f3460;
  --h4-color: #e8a000;
  --h5-color: #333333;
  --h6-color: #555555;

  /* Paragraph / Body Text */
  --p-color: #3d3d3d;
  --p-lead-color: #1a1a2e;
  --p-muted-color: #777777;
  --p-link-color: #0f3460;
  --p-link-hover: #e8a000;

  /* Utility */
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.18);
  --transition: 0.3s ease;
  --font-heading: 'Anek Kannada', sans-serif;
  --font-body: 'Baloo Tamma 2', sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--p-color);
  background: var(--content-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

h1 { color: var(--h1-color); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
h2 { color: var(--h2-color); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
h3 { color: var(--h3-color); font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-weight: 600; }
h4 { color: var(--h4-color); font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 600; }
h5 { color: var(--h5-color); font-size: 1.1rem; font-weight: 600; }
h6 { color: var(--h6-color); font-size: 1rem; font-weight: 600; }

p { color: var(--p-color); margin-bottom: 1rem; font-size: 1rem; }
p.lead { color: var(--p-lead-color); font-size: 1.15rem; font-weight: 500; }
.text-muted { color: var(--p-muted-color) !important; }

a { color: var(--p-link-color); text-decoration: none; transition: color var(--transition); }
a:hover, a:focus { color: var(--p-link-hover); text-decoration: underline; }

/* ============================================================
   ACCESSIBILITY (Divyangjan / Screen Reader)
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Skip to main content */
.skip-link {
  position: absolute; top: -40px; left: 0; z-index: 9999;
  background: var(--menu-hover-bg); color: var(--menu-hover-text);
  padding: 8px 16px; font-weight: 700; border-radius: 0 0 var(--border-radius) 0;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* Focus styles */
:focus-visible {
  outline: 3px solid var(--content-highlight);
  outline-offset: 3px;
}

/* High contrast text helper */
.accessible-text { color: var(--p-color); }

/* ============================================================
   TOPBAR
   ============================================================ */
#topbar {
  background: var(--header-topbar-bg);
  color: var(--header-topbar-text);
  font-size: 0.82rem;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

#topbar a { color: var(--header-topbar-text); transition: color var(--transition); }
#topbar a:hover { color: var(--header-accent); text-decoration: none; }

.topbar-contact a { margin-right: 18px; }
.topbar-contact i { margin-right: 5px; color: var(--header-accent); }

/* Language Toggle */
#lang-toggle {
  background: none;
  border: 1.5px solid var(--header-accent);
  color: var(--header-accent);
  padding: 2px 14px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
#lang-toggle:hover, #lang-toggle:focus {
  background: var(--header-accent);
  color: var(--header-bg);
}

/* Accessibility toolbar */
#access-toolbar {
  display: inline-flex; gap: 6px; align-items: center; margin-right: 12px;
}
#access-toolbar button {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--header-topbar-text);
  width: 26px; height: 26px;
  border-radius: 4px; cursor: pointer;
  font-size: 0.75rem; font-weight: 700;
  transition: all var(--transition);
  font-family: var(--font-body);
  display: flex; align-items: center; justify-content: center;
}
#access-toolbar button:hover {
  background: var(--header-accent); color: var(--header-bg); border-color: var(--header-accent);
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  background: var(--header-bg);
  padding: 16px 0;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 100;
}

#site-header .college-logo {
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 3px solid var(--header-accent);
  object-fit: cover;
  box-shadow: 0 0 0 4px rgba(232,160,0,0.2);
}

#site-header .college-logo-placeholder {
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 3px solid var(--header-accent);
  background: linear-gradient(135deg, #2a2a5e, #0f3460);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--header-accent);
  box-shadow: 0 0 0 4px rgba(232,160,0,0.2);
  flex-shrink: 0;
}

.college-name-block { padding-left: 16px; }
.college-name-block .sangha-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--header-accent);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.college-name-block h1 {
  color: var(--header-text);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 2px 0;
}
.college-name-block .sub-name {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  font-family: var(--font-body);
}
.college-name-block .affiliation {
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
}

/* NAAC / University badge */
.college-badges { text-align: right; }
.college-badges .badge-item {
  display: inline-block;
  background: rgba(232,160,0,0.15);
  border: 1px solid rgba(232,160,0,0.4);
  color: var(--header-accent);
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 20px;
  margin-left: 6px;
  font-weight: 600;
}
.estd-text {
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
  margin-top: 4px;
  display: block;
}

/* ============================================================
   NAVIGATION / MENU
   ============================================================ */
#main-nav {
  background: var(--menu-bg);
  border-bottom: 3px solid var(--menu-border);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

#main-nav .navbar-toggler {
  border-color: var(--menu-hover-bg);
  color: var(--menu-text);
  padding: 6px 10px;
}
#main-nav .navbar-toggler-icon {
  filter: invert(1);
}

#main-nav .nav-link {
  color: var(--menu-text) !important;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 14px 14px !important;
  position: relative;
  transition: all var(--transition);
  white-space: nowrap;
}

#main-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 3px;
  background: var(--menu-hover-bg);
  transition: left var(--transition), right var(--transition);
  border-radius: 3px 3px 0 0;
}

#main-nav .nav-link:hover::after,
#main-nav .nav-link:focus::after,
#main-nav .nav-link.active::after { left: 0; right: 0; }

#main-nav .nav-link:hover,
#main-nav .nav-link:focus,
#main-nav .nav-link.active {
  color: var(--menu-hover-text) !important;
  background: rgba(232,160,0,0.12);
}


/* ============================================================
   PAGE LOADER
   ============================================================ */
#page-loader {
  display: none;
  text-align: center;
  padding: 60px 20px;
}
#page-loader .spinner {
  width: 48px; height: 48px;
  border: 4px solid var(--content-alt-bg);
  border-top-color: var(--content-highlight);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   MAIN CONTENT AREA
   ============================================================ */
#main-content {
  min-height: 60vh;
  outline: none;
}

/* ============================================================
   HERO / BANNER SECTION
   ============================================================ */
.hero-section {
  background: var(--content-hero-bg);
  color: #fff;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 70% 50%, rgba(232,160,0,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-section .hero-badge {
  display: inline-block;
  background: rgba(232,160,0,0.2);
  border: 1px solid rgba(232,160,0,0.5);
  color: var(--header-accent);
  font-size: 0.82rem;
  padding: 4px 16px;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-section h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
}
.hero-section .hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin: 16px 0 28px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-stat {
  text-align: center;
}
.hero-stat .stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--header-accent);
  line-height: 1;
}
.hero-stat .stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  margin-top: 4px;
}

/* Decorative Pattern */
.hero-pattern {
  position: absolute; right: 0; top: 0;
  width: 50%; height: 100%;
  background-image: 
    radial-gradient(circle at 80% 30%, rgba(232,160,0,0.12) 0%, transparent 50%),
    linear-gradient(45deg, transparent 49%, rgba(255,255,255,0.02) 50%, transparent 51%);
  pointer-events: none;
}

/* ============================================================
   SECTION STYLES
   ============================================================ */
.section-header {
  margin-bottom: 40px;
  text-align: center;
}
.section-header .section-tag {
  display: inline-block;
  background: rgba(232,160,0,0.1);
  color: var(--content-highlight);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  border: 1px solid rgba(232,160,0,0.3);
  margin-bottom: 12px;
}
.section-header h2 { color: var(--h2-color); }
.section-header .divider {
  width: 60px; height: 4px;
  background: var(--content-highlight);
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-pad { padding: 64px 0; }
.section-alt { background: var(--content-section-bg); }

/* ============================================================
   CARDS
   ============================================================ */
.info-card {
  background: var(--content-card-bg);
  border: 1px solid var(--content-card-border);
  border-radius: var(--border-radius-lg);
  padding: 28px 24px;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.info-card .card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--menu-bg), var(--h3-color));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem; color: var(--header-accent);
}
.info-card h4 { font-size: 1.1rem; margin-bottom: 8px; }

/* Feature highlight cards */
.feature-card {
  background: linear-gradient(135deg, var(--menu-bg) 0%, var(--h3-color) 100%);
  color: #fff;
  border-radius: var(--border-radius-lg);
  padding: 32px 24px;
  height: 100%;
  text-align: center;
  transition: transform var(--transition);
  box-shadow: var(--shadow-md);
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card h4 { color: var(--header-accent) !important; }
.feature-card p { color: rgba(255,255,255,0.8); }
.feature-card .feature-icon {
  font-size: 2.5rem;
  color: var(--header-accent);
  margin-bottom: 16px;
}

/* Achievement cards */
.achievement-badge {
  background: var(--content-card-bg);
  border-left: 4px solid var(--content-highlight);
  border-radius: var(--border-radius);
  padding: 16px 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: flex-start; gap: 12px;
}
.achievement-badge i {
  color: var(--content-highlight);
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Course cards */
.course-card {
  background: var(--content-card-bg);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  height: 100%;
  border: 1px solid var(--content-card-border);
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.course-card .course-header {
  background: linear-gradient(135deg, var(--menu-bg), var(--h3-color));
  color: #fff; padding: 20px;
}
.course-card .course-header h4 { color: var(--header-accent) !important; margin-bottom: 4px; }
.course-card .course-body { padding: 20px; }
.course-card .course-intake {
  display: inline-flex; align-items: center;
  background: rgba(232,160,0,0.1);
  color: var(--content-highlight);
  border: 1px solid rgba(232,160,0,0.3);
  padding: 4px 12px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 700;
  margin-top: 8px;
}

/* Table */
.styled-table { width: 100%; border-collapse: collapse; }
.styled-table th {
  background: var(--menu-bg);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
}
.styled-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--content-card-border);
  color: var(--p-color);
}
.styled-table tr:nth-child(even) td { background: var(--content-alt-bg); }
.styled-table tr:hover td { background: rgba(232,160,0,0.05); }

/* Timeline */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute;
  left: 10px; top: 0; bottom: 0;
  width: 2px; background: var(--content-highlight);
  opacity: 0.3;
}
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-item::before {
  content: ''; position: absolute;
  left: -26px; top: 6px;
  width: 12px; height: 12px;
  background: var(--content-highlight);
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(232,160,0,0.2);
}
.timeline-item .year {
  font-family: var(--font-heading);
  font-size: 0.78rem; font-weight: 700;
  color: var(--content-highlight);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 4px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-block {
  background: var(--content-card-bg);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--content-card-border);
  height: 100%;
}
.contact-item {
  display: flex; align-items: flex-start;
  gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--content-card-border);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--menu-bg), var(--h3-color));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--header-accent); font-size: 1.1rem;
}
.map-embed {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-embed iframe {
  width: 100%; height: 360px; border: none; display: block;
}

/* ============================================================
   NSS / CELLS PAGE
   ============================================================ */
.cell-card {
  background: var(--content-card-bg);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--content-card-border);
  margin-bottom: 24px;
}
.cell-card .cell-header {
  background: linear-gradient(135deg, var(--menu-bg), var(--h3-color));
  color: #fff;
  padding: 20px 24px;
  display: flex; align-items: center; gap: 16px;
}
.cell-header .cell-icon {
  width: 48px; height: 48px;
  background: rgba(232,160,0,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--header-accent);
  flex-shrink: 0;
}
.cell-header h4 { color: var(--header-accent) !important; margin-bottom: 2px; }
.cell-header p { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin: 0; }
.cell-body { padding: 24px; }
.cell-body ul { padding-left: 0; list-style: none; }
.cell-body ul li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  border-bottom: 1px dashed var(--content-card-border);
  font-size: 0.9rem;
}
.cell-body ul li:last-child { border-bottom: none; }
.cell-body ul li::before {
  content: '✦';
  position: absolute; left: 0;
  color: var(--content-highlight);
  font-size: 0.7rem;
  top: 9px;
}

/* ============================================================
   PRINCIPAL MESSAGE
   ============================================================ */
.principal-card {
  background: var(--content-card-bg);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.principal-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 4px solid var(--header-accent);
  background: linear-gradient(135deg, var(--menu-bg), var(--h3-color));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--header-accent);
  box-shadow: var(--shadow-md);
  margin: 0 auto 16px;
}
.quote-block {
  background: linear-gradient(135deg, var(--menu-bg), var(--h3-color));
  color: rgba(255,255,255,0.85);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  position: relative;
}
.quote-block::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 6rem;
  color: rgba(232,160,0,0.2);
  position: absolute;
  top: -10px; left: 16px;
  line-height: 1;
}
.quote-block p { color: rgba(255,255,255,0.9); font-size: 1.05rem; position: relative; z-index: 1; }

/* ============================================================
   PLACEMENT COMPANIES
   ============================================================ */
.company-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--content-card-bg);
  border: 1px solid var(--content-card-border);
  border-radius: 30px;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  margin: 6px;
  color: var(--h2-color);
  transition: all var(--transition);
}
.company-badge:hover {
  border-color: var(--content-highlight);
  box-shadow: 0 0 0 3px rgba(232,160,0,0.1);
}
.company-badge i { color: var(--content-highlight); }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 56px 0 0;
}

#site-footer h5 {
  color: var(--footer-heading);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--footer-border);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

#site-footer p, #site-footer li, #site-footer a {
  font-size: 0.88rem;
  line-height: 1.8;
}

#site-footer a { color: var(--footer-link); }
#site-footer a:hover { color: var(--footer-link-hover); text-decoration: none; }

.footer-links { list-style: none; padding: 0; }
.footer-links li { padding: 3px 0; }
.footer-links li::before {
  content: '›';
  color: var(--footer-heading);
  margin-right: 6px;
  font-weight: 700;
}

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 10px; font-size: 0.88rem;
}
.footer-contact-item i { color: var(--footer-heading); margin-top: 3px; flex-shrink: 0; }

.footer-divider {
  border-color: var(--footer-border);
  margin: 32px 0 0;
}

.footer-bottom {
  background: var(--footer-credit-bg);
  padding: 14px 0;
}
.footer-bottom p {
  color: var(--footer-credit-text);
  margin: 0; font-size: 0.82rem;
  text-align: center;
}
.footer-bottom a { color: var(--footer-heading); }
.footer-bottom a:hover { color: #fff; }

.social-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.social-links a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--footer-border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--footer-text);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.social-links a:hover {
  background: var(--footer-heading);
  border-color: var(--footer-heading);
  color: var(--footer-bg);
  transform: translateY(-2px);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--content-highlight);
  color: var(--header-bg);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 9000;
  opacity: 0; pointer-events: none;
  transform: translateY(16px);
  transition: all var(--transition);
}
#back-to-top.visible {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
#back-to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
.hero-stats { gap: 20px; }
  .hero-section { padding: 50px 0 40px; }
}

@media (max-width: 767px) {
  .section-pad { padding: 44px 0; }
  .topbar-contact { display: none !important; }
  .college-badges { display: none; }
  #site-header { padding: 12px 0; }
  #site-header h1 { font-size: 1.1rem; }
  .hero-section h2 { font-size: 1.5rem; }
}

/* ============================================================
   HIGH CONTRAST / ACCESSIBILITY MODES
   ============================================================ */
body.large-text { font-size: 1.15rem; }
body.large-text h1 { font-size: 2.5rem; }
body.large-text h2 { font-size: 2rem; }
body.large-text p, body.large-text li, body.large-text a { font-size: 1.1rem; }

body.high-contrast {
  --content-bg: #000;
  --p-color: #fff;
  --h1-color: #fff;
  --h2-color: #fff;
  --h3-color: #ffe066;
  --content-card-bg: #111;
  --content-card-border: #555;
  --content-section-bg: #0a0a0a;
  filter: contrast(1.3);
}
