/* ========== RESET & BASE STYLES ========== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'MuseoModerno', sans-serif;
  color: #003366;
  padding-top: 72px;
}
html, body {
  height: 100%;
}


a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  color: #003366;
  font-weight: 800;
}

@media (max-width: 900px) {
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .section-title {
    font-size: 1.5rem;
  }
}


/* ========== HEADER ========== */
header {
  background: #fff;
  position: fixed; /* stays fixed during scroll */
  top: 0;
  left: 0;
  width: 100%; /* ensures it spans full width */
  z-index: 1000; /* keeps it above all elements */
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}


.container nav {
  max-width: 1100px;
  margin: 0 1px;
  padding: 0 20px;
}


.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  max-width: fit-content;
  height: 46px;
  border-radius: 6px;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}


.navlinks {
  display: flex;
  gap: 18px;
  align-items: center;
}

.navlinks a {
   padding: 8px 10px;
  border-radius: 6px;
  font-weight: 600;
  color: #003366;
  text-decoration: none;
}

.navlinks a:hover {
  background-color: #110c4f;
  color: white;
}

/* Dropdown Container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Button */
.dropbtn {
  background: none;
  border: none;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
}

/* Dropdown Menu (Hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  border-radius: 6px;
  z-index: 100;
  top: 100%; /* appear below the button */
  left: 0;
  flex-direction: column;
}

/* Dropdown Links */
.dropdown-content a {
  padding: 10px 14px;
  display: block;
  color: #222;
}

.dropdown-content a:hover {
  background-color: #f5f5f5;
}


/* Show dropdown on hover (desktop) */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Mobile-friendly */
@media (max-width: 900px) {
  .dropdown-content {
    position: static;
    box-shadow: none;
    min-width: auto;
  }
}
@media (max-width: 900px) {
  .navlinks {
    display: none;
    position: absolute;
    right: 20px;
    top: 72px;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    flex-direction: column;
  }
}



.cta {
  background: #0077cc;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}

.menu-toggle {
  display: none;
}

@media (min-width: 993px) {
  .navlinks {
    display: flex !important;
  }
}


/* SHOW THE MENU TOGGLE ON MOBILE */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #110c4f;
  }

  .navlinks {
    display: none;
    position: absolute;
    right: 20px;
    top: 72px;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    gap: 12px;
    width: 200px;
    text-align: left;
  }

  .navlinks a {
    color: #110c4f;
    font-weight: 600;
  }

  .navlinks a:hover {
    background: #110c4f;
    color: #fff;
  }
}

/* ========== HERO SECTION ========== */

 .hero {
  background-image: url('images/newhero.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 500px 0; 
  overflow: hidden;

}

.hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 20px;
  flex-wrap: wrap; /* makes it responsive */
}

.blank-img{
  background-color: #110c4f;
  height: 70px;
}

.hero-copy {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
  flex-wrap: wrap;
}

/* ===========================
   SLIDE-IN ANIMATIONS
   =========================== */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


.hero h1 {
  font-size: 3.5rem;
  flex: 1;
  margin: 0 50px;
  padding: 0;
  text-align: left;
  opacity: 0;
  animation: slideInLeft 1.2s ease-out forwards;
}

.hero h1 span {
  display: block;
}

/*.hero p {
  flex: 1;
  font-size: 1.2rem;
  text-align: justify;
  text-justify: inter-word;
  margin: 0;
  max-width: 100%;
  line-height: 1.6;
  word-break: break-word;
}*/
.hero p {
  flex: 1;
  font-size: 1rem;
  text-align: justify;
  text-justify: inter-word;
  margin: 0 70px;
  line-height: 1.6;
  max-width: 38ch;
  word-wrap: break-word;
  padding-top: 3rem;
  opacity: 0;
  animation: slideInRight 1.5s ease-out forwards;
  animation-delay: 0.4s;
}

