* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 90px;
}

body {
  font-family: "Poppins", sans-serif;
  color: #171717;
  background: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1180px;
  margin: auto;
}

/* ================= NAVBAR ================= */
.navbar {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nav-content {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 170px;
  height: auto;
}

.nav-menu {
  display: flex;
  gap: 34px;
  align-items: center;
}

.nav-menu a {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  color: #222;
  padding: 10px 0;
  transition: color 0.25s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: #e50914;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.nav-menu a.active,
.nav-menu a:hover {
  color: #e50914;
}

.nav-menu a.active::after,
.nav-menu a:hover::after {
  width: 100%;
}

.nav-btn,
.primary-btn {
  background: #e50914;
  color: #fff;
  padding: 15px 25px;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 12px 25px rgba(229, 9, 20, 0.25);
  white-space: nowrap;
  transition: 0.3s ease;
}

.nav-btn:hover,
.primary-btn:hover {
  transform: scale(1.06);
  background: #d9000b;
  box-shadow: 0 18px 35px rgba(229, 9, 20, 0.35);
}

.menu-btn {
  display: none;
}

/* ================= HERO ================= */
.hero {
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  padding: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(229, 9, 20, 0.08), transparent 28%),
    #fff;
  overflow: hidden;
}

.hero-grid {
  width: 90%;
  max-width: 1220px;
  margin: auto;
  display: grid;
  grid-template-columns: 0.9fr 1.45fr;
  align-items: center;
  gap: 10px;
}

.tagline,
.section-tag {
  color: #e50914;
  font-weight: 500;
  letter-spacing: 4px;
  font-size: 15px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 62px;
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 22px;
  max-width: 650px;
}

.hero h1 span,
.about h2 span {
  color: #e50914;
}

.hero-desc {
  font-size: 17px;
  color: #555;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.secondary-btn {
  border: 2px solid #222;
  color: #222;
  padding: 15px 25px;
  border-radius: 10px;
  font-weight: 700;
  transition: 0.3s ease;
}

.secondary-btn:hover {
  transform: scale(1.05);
  background: #111;
  color: #fff;
}

/* HERO STATS */
.stats-box {
  background: #fff;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 24px;
  padding: 30px 20px;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  width: fit-content;
  max-width: 100%;
  margin-top: 22px;
  position: relative;
  z-index: 5;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: max-content;
}

.stat-item i {
  color: #e50914;
  font-size: 25px;
  min-width: 26px;
}

.stat-text {
  display: flex;
  flex-direction: column;
}

/* ================= HERO ================= */
.hero {
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 72% 40%, rgba(229, 9, 20, 0.06), transparent 30%),
    #fff;
  overflow: hidden;
  padding: 0;
}

.hero-grid {
  width: 92%;
  max-width: 1320px;
  margin: auto;
  display: grid;
  grid-template-columns: 0.85fr 1.45fr;
  align-items: center;
  gap: 0;
}

.tagline {
  color: #e50914;
  font-weight: 700;
  letter-spacing: 4px;
  font-size: 14px;
  margin-bottom: 18px;
}

.section-tag {
  color: #e50914;
  font-weight: 500;
  letter-spacing: 4px;
  font-size: 14px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 58px;
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 22px;
  max-width: 620px;
}

.hero h1 span {
  color: #e50914;
}

.hero-desc {
  font-size: 16px;
  color: #555;
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.primary-btn {
  background: #e50914;
  color: #fff;
  padding: 15px 25px;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 12px 25px rgba(229, 9, 20, 0.25);
  white-space: nowrap;
  transition: 0.3s ease;
}

.secondary-btn {
  border: 2px solid #222;
  color: #222;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 700;
  transition: 0.3s ease;
}

.secondary-btn:hover {
  transform: scale(1.05);
  background: #111;
  color: #fff;
}


/* HERO STATS */
.stats-box {
  background: #fff;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 34px;
  padding: 20px 26px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  width: fit-content;
  max-width: 100%;
  margin-top: 24px;
  position: relative;
  z-index: 5;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.stat-item i {
  color: #e50914;
  font-size: 32px;
  min-width: 34px;
}

.stat-text {
  display: flex;
  flex-direction: column;
}

.stats-box strong {
  color: #111;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 7px;
}

.stats-box small {
  color: #555;
  font-size: 13px;
  line-height: 1.25;
  white-space: nowrap;
}

/* HERO IMAGE */
.hero-image {
  min-height: 520px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

.robot-img {
  width: 760px;
  max-width: 125%;
  position: relative;
  z-index: 2;
  transform: translateX(10px) translateY(18px);
}

/* ================= PROGRAMS ================= */
/* ================= PROGRAMS ================= */
.programs {
  padding: 70px 0;
  background: #fff;
  text-align: center;
}

.programs .section-tag {
  color: #e50914;
  font-size: 14px;
  letter-spacing: 4px;
  font-weight: 600;
  margin-bottom: 10px;
}

.programs h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 40px;
  color: #111;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: stretch;
}

.program-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 18px;
  padding: 26px 22px;
  text-align: left;
  min-height: 250px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(229, 9, 20, 0.12);
  border-color: rgba(229, 9, 20, 0.2);
}

.icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #fff1f2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.icon i {
  color: #ff3b3b;
  font-size: 28px;
  line-height: 1;
}

