/* General reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }

  :root {
    --content-width: 1200px;
}
  
  body {
    line-height: 1.6;
    background: #f9fafb;
    color: #333;
  }

/* THE HEADER OF THE PAGE */
header {
  position: sticky;
  top: 0;
  z-index: 2000; /* keeps it above content */
}

header.scrolled {
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

/* the logo */
#logo img {
  height: 50px;   /* adjust size */
  width: auto;    /* keeps aspect ratio */
  display: block; /* removes unwanted spacing */
}

  /* Navbar */
  nav {
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .menu-toggle {
    display: none;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  /* Active & Hover Nav Link */
nav ul li a {
  position: relative;
  padding-bottom: 5px;
}

/* Hover effect */
nav ul li a:hover {
  color: #0077cc;
}

/* Active page highlight */
nav ul li a.active {
  color: #0077cc;
  font-weight: 600;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

  
  nav .donate-btn {
    background: #0077cc;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
  }
  
  nav .donate-btn:hover {
    background: #005fa3;
  }
  
  /* Hero Section */
  .hero {
    position: relative;
    overflow: hidden;

    display: flex;
    justify-content: space-between;
    align-items: center;

    min-height: 600px;

    padding: 5rem max(5%, calc((100% - 1200px) / 2));

    background: #0b132b;
    color: white;
  }

  
  .hero-text {
    flex: 1;
    padding-right: 2rem;
  }
  
  .hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #222;
  }
  
  .hero-text p {
    max-width: 1000px;
    line-height: 1.9;
    margin-bottom: 1rem;
    color: #444;
  }
  
  .hero-text .btn {
    display: inline-block;
    background: #0077cc;
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
  }
  
  .hero-text .btn:hover {
    background: #005fa3;
  }
  
  .hero img {
    flex: 1;
    max-width: 450px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: opacity 0.8s ease-in-out;
  }

  /* Text animation */
.hero-text {
  flex: 1;
  padding-right: 2rem;
  z-index: 2;
  animation: fadeIn 1s ease;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-text p {
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  color: #cfd8e3;
}

/* Image */
.hero img {
  flex: 1;
  max-width: 450px;
  border-radius: 8px;
  z-index: 2;
  transition: opacity 1s ease-in-out;
}

#particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}


/* Fade animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

  
/* ================================
   Core Values
================================ */

.core-values {
    padding: 4rem 5%;
    background: #ffffff;
    text-align: center;
}

.core-values h2 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: #222;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Value Card */
.value-card {
    background: #f1f9ff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.value-card h3 {
    margin: 0 0 1rem;
    color: #444;
    font-size: 1.25rem;
}

.value-card p {
    margin: 0;
    line-height: 1.7;
    color: #555;
    font-size: 1rem;
}

/* Icons */
.value-card i {
    font-size: 2rem;
    color: transparent;
    -webkit-text-stroke: 2px #0077cc;
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
}

/* About Us section */

.about {
  padding: 3rem 8%;
  background: #f0f8ff;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  margin-bottom: 3rem;
  color: #222;
  font-size: 30px;
}

.about-text p {
  margin-bottom: 20px;
}
.about-img {
  flex: 1;
  text-align: right;
}

.about-img img {
  max-width: 100%;
  border-radius: 10px;
  height: 350px;
  margin-bottom: 0rem;
}

/* ===== TEAM SECTION ===== */
.collaborative-team {
  text-align: center;
  padding: 4rem 8%;
  background: #fff;
}

.collaborative-team h2 {
  margin-bottom: 5rem;
  color: #222;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.team-member {
  width: 180px;
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0077cc;
}

.team-member h4 {
  margin-top: 0.5rem;
  font-weight: bold;
}

.team-member p {
  font-size: 0.9rem;
  color: #555;
}

/* ===== VISION SECTION ===== */
/* Section wrapper */
.cards-section {
  display: flex;
  gap: 2rem;
  padding: 4rem 8%;
  background-color: #fff;
}

/* General card styling */
.card {
  flex: 1;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: justify;
}

/* Titles */
.card h2 {
  margin-bottom: 1rem;
  color: #0077cc;
}

/* Specific card backgrounds */
.vision-card {
  background: #fff;
}
.cards-section p {
  margin-bottom: 20px;
}

.team-card {
  background: #f0f8ff;
}
  
/* The focus area section */
.focus-areas {
  text-align: center;
  padding: 10rem 10%;
  background: #f0f8ff;
}

.focus-areas h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.focus-areas p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
}

/* Pillars Section */
.pillars {
  text-align: center;
  padding: 3rem 10%;
  background-color:  #fff;
}

.pillars h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.pillars p {
  max-width: 700px;
  margin: 0 auto 4rem;
  font-size: 1rem;
  color: #555;
}

/* Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: fit-content;
  margin: auto;
}

.pillar-card {
  background:  #f1f9ff;
  padding: 2rem;
  border-radius: 10px;
  width: 320px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.pillar-card i {
  font-size: 3rem;
  color: transparent;   /* make inside transparent */
  -webkit-text-stroke: 2px #0077cc; 
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.pillar-card p {
  max-width: 700px;
  margin: 0 auto 0.2rem;
  font-size: 1rem;
  color: #555;
}

/* the objectives section */

/* Landing Section */
.objectives-landing {
  background-image: url('images/objective1.png'); /* initial image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: #fff;

  transition: background-image 1s ease-in-out;
}


.objectives-landing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* dark overlay */
  z-index: 1;
}

.objectives-landing .overlay {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}

.objectives-landing h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.objectives-landing p {
  font-size: 1.2rem;
}

/* the list content */
  /* Panel */
  .objectives-panel{
    width:100%;
    max-width:var(--max-width);
    background:var(--panel-bg);
    border:1px solid var(--panel-border);
    border-radius:var(--radius);
    box-shadow: 0 6px 18px rgba(15,23,42,0.06);
    padding:20px;
  }

  /* Header row */
  .panel-header{
    /* display:flex; */
    align-items:center;
    justify-content:space-between;
    gap:12px;
    border-bottom:1px solid var(--panel-border);
    padding-bottom:12px;
    margin-bottom:40px;
  }

  .panel-header h2{
    margin:0;
    font-size:50px;
    letter-spacing:0.2px;
    color:#0f172a;
    margin-bottom: 2rem;
  }

  .panel-header p{
    width: 700px;
  }


  /* Accordion list (using details/summary) */
  .objectives-list{
    display:block;
    margin:0;
    padding:0;
    list-style:none;
  }

  details{
    border: 1px solid black;
    border-radius:8px;
    margin-bottom:10px;
    overflow:hidden;
    background:transparent;
  }

  /* Summary (the clickable title line) */
  summary{
    list-style:none;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 12px;
    user-select:none;
    outline:none;
    transition: background .18s ease;
    border:1px solid transparent;
    gap:12px;
  }

  summary:hover{
    background:rgba(11,99,214,0.04);
  }

  /* Title text inside the summary */
  .obj-title{
    display:flex;
    align-items:center;
    gap:12px;
    font-weight:600;
    color:#071033;
    font-size:15px;
  }

  .obj-index{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:34px;
    height:34px;
    border-radius:8px;
    background:linear-gradient(180deg,#eaf2ff,#dbeeff);
    color:var(--accent);
    font-weight:700;
    font-size:13px;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.6);
  }

  .obj-content p {
    margin-bottom: 1rem;
    font-size: 15px;
  }

  /* Chevron */
  .chev{
    width:20px;
    height:20px;
    transition: transform .22s ease;
    display:inline-block;
    flex-shrink:0;
  }

  /* Rotate when open */
  details[open] > summary .chev{
    transform:rotate(90deg);
  }

  /* Panel content that expands/collapses */
  .obj-content{
    padding:10px 12px 18px 12px;
    color:var(--muted);
    font-size:14px;
    line-height:1.45;
    border-left:1px solid transparent;
    border-right:1px solid transparent;
    border-bottom:1px solid transparent;
    animation: fadeSlide .18s ease;
  }

  /* subtle entry animation */
  @keyframes fadeSlide{
    from { opacity:0; transform: translateY(-6px); }
    to   { opacity:1; transform: translateY(0); }
  }

/* the projects section */
.projects {
  text-align: center;
  padding: 60px 20px;
}

.projects h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card img {
width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.project-card h3 {
  font-size: 1.4rem;
  margin: 10px 0;
}

.project-card .tags {
  font-size: 0.9rem;
  color: #0077cc;
  margin-bottom: 12px;
}

.project-card p {
  flex-grow: 1;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.project-card .btn {
  display: inline-block;
  padding: 10px 15px;
  border: 1px solid #0077cc;
  border-radius: 5px;
  color: #0077cc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.project-card .btn:hover {
  background: #0077cc;
  color: #fff;
}

/* =========================================================
   PUBLIC ARTICLE PAGE
   ========================================================= */

.article-page {
    width: 100%;
    padding: 70px 20px 90px;
    background: #ffffff;
    box-sizing: border-box;
}

/* Main article container */
.article-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* =========================================================
   ARTICLE TITLE
   ========================================================= */

.article-container h1 {
    margin: 0 0 18px;
    color: #222;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    font-weight: 700;
    text-align: center;
    overflow-wrap: break-word;
}

/* =========================================================
   ARTICLE DATE
   ========================================================= */

.article-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-bottom: 35px;

    color: #777;
    font-size: 0.95rem;
    line-height: 1.5;
}

.article-date i {
    color: #0077cc;
    font-size: 1rem;
}


/* =========================================================
   ARTICLE IMAGE
   ========================================================= */

.article-main-image {
    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;

    max-height: 550px;

    object-fit: cover;

    margin: 0 auto 40px;

    border-radius: 12px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   ARTICLE CONTENT
   ========================================================= */

.article-content {
    width: 100%;

    color: #333;

    font-size: 1.08rem;
    line-height: 1.9;

    text-align: left;

    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Paragraph spacing */

.article-content p {
    margin: 0 0 1.4rem;
}

/* Links inside articles */

.article-content a {
    color: #0077cc;
    text-decoration: underline;
}

.article-content a:hover {
    color: #005fa3;
}


/* =========================================================
   BACK BUTTON
   ========================================================= */

.article-container .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 40px;

    padding: 12px 22px;

    background: #0077cc;
    color: #ffffff;

    text-decoration: none;

    border-radius: 6px;

    font-size: 0.95rem;
    font-weight: 600;

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.article-container .btn:hover {
    background: #005fa3;

    transform: translateY(-2px);

    box-shadow:
        0 5px 12px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 768px) {

    .article-page {
        padding: 55px 20px 70px;
    }

    .article-container {
        max-width: 700px;
    }

    .article-container h1 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .article-date {
        margin-bottom: 28px;
    }

    .article-main-image {
        margin-bottom: 30px;
        border-radius: 10px;
        max-height: 450px;
    }

    .article-content {
        font-size: 1rem;
        line-height: 1.8;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 576px) {

    .article-page {
        padding: 40px 15px 55px;
    }

    .article-container {
        width: 100%;
    }

    .article-container h1 {
        font-size: 1.8rem;
        line-height: 1.25;

        margin-bottom: 12px;
    }

    .article-date {
        font-size: 0.85rem;
        margin-bottom: 22px;
    }

    .article-date i {
        font-size: 0.9rem;
    }

    .article-main-image {
        width: 100%;
        height: auto;

        max-height: 350px;

        margin-bottom: 25px;

        border-radius: 8px;
    }

    .article-content {
        font-size: 1rem;
        line-height: 1.75;
    }

    .article-content p {
        margin-bottom: 1.2rem;
    }

    .article-container .btn {
        width: 100%;
        box-sizing: border-box;

        margin-top: 30px;

        padding: 13px 18px;

        font-size: 0.95rem;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .article-page {
        padding: 32px 12px 45px;
    }

    .article-container h1 {
        font-size: 1.55rem;
    }

    .article-date {
        font-size: 0.8rem;
    }

    .article-content {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .article-main-image {
        border-radius: 6px;
    }

}

/* the contact us section */
.contact-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px;
  font-family: Arial, sans-serif;
}

/* Two-column layout */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

/* Contact Information */
.contact-info {
  text-align: left;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-info h2 {
  margin-bottom: 30px;
}

.contact-info p {
  margin-bottom: 20px;
}

.contact-info i {
  color: transparent;        /* sky blue color */
  -webkit-text-stroke: 2px #0077cc;
  margin-right: 10px;    /* space between icon and text */
  font-size: 1.2rem;     /* slightly larger than text */
}

/* Contact Form */
.contact-form h2 {
  margin-bottom: 20px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  font-size: 1rem;
}

.contact-form textarea {
  height: 120px;
  resize: none;
}

.contact-form button {
  background: #0073e6;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.contact-form button:hover {
  background: #005bb5;
}

/* Video Section */
.video-section {
  text-align: left;
  margin-top: 50px;
}

.video-section h2 {
  margin-bottom: 20px;
}

.video-thumbnail {
  display: inline-block;
  position: relative;
}

.video-thumbnail img {
  max-width: 30%;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 15%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: #fff;
  background: rgba(0,0,0,0.6);
  border-radius: 60%;
  padding: 15px 20px;
}


/* Footer */

/* Footer container */
footer {
  background: #005fa3;
  color: #eee;
  padding: 3rem 5% 1rem;
}

.footer-container {
  display: flex;
  justify-content: space-between; /* spacing between columns */
  flex-wrap: wrap;                /* responsive on small screens */
  gap: 2rem;
}

/* Columns */

.footer-col {
  flex: 1;
  min-width: 180px;
}

.footer-col h3 {
  color: #fff; /* sky blue */
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: #eee;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #00bfff;
}

/* give more room for footer logo and description */
.footer-col:first-child {
  margin-top: 3rem;
  flex: 2;
  min-width: 240px;
}

/* reducing space between seocnd, third column and fourth column */
.footer-col:nth-of-type(2),
.footer-col:nth-of-type(3),
.footer-col:nth-of-type(4) {
  min-width: 20px;
}

/* Logo column */
.footer-logo {
  height: 60px;
  margin-bottom: 1rem;
  display: block;
}

/* the social icons in the footer */
/* Social Icons */
.social-icons {
  display: flex;
  gap: 1rem;              /* spacing between icons */
  margin-top: 1rem;
}

.social-icons a {
  color: #fff;         /* sky blue */
  font-size: 1.3rem;      /* icon size */
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #00bfff;            /* change to white on hover */
}

/* Donate button */
.donate-btn {
  display: inline-block;
  background: #00bfff;
  color: #fff;
  padding: 0.2rem 2.6rem;
  border-radius: 2px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.donate-btn:hover {
  background: #0099cc;
}

/* Horizontal line */
footer hr {
  border: none;
  border-top: 0.4px solid #fff;
  margin: 4rem 0 1rem;
  opacity: 0.2;
}

/* Bottom text */
.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}

/* ======== FOOTER RESPONSIVE CENTER ALIGN ======== */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;       /* stack all sections vertically */
    align-items: center;          /* center horizontally */
    text-align: center;
  }

  .footer-logo,
  .social-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%; /* ensures it spans the full width for proper centering */
  }

  .footer-logo {
    display: block;
    margin: 0 auto;
    height: 80px;
    width: 70px; /* adjust as you wish */
  }

  .social-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    margin-top: 0.8rem;
    gap: 0.9rem;
  }
}

  
/* ==================== RESPONSIVE STYLES ==================== */

/* ==================== index page STYLES ==================== */
/* Tablet adjustments */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: left;
  }

  .hero img {
    margin-top: 2rem;
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }
}


/* Mobile adjustments */
@media (max-width: 768px) {
  /* Navbar mobile */
  nav {
    position: relative;
    z-index: 1005;
  }

  /* Hide normal menu */
  nav ul {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    flex-direction: column;
    width: 200px;
    display: none; /* hidden by default */
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    z-index: 1010;

  }

  nav ul li {
    margin: 0.5rem 0;
  }

  nav ul.show {
    display: flex; /* toggle on mobile */
  }

  /* Hamburger icon */
  .menu-toggle {
    display: block;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333;
  }

  /* Hide donate button inside menu */
  nav .donate-btn {
    margin-top: 1rem;
    text-align: center;
  }

  /* Hide donate button on desktop nav bar */
  nav > .donate-btn {
    display: none;
  }

  /* Hero text smaller */
  .hero-text h1 {
    font-size: 2rem;
  }

  /* Footer columns stack */
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col {
    min-width: 100%;
  }
}

/* Very small devices (smartphones <480px) */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.6rem;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  nav ul {
    width: 100%;
  }
}




/* ================================
   Laptop / Smaller Desktop
================================ */

@media (max-width: 1100px) {

    .core-values {
        padding: 3.5rem 4%;
    }

    .values-grid {
        gap: 1.5rem;
    }

    .value-card {
        padding: 1.7rem;
    }

}


/* ================================
   Tablet
================================ */

@media (max-width: 768px) {

    .core-values {
        padding: 3rem 5%;
    }

    .core-values h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .value-card {
        padding: 1.5rem;
    }

    .value-card i {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .value-card h3 {
        font-size: 1.15rem;
    }

    .value-card p {
        font-size: 0.95rem;
    }

}


/* ================================
   Mobile
================================ */

@media (max-width: 576px) {

    .core-values {
        padding: 2.5rem 5%;
    }

    .core-values h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .value-card {
        padding: 1.5rem;
        border-radius: 8px;
    }

    .value-card i {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .value-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.7rem;
    }

    .value-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

}


/* ================================
   Very Small Phones
================================ */

@media (max-width: 380px) {

    .core-values {
        padding: 2rem 4%;
    }

    .core-values h2 {
        font-size: 1.45rem;
    }

    .value-card {
        padding: 1.25rem;
    }

    .value-card i {
        font-size: 1.6rem;
    }

    .value-card h3 {
        font-size: 1rem;
    }

    .value-card p {
        font-size: 0.9rem;
    }

}


/* ==================== PROJECTS page STYLE ==================== */

/* Tablet (medium devices ≤ 992px) */
@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    gap: 20px;
  }

  .projects h2 {
    font-size: 2rem;
  }

  .project-card h3 {
    font-size: 1.2rem;
  }

  .project-card p {
    font-size: 0.95rem;
  }
}

