/* ======================================================
   EduFarm Website
   Main Stylesheet
====================================================== */

/* ---------- Google Fonts ---------- */
:root {
  --primary: #2e7d32;
  --primary-dark: #1b5e20;
  --primary-light: #e8f5e9;

  --secondary: #f9a826;

  --white: #ffffff;

  --text: #4b5563;

  --heading: #111827;

  --border: #e5e7eb;

  --bg: #f8fafc;

  --shadow: 0 15px 40px rgba(0, 0, 0, 0.08);

  --transition: 0.35s ease;

  --container: 1200px;
}

/* =====================================
   RESET
===================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;

  color: var(--text);

  background: var(--white);

  line-height: 1.7;

  overflow-x: hidden;
}

img {
  width: 100%;

  display: block;
}

a {
  text-decoration: none;

  color: inherit;
}

ul {
  list-style: none;
}

button {
  border: none;

  background: none;

  cursor: pointer;
}

.container {
  width: min(92%, var(--container));

  margin: auto;
}

section {
  padding: 100px 0;
}

/* =====================================
   TYPOGRAPHY
===================================== */

h1,
h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;

  color: var(--heading);
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.7rem);

  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);

  line-height: 1.2;
}

p {
  font-size: 1rem;
}

/* =====================================
   BUTTONS
===================================== */

.btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 15px 32px;

  border-radius: 999px;

  font-weight: 600;

  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);

  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);

  transform: translateY(-3px);
}

.btn-outline {
  border: 2px solid var(--primary);

  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);

  color: #fff;
}

/* =====================================
   HEADER
===================================== */

.header {
  position: fixed;

  top: 0;

  left: 0;

  width: 100%;

  z-index: 999;

  background: rgba(255, 255, 255, 0.95);

  backdrop-filter: blur(12px);

  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.header .container {
  display: flex;

  align-items: center;

  justify-content: space-between;

  height: 85px;
}

.logo {
  display: flex;

  align-items: center;

  gap: 5px;
}

.logo img {
  width: 50px;
  height: 40px;
}

.logo span {
  font-family: "Poppins", sans-serif;

  font-size: 1em;

  font-weight: 700;

  color: var(--heading);
}

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

.nav-links {
  display: flex;

  gap: 2rem;
}

.nav-links a {
  position: relative;
  font-weight: 500;
  color: var(--heading);
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  width: 100%;
}
/* .nav-links a{

    font-weight:500;

    transition:var(--transition);

    position:relative;

}

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:var(--transition);

} */

/* .nav-links a:hover::after,

.nav-links .active::after{

    width:100%;

}

.nav-links a:hover,

.nav-links .active{

    color:var(--primary);

} */

/* .nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    width: 100%;
} */

.menu-btn {
  display: none;

  font-size: 1.6rem;
}

/* =====================================
   HERO
===================================== */

.hero {
  padding-top: 170px;

  background: linear-gradient(to bottom, #f8fff7, #ffffff);
}

.hero-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 70px;

  align-items: center;
}

.hero-badge {
  display: inline-block;

  background: var(--primary-light);

  color: var(--primary);

  padding: 10px 18px;

  border-radius: 999px;

  font-weight: 600;

  margin-bottom: 25px;
}

.hero h1 {
  margin-bottom: 25px;
}

.hero p {
  margin-bottom: 35px;

  max-width: 560px;
}

.hero-buttons {
  display: flex;

  gap: 18px;

  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 28px;

  box-shadow: var(--shadow);
}

/* =====================================
   FLOATING CARDS
===================================== */

.floating-card {
  position: absolute;

  background: #fff;

  display: flex;

  align-items: center;

  gap: 15px;

  padding: 16px 20px;

  border-radius: 18px;

  box-shadow: var(--shadow);

  animation: float 4s ease-in-out infinite;
}

.floating-card i {
  width: 55px;

  height: 55px;

  border-radius: 50%;

  display: grid;

  place-items: center;

  background: var(--primary-light);

  color: var(--primary);

  font-size: 1.3rem;
}

.floating-card strong {
  display: block;

  font-size: 1.3rem;

  color: var(--heading);
}

.floating-card span {
  font-size: 0.9rem;
}

.card-one {
  top: 40px;

  left: -40px;
}

.card-two {
  bottom: 40px;

  right: -40px;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}

/* =====================================
   ABOUT
===================================== */

.section-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 70px;

  align-items: center;
}

.about img {
  border-radius: 24px;

  box-shadow: var(--shadow);
}

