/* Root Variables */
:root {
  --primary-blue: #003366;
  --primary-blue-dark: #00509e;
  --primary-blue-light: #0066cc;
  --accent-yellow: #f7c948;
  --accent-orange: #d97706;
  --accent-green: #10b981;
  --text-dark: #0a2a43;
  --text-light: #374151;
  --text-gray: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #fff;
  --bg-gradient: linear-gradient(135deg, #003366 0%, #00509e 100%);
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width-content: 1200px;
  --max-width-text: 800px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
}

/* Base Responsive Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: url('images/my forest.jpg') center center/cover no-repeat fixed;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

header {
  background: linear-gradient(90deg, #003366 0%, #00509e 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 16px 16px;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 100%;
  position: relative;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  max-width: 100%;
}

.logo {
  height: 64px;
  max-width: 180px;
  width: auto;
  margin-right: 1rem;
  border: none;
  border-radius: 0;
  background: none;
  padding: 4px 0;
  display: block;
}

.site-title {
  font-size: clamp(0.9rem, 3vw, 2rem);
  font-weight: bold;
  letter-spacing: 1px;
  color: #f7c948;
  text-shadow: 0 1px 2px #fff8, 0 0 2px #00336644;
  line-height: 1.2;
  word-wrap: break-word;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
}

@media (min-width: 701px) {
  .nav-links {
    display: flex !important;
  }
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  display: block;
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.nav-links li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
  transform: translateY(100%);
  transition: transform var(--transition-normal);
  z-index: -1;
}

.nav-links li a.active,
.nav-links li a:hover {
  color: var(--text-dark);
}

.nav-links li a.active::before,
.nav-links li a:hover::before {
  transform: translateY(0);
}

.hero {
  background: linear-gradient(135deg, rgba(10, 42, 67, 0.95) 0%, rgba(0, 80, 158, 0.9) 100%), 
              url('images/first one.jpg') center center/cover no-repeat;
  color: #fff;
  padding: clamp(4rem, 8vw, 6rem) clamp(1rem, 3vw, 2rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(247, 201, 72, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(247, 201, 72, 0.2);
  color: var(--accent-yellow);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(247, 201, 72, 0.3);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #fff;
  line-height: 1.2;
  word-wrap: break-word;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.375rem);
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  min-width: 160px;
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: var(--accent-yellow);
  color: var(--text-dark);
}

.btn-primary:hover {
  background: var(--accent-orange);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--accent-yellow);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.carousel {
  position: relative;
  height: clamp(300px, 50vw, 550px);
  overflow: hidden;
  background: linear-gradient(135deg, #0b1a2a 0%, #1a2942 100%);
}

/* New: horizontal track for sliding */
/* Restore fade-style slides */
.carousel-track { display: contents; }

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  object-fit: cover;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: clamp(40px, 8vw, 54px);
  height: clamp(40px, 8vw, 54px);
  border-radius: 50%;
  cursor: pointer;
  font-size: clamp(1.125rem, 3vw, 1.625rem);
  color: var(--primary-blue);
  z-index: 10;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.carousel-arrow:hover {
  background: var(--accent-yellow);
  color: var(--text-dark);
  transform: translateY(-50%) scale(1.15);
  box-shadow: var(--shadow-xl);
}

.carousel-arrow.left {
  left: clamp(5px, 2vw, 20px);
}

.carousel-arrow.right {
  right: clamp(5px, 2vw, 20px);
}

.carousel-controls {
  position: absolute;
  bottom: clamp(10px, 3vw, 20px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: clamp(0.3rem, 1vw, 0.5rem);
  z-index: 10;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 90%;
}

.carousel-dot {
  width: clamp(10px, 2vw, 14px);
  height: clamp(10px, 2vw, 14px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.carousel-dot.active {
  background: var(--accent-yellow);
  transform: scale(1.3);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 10px rgba(247, 201, 72, 0.5);
}

/* Progress bar */
.carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.35);
  z-index: 9;
}

.carousel-progress-bar {
  width: 0%;
  height: 100%;
  background: #f7c948;
  transition: width linear;
}

main {
  background: transparent;
  width: 100%;
  overflow-x: hidden;
}

section {
  padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 3vw, 2rem);
}

/* Typography Scaling */
h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 1rem 0;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  line-height: 1.3;
  margin: 0 0 0.75rem 0;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  line-height: 1.4;
  margin: 0 0 0.5rem 0;
}