.program-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #111;
  margin-bottom: 12px;
}

.program-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 18px;
}

.program-card a {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: #ff3b3b;
}

/* Tablet */
@media (max-width: 1100px) {
  .program-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .program-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .programs h2 {
    font-size: 34px;
  }
}

/* ================= ABOUT ================= */
.about {
  background: #1c1f24;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  align-items: center;
  padding: 0;
  min-height: calc(100vh - 84px - 90px);
  overflow: hidden;
  margin: 0;
}

.about-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img img {
  width: 400px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.about {
  background: #1c1f24;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  align-items: center;
  padding: 0;
  min-height: calc(100vh - 84px - 90px);
  overflow: hidden;
  margin: 0;
}

.about-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img img {
  width: 400px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.about {
  background: #1c1f24;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  align-items: center;
  padding: 0;
  min-height: calc(100vh - 84px - 90px);
  overflow: hidden;
  margin: 0;
}

.about-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img img {
  width: 400px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.about-content {
  padding: 18px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-content .section-tag {
  text-align: center;
  margin-bottom: 8px;
  font-size: 13px;
}

.about-content h2 {
  font-size: 30px;
  line-height: 1.15;
  margin-bottom: 12px;
  font-weight: 800;
  text-align: center;
}

.about-content h2 span {
  color: #e50914;
}

.about-content p {
  color: #e8e8e8;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
  max-width: 420px;
  text-align: center;
}

.white-btn {
  background: #fff;
  color: #111;
  padding: 10px 20px;
  border-radius: 9px;
  font-weight: 700;
  display: inline-block;
  transition: 0.3s ease;
}

.white-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.15);
}

.feature-grid {
  padding: 18px 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  background: #292d33;
  padding: 20px;
  border-radius: 14px;
}

.feature-card h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 7px;
}

.feature-card p {
  color: #cfcfcf;
  font-size: 13px;
  line-height: 1.45;
}

.feature-grid {
  padding: 18px 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  background: #292d33;
  padding: 22px;
  border-radius: 16px;
  transition: 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(229, 9, 20, 0.12);
  color: #ff3b47;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.feature-card h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 700;
}

.feature-card p {
  color: #d6d6d6;
  font-size: 14px;
  line-height: 1.55;
}

/* ================= IMPACT BAR ================= */
.impact {
  background: #e50914;
  color: #fff;
  height: 130px;
  padding: 0;
  display: flex;
  align-items: center;
  margin: 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  align-items: center;
  gap: 20px;
}

.impact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.impact strong {
  font-size: 26px;
  line-height: 1;
  display: block;
  font-weight: 800;
}

.impact p {
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
}

/* ================= MOBILE ABOUT FIX ================= */
@media (max-width: 760px) {
  .about {
    display: block !important;
    padding: 35px 0 0 !important;
    min-height: auto !important;
    overflow: visible !important;
  }

  .about-img {
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 25px !important;
  }

  .about-img img {
    width: 230px !important;
    max-width: 80% !important;
    height: auto !important;
  }

  .about-content {
    padding: 0 25px 25px !important;
    text-align: center !important;
  }

  .about-content .section-tag {
    text-align: center !important;
  }

  .about-content h2 {
    font-size: 28px !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  .about-content p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    text-align: center !important;
  }

  .feature-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 0 25px 35px !important;
  }

  .feature-card {
    padding: 22px !important;
    border-radius: 16px !important;
  }

  .feature-icon {
    width: 48px !important;
    height: 48px !important;
    font-size: 20px !important;
    margin-bottom: 14px !important;
  }

  .feature-card h3 {
    font-size: 18px !important;
  }

  .feature-card p {
    font-size: 14px !important;
  }

  .impact {
    height: auto !important;
    padding: 22px 0 !important;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }

  .impact strong {
    font-size: 28px !important;
  }

  .impact p {
    font-size: 12px !important;
  }
}

/* ================= GALLERY ================= */
.gallery {
  padding: 25px;
}

.section-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.section-row h2 {
  font-size: 28px;
  font-weight: 800;
}

.section-row a {
  color: #e50914;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-grid img {
  height: 170px;
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
  background: #f5f5f5;
}

/* ================= GALLERY PAGE ================= */
.gallery-page-hero {
  padding: 25px 0 25px;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(229, 9, 20, 0.08), transparent 35%),
    #fff;
}

.gallery-page-hero h1 {
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 10px;
}

.gallery-page-hero p {
  max-width: 760px;
  margin: auto;
  color: #555;
  font-size: 15px;
  line-height: 1.5;
}