.section-subtitle {
  display: inline-block;

  color: var(--primary);

  font-weight: 700;

  letter-spacing: 1px;

  margin-bottom: 20px;
}

.about h2 {
  margin-bottom: 25px;
}

.about p {
  margin-bottom: 35px;
}

/* =====================================
   SECTION HEADING
===================================== */

.section-heading {
  text-align: center;

  max-width: 700px;

  margin: 0 auto 70px;
}

.section-heading p {
  margin-top: 18px;
}

/* =====================================
   FOCUS AREAS
===================================== */

.focus-areas {
  background: #f8fafc;
}

.focus-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

.focus-card {
  background: #fff;

  padding: 40px 30px;

  border-radius: 22px;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);

  transition: 0.35s ease;
}

.focus-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

.focus-icon {
  width: 70px;

  height: 70px;

  border-radius: 50%;

  background: #e8f5e9;

  display: flex;

  align-items: center;

  justify-content: center;

  margin-bottom: 25px;
}

.focus-icon i {
  color: #2e7d32;

  font-size: 1.8rem;
}

.focus-card h3 {
  margin-bottom: 15px;

  font-size: 1.35rem;
}

.focus-card p {
  font-size: 0.97rem;
}

/* =====================================
   PROGRAMS
===================================== */

.programs {
  background: #fff;
}

.program-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

.program-card {
  background: #fff;

  border-radius: 20px;

  overflow: hidden;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);

  transition: 0.35s ease;
}

.program-card:hover {
  transform: translateY(-10px);
}

.program-card img {
  width: 100%;

  height: 240px;

  object-fit: cover;
}

.program-content {
  padding: 30px;
}

.program-content span {
  display: inline-block;

  background: #e8f5e9;

  color: #2e7d32;

  padding: 6px 15px;

  border-radius: 999px;

  font-size: 0.85rem;

  font-weight: 600;

  margin-bottom: 18px;
}

.program-content h3 {
  margin-bottom: 15px;
}

.program-content p {
  margin-bottom: 25px;
}

.program-content a {
  color: #2e7d32;

  font-weight: 600;

  display: inline-flex;

  align-items: center;

  gap: 8px;

  transition: 0.3s;
}

.program-content a:hover {
  gap: 14px;
}

/* =====================================
   IMPACT
===================================== */

.impact {
  background: linear-gradient(135deg, #2e7d32, #1b5e20);

  color: #fff;
}

.impact .section-heading h2,
.impact .section-heading p {
  color: #fff;
}

.impact .section-subtitle {
  color: #d7f5da;
}

.impact-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 30px;
}

.impact-card {
  text-align: center;

  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(10px);

  padding: 40px 25px;

  border-radius: 20px;

  transition: 0.35s ease;
}

.impact-card:hover {
  transform: translateY(-8px);

  background: rgba(255, 255, 255, 0.14);
}

.impact-icon {
  width: 75px;

  height: 75px;

  margin: 0 auto 25px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.15);

  display: flex;

  justify-content: center;

  align-items: center;
}

.impact-icon i {
  font-size: 2rem;
}

.impact-card h3 {
  color: #fff;
  font-size: 3rem;
  margin: 20px 0 10px;
}

.impact-card p {
  color: rgba(255, 255, 255, 0.85);
}

/* new impact */
/* ================================
   IMPACT STORIES
================================ */

.impact-stories {
  padding: 100px 0;
  background: #f6f8f5;
}

.impact-stories .section-heading {
  max-width: 750px;
  margin: 0 auto 70px;
  text-align: center;
}

.impact-stories .section-heading p {
  margin-top: 15px;
  color: #5f6b61;
  line-height: 1.8;
}

/* Story */

.impact-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  margin-bottom: 80px;
  overflow: hidden;
  background: #24580d;
}

/* Image */

.impact-story-image {
  height: 100%;
  min-height: 500px;
}

.impact-story-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Content */

.impact-story-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 70px;
  color: #fff;
}

.impact-label {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary-light);
}

.impact-story-content h3 {
  max-width: 500px;
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 2.2rem;
  line-height: 1.2;
  color: #fff;
}

.impact-line {
  width: 55px;
  height: 4px;
  margin: 25px 0;
  background: #fff;
}

.impact-story-content p {
  max-width: 560px;
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

/* Highlights */

.impact-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.impact-highlights span {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 30px;
  font-size: 0.8rem;
}

/* Mobile */

@media (max-width: 768px) {
  .impact-stories {
    padding: 70px 0;
  }

  .impact-story {
    grid-template-columns: 1fr;
    margin-bottom: 50px;
  }

  .impact-story-image {
    min-height: 350px;
  }

  .impact-story-content {
    padding: 45px 30px;
  }

  .impact-story-content h3 {
    font-size: 1.8rem;
  }
}

/* New grid for impact images */
/* .impact-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  overflow: hidden;
}

.impact-image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
} */
.impact-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  overflow: hidden;
}

