:root {
  --primary: #e67e22;
  --primary-dark: #d35400;
  --primary-light: #f8c471;
  --accent: #2c3e50;
  --text: #2c3e50;
  --text-light: #5d6d7e;
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --border: #e1e8ed;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.25s ease;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

[data-theme="dark"] {
  --primary: #f39c12;
  --primary-dark: #e67e22;
  --primary-light: #f7dc6f;
  --accent: #34495e;
  --text: #ecf0f1;
  --text-light: #bdc3c7;
  --bg: #1a252f;
  --bg-alt: #2c3e50;
  --border: #465a69;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul,
ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 9999;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  background: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(230, 126, 34, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.45);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--primary);
}

.btn-light:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}

.btn-small {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.logo:hover {
  color: var(--text);
}

.logo-icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav ul {
  display: flex;
  gap: 1.5rem;
}

.main-nav a:not(.btn) {
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.main-nav a:not(.btn):hover,
.main-nav a:not(.btn).active {
  color: var(--primary);
}

.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.main-nav a:not(.btn):hover::after,
.main-nav a:not(.btn).active::after {
  width: 100%;
}

.nav-cta {
  display: inline-block;
}

.theme-toggle {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  color: var(--text);
}

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

[data-theme="dark"] .theme-icon-light {
  display: none;
}

[data-theme="dark"] .theme-icon-dark {
  display: inline;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: all 0.3s;
}

/* Hero */
.hero {
  position: relative;
  padding: 5rem 0;
  background: var(--bg-alt);
  background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(248, 249, 250, 0.9)), url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
}

[data-theme="dark"] .hero {
  background-image: linear-gradient(rgba(26, 37, 47, 0.88), rgba(44, 62, 80, 0.92)), url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=80');
}

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

.hero-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--text);
  width: fit-content;
}

.hero-logo:hover {
  color: var(--text);
}

.hero-logo-icon {
  display: inline-flex;
  color: var(--primary);
}

.hero-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
}

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

.hero-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero h1 .accent {
  color: var(--primary);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 500px;
}

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

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-size: 2rem;
  color: var(--primary);
  line-height: 1.1;
}