.gallery-categories {
  padding: 18px 0;
  background: #f8f8f8;
  position: sticky;
  top: 82px;
  z-index: 50;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.category-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.category-links a {
  background: #fff;
  color: #111;
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid #eee;
  transition: 0.3s ease;
}

.category-links a:hover {
  background: #e50914;
  color: #fff;
  transform: translateY(-3px);
}

.gallery-album {
  padding: 15px 0 55px;
  background: #fff;
  scroll-margin-top: 160px;
}

.gallery-album:nth-child(even) {
  background: #fafafa;
}

.album-heading {
  text-align: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.album-heading h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 8px;
}

.album-heading p {
  color: #555;
  max-width: 680px;
  margin: auto;
  font-size: 15px;
  line-height: 1.5;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.album-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  background: #f2f2f2;
}

.album-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 18px 40px rgba(229, 9, 20, 0.18);
}

@media (max-width: 1000px) {
  .album-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-categories {
    position: static;
  }
}

@media (max-width: 760px) {
  .gallery-page-hero h1 {
    font-size: 36px;
  }

  .album-grid {
    grid-template-columns: 1fr;
  }

  .album-grid img {
    height: 260px;
  }
}

/* ================= CLEAN HOME GALLERY PREVIEW ================= */
.home-gallery-preview {
  padding: 55px 0 65px !important;
  background: #fff !important;
  border-top: none !important;
  margin-top: 0 !important;
}

.home-gallery-preview .section-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 25px !important;
}

.home-gallery-preview .section-row h2 {
  font-size: 28px !important;
  font-weight: 800 !important;
}

.home-gallery-preview .section-row a {
  color: #e50914 !important;
  font-weight: 700 !important;
}

.home-gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 22px !important;
  align-items: stretch !important;
}

.home-gallery-card {
  background: #fff !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  border: 1px solid #eee !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08) !important;
  transition: 0.3s ease !important;
  display: block !important;
}

.home-gallery-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 22px 45px rgba(229, 9, 20, 0.16) !important;
}

.home-gallery-card img {
  width: 100% !important;
  height: 210px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border-radius: 0 !important;
  transition: 0.4s ease !important;
}

.home-gallery-card:hover img {
  transform: scale(1.06) !important;
}

.home-gallery-info {
  padding: 16px !important;
  background: #fff !important;
}

.home-gallery-info h3 {
  font-size: 17px !important;
  font-weight: 800 !important;
  margin-bottom: 6px !important;
  color: #111 !important;
}

.home-gallery-info span {
  display: block !important;
  color: #e50914 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
}

.home-gallery-info p {
  color: #555 !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
  margin-bottom: 10px !important;
}

.home-gallery-info b {
  color: #e50914 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

/* remove red line effect above gallery */
#gallery {
  scroll-margin-top: 84px !important;
}

@media (max-width: 1100px) {
  .home-gallery-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 760px) {
  .home-gallery-preview .section-row {
    flex-direction: column !important;
    text-align: center !important;
    gap: 12px !important;
  }

  .home-gallery-grid {
    grid-template-columns: 1fr !important;
  }

  .home-gallery-card img {
    height: 260px !important;
  }
}

/* HOME BLOG SECTION */
.home-blog-section {
  padding: 70px 6%;
  background: #ffffff;
}

.blog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}

.blog-top h2 {
  font-size: 30px;
  font-weight: 800;
  color: #050505;
}

.blog-top a {
  text-decoration: none;
  color: #ed0012;
  font-weight: 700;
  font-size: 16px;
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
  transition: 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.13);
}

.blog-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.blog-info {
  padding: 22px 18px;
}

.blog-info span {
  color: #ed0012;
  font-size: 14px;
  font-weight: 800;
}

.blog-info h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 10px 0;
  color: #050505;
  line-height: 1.3;
}

.blog-info p {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-info a {
  color: #ed0012;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 1024px) {
  .blog-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .home-blog-section {
    padding: 50px 5%;
  }

  .blog-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .blog-top h2 {
    font-size: 26px;
  }

  .blog-cards {
    grid-template-columns: 1fr;
  }

  .blog-card img {
    height: 220px;
  }
}

/* ================= BLOG ================= */
.blog {
  padding: 45px 0 60px;
}

.blog h2 {
  font-size: 28px;
  margin-bottom: 24px;
  font-weight: 800;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.blog-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.blog-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: #f5f5f5;
}

.blog-card div {
  padding: 20px;
}

.blog-card span {
  background: rgba(229, 9, 20, 0.1);
  color: #e50914;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 20px;
}

.blog-card h3 {
  margin: 14px 0;
  line-height: 1.4;
  font-size: 20px;
}

.blog-card p {
  color: #777;
  font-size: 13px;
}

/* ================= CTA ================= */
.cta {
  background: #e50914;
  color: #fff;
  padding: 35px 0;
}

.cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cta h2 {
  font-size: 30px;
  font-weight: 800;
}

.cta p {
  font-size: 15px;
  line-height: 1.6;
}

.cta .white-btn {
  background: #fff;
  color: #111;
}

/* ================= FOOTER ================= */
.footer {
  background: #17191e;
  color: #fff;
  padding-top: 38px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 35px;
}

.footer p {
  color: #cfcfcf;
  line-height: 1.8;
  font-size: 14px;
}

.footer h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

.footer a {
  display: block;
  color: #cfcfcf;
  margin-bottom: 10px;
  font-size: 14px;
}

.footer a:hover {
  color: #e50914;
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 30px;
  padding: 14px;
  text-align: center;
}

.footer-logo {
  width: 160px;
  margin-bottom: 15px;
}

/* SOCIAL LINKS */
.footer .social-links {
  display: flex;
  gap: 12px;
  margin: 15px 0 22px;
  flex-wrap: wrap;
}

.footer .social-links a {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  background: rgba(229, 9, 20, 0.14);
  color: #e50914;
  border: 1px solid rgba(229, 9, 20, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.footer .social-links a i {
  display: block;
  line-height: 1;
}

.footer .social-links a:hover {
  background: #e50914;
  color: #fff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 25px rgba(229, 9, 20, 0.3);
}

/* WHATSAPP FLOAT */
.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: #25d366;
  color: #fff;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  z-index: 999;
}

/* ================= TEAM PAGE ================= */
.team-hero {
  padding: 22px 0 18px;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(229, 9, 20, 0.08), transparent 35%),
    #fff;
}

.team-hero h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 6px;
}