p, li {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.intro, .our-belief, .school-programs {
  background: #fff;
  padding: clamp(3rem, 6vw, 4rem) clamp(1.5rem, 4vw, 2.5rem);
  margin: clamp(2rem, 4vw, 3rem) clamp(0.5rem, 2vw, 1rem);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(0, 51, 102, 0.05);
}

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

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.1) 0%, rgba(247, 201, 72, 0.1) 100%);
  color: var(--primary-blue);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 51, 102, 0.1);
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-yellow) 100%);
  margin: 0 auto;
  border-radius: 2px;
}

.intro-text {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  color: var(--text-light);
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3rem;
}

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

.feature-card {
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.02) 0%, rgba(247, 201, 72, 0.02) 100%);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-yellow);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.05) 0%, rgba(247, 201, 72, 0.05) 100%);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.375rem;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.feature-card p {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin: 0;
}

/* Belief Section Styles */
.belief-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.belief-statement {
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.03) 0%, rgba(247, 201, 72, 0.03) 100%);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  border-left: 4px solid var(--accent-yellow);
  transition: all var(--transition-normal);
}

.belief-statement:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.belief-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.belief-statement p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}

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

.program-card {
  background: linear-gradient(135deg, #fff 0%, rgba(0, 51, 102, 0.02) 100%);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  border: 2px solid transparent;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-blue);
}

.program-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.375rem 0.875rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.program-status.active {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  border: 1px solid var(--accent-green);
}

.program-status.pending {
  background: rgba(247, 201, 72, 0.1);
  color: var(--accent-orange);
  border: 1px solid var(--accent-yellow);
}

.program-card h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

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

.program-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 51, 102, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-light);
  line-height: 1.6;
}

.program-list li:last-child {
  border-bottom: none;
}

.list-icon {
  color: var(--accent-green);
  font-weight: bold;
  font-size: 1.125rem;
  flex-shrink: 0;
}

/* About page sections styling */
.about-section,
.our-story,
.vision-mission,
.ideal-values {
  background: #fff;
  padding: clamp(2.5rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
  margin: clamp(1.5rem, 4vw, 2.5rem) clamp(0.5rem, 2vw, 1rem);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(0, 51, 102, 0.05);
}

.about-section h2,
.our-story h2,
.vision-mission h2,
.ideal-values h2 {
  color: #003366;
  margin-bottom: 1rem;
  font-size: 1.875rem;
}

.about-section h3 {
  color: #003366;
  margin: 1.5rem 0 1rem 0;
  font-size: 1.5rem;
}

.about-section p,
.our-story p,
.vision-mission p,
.ideal-values p {
  font-size: 1.1rem;
  color: #003366;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.about-section ul,
.about-section ol,
.ideal-values ul,
.ideal-values ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.about-section li,
.ideal-values li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Page Hero Styles */
.page-hero {
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.95) 0%, rgba(0, 80, 158, 0.9) 100%);
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 3vw, 2rem);
  text-align: center;
  color: #fff;
  margin-bottom: 3rem;
}

.page-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
  line-height: 1.2;
}

.page-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.375rem);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
}

/* Timeline Styles */
.story-timeline {
  position: relative;
  padding: 2rem 0;
}

.story-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-blue) 0%, var(--accent-yellow) 100%);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  gap: 2rem;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  width: 20px;
  height: 20px;
  background: var(--accent-yellow);
  border-radius: 50%;
  border: 4px solid var(--primary-blue);
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 0 0 0 8px rgba(247, 201, 72, 0.1);
}

.timeline-content {
  flex: 1;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.03) 0%, rgba(247, 201, 72, 0.03) 100%);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 45%;
}

.timeline-content h3 {
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.375rem;
}

.timeline-item.highlight .timeline-content {
  background: linear-gradient(135deg, rgba(247, 201, 72, 0.1) 0%, rgba(217, 119, 6, 0.05) 100%);
  border-left: 4px solid var(--accent-yellow);
}