.impact-image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* First image takes the full left side */
.impact-image-grid img:first-child {
  grid-row: span 2;
}

/* =====================================
   CTA
===================================== */

.cta {
  background: url("../images/cta-bg.jpg") center center/cover no-repeat;

  position: relative;

  padding: 0;
}

.cta-overlay {
  background: rgba(20, 42, 24, 0.78);

  padding: 120px 0;
}

.cta-content {
  max-width: 760px;

  margin: auto;

  text-align: center;

  color: #fff;
}

.cta-content .section-subtitle {
  color: #a5d6a7;
}

.cta-content h2 {
  color: #fff;

  font-size: clamp(2.3rem, 4vw, 3.5rem);

  margin: 20px 0;
}

.cta-content p {
  color: #e5e7eb;

  margin-bottom: 40px;

  font-size: 1.05rem;
}

.cta-buttons {
  display: flex;

  justify-content: center;

  gap: 20px;

  flex-wrap: wrap;
}

.btn-light {
  color: #fff;

  border: 2px solid #fff;
}

.btn-light:hover {
  background: #fff;

  color: #2e7d32;
}

/* =====================================
   FOOTER
===================================== */

.footer {
  background: #102417;

  color: #d1d5db;

  padding-top: 80px;
}

.footer-grid {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr 1.2fr;

  gap: 50px;

  padding-bottom: 60px;
}

.footer-column h3 {
  color: #fff;

  margin-bottom: 25px;

  font-size: 1.2rem;
}

.footer-logo {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 25px;
}

.footer-logo img {
  width: 55px;
}

.footer-logo span {
  color: #fff;

  font-family: "Poppins", sans-serif;

  font-size: 1.5rem;

  font-weight: 700;
}

.footer-column p {
  margin-bottom: 30px;
}

.footer-column ul {
  display: flex;

  flex-direction: column;

  gap: 15px;
}

.footer-column ul li a {
  transition: 0.3s;
}

.footer-column ul li a:hover {
  color: #fff;

  padding-left: 6px;
}

.contact-list li {
  display: flex;

  gap: 15px;

  align-items: flex-start;
}

.contact-list i {
  color: #7bc67e;

  margin-top: 4px;
}

.social-links {
  display: flex;

  gap: 15px;
}

.social-links a {
  width: 45px;

  height: 45px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);

  display: flex;

  justify-content: center;

  align-items: center;

  transition: 0.3s;
}

.social-links a:hover {
  background: #2e7d32;

  transform: translateY(-4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);

  padding: 20px 0;
}

.footer-bottom-content {
  display: flex;

  justify-content: space-between;

  align-items: center;
}

.back-to-top {
  width: 50px;

  height: 50px;

  border-radius: 50%;

  background: #2e7d32;

  color: #fff;

  cursor: pointer;

  transition: 0.3s;
}

.back-to-top:hover {
  transform: translateY(-5px);

  background: #1b5e20;
}

/*==============================
PAGE HERO
==============================*/

.page-hero {
  margin-top: 85px;

  padding: 120px 0;

  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)),
    url("../images/about-banner3.jpg") center/cover;

  text-align: center;
}

.page-hero h1 {
  color: #fff;

  font-size: 4rem;

  margin-bottom: 20px;
}

.page-hero p {
  color: #fff;

  max-width: 700px;

  margin: auto;
}

/*==============================
TIMELINE
==============================*/

.timeline {
  background: #fff;
}

.timeline-list {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 30px;
}

.timeline-item {
  background: #f8fafc;

  padding: 35px;

  border-radius: 18px;

  text-align: center;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.timeline-item h4 {
  color: #2e7d32;

  font-size: 2rem;

  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .timeline-list {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 2.8rem;
  }
}

/*==============================
TEAM
==============================*/

.team-section {
  padding: 100px 0;
}

.team-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

.team-card {
  background: #fff;

  border-radius: 20px;

  overflow: hidden;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);

  transition: 0.3s;
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center;
}

.team-content {
  padding: 30px;

  text-align: center;
}

.team-content span {
  display: block;

  color: #2e7d32;

  font-weight: 600;

  margin: 10px 0 18px;
}

.team-social {
  display: flex;

  justify-content: center;

  gap: 15px;

  margin-top: 20px;
}