/* Responsive behavior */
@media (max-width: 1024px) {
  .hero p {
    max-width: 32ch; /* slightly narrower on tablets */
    font-size: 1.1rem;
  }
  .hero {
    padding: 150px 0;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

}

@media (max-width: 768px) {
  .hero p {
    max-width: 28ch; /* narrower for phones to keep ~6 words per line */
    font-size: 1rem;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .hero p {
    font-size: 0.7rem;
  }
}


@media (max-width: 480px) {
  .hero {
    padding: 150px 0;
  }

}
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero h1,
  .hero p {
    flex: unset;
    width: 100%;
    text-align: center;
  }

  .hero h1 {
    font-size: 1.5rem;
    margin: 1rem;

  }

  .hero p {
    font-size: 0.7rem;
    max-width: 90%;
    margin: 0 auto;
    text-align: justify;
    padding-top: 0;

  }

}


/* ========== SECTIONS ========== */
/*section {
  padding: 56px 0;
}*/

h2.section-title {
  font-size: 24px;
  margin-bottom: 18px;
}

@media (max-width: 480px) {
  section-title {
    font-size: 1px;
  }
  .hero h1 {
    margin: 0;
  }
  .hero-copy {
    padding-top: 3rem;
  }
  .hero p {
    padding-top: 0;
  }
}



/* Container Projects Section */
.container-projects {
  background-color: #d9f2ff; /* light blue */
  text-align: center; /* centers the h2 and paragraph */
  padding: 50px 20px 10px; /* spacing around content */
}

/* Section title and description */
.container-projects h2 {
  font-size: 3.5rem;
  margin-bottom: 0;
  /*margin: 20px 0; */
}

.container-projects p {
  max-width: 700px;
  margin: 0 auto 40px auto;
  font-size: 1rem;
  line-height: 1.6;
  color: #003366;
}

/* Cards & Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.card {
  background: transparent;
  padding: 18px;
  text-align: center;
  border-radius: 12px;
}

.card h3, .card p {
  color: #003366; /* dark text on light blue */
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.card img {
  width: 120px;  /* slightly smaller images */
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 12px auto;
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  font-size: 0.9rem; /* smaller for better fit */
  color: #003366;
}

.card h3 a {
  color: #003366;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.card h3 a:hover {
  color: #37578f; /* red hover */
}


/* RESPONSIVENESS */
@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .card img {
    width: 120px;
    height: 120px;
  }
  
  .card p {
    font-size: 0.85rem;
  }
  
  .container-projects h2 {
    font-size: 2.5rem;
  }

  .container-projects p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .card img {
    width: 100px;
    height: 100px;
  }
  
  .card p {
    font-size: 0.8rem;
  }
  
  .container-projects h2 {
    font-size: 2rem;
  }

  .container-projects p {
    font-size: 0.8rem;
  }
}
/* About Section */
.mission-img {
  position: relative;
  background: url('images/mission.avif');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 250px 0;
  text-align: center;
}

.mission-img h2 {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  font-weight: bold;
  color: #003366;
  margin: 0;
  padding-top: 30px;
}



.mission-img p {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  color: #003366;
}


/* Tablet view */
@media (max-width: 1024px) {
  .mission-img {
    min-height: 400px;
  }
  .mission-heading {
    font-size: 1.6rem;
  }
  .mission-img p {
    font-size: 1rem;
    max-width: 80%;
  }
}

@media (max-width: 900px) {
  .mission-img h2 {
    font-size: 2.5rem;
  }
}

/* Phone view */
@media (max-width: 768px) {
  .mission-img {
    min-height: 500px;
    padding: 10px;
  }
  .mission-heading {
    font-size: 1.3rem;
    margin-top: 10px;
  }
  .mission-img p {
    font-size: 0.95rem;
    max-width: 90%;
    line-height: 1.4;
  }
  .mission-img h2 {
    font-size: 2rem;
    top: 10px;
  }
}



/* General layout */
.impact-section {
  padding: 60px 20px;
}

.impact-section h2 {
  margin: 30px 0; 
  font-size: 3rem;
  text-align: center;
  color: #003366;
  font-weight: 800;
  margin-bottom: 40px;
}

.impact-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}

/* Text section */
.impact-text {
  flex: 1 1 400px;
  max-width: 500px;
}

.impact-text h3 {
  font-size: 1.6rem;
  color: #003366;
  font-weight: 700;
  margin-bottom: 15px;
}

.impact-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  color: #003366;
}

/* Counters (cards) */
.counters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  flex: 1 1 400px;
  padding-bottom: 20px;
}