.team-hero p {
  max-width: 760px;
  margin: auto;
  color: #555;
  font-size: 16px;
  line-height: 1.35;
}

.team-section {
  padding: 18px 0 60px;
  background: #f8f8f8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  align-items: stretch;
}

.team-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  border: 1px solid #eee;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(229, 9, 20, 0.15);
}

.team-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: top center;
}

.team-info {
  padding: 16px;
}

.team-info h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
}

.team-info .post {
  color: #e50914;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.team-info p {
  color: #555;
  font-size: 12px;
  line-height: 1.55;
}

.team-cta {
  padding: 42px 0;
  text-align: center;
  background: #e50914;
  color: #fff;
}

.team-cta h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.team-cta p {
  margin-bottom: 25px;
}

.team-cta .primary-btn {
  background: #fff;
  color: #111;
  box-shadow: none;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .stats-box {
    margin-left: auto;
    margin-right: auto;
  }

  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about {
    grid-template-columns: 1fr;
    padding: 40px 0;
  }

  .about-img img {
    width: 220px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 25px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 760px) {
  section {
    scroll-margin-top: 86px;
  }

  .nav-content {
    height: 76px;
  }

  .logo img {
    width: 140px;
  }

  .nav-menu,
  .nav-btn {
    display: none;
  }

  .menu-btn {
    display: block;
    background: #e50914;
    color: white;
    border: 0;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 22px;
  }

  .nav-menu.show {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 25px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  }

  .hero {
    padding-top: 40px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-image {
    min-height: 330px;
  }

  .robot-img {
    width: 330px;
    max-width: 100%;
    transform: none;
  }

  .stats-box {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 16px;
  }

  .stat-item {
    justify-content: center;
  }

  .program-grid,
  .gallery-grid,
  .blog-grid,
  .feature-grid,
  .impact-grid,
  .footer-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .programs {
    padding: 45px 0 55px;
  }

  .program-card {
    min-height: auto;
  }

  .about {
    padding: 35px 0;
  }

  .about-content {
    padding: 25px;
  }

  .about-content h2 {
    font-size: 28px;
  }

  .impact-grid {
    gap: 15px;
  }

  .section-row {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .gallery-grid img,
  .blog-card img {
    height: 220px;
  }

  .team-hero {
    padding: 35px 0 30px;
  }

  .team-hero h1 {
    font-size: 34px;
  }

  .team-card img {
    height: 320px;
  }

  .cta h2 {
    font-size: 26px;
  }
}

/* ABOUT + RED BAR FULL SCREEN FIT */
@media (min-width: 761px) {
  .about {
    min-height: calc(100vh - 84px - 70px);
    display: grid;
    grid-template-columns: 0.75fr 1fr 1.35fr;
    align-items: center;
    padding: 0;
  }

  .impact {
    height: 70px;
    padding: 0;
    display: flex;
    align-items: center;
  }

  .impact-grid {
    width: 90%;
    max-width: 1180px;
    margin: auto;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
  }

  .gallery {
    padding-top: 70px;
  }
}

/* ABOUT + BIGGER RED IMPACT BAR FIT */
@media (min-width: 761px) {
  .about {
    min-height: calc(100vh - 84px - 90px);
    display: grid;
    grid-template-columns: 0.75fr 1fr 1.35fr;
    align-items: center;
    padding: 0;
  }

  .impact {
    height: 90px;
    padding: 0;
    display: flex;
    align-items: center;
    background: #e50914;
  }

  .impact-grid {
    width: 90%;
    max-width: 1180px;
    margin: auto;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
  }

  .impact strong {
    font-size: 30px;
    line-height: 1;
  }

  .impact p {
    font-size: 13px;
    margin-top: 6px;
    font-weight: 700;
  }

  .gallery {
    padding-top: 70px;
  }
}

/* FIX GALLERY RED LINE ON TOP */
#gallery {
  scroll-margin-top: 84px;
}

.gallery {
  padding-top: 55px;
  border-top: none;
}
/* ================= HOME HERO FINAL FIT ================= */
@media (min-width: 1101px) {
  .hero {
    min-height: calc(100vh - 84px);
    align-items: stretch;
  }

  .hero-grid {
    width: 94%;
    max-width: 1420px;
    grid-template-columns: 0.84fr 1.46fr;
    align-content: center;
    padding: 10px 0 4px;
  }

  .tagline {
    margin-bottom: 14px;
  }

  .hero h1 {
    font-size: 54px;
    line-height: 1.04;
    margin-bottom: 18px;
  }

  .hero-desc {
    margin-bottom: 22px;
  }

  .hero-buttons {
    margin-bottom: 22px;
  }

  .primary-btn,
  .secondary-btn {
    padding: 14px 24px;
  }

  .stats-box {
    padding: 16px 24px;
    gap: 28px;
  }

  .hero-image {
    min-height: 500px;
    justify-content: flex-start;
    overflow: visible;
  }

  .robot-img {
    width: min(54vw, 780px);
    max-width: none;
    transform: translateX(-84px) translateY(10px);
  }
}

@media (min-width: 1101px) and (max-height: 760px) {
  .nav-content {
    height: 74px;
  }

  .hero {
    min-height: calc(100vh - 74px);
  }

  .hero-grid {
    padding-top: 0;
  }

  .hero h1 {
    font-size: 48px;
    margin-bottom: 14px;
  }

  .hero-desc {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 18px;
  }

  .hero-buttons {
    margin-bottom: 18px;
  }

  .stats-box {
    padding: 14px 22px;
    gap: 24px;
  }

  .stat-item i {
    font-size: 28px;
  }

  .stat-item h3 {
    font-size: 24px;
  }

  .hero-image {
    min-height: 470px;
  }

  .robot-img {
    width: min(52vw, 720px);
    transform: translateX(-72px) translateY(2px);
  }
}
/* Match About feature icons with primary red button */
.feature-icon {
  background: #e50914 !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
}

.feature-icon i {
  color: #fff !important;
}
/* Match Program icons with primary red button */
.program-card .icon,
.program-card .icon i {
  color: #fff !important;
}

.program-card .icon {
  background: #e50914 !important;
  border: 0 !important;
  box-shadow: none !important;
}
/* ================= DARK MODE AND RESPONSIVE POLISH ================= */
.theme-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid #ececec;
  border-radius: 10px;
  background: #fff;
  color: #e50914;
  display: grid;
  place-items: center;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.theme-toggle:hover {
  background: #e50914;
  color: #fff;
  border-color: #e50914;
}

body.dark-mode {
  background: #101010 !important;
  color: #f4f5f7 !important;
}

body.dark-mode .navbar,
body.dark-mode .gallery-categories {
  background: #151515 !important;
  border-color: #2a2a2a !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28) !important;
}

body.dark-mode .nav-menu a,
body.dark-mode .section-title h2,
body.dark-mode .album-heading h2,
body.dark-mode .program-card h3,
body.dark-mode .blog-info h3,
body.dark-mode .blog-content h3,
body.dark-mode .team-info h3,
body.dark-mode .hero h1,
body.dark-mode .blog-top h2,
body.dark-mode .achievement-box h2 {
  color: #f7f7f8 !important;
}

body.dark-mode .nav-menu a.active,
body.dark-mode .nav-menu a:hover,
body.dark-mode .hero h1 span,
body.dark-mode .about h2 span,
body.dark-mode .section-tag,
body.dark-mode .tagline,
body.dark-mode .blog-top a,
body.dark-mode .home-gallery-preview .section-row a,
body.dark-mode .home-gallery-info span,
body.dark-mode .home-gallery-info b,
body.dark-mode .program-card a {
  color: #e50914 !important;
}

body.dark-mode .hero,
body.dark-mode .gallery-page-hero,
body.dark-mode .team-hero,
body.dark-mode .home-gallery-preview,
body.dark-mode .home-blog-section,
body.dark-mode .programs,
body.dark-mode .gallery-album,
body.dark-mode .blog-section,
body.dark-mode .blog-hero {
  background: #101010 !important;
}

body.dark-mode .about {
  background: #141414 !important;
}

body.dark-mode .hero-desc,
body.dark-mode .section-title p,
body.dark-mode .album-heading p,
body.dark-mode .program-card p,
body.dark-mode .blog-info p,
body.dark-mode .blog-content p,
body.dark-mode .home-gallery-info p,
body.dark-mode .team-info p,
body.dark-mode .date,
body.dark-mode .footer p,
body.dark-mode .blog-hero p {
  color: #c8ccd3 !important;
}

body.dark-mode .stats-box,
body.dark-mode .program-card,
body.dark-mode .home-gallery-card,
body.dark-mode .blog-card,
body.dark-mode .team-card,
body.dark-mode .achievement-box {
  background: #1c1c1c !important;
  border-color: #333333 !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25) !important;
}

body.dark-mode .home-gallery-info,
body.dark-mode .blog-content,
body.dark-mode .blog-info {
  background: #1c1c1c !important;
}

body.dark-mode .secondary-btn,
body.dark-mode .category-links a,
body.dark-mode .white-btn,
body.dark-mode .theme-toggle {
  background: #242424 !important;
  color: #f7f7f8 !important;
  border-color: #3a3a3a !important;
}

body.dark-mode .secondary-btn:hover,
body.dark-mode .category-links a:hover,
body.dark-mode .theme-toggle:hover {
  background: #e50914 !important;
  color: #fff !important;
  border-color: #e50914 !important;
}

body.dark-mode .feature-card {
  background: #242424 !important;
}

body.dark-mode .footer {
  background: #0b0b0b !important;
}

body.dark-mode .footer-bottom {
  border-color: #2a2a2a !important;
}

body.dark-mode .menu-btn {
  background: #e50914 !important;
  color: #fff !important;
}

@media (max-width: 1180px) {
  .nav-menu {
    gap: 22px;
  }

  .nav-btn {
    padding: 13px 18px;
  }
}

@media (max-width: 1100px) {
  .nav-content {
    gap: 12px;
  }

  .theme-toggle {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 760px) {
  .theme-toggle {
    width: 44px;
    height: 44px;
    margin-left: auto;
  }

  .nav-menu.show {
    gap: 16px;
  }

  body.dark-mode .nav-menu.show {
    background: #151515 !important;
  }

  .hero-grid {
    width: 90%;
    gap: 24px;
  }

  .hero h1 {
    font-size: 34px !important;
  }

  .hero-desc {
    font-size: 15px !important;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .stats-box {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .stat-item {
    justify-content: flex-start;
  }

  .program-grid,
  .home-gallery-grid,
  .blog-cards,
  .blog-grid,
  .team-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .gallery-page-hero,
  .team-hero,
  .blog-hero {
    padding-left: 6% !important;
    padding-right: 6% !important;
  }
}
/* ================= MOBILE HERO TIGHTENING ================= */
@media (max-width: 760px) {
  .hero {
    padding-top: 18px !important;
    min-height: auto !important;
  }

  .hero-grid {
    gap: 10px !important;
  }

  .stats-box {
    padding: 16px 14px !important;
    gap: 16px 12px !important;
    align-items: center !important;
  }

  .stat-item {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) !important;
    column-gap: 8px !important;
    align-items: center !important;
    min-width: 0 !important;
  }

  .stat-item i {
    font-size: 26px !important;
    min-width: 0 !important;
    text-align: center !important;
  }

  .stat-text {
    min-width: 0 !important;
  }

  .stat-item h3 {
    font-size: 22px !important;
    line-height: 1.05 !important;
    margin-bottom: 3px !important;
  }

  .stats-box small {
    display: block !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }

  .hero-image {
    min-height: 230px !important;
    margin-top: -4px !important;
    align-items: flex-start !important;
  }

  .robot-img {
    width: min(88vw, 310px) !important;
    max-width: 100% !important;
    transform: translateY(0) !important;
  }
}

@media (max-width: 420px) {
  .stats-box {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .stat-item {
    grid-template-columns: 30px minmax(0, 1fr) !important;
    column-gap: 6px !important;
  }

  .stat-item i {
    font-size: 24px !important;
  }

  .stat-item h3 {
    font-size: 21px !important;
  }

  .stats-box small {
    font-size: 10.5px !important;
  }
}

/* ================= ABOUT TEXT SPACING ONLY ================= */
.about {
  border-bottom: 3px solid #e50914 !important;
}

.about-content .section-tag {
  margin-bottom: 18px !important;
}

.about-content h2 {
  margin-bottom: 20px !important;
}

.about-content p {
  margin-bottom: 28px !important;
  line-height: 1.65 !important;
}

.about-content .white-btn {
  margin-top: 2px !important;
}
/* Neutral black/gray dark mode palette */
body.dark-mode {
  background: #101010 !important;
}

body.dark-mode .navbar,
body.dark-mode .gallery-categories,
body.dark-mode .nav-menu.show {
  background: #151515 !important;
  border-color: #2a2a2a !important;
}

body.dark-mode .hero,
body.dark-mode .gallery-page-hero,
body.dark-mode .team-hero,
body.dark-mode .home-gallery-preview,
body.dark-mode .home-blog-section,
body.dark-mode .programs,
body.dark-mode .gallery-album,
body.dark-mode .blog-section,
body.dark-mode .blog-hero {
  background: #101010 !important;
}

body.dark-mode .about {
  background: #141414 !important;
}

body.dark-mode .stats-box,
body.dark-mode .program-card,
body.dark-mode .home-gallery-card,
body.dark-mode .blog-card,
body.dark-mode .team-card,
body.dark-mode .achievement-box,
body.dark-mode .home-gallery-info,
body.dark-mode .blog-content,
body.dark-mode .blog-info {
  background: #1c1c1c !important;
  border-color: #333 !important;
}

body.dark-mode .feature-card,
body.dark-mode .secondary-btn,
body.dark-mode .category-links a,
body.dark-mode .white-btn,
body.dark-mode .theme-toggle {
  background: #242424 !important;
  border-color: #3a3a3a !important;
}

body.dark-mode .footer {
  background: #0b0b0b !important;
}
/* Dark mode contrast and brand red consistency */
body.dark-mode .hero h1 span,
body.dark-mode .home-gallery-info span,
body.dark-mode .home-gallery-info b,
body.dark-mode .program-card a,
body.dark-mode .blog-top a,
body.dark-mode .section-tag,
body.dark-mode .tagline,
body.dark-mode .about h2 span,
body.dark-mode .nav-menu a.active,
body.dark-mode .nav-menu a:hover {
  color: #e50914 !important;
}

body.dark-mode .stats-box h3,
body.dark-mode .stat-item h3,
body.dark-mode .home-gallery-info h3,
body.dark-mode .blog-info h3,
body.dark-mode .blog-content h3,
body.dark-mode .program-card h3,
body.dark-mode .team-info h3,
body.dark-mode .album-heading h2,
body.dark-mode .section-title h2 {
  color: #ffffff !important;
}

body.dark-mode .stats-box small,
body.dark-mode .stat-item small {
  color: #d8d8d8 !important;
}

body.dark-mode .home-gallery-info p,
body.dark-mode .program-card p,
body.dark-mode .blog-info p,
body.dark-mode .blog-content p {
  color: #eeeeee !important;
}
/* Dark mode navbar/logo visibility and flat buttons */
body.dark-mode .navbar {
  background: #f1f1f1 !important;
  border-bottom: 1px solid #dddddd !important;
  box-shadow: none !important;
}

body.dark-mode .nav-menu a {
  color: #171717 !important;
}

body.dark-mode .nav-menu a.active,
body.dark-mode .nav-menu a:hover {
  color: #e50914 !important;
}

body.dark-mode .nav-btn,
body.dark-mode .primary-btn,
body.dark-mode .team-cta,
body.dark-mode .cta,
body.dark-mode .whatsapp {
  box-shadow: none !important;
}

body.dark-mode .nav-btn:hover,
body.dark-mode .primary-btn:hover,
body.dark-mode .team-cta:hover,
body.dark-mode .cta:hover {
  box-shadow: none !important;
}

body.dark-mode .stats-box h3,
body.dark-mode .stats-box .counter,
body.dark-mode .stats-box .hero-counter,
body.dark-mode .stat-text h3,
body.dark-mode .stat-item h3 {
  color: #ffffff !important;
  opacity: 1 !important;
}

body.dark-mode .stats-box {
  background: #1f1f1f !important;
  box-shadow: none !important;
}

body.dark-mode .theme-toggle {
  background: #2a2a2a !important;
  color: #ffffff !important;
  border-color: #3d3d3d !important;
  box-shadow: none !important;
}

body.dark-mode .theme-toggle:hover {
  background: #e50914 !important;
  color: #ffffff !important;
}
/* Final gallery gap and team dark-mode fixes */
body.dark-mode .gallery-page-hero {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.dark-mode .gallery-categories {
  top: 84px !important;
  margin-top: 0 !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

body.dark-mode .team-section,
body.dark-mode .team-section .container,
body.dark-mode .team-grid {
  background: #101010 !important;
}

body.dark-mode .team-section {
  padding-top: 30px !important;
  padding-bottom: 50px !important;
}

body.dark-mode .team-hero h1,
body.dark-mode .team-cta h2,
body.dark-mode .footer h3 {
  color: #ffffff !important;
}

body.dark-mode .team-hero p,
body.dark-mode .team-cta p,
body.dark-mode .footer a,
body.dark-mode .footer p {
  color: #d8d8d8 !important;
}

body.dark-mode .team-cta {
  background: #e50914 !important;
  color: #ffffff !important;
}

body.dark-mode .team-cta .primary-btn {
  background: #ffffff !important;
  color: #111111 !important;
  box-shadow: none !important;
}
/* Final gallery option bar and dark programs heading fix */
.gallery-page-hero {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.gallery-categories {
  top: 84px !important;
  margin-top: 0 !important;
}

body.dark-mode .programs h2,
body.dark-mode #programs h2,
body.dark-mode .programs .container > h2 {
  color: #ffffff !important;
  opacity: 1 !important;
}

body.dark-mode .programs .section-tag {
  color: #e50914 !important;
}

body.dark-mode .programs {
  padding-top: 56px !important;
}

@media (max-width: 760px) {
  .gallery-categories {
    top: 0 !important;
  }
}
/* Remove final gap between gallery nav and option bar */
body:has(.gallery-categories) .navbar {
  margin-bottom: 0 !important;
}

body:has(.gallery-categories) .gallery-page-hero + .gallery-categories,
.gallery-categories {
  margin-top: 0 !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  top: 84px !important;
}

.gallery-page-hero {
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  display: block !important;
  visibility: hidden !important;
}

@media (max-width: 760px) {
  .gallery-categories {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
}
/* Match gallery sticky bar to actual navbar height */
@media (min-width: 761px) and (max-height: 760px) {
  .gallery-categories {
    top: 74px !important;
  }
}

@media (min-width: 761px) and (min-height: 761px) {
  .gallery-categories {
    top: 84px !important;
  }
}
/* Fix dark-mode desktop navbar menu on light navbar */
@media (min-width: 761px) {
  body.dark-mode .navbar .nav-menu {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
  }

  body.dark-mode .navbar .nav-menu a {
    color: #111111 !important;
    opacity: 1 !important;
  }

  body.dark-mode .navbar .nav-menu a.active,
  body.dark-mode .navbar .nav-menu a:hover {
    color: #e50914 !important;
  }
}

@media (max-width: 760px) {
  body.dark-mode .navbar .nav-menu.show {
    background: #151515 !important;
  }

  body.dark-mode .navbar .nav-menu.show a {
    color: #ffffff !important;
  }
}
/* Force hero stat numbers white in dark mode */
body.dark-mode .hero .stats-box .stat-item h3,
body.dark-mode .hero .stats-box .stat-item h3 span,
body.dark-mode .hero .stats-box .stat-text h3,
body.dark-mode .hero .stats-box .stat-text h3 span,
body.dark-mode .hero .stats-box .counter,
body.dark-mode .hero .stats-box .hero-counter {
  color: #ffffff !important;
  opacity: 1 !important;
}
/* Correct dark hero stat number selector */
body.dark-mode .hero .stats-box strong,
body.dark-mode .hero .stats-box strong span,
body.dark-mode .stats-box strong,
body.dark-mode .stats-box strong span {
  color: #ffffff !important;
  opacity: 1 !important;
}
/* Yellow sun icon in dark mode */
body.dark-mode .theme-toggle i.fa-sun {
  color: #facc15 !important;
}
/* White moon icon in light mode */
body:not(.dark-mode) .theme-toggle {
  background: #e50914 !important;
  color: #ffffff !important;
  border-color: #e50914 !important;
}

body:not(.dark-mode) .theme-toggle i.fa-moon {
  color: #ffffff !important;
}
/* Black moon button in light mode */
body:not(.dark-mode) .theme-toggle {
  background: #111111 !important;
  color: #ffffff !important;
  border-color: #111111 !important;
  box-shadow: none !important;
}

body:not(.dark-mode) .theme-toggle i.fa-moon {
  color: #ffffff !important;
}
/* Taller blog images */
.blog-card img,
.home-blog-section .blog-card img {
  height: 280px !important;
  object-fit: cover !important;
}

@media (max-width: 760px) {
  .blog-card img,
  .home-blog-section .blog-card img {
    height: 230px !important;
  }
}
/* Expanded Programs grid */
.program-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
}

.program-card {
  min-height: 275px !important;
}

@media (max-width: 760px) {
  .program-grid {
    grid-template-columns: 1fr !important;
  }

  .program-card {
    min-height: auto !important;
  }
}
/* Tighten Programs heading spacing */
.programs h2 {
  margin-bottom: 22px !important;
}

.programs .section-tag {
  margin-bottom: 8px !important;
}

@media (max-width: 760px) {
  .programs h2 {
    margin-bottom: 18px !important;
  }
}
/* Move Programs heading up */
.programs {
  padding-top: 50px !important;
}

@media (max-width: 760px) {
  .programs {
    padding-top: 30px !important;
  }
}
/* Fit Programs section better on one screen */
.programs {
  padding-top: 34px !important;
  padding-bottom: 34px !important;
}

.programs .section-tag {
  margin-bottom: 6px !important;
  font-size: 13px !important;
}

.programs h2 {
  margin-bottom: 24px !important;
  font-size: 38px !important;
  line-height: 1.1 !important;
}

.program-grid {
  gap: 20px !important;
}

.program-card {
  min-height: 230px !important;
  padding: 24px 20px !important;
  border-radius: 16px !important;
}

.program-card .icon {
  width: 53px !important;
  height: 53px !important;
  margin-bottom: 16px !important;
}

.program-card h3 {
  margin-bottom: 10px !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
}

.program-card p {
  margin-bottom: 0 !important;
  font-size: 13.5px !important;
  line-height: 1.45 !important;
}

@media (min-width: 1000px) and (max-height: 760px) {
  .programs {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .programs h2 {
    margin-bottom: 18px !important;
    font-size: 34px !important;
  }

  .program-grid {
    gap: 16px !important;
  }

  .program-card {
    min-height: 205px !important;
    padding: 20px 18px !important;
  }

  .program-card .icon {
    width: 50px !important;
    height: 50px !important;
    margin-bottom: 12px !important;
  }

  .program-card h3 {
    font-size: 16px !important;
    margin-bottom: 8px !important;
  }

  .program-card p {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 760px) {
  .programs {
    padding-top: 24px !important;
    padding-bottom: 28px !important;
  }

  .programs h2 {
    font-size: 30px !important;
  }

  .program-card {
    padding: 22px 20px !important;
  }
}