/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root { 
  --accent: #2563eb; 
  --radius: 14px; 
  --max-width: 1280px;
  --white: #ffffff;
  --black: #000000;
  --text-color: #1e293b;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --border-color: #e2e8f0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Adorsho Lipi', 'Open Sans', sans-serif !important;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body, p, span, h1, h2, h3, h4, a, li, blockquote, strong, em {
  font-style: normal !important;
}

/* ============================================
   SKIP LINK
   ============================================ */

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.skip-link:focus {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  width: auto;
  height: auto;
  padding: 0.5rem 0.75rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--white);
  color: var(--text-color);
  border-radius: 0.375rem;
  z-index: 9999;
}

/* ============================================
   CONTAINER
   ============================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* ============================================
   TOP BAR
   ============================================ */

.top-bar {
  display: none;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 0;
}

@media (min-width: 1024px) {
  .top-bar {
    display: block;
  }
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
}

.top-bar-icon {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
}

.top-bar-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  padding: 0.375rem 0.75rem;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: calc(var(--radius) - 4px);
  cursor: pointer;
  transition: all 0.2s;
}

.theme-toggle:hover {
  background: var(--border-color);
}

.theme-icon-dark {
  display: none;
}

.color-picker {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .color-picker {
    display: flex;
  }
}

.color-btn {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.color-btn:hover {
  border-color: var(--accent);
  transform: scale(1.1);
}

/* ============================================
   HEADER
   ============================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}

.main-header {
  padding: 0.75rem 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.logo-container {
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.header-logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  object-fit: cover;
}

.logo-placeholder {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px color-mix(in srgb, var(--accent) 20%, transparent);
}

.logo-placeholder svg {
  width: 1.5rem;
  height: 1.5rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.site-name {
  display: block;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: 0.025em;
  color: var(--text-color);
}

.site-tagline {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Navigation Menu */
.nav-menu {
  display: none;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.2s;
}

.nav-link:hover {
  background: var(--bg-light);
}

/* Buttons */
.btn {
  padding: 0.5rem 1rem;
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-block;
  background: var(--bg-light);
  color: var(--text-color);
}

.btn:hover {
  opacity: 0.9;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  opacity: 0.9;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: block;
  padding: 0.5rem 0.75rem;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: calc(var(--radius) - 4px);
  cursor: pointer;
  font-size: 0.875rem;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0.75rem;
  margin-top: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-search {
  margin-bottom: 0.5rem;
}

.search-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border-color);
  background: var(--white);
  color: var(--text-color);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 20%, transparent);
}

.mobile-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  font-size: 0.875rem;
}

.mobile-nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  background: var(--bg-light);
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.2s;
}

.mobile-nav-link:hover {
  background: var(--border-color);
}

.mobile-nav-link-primary {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}

/* ============================================
   MARQUEE
   ============================================ */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(248, 250, 252, 0.7);
}

.marquee-inner {
  display: flex;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}

.marquee:hover .marquee-inner {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   HERO PATTERN
   ============================================ */

.hero-pattern {
  background: radial-gradient(1200px 600px at 10% -10%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 60%),
              radial-gradient(800px 400px at 90% 10%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 60%),
              linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, transparent), var(--white) 96%);
}

/* ============================================
   CARDS
   ============================================ */

.card {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
}

/* ============================================
   GLASS EFFECT
   ============================================ */

.glass {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(120%) blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: var(--radius);
}

/* ============================================
   FLOATY ANIMATION
   ============================================ */

.floaty {
  animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 0;
  background: var(--white);
  color: var(--text-color);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-logo-img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  object-fit: cover;
}

.footer-logo-placeholder {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-placeholder svg {
  width: 1.5rem;
  height: 1.5rem;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-name {
  font-weight: 700;
  color: var(--text-color);
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--text-light);
}

.footer-description {
  font-size: 0.875rem;
  color: var(--text-light);
}

.footer-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-color);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.2s;
}

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