.counter {
  width: 220px;
  height: 220px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.counter:hover {
  transform: translateY(-6px);
}

.counter strong {
  font-size: 2rem;
  font-weight: 800;
}

.counter div {
  font-size: 1rem;
  margin-top: 8px;
  font-weight: 500;
}

/* Responsive design */
@media (max-width: 992px) {
  .impact-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .impact-text {
    max-width: 90%;
  }

  .counters {
    justify-content: center;
  }

  .counter {
    width: 180px;
    height: 180px;
  }
  .impact-section h2 {
    font-size: 2.5rem;
    margin: 10px 0;
  }
  .impact-text h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 600px) {
  .impact-section-container h2{
    font-size: 2rem;
  }

  .impact-text h3 {
    font-size: 1.1rem;
  }

  .impact-text p {
    font-size: 0.95rem;
  }

  .counter {
    width: 150px;
    height: 150px;
  }

  .counter strong {
    font-size: 1.5rem;
  }
  .impact-section h2 {
    font-size: 2rem;
  }
}




/* ====== EVENT SECTION ====== */
.blue {
  background-color: #d9f2ff; /* light blue tone */
  padding: 30px 20px;
}

.event-section {
  max-width: 1200px;
  margin: 0 auto;
}

.blue h2 {
  font-size: 4rem;
  color: #003366;
  margin-bottom: 40px;
  font-weight: 700;
  text-align: left;
}

/* Card Layout */
.event-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #d9f2ff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-content {
  flex: 1;
  padding: 50px;
  color: #003366;
}

.event-heading {
  font-size: 2rem;
  margin-bottom: 10px;
}

.event-date,
.event-location {
  font-weight: 500;
  color: #004c99;
  margin-bottom: 5px;
}

.event-description {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.6;
}

.cta-btn {
  display: inline-block;
  margin-top: 30px;
  background-color: #003366;
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background-color: #0055aa;
}

/* Event Image */
.event-image img {
  width: 500px;
  height: auto;
  object-fit: cover;
}

/* ====== RESPONSIVENESS ====== */

/* Tablet */
@media (max-width: 992px) {
  .event-card {
    flex-direction: column;
  }

  .event-image img {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    display: block;
  }

  .event-content {
    padding: 40px 30px;
    text-align: center;
  }
  .blue h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }
  .blue {
    padding: 30px 0;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .blue {
    font-size: 1.5rem;
    text-align: center;
  }
  .blue h2 {
    font-size: 2rem;
  }
  .event-date {
    font-size: 0.7rem;
  }

  .event-description {
    font-size: 0.9rem;
  }

  .event-location {
    font-size: 1.2rem;
  }

  .event-heading {
    font-size: 1.4rem;
  }

  .cta-btn {
    padding: 10px 22px;
    font-size: 0.95rem;
  }
}



/* Welcome Section */
#welcome {
  background-color: white;
  padding: 70px;
  text-align: center;
}

#welcome h2 {
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #003366;
}

#welcome p {
  font-size: 1rem;
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto 20px auto;
  line-height: 1.6;
  color: #003366;
}

#welcome .cta {
  display: inline-block;
  background-color: #003366;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

#welcome .cta:hover {
  background-color: #0056b3;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  #welcome {
    padding: 50px;
  }

  #welcome h2 {
    font-size: 1.8rem;
  }

  #welcome p {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  #welcome {
    padding: 40px 20px;
  }

  #welcome h2 {
    font-size: 1.5rem;
  }

  #welcome p {
    font-size: 0.9rem;
  }

  #welcome .cta {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  #welcome {
    padding: 30px 15px;
  }

  #welcome h2 {
    font-size: 1.3rem;
  }

  #welcome p {
    font-size: 0.85rem;
  }

  #welcome .cta {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}



/* CTA Strip 
.cta-strip {
  background: white;
  color: navy;
  padding: 32px;
  border-radius: 12px;
  margin-top: 18px;
}*/
/* Divider Section */
.divider{
  background-image: url('images/dividerpic.avif');
  background-size: cover;
  background-position: top; /* or bottom/center */
  background-position: center 90%;
  color: #fff;
  padding: 300px 0; /* taller hero to reveal more */
}

@media (max-width: 900px) {
  .divider {
    padding: 200px 0;
    background-position: top; /* or bottom/center */
    background-position: center 90%;
  }
}

@media (max-width: 480px) {
  .divider {
    padding: 150px 0;
  }
}

/* Latest Update Section */
.latest-update {
  background-color: #d9f2ff; /* light blue background */
  padding: 30px 20px;
}
.latest-update h2 {
  margin: 30px 0;
  text-align: left;
  font-size: 5rem;
}


.update-track {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start; /* or center */
  width: 100%;
  transition: transform 0.4s ease-in-out;
}

.update-card {
  flex: 0 0 30%; /* adjust number of visible cards */
  border: 1px solid #0078b7; /* blue border instead of card bg */
  border-radius: 12px;
  text-align: center;
  padding: 15px;
  cursor: pointer;
  transition: transform 0.3s ease;
  background: transparent; /* remove white background */
  display: block; /* ensure the <a> behaves like a block */
  text-decoration: none; /* remove underline */
  color: inherit; /* keep text color */
}