.highlight-text {
  color: var(--accent-orange);
  font-weight: 600;
}

@media (max-width: 900px) {
  .story-timeline::before {
    left: 20px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-left: 50px;
  }
  
  .timeline-marker {
    position: absolute;
    left: 11px;
  }
  
  .timeline-content {
    max-width: 100%;
  }
}

/* Vision Mission Motto Grid */
.vmm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.vmm-card {
  background: linear-gradient(135deg, #fff 0%, rgba(0, 51, 102, 0.02) 100%);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.vmm-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-yellow);
}

.vmm-card.highlight {
  background: linear-gradient(135deg, rgba(247, 201, 72, 0.1) 0%, rgba(217, 119, 6, 0.05) 100%);
  border-color: var(--accent-yellow);
}

.vmm-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.vmm-card h3 {
  color: var(--primary-blue);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.vmm-card p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Values Section */
.ideal-statement {
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.05) 0%, rgba(247, 201, 72, 0.05) 100%);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  border-left: 4px solid var(--accent-yellow);
  margin: 2rem 0;
}

.ideal-statement p {
  font-size: 1.25rem;
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
  font-weight: 500;
}

.values-title {
  text-align: center;
  color: var(--primary-blue);
  font-size: 2rem;
  margin: 3rem 0 2rem;
  font-weight: 700;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-card {
  background: linear-gradient(135deg, #fff 0%, rgba(0, 51, 102, 0.02) 100%);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.03) 0%, rgba(247, 201, 72, 0.03) 100%);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.value-card h4 {
  color: var(--primary-blue);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.value-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Work page sections styling */
.work-title {
  text-align: center;
  color: #003366;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin: clamp(1.5rem, 4vw, 2rem) clamp(0.5rem, 2vw, 1rem);
  font-weight: bold;
  padding: 0 1rem;
  word-wrap: break-word;
}

.problem-section,
.solution-section,
.jdl-program,
.jdl-2023-launch,
.jesus-discipled-certificates,
.namayemba-jdl,
.cherubim-programs {
  background: #f9fafb;
  padding: clamp(1.5rem, 4vw, 2rem);
  margin: clamp(1.5rem, 4vw, 2rem) clamp(0.5rem, 2vw, 1rem);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.problem-section h2,
.solution-section h2,
.jdl-program h2,
.jesus-discipled-certificates h2,
.namayemba-jdl h2,
.cherubim-programs h2 {
  color: #003366;
  margin-bottom: 1rem;
  font-size: 1.875rem;
}

.jdl-2023-launch h3 {
  color: #003366;
  text-align: center;
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.problem-section p,
.solution-section p,
.jdl-program p,
.jdl-2023-launch p,
.cherubim-programs p {
  font-size: 1.1rem;
  color: #003366;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.solution-section ol,
.cherubim-programs ol {
  font-size: 1.1rem;
  margin: 1rem 0;
  padding-left: 2rem;
}

.solution-section li,
.cherubim-programs li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.jdl-content {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.jdl-text {
  flex: 1;
  min-width: 300px;
}

.jdl-image {
  flex: 0 0 auto;
}

.jdl-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.certificates-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.certificates-gallery img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(10,42,67,0.10);
}

.namayemba-jdl img {
  width: 100%;
  display: block;
  margin: 1.5rem 0;
  box-shadow: 0 2px 12px rgba(10,42,67,0.10);
  border-radius: 12px;
}

.namayemba-jdl p {
  text-align: center;
  font-size: 1.1rem;
  margin-top: 1rem;
  color: #1976d2;
  font-weight: bold;
}

.wobulenzi-mentorship,
.mentorship-priority {
  background: #fff;
  padding: clamp(1.5rem, 4vw, 2rem);
  margin: clamp(1.5rem, 4vw, 2rem) clamp(0.5rem, 2vw, 1rem);
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.wobulenzi-mentorship h2,
.mentorship-priority h2 {
  color: #003366;
  margin-bottom: 1rem;
}

.wobulenzi-mentorship img,
.mentorship-priority img {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(10,42,67,0.10);
  margin: 2rem auto;
  display: block;
}

.donate-section {
  background: linear-gradient(135deg, #003366 0%, #00509e 100%);
  color: #fff;
  text-align: center;
  padding: clamp(3rem, 6vw, 4rem) clamp(1rem, 3vw, 2rem);
  margin: clamp(2rem, 4vw, 3rem) 0;
  position: relative;
  overflow: hidden;
}

.donate-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 50%, rgba(247, 201, 72, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.donate-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.donate-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(247, 201, 72, 0.2);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(247, 201, 72, 0.3);
}

.donate-icon {
  color: var(--accent-yellow);
  animation: pulse 2s ease-in-out infinite;
}

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

.donate-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--accent-yellow);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.donate-content p {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.8;
}

.donate-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
}

.donate-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.donate-stat-icon {
  font-size: 2rem;
}

.donate-stat-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.donate-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--accent-yellow);
  color: var(--text-dark);
  padding: 1.125rem 2.5rem;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  transition: all var(--transition-normal);
  box-shadow: 0 10px 25px rgba(247, 201, 72, 0.3);
}

.donate-button:hover {
  background: var(--accent-orange);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(217, 119, 6, 0.4);
}

/* Image Gallery Grid */
.image-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  align-items: center;
}

.image-gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(10,42,67,0.10);
}

.footer {
  background: linear-gradient(135deg, #002244 0%, #003366 100%);
  color: #fff;
  padding: clamp(3rem, 5vw, 4rem) clamp(0.5rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
  width: 100%;
  overflow-x: hidden;
  border-top: 3px solid var(--accent-yellow);
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(0.5rem, 3vw, 1.5rem);
}

.footer-shortcuts {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin-bottom: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-shortcuts a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all var(--transition-fast);
  font-size: clamp(0.9rem, 2vw, 1rem);
  padding: 0.5rem 0.75rem;
  white-space: nowrap;
  border-radius: var(--border-radius-sm);
  position: relative;
}

.footer-shortcuts a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-yellow);
  transition: width var(--transition-normal);
}

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

.footer-shortcuts a:hover::after {
  width: 80%;
}

.contact-icons-list {
  display: flex;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 2rem);
  margin-bottom: 2rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.contact-icon-link {
  display: flex;
  align-items: center;
  gap: clamp(0.3rem, 1vw, 0.5rem);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: clamp(0.85rem, 2vw, 1rem);
  padding: 0.5rem;
  word-break: break-word;
}

.contact-icon-link svg {
  flex-shrink: 0;
}

.contact-icon-link:hover {
  color: #f7c948;
}

.footer-legal {
  text-align: center;
  margin-bottom: 1rem;
}

.footer-legal-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: #f7c948;
}

.footer-copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  word-wrap: break-word;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1000;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #f7c948;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Donate page hero */
.donate-hero {
  background: linear-gradient(135deg, #003366 0%, #00509e 100%);
  color: #fff;
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 3vw, 2rem);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 10px 15px -3px rgba(10,42,67,0.10), 0 4px 6px -2px rgba(10,42,67,0.05);
}

.donate-hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.donate-hero h1 {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
}

.donate-hero p {
  font-family: 'Shadows Into Light', cursive;
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: #fffddc;
  margin: 0 auto;
  line-height: 1.5;
}

/* Donation methods */
.donation-options {
  background: #f9fafb;
  padding: clamp(1.5rem, 4vw, 2rem);
  margin: clamp(1.5rem, 4vw, 2rem) clamp(0.5rem, 2vw, 1rem);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.donation-options h2 {
  color: #003366;
  margin: 0 0 1rem 0;
  font-size: 1.875rem;
  text-align: center;
}

.donation-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
  margin-top: 1rem;
}

.donation-method {
  background: #fff;
  border-radius: 12px;
  padding: clamp(1rem, 3vw, 1.5rem);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  text-align: center;
}

.method-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem auto;
  background: #f1f5f9;
}