.footer-contact {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.social-icon {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.2s;
}

.social-icon:hover {
  background: var(--accent);
  color: var(--white);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.875rem;
  text-align: center;
  color: var(--text-light);
}

/* ============================================
   IMAGE MODAL
   ============================================ */

.image-modal {
  padding: 0;
  border-radius: 0.75rem;
  width: min(90vw, 900px);
  border: none;
}

.image-modal::backdrop {
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(2px);
}

.image-modal-content {
  position: relative;
  background: var(--black);
}

.image-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-color);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  z-index: 10;
}

.image-modal-img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
}

.image-modal-caption {
  padding: 0.75rem;
  text-align: center;
  color: var(--white);
  background: rgba(0, 0, 0, 0.6);
  font-size: 0.875rem;
}

/* ============================================
   DARK MODE
   ============================================ */

.dark {
  --text-color: #f1f5f9;
  --text-light: #94a3b8;
  --bg-light: #0f172a;
  --border-color: #1e293b;
  --white: #020617;
}

.dark .header {
  background: rgba(2, 6, 23, 0.8);
  border-bottom-color: var(--border-color);
}

.dark .top-bar {
  background: rgba(15, 23, 42, 0.6);
  border-bottom-color: var(--border-color);
}

.dark .marquee {
  background: rgba(15, 23, 42, 0.4);
  border-color: var(--border-color);
}

.dark .hero-pattern {
  background: radial-gradient(1000px 500px at 10% -10%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 60%),
              radial-gradient(600px 300px at 90% 10%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 60%),
              linear-gradient(180deg, #0b1220, #0b1220);
}

.dark .card {
  background: #0f172a;
  border-color: var(--border-color);
}

.dark .glass {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(30, 41, 59, 0.6);
}

.dark .footer {
  background: var(--white);
  border-top-color: var(--border-color);
}

.dark .theme-icon-light {
  display: none;
}

.dark .theme-icon-dark {
  display: inline;
}

body:not(.dark) .theme-icon-dark {
  display: none;
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */

@media (max-width: 1023px) {
  .nav-menu {
    display: none;
  }
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  padding: 3rem 0;
}

@media (min-width: 1024px) {
  section {
    padding: 5rem 0;
  }
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  padding: 3rem 0;
}

@media (min-width: 1024px) {
  .hero {
    padding: 5rem 0;
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  font-size: 0.875rem;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--hero-title-color, var(--accent));
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-description {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.75;
}

.hero-buttons {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-stats {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.hero-avatars {
  display: flex;
  margin-left: -0.5rem;
}

.hero-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.hero-card-wrapper {
  position: relative;
}

.hero-card-bg {
  position: absolute;
  left: -1.5rem;
  right: -1.5rem;
  top: -1.5rem;
  bottom: -1.5rem;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  filter: blur(64px);
  border-radius: 50%;
}

.hero-card {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(120%) blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: var(--radius);
  padding: 1rem;
}

@media (min-width: 640px) {
  .hero-card {
    padding: 1.5rem;
  }
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.hero-stat-item {
  border-radius: 0.75rem;
  background: var(--white);
  padding: 1rem;
  border: 1px solid var(--border-color);
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-light);
}

.hero-stat-value {
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-color);
}

.hero-image-wrapper {
  margin-top: 1rem;
  border-radius: 0.75rem;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 14rem;
  object-fit: cover;
}

.hero-footer {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-light);
}

.hero-footer-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.hero-footer-link:hover {
  opacity: 0.8;
}

/* ============================================
   slider SECTION
   ============================================ */

/* Wrapper margin same as before */
.hero-slider-wrapper {
  position: relative;
  margin-top: 1.25rem;
}

/* Slider box style (restored from old version) */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--light);
}

/* Slide style — keep fade effect */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  max-height: 300px;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

/* Image styling from your old design */
.hero-image {
  width: 100%;
  height: 300px;        /* আপনার আগের মতো visible height */
  object-fit: cover;    /* image nicely fills box */
  display: block;
  border-radius: 1rem;  /* keep rounded look */
}

/* Navigation arrows — your previous style */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.25);
  color: #fff;
  border: none;
  border-radius: 99px;
  padding: 0.25rem 0.75rem;
  cursor: pointer;
  font-size: 1.3rem;
  z-index: 5;
  transition: background 0.15s;
}