.update-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.update-card img {
  width: 100%;
  height: 180px; /* slightly smaller */
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.update-card p {
  font-size: 14px;
  color: #003366;
  margin: 5px 0;
  line-height: 1.4;
}

/* Update actions (likes & views) */
.update-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: #003366;
}

.like-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.like-btn.liked {
  color: red;
  transform: scale(1.2);
}

.views {
  font-size: 14px;
}

/* Remove arrows for all screen sizes */
.carousel-btn {
  display: none;
}

/* Responsive */
@media (max-width: 900px) {
  .update-card {
    flex: 0 0 45%; /* 2 cards per row on tablet */
  }
  .latest-update h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 600px) {
  .update-card {
    flex: 0 0 100%; /* 1 card per row on phone */
  }
  .latest-update h2 {
    font-size: 2rem;
    margin: 20px 0;
  }
}

/* Our Focus Grid */
.our-focus {
  margin-bottom: 3.5rem;
  padding: 0;
}
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.our-focus h2 {
  margin: 50px 0;
  font-size: 3.5rem; 
  text-align: center;

}
.focus-card {
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.focus-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.focus-card h3 {
  font-size: 30px;
  margin: 12px 0;
}

.focus-card p {
  font-size: 14px;
  padding: 0 10px;
  color: #444;
}

.focus-card:hover {
  transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 900px) {
  .focus-grid {
    grid-template-columns: 1fr 1fr;
  }
  .our-focus h2 {
    font-size: 2.5rem;
    margin: 30px 0;
  }
}

@media (max-width: 600px) {
  .focus-grid {
    grid-template-columns: 1fr;
  }

  .our-focus h2 {
    font-size: 2rem;
  }
  .focus-card img {
    max-height: 12em;
  }
  .focus-card h3 {
    font-size: 1rem;
  }
}


/* Team Section */
.team-section {
  background-color: #d9f2ff; /* light blue full width */
  padding: 50px 0; /* top and bottom padding only */
  width: 100%;
}
.team-section h2 {
  margin: 35px 0; 
  font-size: 3.5rem; 
  text-align: left; 
  padding-top: 0.3rem"
}


/* Container keeps content centered */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.person {
  text-align: center;
  padding: 12px;
}

.person img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .team-section h2 {
    font-size: 2.5rem;
    margin: 20px 0;
  }
  .person img {
    height: 350px;
  }
}

@media (max-width: 600px) {
  .team-section h2 {
    font-size: 2rem;
    margin: 5px 0;
  }
}

/* ---------- Partners section ---------- */
.partners-section {
  padding: 30px 0;
  background: #fff;
}

.partners-section {
  text-align: center;
  font-size: 26px;
  margin-bottom: 24px;
}

.partners-section h2 {
  margin: 20px 0;
  font-size: 3.5rem; 
  text-align: center;
  padding: 5px 0;
}


/* grid of partner logos */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: center;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.partner-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-btn {
  background: none;
  border: 0;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.partner-btn img {
  max-width: 900px;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: none;
}

/* hover/active */
.partner-btn:hover,
.partner-btn:focus {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
  outline: none;
}

/* lightbox modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
}
.modal[aria-hidden="false"] { display:flex; }
.modal-img {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255,255,255,.95);
  border: 0;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
}

@media (max-width: 900px) {
  .partners-section h2 {
    font-size: 2.5rem;
    margin: 20px 0;
  }
}

@media (max-width: 600px) {
  .partners-section h2 {
    font-size: 2rem;
    margin: 5px 0;
  }
}

/* Follow Us Section */
.follow-section {
  background-color: #d9f2ff;
  padding: 60px 0;
  width: 100%;
  text-align: center;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.follow-section h2 {
  font-size: 3.5rem;
  margin-bottom: 40px;
  color: #003366;
  text-align: left;
  padding: 5px 0;
}

/* Grid layout */
.follow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  justify-content: center;
  align-items: center;
}

.follow-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.4s ease, opacity 0.4s ease;
  cursor: pointer;
}

.follow-grid img:hover {
  transform: scale(1.05);
}

/* Hidden & Fade Animations */
.hidden {
  display: none;
}

.fade-in {
  display: block !important;
  animation: fadeIn 0.6s ease forwards;
}

.fade-out {
  animation: fadeOut 0.6s ease forwards;
  opacity: 0;
  transform: scale(0.95);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.95); }
}

/* Button styling */
.btn-container {
  margin-top: 30px;
}