.donation-method h3 {
  color: #0a2a43;
  margin: 0.5rem 0;
}

.donation-method p {
  color: #003366;
  margin: 0.25rem 0 0.75rem 0;
}

.contact-info {
  margin: 0.5rem 0 1rem 0;
  color: #0a2a43;
}

/* Donate buttons */
.donate-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 6px -1px rgba(10,42,67,0.10), 0 2px 4px -1px rgba(10,42,67,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.donate-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 12px -3px rgba(10,42,67,0.10), 0 4px 8px -2px rgba(10,42,67,0.08);
  filter: brightness(0.98);
}

.whatsapp-btn {
  background: #25D366;
  color: #fff;
}

.email-btn {
  background: #d93025;
  color: #fff;
}

.call-btn {
  background: #f7c948;
  color: #0a2a43;
}

/* Donation impact */
.donation-impact {
  background: #fff;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.donation-impact h2 {
  color: #003366;
  margin: 0 0 1rem 0;
  text-align: center;
}

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

.impact-item {
  background: #f9fafb;
  border-radius: 10px;
  padding: 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: center;
}

.impact-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

/* Donation info */
.donation-info {
  background: #f9fafb;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.donation-info h2 {
  color: #003366;
  margin: 0 0 1rem 0;
  text-align: center;
}