.hero-slider-arrow:focus { 
  outline: 2px solid var(--accent);
}

.hero-slider-prev { left: 8px; }
.hero-slider-next { right: 8px; }

/* Dots — original style restored */
.hero-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: 1.5px solid var(--accent, #2563eb);
  cursor: pointer;
  opacity: 0.7;
  transition: background 0.2s, opacity 0.18s;
}

.hero-slider-dot.active {
  background: var(--accent, #2563eb);
  opacity: 1;
}


/* ============================================
   SEARCH SECTION
   ============================================ */

.search-section {
  padding: 2.5rem 0;
}

.search-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .search-wrapper {
    grid-template-columns: 2fr;
  }
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  background: var(--white);
}

.search-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-light);
  margin-left: 0.5rem;
}

.search-input-main {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.375rem;
  border: none;
  background: transparent;
  color: var(--text-color);
  font-size: 1rem;
}

.search-input-main:focus {
  outline: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.stat-card {
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  background: var(--white);
  text-align: center;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-color);
}

@media (min-width: 640px) {
  .about-title {
    font-size: 2.25rem;
  }
}

.about-description {
  margin-top: 0.75rem;
  color: var(--text-light);
  line-height: 1.75;
}

.about-list {
  margin-top: 1rem;
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--text-color);
}

.about-list li {
  margin-bottom: 0.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  background: var(--white);
}

.feature-icon {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-title {
  font-weight: 600;
  margin-top: 0.5rem;
  color: var(--text-color);
}

.feature-description {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* ============================================
   PROGRAMS SECTION
   ============================================ */

.programs-section {
  background: var(--bg-light);
  padding: 3rem 0;
}

.programs-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.programs-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-color);
}

@media (min-width: 640px) {
  .programs-title {
    font-size: 2.25rem;
  }
}

.programs-description {
  color: var(--text-light);
  margin-top: 0.5rem;
}

.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .programs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.program-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border-color);
  transition: all 0.2s;
}

.program-card:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
}

.program-icon {
  font-size: 1.875rem;
  margin-bottom: 0.5rem;
}

.program-name {
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text-color);
}

.program-description {
  margin-top: 0.5rem;
  color: var(--text-light);
  font-size: 0.875rem;
}

/* ============================================
   NOTICES SECTION
   ============================================ */

.notices-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.notices-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-color);
}

@media (min-width: 640px) {
  .notices-title {
    font-size: 2.25rem;
  }
}

.notices-description {
  color: var(--text-light);
  margin-top: 0.5rem;
}

.notice-search {
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border-color);
  background: var(--white);
  color: var(--text-color);
}

.notices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

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

@media (min-width: 1024px) {
  .notices-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.notice-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  background: var(--white);
}

.notice-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.notice-title {
  font-weight: 600;
  color: var(--text-color);
  text-decoration: none;
}

.notice-title:hover {
  text-decoration: underline;
}

.notice-meta {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.notice-pin {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 0.25rem;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
}

.load-more-btn {
  margin-top: 1.5rem;
  text-align: center;
}

/* ============================================
   EVENTS SECTION
   ============================================ */

.events-section {
  background: var(--bg-light);
  padding: 3rem 0;
}

.events-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.events-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-color);
}

@media (min-width: 640px) {
  .events-title {
    font-size: 2.25rem;
  }
}

.events-description {
  color: var(--text-light);
  margin-top: 0.5rem;
}

.events-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.events-link:hover {
  opacity: 0.8;
}

.events-load-more {
  margin-top: 2rem;
  text-align: center;
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

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

@media (min-width: 1024px) {
  .events-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.event-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.event-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.event-name {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text-color);
}

.event-meta {
  font-size: 0.875rem;
  color: var(--text-light);
}

.event-description {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
}

.event-badge {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 0.25rem;
  background: var(--bg-light);
  color: var(--text-color);
}

.event-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

.event-btn {
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s;
}

.event-btn-primary {
  background: var(--accent);
  color: var(--white);
}

.event-btn-secondary {
  background: var(--bg-light);
  color: var(--text-color);
}

.event-btn-secondary:hover {
  opacity: 0.9;
}

/* ============================================
   FACULTY SECTION
   ============================================ */

.faculty-section {
  padding: 3rem 0;
}

.faculty-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.faculty-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-color);
}