.load-more {
  background-color: #003366; 
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.load-more:hover {
  background-color: #0056b3;
}

/* Responsive Tweaks */
@media (max-width: 1024px) {
  .follow-section h2 {
    font-size: 2.2rem;
  }
  .follow-grid img {
    height: 160px;
  }
}

@media (max-width: 768px) {
  .follow-section h2 {
    font-size: 1.8rem;
    text-align: center;
  }
  .follow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .follow-grid img {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .follow-grid {
    grid-template-columns: 1fr;
  }
  .follow-grid img {
    height: 180px;
  }
}



/* ---------- Footer ---------- */
.site-footer {
  background: url('images/newhero.avif') center 20% / cover no-repeat;
  padding: 40px 0;
  color: #ffffff; /* make text visible over background */
  font-family: inherit;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7); /* dark overlay; adjust transparency */
  z-index: 0;
}

/* ---------- Footer Fade-in Animation ---------- */
.site-footer {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.site-footer.visible {
  opacity: 1;
  transform: translateY(0);
}


.footer-grid {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  flex-wrap: wrap;
}

.footer-left strong,
.footer-left address,
.footer-left h4,
.footer-links a,
.copyright {
  color: #ffffff;
}

/* ---------- Left Section ---------- */
.footer-left {
  flex: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-left strong {
  font-size: 2rem;
  line-height: 1.1;
}

.footer-left strong span {
  display: block;
}

.footer-left address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.5;
}

.footer-left h4 {
  margin-top: 10px;
  font-size: 1.1rem;
}

/* ---------- Social Icons ---------- */
.socials {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.socials a {
  color: #ffffff;
  font-size: 1.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.socials a:hover {
  transform: scale(1.2);
  color: #ffffff;
}

/* For dark overlay (optional toggle via .dark) */
.site-footer.dark {
  color: #ffffff;
}

.site-footer.dark .socials a {
  color: #ffffff;
}

.site-footer.dark .socials a:hover {
  color: #aad4ff;
}

/* ---------- Right Section ---------- */
.footer-right {
  flex: 1;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 16px;
  padding-top: 12rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  
  text-decoration: none;
  font-size: 15px;
}

.footer-links a:hover {
  text-decoration: underline;
  color: #aad4ff;
}

.copyright {
  font-size: 0.9rem;

}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left, .footer-right {
    align-items: center;
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }


  .footer-right {
    padding-top: 0;
  }
  .socials {
    justify-content: center;
  }

  .socials a {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 30px 20px;
  }

  .footer-left strong {
    font-size: 1.6rem;
  }

  .social img {
    width: 32px;
    height: 32px;
  }
  .footer-right {
    padding-top: 0;
  }
  .socials {
    padding-top: 0;
  }
}

/* small screens */
@media (max-width: 900px) {
  .partners-grid { grid-template-columns: repeat(3,1fr); gap:14px; }
  .partner-btn img { max-width:120px; max-height:64px; }
  .footer-grid { gap:16px; }
}
@media (max-width: 600px) {
  .partners-grid { grid-template-columns: repeat(2,1fr); gap:12px; }
  .partner-btn img { max-width:100px; max-height:56px; }
  .footer-grid { flex-direction: column; align-items: center; text-align:center; }
  .footer-left, .footer-mid, .footer-right { min-width: auto; width:100%; text-align: center; }
  .social { margin: 20px auto 0 auto; float: center; }
  .footer-left strong { font-size: 1rem; }
}
/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
  }
}
 /* .navlinks {
    display: none;
    position: absolute;
    right: 20px;
    top: 72px;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    flex-direction: column;
  }
}*/

@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column; /* stack h1 and p vertically */
    text-align: center;
  }
  .hero-text-right p {
    text-align: center;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 100px 0;
    min-height: 40vh;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 0;
    min-height: 30vh;
  }
}

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
  .counters {
    gap: 16px;
  }

  .counter img {
    width: 160px;
    height: 160px;
  }

  .counter strong {
    font-size: 24px;
  }

  .counter div {
    font-size: 14px;
  }
}

/* Phones (max-width: 768px) */
@media (max-width: 768px) {
  .counters {
    flex-direction: column; /* Stack vertically */
    align-items: center;
    gap: 20px;
  }

  .counter img {
    width: 120px;
    height: 120px;
  }

  .counter strong {
    font-size: 20px;
    top: 40%; /* Keep it centered */
  }

  .counter div {
    font-size: 13px;
    top: 65%;
  }
}


@media (max-width: 600px) {
  h2 {
    font-size: 10px;
  }
}