.team-social a {
  width: 42px;

  height: 42px;

  border-radius: 50%;

  background: #f1f5f9;

  display: flex;

  align-items: center;

  justify-content: center;

  transition: 0.3s;
}

.team-social a:hover {
  background: #2e7d32;

  color: #fff;
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/*==============================
GALLERY
==============================*/

.gallery-section {
  padding: 100px 0;
}

.gallery-filter {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 15px;

  margin-bottom: 50px;
}

.filter-btn {
  padding: 12px 24px;

  border: none;

  border-radius: 50px;

  cursor: pointer;

  background: #f1f5f9;

  transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: #2e7d32;

  color: #fff;
}

.gallery-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;
}

.gallery-item {
  overflow: hidden;

  border-radius: 18px;

  cursor: pointer;
}

.gallery-item img {
  width: 100%;

  height: 280px;

  object-fit: cover;

  transition: 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Video for gallery */
.gallery-item video {
  width: 100%;
  height: 280px;
  display: block;
  object-fit: cover;
}

.gallery-item video {
  width: 100%;
  height: 280px;
  display: block;
  object-fit: cover;
  transition: 0.4s;
}

.gallery-item:hover video {
  transform: scale(1.05);
}

.lightbox {
  position: fixed;

  inset: 0;

  background: rgba(0, 0, 0, 0.9);

  display: none;

  justify-content: center;

  align-items: center;

  z-index: 9999;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;

  max-height: 85%;
}

.close-lightbox {
  position: absolute;

  top: 30px;

  right: 40px;

  color: #fff;

  font-size: 3rem;

  cursor: pointer;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==============================
   GALLERY VIDEO
============================== */

.video-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 18px;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: cover;
}
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.youtube-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 18px;
}

.youtube-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Dark overlay */
.video-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.25);

  transition: 0.3s ease;
}

/* Play button */
.play-btn {
  width: 65px;
  height: 65px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 50%;

  background: #2e7d32;
  color: #ffffff;

  font-size: 20px;
  cursor: pointer;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);

  transition: 0.3s ease;
}

/* Small adjustment to centre the icon */
.play-btn i {
  margin-left: 3px;
}

.video-wrapper:hover .play-btn {
  transform: scale(1.1);
  background: #1b5e20;
}

.video-wrapper:hover .video-overlay {
  background: rgba(0, 0, 0, 0.4);
}

/*==============================
CONTACT
==============================*/

.contact-section {
  padding: 100px 0;
}

.contact-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;
}

.contact-item {
  display: flex;

  gap: 20px;

  margin: 30px 0;
}

.contact-item i {
  width: 55px;

  height: 55px;

  border-radius: 50%;

  background: #e8f5e9;

  color: #2e7d32;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 1.2rem;
}

.contact-form {
  display: flex;

  flex-direction: column;

  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 18px;

  border: 1px solid #ddd;

  border-radius: 10px;

  font-family: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.map-section iframe {
  width: 100%;

  height: 450px;

  border: 0;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
/* .about,
.card,
.hero-content,
.hero-image{

    opacity:0;

    transform:translateY(40px);

    transition:.7s ease;

} */

/* .show{

    opacity:1;

    transform:translateY(0);

} */
/* =====================================
   UTILITIES
===================================== */

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.mt-3 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mb-3 {
  margin-bottom: 3rem;
}

/* =====================================
   RESPONSIVE
===================================== */

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

  .hero {
    text-align: center;
  }

  .hero p {
    margin-inline: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .floating-card {
    display: none;
  }
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
    z-index: 1001;
  }

  .header .btn-primary {
    display: none;
  }

  .nav {
    position: fixed;

    top: 85px;
    left: -100%;

    width: 100%;

    height: calc(100vh - 85px);

    background: #fff;

    transition: 0.35s ease;

    display: flex;

    justify-content: center;

    align-items: center;

    z-index: 999;
  }

  .nav.active {
    left: 0;
  }

  .nav-links {
    flex-direction: column;

    gap: 2rem;

    text-align: center;
  }

  .nav-links a {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding-top: 140px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.25;
    max-width: 13ch;
    margin: 0 auto 25px;
  }

  .logo span {
    font-size: 1.2rem;
  }
}

@media (max-width: 992px) {
  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (max-width: 992px) {
  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (max-width: 992px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (max-width: 768px) {
  .cta-overlay {
    padding: 80px 0;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;

    text-align: center;
  }

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

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

  .contact-list li {
    justify-content: center;
  }

  .footer-bottom-content {
    flex-direction: column;

    gap: 20px;
  }
}