@media (min-width: 640px) {
  .faculty-title {
    font-size: 2.25rem;
  }
}

.faculty-description {
  color: var(--text-light);
  margin-top: 0.5rem;
}

.faculty-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.faculty-link:hover {
  opacity: 0.8;
}

.faculty-load-more {
  margin-top: 2rem;
  text-align: center;
}

.faculty-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

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

@media (min-width: 1024px) {
  .faculty-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.faculty-card {
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  background: var(--white);
  transition: all 0.3s;
}

.faculty-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.faculty-image-wrapper {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--bg-light);
}

.faculty-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.faculty-card:hover .faculty-image {
  transform: scale(1.05);
}

.faculty-info {
  padding: 1rem;
}

.faculty-name {
  font-weight: 600;
  color: var(--text-color);
}

.faculty-designation {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.faculty-image-wrapper {
  position: relative;
  overflow: hidden;
}

.faculty-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.faculty-card:hover .faculty-actions {
  opacity: 1;
  transform: translateY(0);
}

.faculty-actions .btn {
  width: 100%;
  margin: 0;
}

/* ============================================
   GALLERY SECTION
   ============================================ */

/* ===================================
   গ্যালারি সেকশন
   =================================== */

   .gallery-section {
    padding: 3rem 0;
    background: var(--bg-light);
  }
  
  .gallery-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  
  .gallery-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
  }
  
  @media (min-width: 640px) {
    .gallery-title {
      font-size: 2.25rem;
    }
  }
  
  .gallery-description {
    color: var(--text-light);
    margin-top: 0.5rem;
    margin-bottom: 0;
  }
  
  .gallery-note {
    font-size: 0.875rem;
    color: var(--text-light);
  }
  
  /* ===================================
     গ্যালারি গ্রিড
     =================================== */
  
  .gallery-grid {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    grid-auto-flow: dense;
  }
  
  @media (min-width: 640px) {
    .gallery-grid {
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1.25rem;
    }
  }
  
  @media (min-width: 768px) {
    .gallery-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  @media (min-width: 1024px) {
    .gallery-grid {
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
    }
  }
  
  /* ===================================
     গ্যালারি আইটেম
     =================================== */
  
  .gallery-item {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    background: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  
  .gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
  }
  
  .gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: transform 0.4s ease;
  }
  
  @media (min-width: 768px) {
    .gallery-image {
      height: 280px;
    }
  }
  
  .gallery-item:hover .gallery-image {
    transform: scale(1.08);
  }
  
  .gallery-caption {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    background: var(--white);
    border-top: 1px solid var(--border-color);
    min-height: 50px;
    display: flex;
    align-items: center;
  }
  
  /* ===================================
     গ্যালারি এমপ্টি স্টেট
     =================================== */
  
  .gallery-empty {
    margin-top: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 0.75rem;
    border: 2px dashed var(--border-color);
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.5);
  }
  
  .gallery-empty p {
    margin: 0;
    font-size: 1rem;
  }
  
  /* ===================================
     লোড মোর বাটন
     =================================== */
  
  .gallery-load-more {
    margin-top: 2.5rem;
    text-align: center;
  }
  
  .gallery-load-more .btn {
    min-width: 200px;
  }
  
  /* ===================================
     লাইটবক্স মোডাল
     =================================== */
  
  .lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
  }
  
  .lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* লাইটবক্স ক্লোজ বাটন */
  .lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
  }
  
  .lightbox-close:hover,
  .lightbox-close:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
  }
  
  /* লাইটবক্স কন্টেন্ট */
  .lightbox-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 60px 100px;
  }
  
  .lightbox-image-container {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  #lightboxImage {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
  }
  
  /* লাইটবক্স ক্যাপশন */
  #lightboxCaption {
    color: #fff;
    text-align: center;
    padding: 15px 25px;
    margin-top: 20px;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 6px;
    max-width: 600px;
    backdrop-filter: blur(10px);
  }
  
  /* নেভিগেশন বাটন */
  .lightbox-prev,
  .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 28px;
    font-weight: bold;
    padding: 18px 24px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
  }
  
  .lightbox-prev:hover,
  .lightbox-next:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
  }
  
  .lightbox-prev:active,
  .lightbox-next:active {
    transform: translateY(-50%) scale(0.95);
  }
  
  .lightbox-prev {
    left: 30px;
  }
  
  .lightbox-next {
    right: 30px;
  }
  
  /* ===================================
     অ্যানিমেশন
     =================================== */
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes zoomIn {
    from {
      transform: scale(0.7);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }
  
  /* ===================================
     ফ্যাকাল্টি সেকশন
     =================================== */
  
  .faculty-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
  }
  
  .faculty-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
  }
  
  .faculty-card:hover .faculty-actions {
    opacity: 1;
    transform: translateY(0);
  }
  
  .faculty-actions .btn {
    width: 100%;
    margin: 0;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
  
  /* ===================================
     মোবাইল রেসপন্সিভ (লাইটবক্স)
     =================================== */
  
  @media (max-width: 768px) {
    .lightbox-content {
      padding: 60px 20px 20px;
    }
  
    .lightbox-close {
      top: 10px;
      right: 10px;
      font-size: 35px;
      width: 45px;
      height: 45px;
    }
  
    .lightbox-prev,
    .lightbox-next {
      font-size: 22px;
      padding: 12px 16px;
    }
  
    .lightbox-prev {
      left: 10px;
    }
  
    .lightbox-next {
      right: 10px;
    }
  
    #lightboxImage {
      max-height: 70vh;
    }
  
    #lightboxCaption {
      font-size: 14px;
      padding: 12px 18px;
      margin-top: 15px;
      max-width: 90%;
    }
  }
  
  @media (max-width: 480px) {
    .gallery-grid {
      grid-template-columns: 1fr;
    }
  
    .gallery-image {
      height: 220px;
    }
  
    .lightbox-prev,
    .lightbox-next {
      font-size: 18px;
      padding: 10px 12px;
      background-color: rgba(255, 255, 255, 0.2);
    }
  }
  
  /* ===================================
     ডার্ক মোড সাপোর্ট (অপশনাল)
     =================================== */
  
  @media (prefers-color-scheme: dark) {
    .gallery-item {
      border-color: rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.05);
    }
  
    .gallery-caption {
      background: rgba(0, 0, 0, 0.3);
      border-top-color: rgba(255, 255, 255, 0.1);
    }
  }
  
  /* ===================================
     প্রিন্ট স্টাইল
     =================================== */
  
  @media print {
    .lightbox,
    .gallery-load-more,
    .faculty-actions {
      display: none !important;
    }
  }
  
  