/* Mobile (small devices ≤ 768px) */
@media (max-width: 768px) {
  .projects {
    padding: 40px 15px;
  }

  .projects-grid {
    grid-template-columns: 1fr; /* 1 card per row */
    gap: 25px;
  }

  .projects h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .project-card {
    padding: 15px;
  }

  .project-card img {
    margin-bottom: 10px;
  }
}

/* Very small smartphones (≤ 480px) */
@media (max-width: 480px) {
  .projects {
    padding: 30px 10px;
  }

  .projects h2 {
    font-size: 1.5rem;
  }

  .project-card h3 {
    font-size: 1.1rem;
  }

  .project-card p {
    font-size: 0.85rem;
  }

  .project-card .btn {
    width: 100%; /* button full width for easy tapping */
    text-align: center;
  }
}

/* =========OBJECTIVES page STYLE ========= */

/* Large tablets and smaller (≤ 992px) */
@media (max-width: 992px) {
  .objectives-landing {
    height: auto;
    padding: 60px 20px;
  }

  .objectives-landing h1 {
    font-size: 2.2rem;
  }

  .objectives-landing p {
    font-size: 1rem;
  }

  .panel-header {
    flex-direction: column;
    text-align: center;
    margin-bottom: 2rem;
  }

  .panel-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .panel-header p {
    width: 100%;
    max-width: 90%;
    font-size: 1rem;
    margin: 0 auto;
  }
}