.hero-stats span {
  font-size: 0.9rem;
  color: var(--text-light);
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.floating-card {
  position: absolute;
  background: var(--bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  animation: float 3s ease-in-out infinite;
}

.floating-card-top {
  top: 20px;
  right: -30px;
}

.floating-card-bottom {
  bottom: 30px;
  left: -30px;
  animation-delay: 1.5s;
}

.fc-icon {
  font-size: 1.5rem;
}

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

/* Sections */
.section {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-tag {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--text);
}

.section-sub {
  color: var(--text-light);
  font-size: 1.05rem;
}

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

.service-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}

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

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.service-link {
  font-weight: 600;
}

/* How It Works */
.how-it-works {
  background: var(--bg-alt);
}

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

.step-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.step-card p {
  color: var(--text-light);
}

/* Featured Fundis */
.featured {
  background: var(--bg);
}

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

.fundi-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.fundi-avatar {
  width: 80px;
  height: 80px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.fundi-info h3 {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.fundi-specialty {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.fundi-rating,
.fundi-location {
  font-size: 0.9rem;
  color: var(--text-light);
}

.section-footer {
  text-align: center;
  margin-top: 2.5rem;
}

/* Testimonials */
.testimonials {
  background: var(--bg-alt);
}

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

.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.testimonial-card blockquote {
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-card blockquote::before {
  content: '"';
  font-size: 3rem;
  color: var(--primary);
  position: absolute;
  top: -0.75rem;
  left: -0.5rem;
  opacity: 0.3;
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.testimonial-card figcaption strong {
  display: block;
  color: var(--text);
}

.testimonial-card figcaption span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* CTA */
.cta-section {
  padding: 5rem 0;
  background: var(--primary);
  color: #fff;
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-inner p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Footer */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 3rem 0 0;
}

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

.footer-col h4 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer-logo {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-col p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

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

.footer-links a,
.footer-contact a {
  color: var(--text-light);
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--primary);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

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

.social-links a {
  color: var(--text-light);
  transition: color var(--transition);
}

.social-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--text-light);
  font-size: 0.9rem;
}

.website-owner-link {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.website-owner-link strong {
  color: var(--primary);
}

.website-owner-link:hover {
  color: var(--primary);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateY(20px);
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 98;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  color: #fff;
  background: #1ebe5b;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.share-float {
  position: fixed;
  bottom: 9.5rem;
  right: 1.5rem;
  z-index: 98;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.share-float:hover {
  background: var(--primary-dark);
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.share-float svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.share-toast {
  position: fixed;
  bottom: 15rem;
  right: 1.5rem;
  background: var(--text);
  color: var(--bg);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  box-shadow: var(--shadow-md);
}

.share-toast.show {
  opacity: 1;
}

@media (max-width: 480px) {
  .whatsapp-float,
  .share-float {
    width: 48px;
    height: 48px;
    right: 1rem;
  }

  .whatsapp-float {
    bottom: 5rem;
  }

  .share-float {
    bottom: 8.5rem;
  }

  .share-toast {
    bottom: 12rem;
    right: 1rem;
    font-size: 0.85rem;
  }
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    animation: none;
  }
}

/* Form status */
.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  display: none;
}

.form-status.success {
  display: block;
  background: #eafaf1;
  color: #1e8449;
  border: 1px solid #a9dfbf;
}

.form-status.error {
  display: block;
  background: #fdedec;
  color: #c0392b;
  border: 1px solid #f5b7b1;
}

/* Login Page */
.login-form-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.login-form-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

/* Construction Progress Gallery */
.construction-progress {
  background: var(--bg);
}

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

.progress-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.progress-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.progress-card figcaption {
  padding: 1rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.95rem;
}

.nav-login {
  white-space: nowrap;
}

/* Page hero and filters */
.page-hero {
  text-align: center;
}

.filter-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  justify-content: flex-start;
  margin: 0 auto 2.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.filter-btn:hover,
.filter-btn:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.empty-state {
  padding: 2rem;
  text-align: center;
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-light);
}

/* About page */
.about-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.about-text h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

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

.about-values div {
  background: var(--bg-alt);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.about-values strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.about-values p {
  font-size: 0.95rem;
  margin: 0;
}

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

.stat-box {
  background: var(--bg-alt);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
}

.stat-box strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-box span {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Team */
.team-section {
  background: var(--bg-alt);
}

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

.team-card {
  background: var(--bg);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.team-avatar {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.team-card h3 {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

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

/* Responsive enhancements for mobile */
@media (max-width: 900px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mobile-cta-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    justify-content: center;
  }

  .mobile-cta-bar .btn {
    flex: 1;
    max-width: 220px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .about-values {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    gap: 0.5rem;
    padding-bottom: 0.25rem;
  }

  .filter-btn {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    flex: 0 0 auto;
  }

  .section {
    padding: 3rem 0;
  }

  .page-hero .section-head h1 {
    font-size: 1.75rem;
  }

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

/* Education page */
.edu-article {
  max-width: 860px;
  margin: 0 auto;
}

.edu-intro {
  background: var(--bg-alt);
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.      border-radius: var(--radius-sm);
      color: var(--text-light);
      margin-bottom: 2rem;
    }

    .edu-section {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 2rem;
      margin-bottom: 2rem;
      box-shadow: var(--shadow-sm);
    }

    .edu-section h2 {
      font-size: 1.5rem;
      color: var(--text);
      margin-bottom: 1rem;
    }

    .edu-section h3 {
      font-size: 1.25rem;
      color: var(--text);
      margin: 1.5rem 0 0.75rem;
    }

    .edu-section p {
      color: var(--text-light);
      margin-bottom: 1rem;
    }

    .edu-section ul,
    .edu-section ol {
      list-style: disc outside;
      padding-left: 1.5rem;
      margin-bottom: 1rem;
      color: var(--text-light);
    }

    .edu-section li {
      margin-bottom: 0.5rem;
    }

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

    .edu-card {
      background: var(--bg-alt);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 1.25rem;
    }

    .edu-card strong {
      display: block;
      color: var(--primary);
      margin-bottom: 0.5rem;
    }

    .edu-card p {
      margin: 0;
      font-size: 0.95rem;
      color: var(--text-light);
    }

    .edu-tip {
      background: #fff8e1;
      border-left: 4px solid var(--primary);
      padding: 1rem;
      border-radius: var(--radius-sm);
      margin-bottom: 1.5rem;
      color: #5d4037;
    }

    [data-theme="dark"] .edu-tip {
      background: #3e2f1c;
      color: #f5deb3;
      border-left-color: var(--primary-light);
    }

    /* Contact & Registration Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2rem;
}

.contact-info-card,
.registration-form-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-info-card h2,
.registration-form-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.form-intro {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary-dark);
  flex-shrink: 0;
}

.contact-details strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.contact-details p {
  color: var(--text-light);
  margin: 0;
}

.contact-details a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.whatsapp-link {
  color: #25d366 !important;
}

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.whatsapp-cta:hover {
  background: #1ebe5b;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* Form styles */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.required {
  color: #e74c3c;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.2);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-checkbox input {
  width: auto;
  margin: 0;
}

.form-checkbox label {
  margin: 0;
  font-weight: 400;
}

.btn-block {
  width: 100%;
}

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


/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 0;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

  .floating-card-top {
    right: -10px;
  }

  .floating-card-bottom {
    left: -10px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    gap: 0.75rem;
  }

  .logo {
    font-size: 1.05rem;
    min-width: 0;
  }

  .logo-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .theme-toggle,
  .nav-toggle {
    flex-shrink: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    transition: transform 0.3s;
    z-index: 99;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .main-nav a:not(.btn) {
    font-size: 1.1rem;
  }

  .main-nav .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .header-inner {
    gap: 0.5rem;
  }

  .logo {
    gap: 0.35rem;
    font-size: 1rem;
  }

  .logo-text {
    font-size: 0.95rem;
  }

  .theme-toggle {
    font-size: 1.2rem;
  }

  .btn-large {
    padding: 0.9rem 1.25rem;
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }
}