/* ==============================
   GLOBAL RESET + PAGE LAYOUT
============================== */
:root {
  --primary-color: #9b0d16;
  --primary-dark: #700015;
  --primary-darker: #500011;
  --accent-color: #ffd700;
  --accent-light: #ffed4e;
  --text-dark: #222;
  --text-light: #f8f8f8;
  --bg-light: #f8f8f8;
  --bg-white: #ffffff;
  --bg-dark: #111;
  --bg-darker: #222;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

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

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body > * {
  flex-shrink: 0;
}

main {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
  margin-top: auto;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==============================
   PREMIUM LOADING SCREEN
============================== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--primary-darker) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loading-content {
  text-align: center;
  color: white;
}

.logo-animation {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
}

.logo-circle {
  width: 100%;
  height: 100%;
  border: 3px solid rgba(255,255,255,0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.logo-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: white;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.loading-progress {
  margin-top: 2rem;
}

.progress-bar {
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto 1rem;
}

.progress-fill {
  height: 100%;
  background: white;
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.progress-text {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ==============================
   PREMIUM CURSOR
============================== */
.custom-cursor {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease;
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(155, 13, 22, 0.3);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.2s ease;
  mix-blend-mode: difference;
}

/* ==============================
   HEADER / NAVIGATION - LOGO FIXES
============================== */
.site-header {
  background: rgba(155, 13, 22, 0.95);
  color: var(--bg-white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--bg-white);
  gap: 0.5rem;
}

/* FIXED LOGO STYLES */
.brand-logo {
  height: 48px;
  width: auto;
  display: block;
  transition: var(--transition);
}

.brand-title {
  font-weight: bold;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* NAVIGATION STYLES */
.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-list a {
  text-decoration: none;
  color: var(--bg-white);
  font-weight: 500;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
}

.nav-list a:hover,
.nav-list a.active {
  background: rgba(255,255,255,0.1);
  border-bottom: 2px solid var(--bg-white);
  color: var(--bg-white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-apply {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  width: 30px;
  height: 21px;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--bg-white);
  border-radius: 3px;
  transition: var(--transition);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ==============================
   PREMIUM HERO SECTIONS
============================== */
.premium-hero {
  position: relative;
  height: 100vh;
  min-height: 800px;
  overflow: hidden;
  color: var(--bg-white);
  display: flex;
  align-items: center;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1.1);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(155, 13, 22, 0.7), rgba(0, 0, 0, 0.5));
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(155, 13, 22, 0.4) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.8) 100%);
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 2rem;
}

.hero-badge span {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title .title-line {
  display: block;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover {
  background: transparent;
  border-color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--bg-white);
  border-color: var(--bg-white);
}

.btn-secondary:hover {
  background: var(--bg-white);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-glow:hover::before {
  left: 100%;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  backdrop-filter: blur(10px);
}

.hero-stats {
  margin-top: 4rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-navigation {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}

.hero-nav-btn {
  background: rgba(255,255,255,0.2);
  border: none;
  color: var(--bg-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-nav-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

.hero-progress {
  width: 200px;
}

.scroll-indicator {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--bg-white);
  opacity: 0.8;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--bg-white);
  border-radius: 12px;
  margin: 0 auto 0.5rem;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--bg-white);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

/* ==============================
   STANDARD HERO (Other Pages)
============================== */
.hero {
  position: relative;
  background: 
    linear-gradient(rgba(155,13,22,0.8), rgba(0,0,0,0.6)),
    url("../images/hero-bg.jpg") center/cover no-repeat;
  color: var(--bg-white);
  padding: 8rem 0;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 0;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.hero-copy {
  flex: 1 1 400px;
  min-width: 280px;
  text-align: center;
}

.hero-copy h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.hero-copy .lead {
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--text-light);
}

/* ==============================
   PREMIUM SECTIONS
============================== */
.vision-mission-section,
.values-section,
.programs-showcase,
.president-section,
.future-programs {
  padding: 5rem 0;
}

/* CORE VALUES GRID - FIXED */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(155, 13, 22, 0.1);
}

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

.value-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.value-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.value-card p {
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 0;
}

.value-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(155, 13, 22, 0.1);
  line-height: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #9b0d16;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.2rem;
  color: #666;
}

/* Vision Mission Grid */
.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.vision-card,
.mission-card {
  background: var(--bg-white);
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.vision-card:hover,
.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.vision-card h3,
.mission-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.mission-features {
  margin-top: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.feature i {
  color: var(--primary-color);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(155, 13, 22, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vision-card:hover .card-glow,
.mission-card:hover .card-glow {
  opacity: 1;
}

/* PROGRAM FEATURES - ADD THIS IF MISSING */
.program-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
  justify-content: center;
}

.program-features span {
  background: rgba(155, 13, 22, 0.1);
  color: var(--primary-color);
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(155, 13, 22, 0.2);
}

/* Programs Showcase */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.program-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(155, 13, 22, 0.1);
}

.program-card.featured {
  border: 2px solid var(--accent-color);
}

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

.program-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-color);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 700;
}

.program-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.program-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.program-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.program-features span {
  background: rgba(155, 13, 22, 0.1);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.program-link:hover {
  gap: 1rem;
  color: var(--primary-dark);
}

.programs-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--bg-white);
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  margin-top: 3rem;
}

.programs-cta h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.1rem;
}

/* President Section */
.president-card {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.president-content {
  padding: 3rem;
}

.president-content h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
}

.president-content blockquote {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-dark);
  border-left: 4px solid var(--primary-color);
  padding-left: 2rem;
  margin: 2rem 0;
  font-style: italic;
}

.president-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

.president-details h4 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.president-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.president-credentials span {
  background: rgba(155, 13, 22, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.signature img {
  height: 60px;
  opacity: 0.8;
}

.president-image {
  padding: 2rem;
}

.image-container {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-container img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.image-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(155, 13, 22, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-container:hover .image-glow {
  opacity: 1;
}

.experience-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: var(--accent-color);
  color: var(--primary-color);
  padding: 1rem;
  border-radius: 50%;
  text-align: center;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.experience-badge span {
  display: block;
  font-size: 1.2rem;
}

.experience-badge small {
  font-size: 0.7rem;
  display: block;
}

/* Future Programs */
.future-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.future-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(155, 13, 22, 0.1);
}

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

.future-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.status-badge {
  background: var(--accent-color);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 700;
}

.future-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.future-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.future-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.future-tags span {
  background: rgba(155, 13, 22, 0.1);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ==============================
   CARD SECTIONS (All Pages)
============================== */
.highlights {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 3rem auto;
  max-width: 1100px;
  text-align: center;
}

.card {
  background: var(--bg-light);
  padding: 2rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  flex: 1 1 280px;
  max-width: 320px;
  text-align: center;
  transition: var(--transition);
}

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

.card h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* ==============================
   CONTACT FORM
============================== */
.contact-form {
  margin: 3rem auto;
  max-width: 650px;
  text-align: left;
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.contact-form h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

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

.contact-form label {
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  width: 100%;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(155,13,22,0.15);
}

.contact-form button {
  background: var(--primary-color);
  color: var(--bg-white);
  border: none;
  padding: 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
}

.contact-form button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.form-status {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 600;
}

/* ==============================
   PREMIUM FOOTER
============================== */
.premium-footer {
  position: relative;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  color: #ccc;
  margin-top: 0;
}

.footer-wave {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.footer-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
}

.footer-wave .shape-fill {
  fill: var(--bg-light);
}

.footer-content {
  position: relative;
  z-index: 2;
}

.footer-main {
  padding: 4rem 0 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.brand-logo img {
  height: 60px;
  /* No filter - shows original logo colors */
}

.brand-info h3 {
  color: var(--bg-white);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.brand-info p {
  color: #ccc;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 0.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--bg-white);
  transform: translateY(-2px);
}

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

.footer-column h4 {
  color: var(--bg-white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

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

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-column ul li a:hover {
  color: var(--bg-white);
  gap: 1rem;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

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

.contact-item span {
  display: block;
  color: #ccc;
  font-size: 0.9rem;
}

.contact-item a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--bg-white);
}

.newsletter-form {
  margin-top: 1rem;
}

.newsletter-form p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.input-group {
  display: flex;
  background: rgba(255,255,255,0.1);
  border-radius: 25px;
  overflow: hidden;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.75rem 1rem;
  color: var(--bg-white);
  outline: none;
}

.newsletter-form input::placeholder {
  color: #999;
}

.newsletter-form button {
  background: var(--primary-color);
  border: none;
  padding: 0.75rem 1rem;
  color: var(--bg-white);
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--primary-dark);
}

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

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}

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

/* ==============================
   BACK TO TOP BUTTON
============================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--bg-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(155, 13, 22, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(155, 13, 22, 0.4);
  background: var(--primary-dark);
}

/* ==============================
   ANIMATIONS
============================== */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

@keyframes scroll {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

@keyframes progressFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

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

/* ==============================
   MOBILE RESPONSIVENESS
============================== */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(155, 13, 22, 0.98);
    padding: 0;
    margin: 0;
    z-index: 1000;
  }

  .nav.show {
    display: block !important;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    margin: 0;
  }

  .nav-list li {
    margin: 0.5rem 0;
    width: 100%;
  }

  .nav-list a {
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-toggle {
    display: flex !important;
    z-index: 1001;
    position: relative;
  }

  .header-actions .btn-apply {
    display: none;
  }

  .premium-hero {
    height: 90vh;
    min-height: 600px;
  }
  
  .hero-title {
    font-size: 2.5rem !important;
  }
  
  .hero-subtitle {
    font-size: 1.1rem !important;
  }
  
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }

  .vision-mission-grid {
    grid-template-columns: 1fr;
  }

  .president-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .president-info {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .value-card {
    min-height: 300px;
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem !important;
  }
  
  .hero-subtitle {
    font-size: 1rem !important;
  }
  
  .stat-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .container {
    width: 95%;
  }

  .values-grid,
  .programs-grid,
  .future-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: 280px;
    padding: 1.5rem 1rem;
  }

  .brand-title {
    font-size: 1rem;
  }

  .logo-container {
    width: 50px;
    height: 50px;
  }

  .brand-logo {
    height: 40px;
  }
}
/* ==============================
   ENHANCED RESPONSIVE FIXES
============================== */

/* Tablet Screens (768px - 1024px) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem !important;
  }
  
  .hero-subtitle {
    font-size: 1.2rem !important;
  }
  
  .premium-hero {
    min-height: 700px;
    height: auto;
  }
  
  .president-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .values-grid,
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Screens (425px - 768px) */
@media (max-width: 768px) {
  .container {
    width: 95%;
  }
  
  .hero-title {
    font-size: 2.2rem !important;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.1rem !important;
  }
  
  .premium-hero {
    min-height: 600px;
    height: auto;
    padding: 2rem 0;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .values-grid,
  .programs-grid,
  .future-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .vision-mission-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-card {
    padding: 1.5rem 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  /* Fix navigation for mobile */
  .nav-toggle {
    display: flex !important;
  }
  
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(155, 13, 22, 0.98);
    backdrop-filter: blur(20px);
  }
  
  .nav.show {
    display: block;
  }
  
  .nav-list {
    flex-direction: column;
    padding: 1rem;
  }
  
  .nav-list a {
    justify-content: flex-start;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}

/* Small Mobile Screens (under 425px) */
@media (max-width: 425px) {
  .hero-title {
    font-size: 1.8rem !important;
  }
  
  .hero-subtitle {
    font-size: 1rem !important;
  }
  
  .premium-hero {
    min-height: 500px;
  }
  
  .brand-title {
    font-size: 1rem;
  }
  
  .brand-logo {
    height: 35px;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  .value-card,
  .program-card {
    padding: 1.5rem 1rem;
    min-height: auto;
  }
  
  .card {
    padding: 1.5rem 1rem;
  }
}

/* Large Desktop Screens (over 1440px) */
@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
  }
}

/* ==============================
   FLEXBOX FALLBACKS
============================== */

/* Ensure flex items wrap properly */
.highlights {
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .highlights {
    gap: 1rem;
  }
  
  .hero-features {
    gap: 1rem;
  }
  
  .feature-item {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

/* ==============================
   IMAGE RESPONSIVENESS
============================== */

.image-container img {
  max-width: 100%;
  height: auto;
}

/* ==============================
   TEXT SCALING FIXES
============================== */

/* Prevent text overflow */
.hero-title .title-line,
.section-header h2,
.value-card h3,
.program-card h3 {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ==============================
   FORM RESPONSIVENESS
============================== */

@media (max-width: 768px) {
  .contact-form {
    margin: 2rem auto;
    padding: 1.5rem;
  }
  
  .input-group {
    flex-direction: column;
    border-radius: 8px;
  }
  
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    border-radius: 8px;
  }
}
/* NUCLEAR OPTION: Remove all problematic animations */
.value-card,
.program-card,
.future-card,
.stat-card,
.vision-card,
.mission-card,
[data-aos] {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

/* Keep only hover effects */
.value-card:hover,
.program-card:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}
/* ==============================
   SPECIFIC COMPONENT FIXES
============================== */

/* Fix program features on mobile */
@media (max-width: 480px) {
  .program-features {
    gap: 0.3rem;
  }
  
  .program-features span {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }
}

/* iPhone Specific Fixes */
@supports (-webkit-touch-callout: none) {
  /* Safari specific fixes */
  .premium-hero {
    height: 100vh;
    height: -webkit-fill-available;
  }
  
  /* Fix for Safari rendering issues */
  .value-card,
  .program-card {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  
  /* Disable elastic scrolling issues */
  body {
    overscroll-behavior-y: none;
  }
}

/* Fix for notch iPhones */
@supports (padding: max(0px)) {
  .container {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
}
/* EMERGENCY FIX: Stop animations from hiding content */
*[data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

.value-card,
.program-card,
.future-card,
.stat-card {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
/* Fix president section on mobile */
@media (max-width: 768px) {
  .president-content {
    padding: 2rem 1.5rem;
  }
  
  .president-content blockquote {
    padding-left: 1rem;
    font-size: 1.1rem;
  }
  
  .president-credentials {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Fix footer on mobile */
@media (max-width: 768px) {
  .footer-brand {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .social-links {
    justify-content: center;
  }
}
/* ==============================
   PERFORMANCE & ACCESSIBILITY
============================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Skip link for keyboard navigation */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 10000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 6px;
}