*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #102a43;
  background-color: #f7fafc;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 118, 110, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.75rem;
}

.logo img {
  height: 52px;
  object-fit: contain;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1f2933;
  padding-block: 0.25rem;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #059669, #f97316);
  transition: width 0.2s ease;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #059669, #0ea5e9);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(15, 118, 110, 0.25);
  filter: brightness(1.03);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.25);
  background: rgba(255, 255, 255, 0.85);
  color: #0f766e;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.btn-outline:hover {
  background: #ecfdf5;
  border-color: #059669;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.2);
}

.btn-small {
  padding-inline: 1rem;
  padding-block: 0.45rem;
  font-size: 0.85rem;
}

main {
  padding-top: 80px;
}

.hero {
  padding-block: 4.5rem 3.5rem;
  background: radial-gradient(circle at top left, #ecfdf5 0, #eff6ff 40%, #f7fafc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3vw + 1rem, 2.9rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero-text p {
  margin: 0 0 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  color: #0f766e;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hero-sub {
  font-size: 0.9rem;
  color: #4b5563;
  margin-top: 0.75rem;
}

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

.hero-image {
  border-radius: 1.5rem;
  background-image: url("c\(39\).JPG.jpeg");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  aspect-ratio: 4 / 3;
  box-shadow: 0 22px 45px rgba(15, 118, 110, 0.4);
}

.hero-stats {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  font-size: 0.8rem;
}

@media (max-width: 520px) {
  .hero-stats {
    position: static;
    margin-top: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    font-size: 0.75rem;
  }
}

.hero-stats strong {
  display: block;
  font-size: 1rem;
  color: #059669;
}

.hero-stats span {
  color: #4b5563;
}

.section {
  padding-block: 3.5rem;
}

.section.light {
  background: #f9fafb;
}

.section.highlight {
  background: linear-gradient(135deg, #059669, #0ea5e9);
  color: #ecfeff;
}

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

.section-header h2 {
  margin: 0 0 0.4rem;
  font-size: 1.8rem;
}

.section-header p {
  margin: 0;
  color: #6b7280;
}

.section.highlight .section-header p {
  color: rgba(240, 249, 255, 0.9);
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.about-home {
  align-items: center;
}

.about-text {
  order: 1;
}

.about-media {
  order: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 0.75rem;
  align-items: center;
}

.about-photo-main img {
  width: 100%;
  border-radius: 1.4rem;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.4);
}

.about-photo-stack img {
  width: 100%;
  border-radius: 1.1rem;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  box-shadow: 0 16px 40px rgba(148, 163, 184, 0.5);
  object-position: center top;
}

.about-photo-stack img:last-child {
  object-position: center 15%;
}

.highlight-card {
  padding: 1.5rem 1.75rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #ecfdf5, #eff6ff);
  border: 1px solid rgba(15, 118, 110, 0.18);
}

.highlight-card h3 {
  margin-top: 0;
  margin-bottom: 0.9rem;
}

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

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: #059669;
  color: #f9fafb;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.highlights-photos img {
  width: 100%;
  border-radius: 1.4rem;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.4);
}

.card {
  padding: 1.5rem 1.6rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 15px 35px rgba(148, 163, 184, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #059669;
  box-shadow: 0 20px 50px rgba(15, 118, 110, 0.28);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.news-card {
  padding: 1.4rem 1.5rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.3);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.news-image {
  width: 100%;
  border-radius: 1rem;
  margin: 0.65rem 0 0.85rem;
  object-fit: cover;
  max-height: 220px;
}

.news-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0.65rem 0 0.85rem;
}

.news-images .news-image {
  margin: 0;
  max-height: 180px;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.4);
}