.info-content p,
.info-content li {
  color: #003366;
  font-size: 1.05rem;
  line-height: 1.6;
}

.info-content ul {
  padding-left: 1.25rem;
}

/* Team page styles */
.team-carousel-section {
  margin: 2rem 0;
}

.team-carousel-text {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  max-width: 900px;
  margin: 1rem auto 0 auto;
  text-align: center;
}

.team-carousel-text h2 {
  color: #003366;
  margin: 0 0 0.5rem 0;
}

.team-carousel-text p {
  color: #003366;
  line-height: 1.6;
}

.team-profile-card {
  box-shadow: 0 4px 16px rgba(30,64,175,0.10);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin: clamp(1.5rem, 4vw, 2.5rem) clamp(0.5rem, 2vw, 1rem);
  background: linear-gradient(90deg, #f8fafc 60%, #e0e7ff 100%);
  padding: clamp(0.5rem, 2vw, 0.75rem);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.team-profile-photo {
  width: clamp(120px, 20vw, 160px);
  height: clamp(120px, 20vw, 160px);
  object-fit: cover;
  border-radius: 50%;
  margin: 1.5rem;
  box-shadow: 0 2px 8px rgba(30,64,175,0.13);
  border: 4px solid #d97706;
  flex-shrink: 0;
}

.team-profile-info {
  flex: 1;
  min-width: min(220px, 100%);
  padding: clamp(1rem, 3vw, 1.5rem) clamp(0.5rem, 2vw, 1rem) clamp(1rem, 3vw, 1.5rem) 0;
}

.team-profile-info h2 {
  font-size: 1.5rem;
  color: #1e40af;
  margin-bottom: 0.5rem;
}

.team-profile-info p {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.6;
  margin: 0 0 0.5rem 0;
}

/* Contact page styles */
.contact-title {
  text-align: center;
  color: #003366;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin: clamp(1.5rem, 4vw, 2rem) clamp(0.5rem, 2vw, 1rem);
  font-weight: bold;
  padding: 0 1rem;
}

.contact-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1.5rem, 4vw, 2rem);
  background: #f9fafb;
  padding: clamp(1.5rem, 4vw, 2rem);
  margin: clamp(1.5rem, 4vw, 2rem) clamp(0.5rem, 2vw, 1rem);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  background: #fff;
  border-radius: 12px;
  padding: clamp(1rem, 3vw, 1.5rem);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-field label {
  color: #0a2a43;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  outline: none;
  background: #f8fafc;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(30,64,175,0.15);
  background: #fff;
}

.contact-submit {
  background: #1e40af;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(10,42,67,0.10), 0 2px 4px -1px rgba(10,42,67,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.contact-submit:hover {
  background: #153384;
  transform: translateY(-1px);
  box-shadow: 0 8px 12px -3px rgba(10,42,67,0.10), 0 4px 8px -2px rgba(10,42,67,0.08);
}

.contact-info-card {
  background: #fff;
  border-radius: 12px;
  padding: clamp(1rem, 3vw, 1.5rem);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.contact-info-card h2 {
  color: #003366;
  margin: 0 0 0.5rem 0;
}

.contact-info-card p {
  color: #003366;
  margin: 0 0 1rem 0;
}

.contact-info-card .contact-icons-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.contact-info-card .contact-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #1e293b;
  text-decoration: none;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.contact-info-card .contact-icon-link:hover {
  background: #f1f5f9;
  color: #0a2a43;
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */

/* Tablets and Small Laptops (900px and below) */
@media (max-width: 900px) {
  .contact-section {
    grid-template-columns: 1fr;
  }
  
  .jdl-content {
    flex-direction: column;
  }
  
  .donation-methods {
    grid-template-columns: 1fr;
  }
  
  .certificates-gallery {
    flex-direction: column;
  }
}

/* Tablets and Mobile (700px and below) */
@media (max-width: 700px) {
  /* Navigation */
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem clamp(0.75rem, 3vw, 1.5rem);
  }
  
  .logo-container {
    flex: 1;
    min-width: 0;
  }
  
  .logo {
    height: 48px;
  }
  
  .site-title {
    font-size: clamp(0.85rem, 3.5vw, 1.2rem);
    letter-spacing: 0.5px;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #003366 0%, #00509e 100%);
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 0 0 16px 16px;
    display: none;
    width: 100%;
    z-index: 999;
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links li a {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
  }
  
  .hamburger {
    display: flex;
    order: 3;
  }
  
  /* Hero Section */
  .hero {
    padding: 2rem 1rem;
  }
  
  .hero-content h1 {
    font-size: clamp(1.5rem, 6vw, 2.25rem);
  }
  
  .hero-content p {
    font-size: clamp(0.95rem, 3.5vw, 1.125rem);
  }
  
  /* Carousel */
  .carousel {
    height: clamp(200px, 45vw, 300px);
  }
  
  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  
  .carousel-arrow.left {
    left: 5px;
  }
  
  .carousel-arrow.right {
    right: 5px;
  }
  
  .carousel-controls {
    bottom: 10px;
  }
  
  .carousel-dot {
    width: 8px;
    height: 8px;
  }
  
  /* Sections */
  section {
    padding: 1.5rem 1rem;
  }
  
  .intro, .our-belief, .school-programs,
  .about-section, .our-story, .vision-mission, .ideal-values,
  .problem-section, .solution-section, .jdl-program,
  .donation-options, .contact-section {
    padding: 1.5rem 1rem;
    margin: 1.5rem 0.5rem;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 1rem 1.5rem;
  }
  
  .footer-main {
    padding: 0 0.5rem;
  }
  
  .footer-shortcuts {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .footer-shortcuts a {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
  }
  
  .footer-shortcuts a:hover {
    background: rgba(247, 201, 72, 0.1);
  }
  
  .contact-icons-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .contact-icon-link {
    justify-content: flex-start;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    gap: 0.75rem;
    transition: all var(--transition-fast);
  }
  
  .contact-icon-link:hover {
    background: rgba(247, 201, 72, 0.1);
    transform: translateX(5px);
  }
  
  .contact-icon-link svg {
    width: 24px;
    height: 24px;
  }
  
  .contact-icon-link span {
    font-size: 0.9rem;
    word-break: break-word;
  }
  
  .footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .footer-legal-link {
    margin: 0;
    padding: 0.5rem;
  }
  
  .footer-copyright {
    font-size: 0.8rem;
    padding: 1rem 0.5rem 0;
    line-height: 1.6;
  }
  
  /* Typography */
  h1 {
    font-size: clamp(1.5rem, 6vw, 2.25rem);
  }
  
  h2 {
    font-size: clamp(1.35rem, 5vw, 1.875rem);
  }
  
  /* Team Profile */
  .team-profile-photo {
    margin: 1rem auto;
    width: 120px;
    height: 120px;
  }
  
  .team-profile-info {
    padding: 1rem;
    text-align: center;
  }
  
  .team-profile-card {
    flex-direction: column;
    text-align: center;
  }
  
  /* Donate Section */
  .donate-hero h1 {
    font-size: clamp(1.5rem, 6vw, 2.25rem);
  }
  
  .donate-hero p {
    font-size: clamp(0.95rem, 3.5vw, 1.05rem);
  }
  
  /* Image Gallery */
  .image-gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Small phone adjustments (420px and below) */
@media (max-width: 420px) {
  .navbar {
    padding: 0.75rem 0.5rem;
  }
  
  .site-title {
    font-size: clamp(0.75rem, 4vw, 0.95rem);
  }
  
  .carousel {
    height: clamp(180px, 50vw, 220px);
  }
  
  .carousel-arrow {
    width: 32px;
    height: 32px;
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
  }
  
  /* Enhanced footer for very small screens */
  .footer {
    padding: 1.5rem 0.75rem 1rem;
  }
  
  .footer-shortcuts a {
    font-size: 0.85rem;
    padding: 0.65rem 0.875rem;
    max-width: 100%;
  }
  
  .contact-icon-link {
    padding: 0.75rem 0.875rem;
    font-size: 0.85rem;
  }
  
  .contact-icon-link svg {
    width: 20px;
    height: 20px;
  }
  
  .footer-copyright {
    font-size: 0.75rem;
    padding: 0.875rem 0.25rem 0;
  }
}

/* Large Screens (1400px and above) */
@media (min-width: 1400px) {
  :root {
    --content-max-width: 1200px;
  }
  
  .navbar {
    max-width: 1400px;
    margin: 0 auto;
  }
  
  header {
    display: flex;
    justify-content: center;
  }
}

/* Footer dancing icons */
@keyframes dance {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.06); }
  100% { transform: translateY(0) scale(1); }
}

.footer .contact-icons-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin: 1.25rem 0 2rem 0;
  padding: 0;
  list-style: none;
}

.footer .contact-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  transition: color 0.2s ease;
}

.footer .contact-icon-link svg {
  transition: transform 0.25s ease;
}

.footer .contact-icon-link:hover {
  color: #f7c948;
}

.footer .contact-icon-link:hover svg {
  animation: dance 0.6s ease-in-out;
} 

/* Footer dancing icons - continuous animation */
.footer .contact-icon-link svg {
  animation: dance 1.4s ease-in-out infinite;
  transform-origin: center;
}

/* Staggered delays for a lively feel */
.footer .contact-icons-list li:nth-child(1) svg { animation-delay: 0s; }
.footer .contact-icons-list li:nth-child(2) svg { animation-delay: 0.1s; }
.footer .contact-icons-list li:nth-child(3) svg { animation-delay: 0.2s; }
.footer .contact-icons-list li:nth-child(4) svg { animation-delay: 0.3s; }
.footer .contact-icons-list li:nth-child(5) svg { animation-delay: 0.4s; }

/* Speed up on hover */
.footer .contact-icon-link:hover svg {
  animation-duration: 0.6s;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .footer .contact-icon-link svg {
    animation: none !important;
  }
  
  .typing-effect {
    animation: none;
    border-right: none;
  }
  
  .carousel-slide {
    transition: none;
  }
}

/* Contact form note */
.form-note {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #475569;
}

/* Team carousel specific sizing and fit */
.team-carousel-section .carousel {
  height: clamp(260px, 40vw, 360px);
}

.team-carousel-section .carousel-slide {
  object-fit: contain;
  background: #0b1a2a;
}

/* Typing Effect Animation */
.typing-effect {
  overflow: hidden;
  border-right: 2px solid #f7c948;
  white-space: nowrap;
  margin: 0 auto;
  animation: typing 3.5s steps(40, end) infinite, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  0% { width: 0; }
  50% { width: 100%; }
  100% { width: 0; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: #f7c948; }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  color: white;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100px);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
  color: var(--text-dark);
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* Fade-in animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation delays */
.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }

.program-card:nth-child(1) { transition-delay: 0.1s; }
.program-card:nth-child(2) { transition-delay: 0.2s; }

/* Loading animation for images */
img {
  animation: fadeInImage 0.5s ease-in;
}

@keyframes fadeInImage {
  from { opacity: 0; }
  to { opacity: 1; }
} 