/* ==========================================================================
   R.K. Yashoda Devi Human Welfare & Educational Trust — Design System
   Official Website CSS System (Mobile-First, Accessible, Production-Ready)
   ========================================================================== */

:root {
  /* Core Palette Inspired by Official Logo */
  --primary-navy: #0A2540;
  --navy-light: #153B64;
  --royal-blue: #1E50A2;
  --accent-gold: #D99B26;
  --gold-hover: #C2871A;
  --warm-amber: #E6A100;
  --growth-green: #1E824C;
  --green-hover: #16653A;
  --emerald: #27AE60;

  /* Neutral Surface & Text System */
  --bg-light: #F8FAFC;
  --bg-subtle: #F1F5F9;
  --surface-white: #FFFFFF;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border-color: #E2E8F0;
  
  /* Typography */
  --font-heading: 'Poppins', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-hindi: 'Noto Sans Devanagari', 'Inter', sans-serif;

  /* Elevation & Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.1);
  --shadow-lg: 0 10px 25px rgba(10, 37, 64, 0.12);
  --shadow-hover: 0 15px 30px rgba(10, 37, 64, 0.15);

  /* Layout Radius & Transition */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-navy);
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1.25rem;
  color: #334155;
}

p.lead {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-muted);
}

a {
  color: var(--royal-blue);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover, a:focus-visible {
  color: var(--primary-navy);
}

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

/* Structural Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section-padding {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* Top Utility Bar */
.top-bar {
  background-color: var(--primary-navy);
  color: #CBD5E1;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

.top-bar-info a {
  color: #E2E8F0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-info a:hover {
  color: var(--warm-amber);
}

.top-bar-badge {
  background: rgba(217, 155, 38, 0.2);
  color: #FCE7F3;
  color: var(--accent-gold);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
}

/* Header & Main Navigation */
.header-main {
  background-color: var(--surface-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.header-main.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.navbar-logo {
  height: 75px;
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

.navbar-title-group {
  display: flex;
  flex-direction: column;
}

.navbar-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary-navy);
  line-height: 1.2;
}

.navbar-subtitle {
  font-size: 0.75rem;
  color: var(--growth-green);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  padding: 0.4rem 0.2rem;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-navy);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-gold);
  border-radius: var(--radius-full);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1.25rem;
  color: var(--primary-navy);
  cursor: pointer;
  padding: 0.4rem 0.75rem;
  transition: var(--transition-fast);
}

.mobile-toggle:hover, .mobile-toggle:focus {
  background-color: var(--bg-subtle);
  border-color: var(--primary-navy);
}

@media (max-width: 991px) {
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .top-bar { display: none; }
  
  .header-main {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--surface-white);
  }

  .nav-menu {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    height: calc(100vh - 66px);
    background-color: var(--surface-white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.25rem 3rem 1.25rem;
    gap: 0.4rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    font-size: 1.05rem;
    width: 100%;
    display: block;
    padding: 0.65rem 0.85rem;
    color: var(--primary-navy);
    border-radius: var(--radius-md);
    border-bottom: 1px solid var(--bg-subtle);
  }

  .nav-link:hover, .nav-link.active {
    background-color: var(--bg-light);
    color: var(--royal-blue);
  }

  .nav-link.active::after {
    display: none;
  }

  .navbar-actions {
    width: 100%;
    flex-direction: column;
    margin-top: 0.75rem;
  }

  .navbar-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-navy);
  color: var(--surface-white);
}

.btn-primary:hover {
  background-color: var(--navy-light);
  color: var(--surface-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--accent-gold);
  color: var(--primary-navy);
  font-weight: 700;
}

.btn-accent:hover {
  background-color: var(--gold-hover);
  color: var(--primary-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-green {
  background-color: var(--growth-green);
  color: var(--surface-white);
}

.btn-green:hover {
  background-color: var(--green-hover);
  color: var(--surface-white);
  transform: translateY(-2px);
}

.btn-outline-navy {
  border-color: var(--primary-navy);
  color: var(--primary-navy);
  background: transparent;
}

.btn-outline-navy:hover {
  background-color: var(--primary-navy);
  color: var(--surface-white);
}

.btn-outline-white {
  border-color: var(--surface-white);
  color: var(--surface-white);
  background: transparent;
}

.btn-outline-white:hover {
  background-color: var(--surface-white);
  color: var(--primary-navy);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.1rem;
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--growth-green);
  background-color: rgba(30, 130, 76, 0.1);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  color: var(--primary-navy);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.94) 0%, rgba(21, 59, 100, 0.92) 100%),
              url('../images/programmes/children-education.jpg') center/cover no-repeat;
  color: var(--surface-white);
  padding: 6rem 0 7rem 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
}

.hero-content h1 {
  color: var(--surface-white);
  margin-bottom: 1.25rem;
}