/* ============================================
   BLOG SECTION
   ============================================ */

.blog-section {
  padding: 3rem 0;
}

.blog-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.blog-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-color);
}

@media (min-width: 640px) {
  .blog-title {
    font-size: 2.25rem;
  }
}

.blog-description {
  color: var(--text-light);
  margin-top: 0.5rem;
}

.blog-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.blog-link:hover {
  opacity: 0.8;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  background: var(--white);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.blog-image-wrapper {
  width: 100%;
  height: 12rem;
  overflow: hidden;
}

.blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.blog-card:hover .blog-image {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.blog-date {
  color: var(--text-light);
}

.blog-category {
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  font-size: 0.75rem;
}

.blog-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card-title a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card-title a:hover {
  color: var(--accent);
}

.blog-excerpt {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.blog-read-more {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s;
  align-self: flex-start;
}

.blog-read-more:hover {
  opacity: 0.8;
  transform: translateX(4px);
}

.blog-load-more {
  margin-top: 2rem;
  text-align: center;
}

/* ============================================
   ADMISSION SECTION
   ============================================ */

.admission-section {
  padding: 3.5rem 0;
  background: linear-gradient(to bottom right, color-mix(in srgb, var(--accent) 10%, transparent), color-mix(in srgb, var(--accent) 20%, transparent));
}

.quick-actions-content {
  gap: 1.5rem;
}

.admission-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .admission-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.admission-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-color);
}

@media (min-width: 640px) {
  .admission-title {
    font-size: 2.25rem;
  }
}

.admission-description {
  margin-top: 0.5rem;
  color: var(--text-color);
  line-height: 1.75;
}

.admission-buttons {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admission-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .admission-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.admission-feature {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
}

.admission-feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.admission-feature-title {
  font-weight: 600;
  margin-top: 0.5rem;
  color: var(--text-color);
}

.admission-feature-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .quick-actions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.quick-action-card {
  display: block;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  box-shadow: 0 10px 25px color-mix(in srgb, var(--accent) 18%, transparent);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: inherit;
}

.quick-action-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px color-mix(in srgb, var(--accent) 28%, transparent);
}

.quick-action-title {
  font-weight: 600;
  margin-top: 0.25rem;
  color: var(--text-color);
}

.quick-action-desc {
  font-size: 0.9rem;
  margin-top: 0.35rem;
  color: var(--text-light);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-color);
}