/* Small tablets and large phones (≤ 768px) */
@media (max-width: 768px) {
  .objectives-landing h1 {
    font-size: 1.8rem;
  }

  .objectives-landing p {
    font-size: 0.95rem;
  }

  .panel-header h2 {
    font-size: 1.6rem;
  }

  .obj-title {
    font-size: 14px;
  }

  .obj-content p {
    font-size: 14px;
  }
}

/* Very small devices (≤ 480px) */
@media (max-width: 480px) {
  .objectives-landing {
    padding: 40px 10px;
  }

  .objectives-landing h1 {
    font-size: 1.5rem;
  }

  .objectives-landing p {
    font-size: 0.9rem;
  }

  .panel-header h2 {
    font-size: 1.3rem;
  }

  .panel-header p {
    font-size: 0.85rem;
  }

  .obj-title {
    font-size: 13px;
    gap: 8px;
  }

  .obj-index {
    min-width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .chev {
    width: 16px;
    height: 16px;
  }

  .obj-content p {
    font-size: 13px;
    line-height: 1.4;
  }
}

/* =========FOCUS AREA page STYLE========= */

/* Tablet adjustments (≤ 992px) */
@media (max-width: 992px) {
  .focus-areas {
    padding: 6rem 5%;
  }

  .focus-areas h1 {
    font-size: 1.8rem;
  }

  .focus-areas p {
    font-size: 0.95rem;
    max-width: 90%;
  }

  .pillars {
    padding: 2rem 5%;
  }

  .pillars h2 {
    font-size: 1.6rem;
  }

  .pillars p {
    font-size: 0.95rem;
    max-width: 90%;
    margin-bottom: 2.5rem;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns instead of 3 */
    gap: 2rem;
  }

  .pillar-card {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }
}

/* Very small devices (smartphones ≤ 480px) */
@media (max-width: 480px) {
  .focus-areas {
    padding: 4rem 1rem;
  }

  .focus-areas h1 {
    font-size: 1.4rem;
  }

  .focus-areas p {
    font-size: 0.85rem;
  }

  .pillars h2 {
    font-size: 1.3rem;
  }

  .pillars p {
    font-size: 0.85rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr; /* Stack cards in one column */
    gap: 1.5rem;
  }

  .pillar-card {
    padding: 1.5rem;
    width: 100%;
  }

  .pillar-card i {
    font-size: 2.2rem;
    -webkit-text-stroke: 1.5px #0077cc;
  }

  .pillar-card h3 {
    font-size: 1rem;
  }

  .pillar-card p {
    font-size: 0.9rem;
  }
}

/* =========ABOUT US page STYLE========= */

/* Tablet adjustments (≤ 992px) */
@media (max-width: 992px) {
  /* About section */
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text h2 {
    font-size: 26px;
    margin-bottom: 1.5rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .about-img {
    text-align: center;
  }

  .about-img img {
    height: auto;
    max-width: 80%;
  }

  /* Team section */
  .team-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    gap: 2rem;
  }

  .team-member {
    width: 100%;
  }

  /* Cards section */
  .cards-section {
    flex-direction: column; /* stack cards vertically */
  }

  .card {
    text-align: center;
  }
}

/* Very small devices (smartphones ≤ 480px) */
@media (max-width: 480px) {
  /* About section */
  .about {
    padding: 2rem 5%;
  }

  .about-text h2 {
    font-size: 22px;
  }

  .about-text p {
    font-size: 0.9rem;
  }

  .about-img img {
    max-width: 100%;
  }

  /* Team section */
  .collaborative-team h2 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
  }

  .team-grid {
    grid-template-columns: 1fr; /* stack members in one column */
    gap: 1.5rem;
  }

  .team-member img {
    width: 120px;
    height: 120px;
  }

  .team-member h4 {
    font-size: 1rem;
  }

  .team-member p {
    font-size: 0.8rem;
  }

  /* Cards section */
  .cards-section {
    padding: 2rem 5%;
  }

  .card h2 {
    font-size: 1.2rem;
  }

  .card p {
    font-size: 0.85rem;
  }
}



/* =====CONTACT US page STYLE===== */

/* Tablet adjustments (max 992px) */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;   /* stack contact info and form */
    gap: 30px;
  }

  .contact-info h2 {
    margin-bottom: 40px;  /* reduce large spacing */
    text-align: center;
  }

  .contact-info {
    text-align: center;
  }

  .contact-form h2 {
    text-align: center;
  }

  .video-section {
    text-align: center;
  }

  .video-thumbnail img {
    max-width: 60%;   /* bigger on tablet screens */
  }

  .play-button {
    left: 50%;        /* center play button */
  }
}

/* Smartphones (max 480px) */
@media (max-width: 480px) {
  .contact-page {
    padding: 30px 15px;
  }

  .contact-info {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .contact-info h2 {
    font-size: 1.4rem;
  }

  .contact-form h2 {
    font-size: 1.4rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.9rem;
    padding: 10px;
  }

  .contact-form button {
    font-size: 0.9rem;
    padding: 10px;
  }

  .video-thumbnail img {
    max-width: 100%;   /* full width for small devices */
  }

  .play-button {
    font-size: 2rem;
    padding: 10px 12px;
  }
}