.hero-content .lead {
  color: #E2E8F0;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .hero-actions {
    justify-content: center;
  }
}

.hero-card-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-badge-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: var(--surface-white);
  box-shadow: var(--shadow-lg);
}

.hero-badge-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.hero-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.hero-badge-title {
  font-size: 1.1rem;
  color: var(--surface-white);
  margin: 0;
}

/* Purpose 4 Pillars Cards */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.pillar-card {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-navy);
  transition: var(--transition-fast);
}

.pillar-card:nth-child(2)::before { background: var(--growth-green); }
.pillar-card:nth-child(3)::before { background: var(--accent-gold); }
.pillar-card:nth-child(4)::before { background: var(--royal-blue); }

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--bg-subtle);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.pillar-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Areas of Work Icon Grid */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.area-card {
  background-color: var(--surface-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: var(--transition-fast);
}

.area-card:hover {
  border-color: var(--royal-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.area-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: rgba(30, 80, 162, 0.08);
  color: var(--royal-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.area-content h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.area-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Programme Card Grid */
.programme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.programme-card {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: var(--transition-fast);
}

.programme-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.programme-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--primary-navy);
}

.programme-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.programme-card:hover .programme-thumb img {
  transform: scale(1.06);
}

.programme-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary-navy);
  color: var(--surface-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.programme-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.programme-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.programme-title a {
  color: var(--primary-navy);
}

.programme-title a:hover {
  color: var(--royal-blue);
}

.programme-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.programme-footer {
  border-top: 1px solid var(--bg-subtle);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--royal-blue);
}

.link-arrow:hover {
  gap: 0.6rem;
  color: var(--primary-navy);
}

/* Qualitative Impact Section */
.impact-section {
  background-color: var(--primary-navy);
  color: var(--surface-white);
  position: relative;
  overflow: hidden;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.impact-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-fast);
}

.impact-box:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.impact-icon {
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.impact-box h3 {
  color: var(--surface-white);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.impact-box p {
  color: #94A3B8;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--growth-green) 0%, var(--green-hover) 100%);
  color: var(--surface-white);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  color: var(--surface-white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: #E2E8F0;
  max-width: 650px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
}

/* Forms (Enquiry & Volunteer) */
.form-card {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

@media (max-width: 576px) {
  .form-card { padding: 1.5rem; }
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-navy);
  margin-bottom: 0.4rem;
}

.form-control, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--royal-blue);
  background-color: var(--surface-white);
  box-shadow: 0 0 0 3px rgba(30, 80, 162, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Toast Notifications & Alert Boxes */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-success {
  background-color: #DEF7EC;
  color: #03543F;
  border: 1px solid #BCF0DA;
}

.alert-danger {
  background-color: #FDE8E8;
  color: #9B1C1C;
  border: 1px solid #FBD5D5;
}

.alert-warning {
  background-color: #FEF08A;
  color: #713F12;
  border: 1px solid #FDE047;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 37, 64, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: var(--surface-white);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
}

.gallery-category-badge {
  font-size: 0.75rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

/* Filter Nav Bar */
.filter-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background-color: var(--surface-white);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary-navy);
  color: var(--surface-white);
  border-color: var(--primary-navy);
}

/* Footer Section */
.footer-main {
  background-color: var(--primary-navy);
  color: #94A3B8;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 4px solid var(--accent-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand h3 {
  color: var(--surface-white);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 0.925rem;
}

.footer-title {
  color: var(--surface-white);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--accent-gold);
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #CBD5E1;
  font-size: 0.925rem;
}

.footer-links a:hover {
  color: var(--warm-amber);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.925rem;
  color: #CBD5E1;
}

.footer-contact-item i {
  color: var(--accent-gold);
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

.footer-bottom a {
  color: #94A3B8;
}

.footer-bottom a:hover {
  color: var(--surface-white);
}

/* ==========================================================================
   Responsive Layout Utilities & Alignment System
   ========================================================================== */
.grid-2-col,
.two-col-grid,
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.prog-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
}

.grid-form-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 991px) {
  .grid-2-col,
  .two-col-grid,
  .intro-grid,
  .prog-detail-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
  }

  .grid-2-col > div,
  .two-col-grid > div,
  .intro-grid > div {
    order: unset !important;
  }

  .navbar-logo {
    height: 60px;
    max-height: 65px;
  }
}

@media (max-width: 576px) {
  .btn {
    white-space: normal !important;
    text-align: center;
    max-width: 100%;
    word-break: break-word;
  }

  .btn-lg {
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    width: 100%;
  }

  .grid-form-2-col {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .navbar-logo {
    height: 48px;
    max-height: 52px;
  }

  .d-none-mobile {
    display: none !important;
  }

  .section-padding {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  a, p, span, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

/* Reduced Motion Respect */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