.news-date {
  display: inline-flex;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.gallery-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.gallery-preview--more {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transform-origin: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(circle at 70% 80%, rgba(255, 237, 213, 0.7), transparent);
  mix-blend-mode: screen;
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.4);
  filter: saturate(1.1);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.testimonial {
  padding: 1.6rem 1.7rem;
  border-radius: 1.25rem;
  background: #fff;
  border-left: 4px solid #059669;
  box-shadow: 0 16px 40px rgba(148, 163, 184, 0.4);
}

.testimonial p {
  margin-top: 0;
  font-style: italic;
}

.testimonial .author {
  display: block;
  margin-top: 0.6rem;
  font-weight: 600;
  color: #059669;
}

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

.cta-flex p {
  max-width: 32rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section-cta {
  margin-top: 2rem;
  text-align: center;
}

.site-footer {
  background: #020617;
  color: #e5e7eb;
  padding-top: 2.5rem;
  margin-top: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.footer-links li + li {
  margin-top: 0.3rem;
}

.footer-links a {
  color: #9ca3af;
}

.footer-links a:hover {
  color: #f97316;
}

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

.social-links a {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.social-links a:hover {
  background: linear-gradient(135deg, #059669, #f97316);
  color: #fff;
  border-color: transparent;
}

.social-links svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding-block: 0.8rem;
  text-align: center;
  font-size: 0.8rem;
  color: #9ca3af;
}

.whatsapp-floating {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: #22c55e;
  color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.5);
  z-index: 60;
}

.whatsapp-floating:hover {
  filter: brightness(1.03);
}

.page-hero {
  padding-block: 4rem 2.5rem;
  background: radial-gradient(circle at top left, #ecfdf5, #eff6ff 45%, #f9fafb 100%);
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: 2rem;
}

.lead {
  margin: 0;
  max-width: 38rem;
  color: #4b5563;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 600;
  color: #059669;
  margin-bottom: 0.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.team-card {
  padding: 1.3rem 1.4rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.programme-block img {
  object-position: center 15%;
}

.programme-block {
  padding: 1.7rem 1.8rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 16px 40px rgba(148, 163, 184, 0.4);
  margin-bottom: 1.8rem;
}

.programme-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.programme-header h2 {
  margin: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.3);
  font-size: 0.78rem;
  color: #2563eb;
  background: rgba(239, 246, 255, 0.9);
}

.tag-accent {
  border-color: rgba(249, 115, 22, 0.65);
  color: #f97316;
  background: rgba(255, 247, 237, 0.95);
}

.bullet-list {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0.6rem 0 0;
  font-size: 0.95rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.gallery-card {
  margin: 0;
}

.gallery-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 1.1rem;
  background: #f1f5f9;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 210ms ease, box-shadow 210ms ease;
  object-fit: cover;
  object-position: center;
}

.gallery-grid--full {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.gallery-img::after {
  content: none;
}

.gallery-img:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.45);
}

.gallery-card figcaption {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 2.25rem;
}

.blog-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 0;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 16px 40px rgba(148, 163, 184, 0.4);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.18);
}

.blog-card + .blog-card {
  margin-top: 1.8rem;
}

.blog-card .news-images {
  grid-column: 1;
  grid-row: 1 / 99;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
}

.blog-card .news-images .news-image {
  flex: 1;
  width: 100%;
  max-height: none;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  margin: 0;
}

.blog-card .blog-card-body {
  padding: 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
}

.blog-card h2 {
  margin-top: 0.3rem;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.blog-card p {
  margin: 0;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.65;
}

#all-news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}

#all-news-list .blog-card:last-child {
  margin-bottom: 0;
}

#all-news-list .blog-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  grid-template-columns: 340px minmax(0, 1fr);
  grid-template-rows: auto;
}

#all-news-list .blog-card:last-child:nth-child(odd) .news-images {
  height: 320px;
  max-height: 320px;
  flex-direction: column;
}

#all-news-list .blog-card:last-child:nth-child(odd) .news-images .news-image {
  height: 100%;
  max-height: 380px;
  object-position: center;
}

#all-news-list .blog-card:last-child:nth-child(odd) .blog-card-body {
  grid-row: 1;
  padding: 1.8rem 2rem;
}

#all-news-list .blog-card {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 220px auto;
  margin-top: 0;
}

#all-news-list .blog-card .news-images {
  grid-column: 1;
  grid-row: 1;
  height: 220px;
  flex-direction: row;
  overflow: hidden;
}

#all-news-list .blog-card .news-images .news-image {
  height: 220px;
  max-height: 220px;
  object-fit: cover;
  object-position: center top;
}