@media (min-width: 640px) {
  .contact-title {
    font-size: 2.25rem;
  }
}

.contact-description {
  margin-top: 0.5rem;
  color: var(--text-light);
}

.contact-form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  color: var(--text-color);
}

.form-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border-color);
  background: var(--white);
  color: var(--text-color);
  font-size: 1rem;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 20%, transparent);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border-color);
  background: var(--white);
  color: var(--text-color);
  font-size: 1rem;
  resize: vertical;
  min-height: 6rem;
}

.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 20%, transparent);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-color);
}

.form-checkbox input[type="checkbox"] {
  accent-color: var(--accent);
}

.form-submit {
  padding: 0.5rem 1.25rem;
  border-radius: calc(var(--radius) - 4px);
  background: var(--accent);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.form-submit:hover {
  opacity: 0.9;
}

.form-toast {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 0.375rem;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.form-toast.show {
  display: block;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  background: var(--white);
}

.contact-card-title {
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.75rem;
}

.contact-address {
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .contact-details {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-detail-item {
  padding: 0.75rem;
  border-radius: 0.375rem;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
}

.contact-detail-label {
  color: var(--text-light);
}

.contact-detail-value {
  color: var(--text-color);
  font-weight: 500;
}

.contact-map {
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
}

.contact-map iframe {
  width: 100%;
  height: 16rem;
  border: none;
}

/* ============================================
   TEXT UTILITIES
   ============================================ */

.text-accent {
  color: var(--accent);
}

.text-primary {
  color: var(--text-color);
}

.text-secondary {
  color: var(--text-light);
}

/* ============================================
   DARK MODE ADDITIONS
   ============================================ */

.dark .hero-card {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(30, 41, 59, 0.6);
}

.dark .hero-stat-item {
  background: #0f172a;
  border-color: var(--border-color);
}

.dark .stat-card {
  background: #0f172a;
  border-color: var(--border-color);
}

.dark .feature-card {
  background: #0f172a;
  border-color: var(--border-color);
}

.dark .program-card {
  background: #0f172a;
  border-color: var(--border-color);
}

.dark .notice-card {
  background: #0f172a;
  border-color: var(--border-color);
}

.dark .event-card {
  background: #0f172a;
  border-color: var(--border-color);
}

.dark .faculty-card {
  background: #0f172a;
  border-color: var(--border-color);
}

.dark .gallery-item {
  background: #0f172a;
  border-color: var(--border-color);
}

.dark .admission-feature {
  background: #0f172a;
  border-color: color-mix(in srgb, var(--accent) 20%, transparent);
}

.dark .blog-card {
  background: #0f172a;
  border-color: var(--border-color);
}

.dark .blog-category {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
}

.dark .contact-card {
  background: #0f172a;
  border-color: var(--border-color);
}

.dark .contact-detail-item {
  background: #0f172a;
  border-color: var(--border-color);
}

.dark .search-box {
  background: #0f172a;
  border-color: var(--border-color);
}

.dark .search-input-main {
  background: transparent;
  color: var(--text-color);
}

.dark .notice-search {
  background: #0f172a;
  border-color: var(--border-color);
  color: var(--text-color);
}