#all-news-list .blog-card .blog-card-body {
  grid-row: 2;
  padding: 1.4rem 1.5rem;
}

.blog-sidebar .sidebar-card {
  padding: 1.4rem 1.5rem;
  border-radius: 1.1rem;
  background: #f9fafb;
  border: 1px dashed rgba(148, 163, 184, 0.8);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: start;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  font-size: 0.95rem;
}

.contact-info li + li {
  margin-top: 0.25rem;
}

.map-wrapper {
  border-radius: 1.1rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.6);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 0.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-field label {
  font-size: 0.86rem;
  font-weight: 500;
  color: #4b5563;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: #f9fafb;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.35);
  background: #fff;
}

.form-success {
  font-size: 0.86rem;
  color: #059669;
}

.text-link {
  font-size: 0.95rem;
  color: #2563eb;
  font-weight: 500;
}

.text-link:hover {
  color: #1d4ed8;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.22rem;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #fff;
}

.nav-toggle span {
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

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

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-image-card {
    max-width: 100%;
    margin-inline: auto;
    margin-top: 0.5rem;
  }

  .hero-stats {
    font-size: 0.78rem;
  }

  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-media {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-layout {
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding-block: 0.6rem;
  }

  .logo img {
    height: 46px;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    right: 1.5rem;
    top: 100%;
    margin-top: 0.5rem;
    background: #ffffff;
    border-radius: 0.9rem;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.32);
    padding: 0.65rem 0.8rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 0.25rem 0.4rem;
  }

  .hero {
    padding-top: 3.8rem;
  }

  .hero-grid {
    gap: 2.4rem;
  }

  .section {
    padding-block: 3rem;
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-preview {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .gallery-grid:not(.gallery-grid--full) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .gallery-grid.gallery-grid--full {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .blog-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-sidebar {
    order: -1;
  }

  .blog-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-card .news-images {
    grid-column: 1;
    grid-row: auto;
    flex-direction: row;
    height: 220px;
  }

  #all-news-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 2rem, 100%);
  }

  .hero-image {
    background-size: contain;
  }

  .hero-stats {
    grid-template-columns: minmax(0, 1fr);
    font-size: 0.9rem;
  }

  .gallery-preview {
    grid-template-columns: minmax(0, 1fr);
  }

  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid:not(.gallery-grid--full) {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid.gallery-grid--full {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* ===== LIGHTBOX ===== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 2rem 4rem;
}

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 0.75rem;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  user-select: none;
  transition: opacity 0.2s ease;
}

.lightbox-img.is-loading {
  opacity: 0;
}

.lightbox-caption {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  text-align: center;
  max-width: 60%;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  user-select: none;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-btn.prev { left: 1rem; }
.lightbox-btn.next { right: 1rem; }

.lightbox-counter {
  position: absolute;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .lightbox-inner {
    padding: 1rem;
  }

  .lightbox-btn {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1rem;
  }

  .lightbox-btn.prev { left: 0.4rem; }
  .lightbox-btn.next { right: 0.4rem; }

  .lightbox-caption {
    max-width: 85%;
    font-size: 0.78rem;
  }
}

/* ===== À PROPOS — CHIFFRES CLÉS ===== */
.about-stats-section {
  background: linear-gradient(135deg, #059669, #0ea5e9);
  padding-block: 2.5rem;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.about-stat strong {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.about-stat span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* ===== À PROPOS — VALEURS ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.value-card {
  padding: 1.6rem 1.4rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 15px 35px rgba(148, 163, 184, 0.2);
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(15, 118, 110, 0.2);
}

.value-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.value-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #059669;
}

.value-card p {
  margin: 0;
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.6;
}

/* ===== À PROPOS — ÉQUIPE icône ===== */
.team-icon {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

@media (max-width: 920px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .values-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===== HIGHLIGHTS GRID (Accueil) ===== */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.highlight-item {
  padding: 1.6rem 1.5rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 15px 35px rgba(148, 163, 184, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.highlight-item:hover {
  transform: translateY(-4px);
  border-color: #059669;
  box-shadow: 0 22px 50px rgba(15, 118, 110, 0.2);
}

.highlight-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.highlight-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #0f172a;
}

.highlight-item p {
  margin: 0;
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.65;
}

@media (max-width: 920px) {
  .highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .highlights-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===== PROGRAMMES ===== */
.prog-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.prog-pillar {
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 15px 35px rgba(148, 163, 184, 0.18);
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.prog-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(15, 118, 110, 0.2);
}

.prog-pillar--accent {
  background: linear-gradient(135deg, #059669, #0ea5e9);
  border-color: transparent;
  color: #fff;
}

.prog-pillar--accent h3,
.prog-pillar--accent p {
  color: #fff;
}

.prog-pillar--accent p {
  opacity: 0.9;
}

.prog-pillar-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.prog-pillar h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.prog-pillar p {
  margin: 0;
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.6;
}

.prog-block-alt {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 3rem;
  align-items: center;
}

.prog-block-alt--reverse {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.prog-block-alt--reverse .prog-block-text {
  order: 2;
}

.prog-block-alt--reverse .prog-block-visual {
  order: 1;
}

.prog-block-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.prog-big-icon {
  font-size: 2rem;
}

.prog-block-text h2 {
  margin: 0.3rem 0 0.5rem;
}

.prog-block-text .tag {
  margin-bottom: 1rem;
  display: inline-flex;
}

.prog-block-text p {
  margin-bottom: 0.75rem;
}

.prog-block-visual {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.25);
}

.prog-visual--green {
  border: 3px solid #059669;
}

.prog-visual--blue {
  border: 3px solid #0ea5e9;
}

.prog-visual-inner img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* CORAN section spéciale */
.prog-coran-section {
  background: linear-gradient(135deg, #064e3b, #065f46, #0f766e);
  color: #fff;
  padding-block: 4rem;
}

.prog-coran-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 3rem;
  align-items: start;
}

.prog-coran-header {
  text-align: left;
}

.prog-coran-header h2 {
  color: #fff;
  margin: 0.3rem 0 0.75rem;
  font-size: 1.8rem;
}

.prog-coran-content p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.prog-coran-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.prog-coran-point {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 920px) {
  .prog-pillars {
    grid-template-columns: minmax(0, 1fr);
  }

  .prog-block-alt,
  .prog-block-alt--reverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .prog-block-alt--reverse .prog-block-text {
    order: 1;
  }

  .prog-block-alt--reverse .prog-block-visual {
    order: 2;
  }

  .prog-coran-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .prog-coran-points {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===== MOT DU DIRECTEUR ===== */
.directeur-section {
  background: linear-gradient(135deg, #f0fdf4, #eff6ff);
  border-top: 1px solid rgba(5, 150, 105, 0.1);
  border-bottom: 1px solid rgba(5, 150, 105, 0.1);
}

.directeur-inner {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.directeur-photo-wrap {
  position: relative;
  text-align: center;
}

.directeur-photo {
  width: 100%;
  border-radius: 1.5rem;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 3 / 4;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.2);
}

.directeur-badge {
  position: absolute;
  bottom: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #059669, #0ea5e9);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
}

.directeur-content {
  padding: 0.5rem 0;
}

.directeur-quote {
  margin: 1rem 0 1.5rem;
  padding: 0;
  border: none;
}

.directeur-quote p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #1f2937;
  margin-bottom: 1rem;
  position: relative;
}

.directeur-quote p:first-child::before {
  content: '\201C';
  font-size: 4rem;
  color: #059669;
  opacity: 0.25;
  position: absolute;
  top: -1.5rem;
  left: -1rem;
  font-family: Georgia, serif;
  line-height: 1;
}

.directeur-signature {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(5, 150, 105, 0.2);
}

.directeur-signature strong {
  font-size: 1rem;
  color: #059669;
  font-weight: 700;
}

.directeur-signature span {
  font-size: 0.85rem;
  color: #6b7280;
}

@media (max-width: 768px) {
  .directeur-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .directeur-photo-wrap {
    max-width: 220px;
    margin-inline: auto;
  }

  .directeur-quote p {
    font-size: 0.95rem;
  }
}