

/* GLOBAL FONT */
body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: regular;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa, #e8f0ff, #fff7e6);
    
    animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.site-logo img {
    height: 130px; /* adjust to your preferred size */
    width: auto;
    display: block;
}

.site-logo {
    display: flex;
    align-items: center;
    margin-right: 20px; /* space between logo and nav */
}


/* Top Bar */
.top-bar {
    background: #007b7f;
    color: #fff;
    padding: 6px 20px;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left span {
    margin-right: 20px;
}

.top-right a {
    color: #fff;
    margin-left: 12px;
    font-size: 15px;
    transition: color .3s;
}

.top-right a:hover {
    color: #f4c430;
}


/* NAV WRAPPER */
.main-nav {
    background: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

/* NAV CONTAINER */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
}

/* LOGO */
.logo {
    font-size: 22px;
    font-weight: 700;
    color: #007b7f;
    text-decoration: none;
}

/* NAV WRAPPER */
.main-nav {
    background: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* NAV CONTAINER */
.nav-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* LOGO */
.logo {
    font-size: 22px;
    font-weight: 700;
    color: #007b7f;
    text-decoration: none;
}

/* MAIN MENU */
/* Container */
.trapezium-nav > li > a {
  color: #fff !important;
}


.trapezium-nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Each nav item becomes a trapezium */
.trapezium-nav li{
    color: white;
}
.trapezium-nav > li > a {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  transition: 0.25s ease;
}

/* Hover effect */
.trapezium-nav > li > a:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  background: #007b7f; 
  color: #fff;
}

/* Colors for each tab (customize as you like) */
.trapezium-nav > li:nth-child(1) a { background: #f57c00; } /* Home */
.trapezium-nav > li:nth-child(2) a { background: #388e3c; } /* About */
.trapezium-nav > li:nth-child(3) a { background: #7b1fa2; } /* Projects */
.trapezium-nav > li:nth-child(4) a { background: #0288d1; } /* Get Involved */
.trapezium-nav > li:nth-child(5) a { background: #fbc02d; color: #333; } /* Media */
.trapezium-nav > li:nth-child(6) a { background: #d32f2f; } /* Contact */

.trapezium-nav .dropdown {
  position: relative; /* anchors submenu, prevents shaking */
}
.trapezium-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;

    background: #ffffff;
    min-width: 180px;
    padding: 8px 0;

    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;

    z-index: 999;
}

.trapezium-nav .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.trapezium-nav .dropdown-menu a {
    clip-path: none !important;
    background: none !important;
    color: #333 !important;
    padding: 10px 16px;
    border-radius: 4px;
    display: block;
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.25s ease, background 0.25s ease;
}

.trapezium-nav .dropdown-menu a {
    transition: color 0.25s ease, background 0.25s ease;
}

.trapezium-nav .dropdown-menu a:hover {
    background: rgba(0,0,0,0.05);
    color: inherit !important; /* keeps parent color */
}


/* ============================
   HAMBURGER BUTTON
============================ */
.hamburger {
    position: absolute;
    top: 18px;
    right: 20px; /* change to left:20px if you want left-up */
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2000;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #eaeaea;
    border-radius: 3px;
    transition: 0.3s ease;
}

/* X animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}



/* ABOUT submenu */
.trapezium-nav > li:nth-child(2) .dropdown-menu a {
    color: #388e3c !important;
}

/* PROJECTS submenu */
.trapezium-nav > li:nth-child(3) .dropdown-menu a {
    color: #7b1fa2 !important;
}

/* GET INVOLVED submenu */
.trapezium-nav > li:nth-child(4) .dropdown-menu a {
    color: #0288d1 !important;
}

/* MEDIA submenu */
.trapezium-nav > li:nth-child(5) .dropdown-menu a {
    color: #fbc02d !important;
}

/* CONTACT submenu */
.trapezium-nav > li:nth-child(6) .dropdown-menu a {
    color: #d32f2f !important;
}
.trapezium-nav > li > a {
    color: #fff !important;
}


.nav-links a,
.dropdown-menu a {
    cursor: pointer !important;
}


/* DONATE BUTTON */
.donate-btn {
    background: #ff4c10;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.donate-btn:hover {
    background: #ff7f1d;
    color: #fff;
}

/* CALL US SECTION */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.call-us {
    display: flex;
    align-items: center;
    gap: 8px;
}

.call-icon {
    font-size: 20px;
}

.call-text {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    line-height: 1.1;
}




/* HERO SECTION */
.hero-slider {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: #fff;
    max-width: 500px;
}

.slide-content h1 {
    font-size: 48px;
    font-weight: 700;
}

.slide-content p {
    font-size: 20px;
    margin: 10px 0 20px;
}

.cta-btn {
    background: #f4c430;
    padding: 12px 25px;
    color: #007b7f;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
}

/* Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    user-select: none;
}

.slider-nav.prev { left: 20px; }
.slider-nav.next { right: 20px; }

.slider-nav:hover {
    color: #f4c430;
}


/* IMPACT SECTION */
.impact-section {
    padding: 80px 20px;
    text-align: center;
    background: #f7f7f7;
}

.impact-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.impact-box {
    background: #fff;
    padding: 30px;
    width: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.counter {
    font-size: 40px;
    color: #e63946;
}



/* ABOUT US SECTION */
.about-hero {
    background: url("../images/banners/about-hero.jpg") center/cover no-repeat;
    padding: 120px 20px;
    text-align: center;
    color: white;
}

.about-hero-content h1 {
    font-size: 48px;
    font-weight: 700;
}

.about-hero-content p {
    font-size: 20px;
    max-width: 700px;
    margin: 20px auto;
}

.about-section {
    padding: 60px 20px;
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.about-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: left;
}

.about-section p {
    font-size: 18px;
    line-height: 2rem;
    margin-bottom: 20px;
    text-align: left;
}

.about-section ul li{
  list-style-type:disc;
  text-align: left;
}
.about-section ol li{
  text-align: left;
}

/* FEATURES SECTION */
.featured-projects-section {
    padding: 60px 20px;
    text-align: center;
    max-width: 1200px;
    margin: auto;
}

.featured-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.featured-project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.featured-project-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.featured-project-content {
    padding: 20px;
    text-align: left;
}

.featured-read-more {
    display: inline-block;
    margin-top: 12px;
    color: #0077cc;
    font-weight: 600;
    text-decoration: none;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

   

/* CTA SECTION */
.cta-section {
    padding: 80px 20px;
    text-align: center;
    background: #e63946;
    color: #fff;
}

/* footer */

.site-footer {
  background: #222;
  color: #fff;
  padding: 60px 0 30px; /* no left/right padding */
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto; /* centers the grid */
}


.footer-column h4 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #ffcc00;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-social a {
  display: inline-block;
  margin-right: 10px;
  color: #ccc;
  font-size: 16px;
}

.footer-social a:hover {
  color: #fff;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
}

.subscribe-form input {
  padding: 10px;
  border: none;
  border-radius: 5px;
  margin-bottom: 10px;
}

.subscribe-form button {
  background: #ffcc00;
  color: #222;
  border: none;
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.footer-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.footer-gallery img {
  width: 100%;
  border-radius: 5px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: #aaa;
}

/* Animate/typewriter */

/* Container layout */
.typewriter-box {
  max-width: 400px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.typewriter-box.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Typewriter heading */
#typewriter-text {
  font-size: 2.2rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #f4b000; /* blinking cursor */
  width: fit-content;
  animation: cursorBlink 0.7s infinite;
}

@keyframes cursorBlink { 
    0%, 100% { border-color: transparent; } 
    50% { border-color: #f4b000; } }

/* Paragraph fade-in */
.typewriter-box p {
  opacity: 0;
  transition: opacity 1s ease;
}

/* Slide-in image */
.slide-image {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}


.slide-image.animate {
  opacity: 1;
  transform: translateX(0);
}

.slide-image img {
  max-width: 600px;
  width: 100%;
  border-radius: 10px;
  display: block;
}



/* HERO */
.mission-hero {
    background: #007b7f;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.mission-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

/* MAIN MISSION */
.mission-main {
    padding: 60px 20px;
    text-align: center;
}

.mission-main h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.mission-main p {
    font-size: 18px;
    max-width: 800px;
    margin: auto;
    line-height: 1.6;
    text-align: justify;
}

/* SPLIT SECTION */
.mission-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 80px 20px;
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.mission-image img {
    width: 420px;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.mission-flex {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 60px;
    padding: 20px 20px;
}

.mission-text {
    /* flex: 1; */
    flex-direction: column;
    max-width: 1000px;
    text-align: justify;
    border-left: #0077cc;
}

.mission-text h2{
  text-align: center;
}

.mission-image img {
    width: 420px;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}



/* Content */
.project-content{
    flex: 1;                /* allows text to take MORE space */
    padding-right: 20px;
}
.project-content h3 {
    color: #000000;
    margin: 0 0 10px;
    font-size: 20px;
}

.project-text p { 
    font-size: 16px; 
    line-height: 1.6; 
    margin-bottom: 20px; }


.project-footer { 
    display: flex; 
    gap: 20px; 
    align-items: center; 
    flex-wrap: wrap; 
    background-color: yellow;
} 


.project-stats { 
    display: flex; 
    gap: 20px; 
    align-items: left; 
    flex-wrap: wrap; 
}

.stats-left { 
    color: #3d3d3d; 
    border: none; 
    padding: 10px 20px; 
    font-weight: bold; 
    border-radius: 5px; 
    cursor: pointer; 
    justify-content: end;
}

.stats-right {
    margin-right: auto;
}

.donate-btn{
    justify-content: end;
}




/* meet our Team */
/* ============================
   TEAM SECTION
============================ */
.team-section {
    text-align: center;
    margin: auto;
    max-width: 1100px;
    padding: 20px;
}

/* ============================
   TEAM GRID — 3 COLUMNS
============================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* ============================
   TEAM CARD
============================ */
.team-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s ease;
    position: relative;
}

.team-card:hover {
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    50% { transform: translateX(3px); }
    75% { transform: translateX(-2px); }
    100% { transform: translateX(0); }
}

/* ============================
   IMAGE WRAPPER
============================ */
.image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5; /* consistent shape */
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* shows full image */
  display: block;
}

/* Ensure overlay and button stay inside wrapper */
.team-desc,
.read-more-btn {
  z-index: 2;
}



.image-wrapper:hover img {
    transform: scale(1.08);
}

/* ============================
   BIO OVERLAY
============================ */
.team-desc {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    background: rgba(0,0,0,0.85);
    color: #fff;

    padding: 15px;
    font-size: 0.95rem;
    line-height: 1.5;

    max-height: 0;
    overflow: hidden;

    transition: max-height 0.4s ease, padding 0.3s ease;
}

.team-desc.short {
    max-height: 0;
    padding: 0 15px;
}

.team-desc.expanded {
  max-height: 1000px; /* large enough for long bios */
  padding: 15px;
  text-align: left;
}


/* ============================
   READ MORE BUTTON
============================ */
.read-more-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;

    background: rgba(255,255,255,0.9);
    border: none;
    padding: 5px 10px;
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 6px;

    transition: background 0.2s ease;
}

.read-more-btn:hover {
    background: #fff;
}

/* ============================
   NAME + ROLE
============================ */
.team-card h3 {
    margin: 15px 0 5px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
}

.team-role {
    text-align: center;
    color: #777;
    margin-bottom: 10px;
}

/* ============================
   RESPONSIVE FIX
============================ */
@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}





/* Shared Styles */
.section-container {
  max-width: 1100px;
  margin: 0 auto;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Get Involved */
.involve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.involve-card {
  background: #f7f7f7;
  padding: 20px;
  border-radius: 10px;
}

.btn-action {
  display: inline-block;
  margin-top: 10px;
  background: #007b7f;
  color: #fff;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

/* Media */
/* .media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.media-item img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}
 */

 
/* Contact */
.section-container{
    padding: 50px;
}
.section-container h2{
    max-width: 200px;
    border: solid px black;
    padding: 10px;
    background-color: #007b7f;
    color: white;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: vertical;
}

.contact-form button {
  background: #007b7f;
  color: #fff;
  border: none;
  padding: 10px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

.contact-info {
  margin-top: 30px;
  font-size: 14px;
  color: #555;
}


/* DONATE SECTION */
.donate-section {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.donate-container {
  max-width: 500px;
  width: 100%;
}

.donate-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.donate-form input,
.donate-form select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: regular;
}

.donate-btn {
  background: #d10000;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
 font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: regular;
}




/* Thank You Section */

.thankyou-section {
  padding: 80px 20px;
  text-align: center;
}

.thankyou-container {
  max-width: 500px;
  margin: 0 auto;
}

.btn-home {
  display: inline-block;
  margin-top: 20px;
  background: #007b7f;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}


/* Volunteers Section */

/* ============================
   VOLUNTEER FORM + LIST
============================ */

/* Page container */
.volunteer-section {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

/* Form container */
.volunteer-form {
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.volunteer-form h2 {
    margin-bottom: 15px;
    font-size: 26px;
    font-weight: 600;
    color: #333;
}

.volunteer-form label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    color: #444;
}

.volunteer-form input,
.volunteer-form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    transition: 0.25s ease;
}

.volunteer-form input:focus,
.volunteer-form textarea:focus {
    border-color: #4c4cff;
    box-shadow: 0 0 5px rgba(76,76,255,0.3);
    outline: none;
}

.volunteer-form button {
    margin-top: 20px;
    padding: 12px 20px;
    background: #4c4cff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.25s ease;
}

.volunteer-form button:hover {
    background: #3737ff;
}

/* Volunteer list */
.volunteer-list {
    margin-top: 40px;
}

.volunteer-list h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

/* Grid layout */
.volunteer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

/* Volunteer card */
.volunteer-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.volunteer-card h4 {
    margin-bottom: 8px;
    font-size: 18px;
    color: #222;
}

.volunteer-card p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}

.volunteer-card img.volunteer-photo {
    width: 100%;
    height: 240px;
    object-fit: contain;
    background-color: #f2f2f2;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Volunteer card animation */
.volunteer-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

/* Staggered animation delay */
.volunteer-card:nth-child(1) { animation-delay: 0.1s; }
.volunteer-card:nth-child(2) { animation-delay: 0.2s; }
.volunteer-card:nth-child(3) { animation-delay: 0.3s; }
/* Add more if needed */

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effect */
.volunteer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}


/* Responsive */
@media (max-width: 600px) {
    .volunteer-form {
        padding: 20px;
    }
}


/* media grid front-section */
/* ============================
   MEDIA SECTION
============================ */
.media-section {
    padding: 40px;
}
/* ============================
   MEDIA TITLE
============================ */
.media-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 25px;
    font-weight: 700;
}

/* ============================
   FILTER BUTTONS (replacing tabs)
============================ */
.media-filters {
    text-align: center;
    margin-bottom: 25px;
}

.filter-btn {
    padding: 10px 22px;
    background: #dcdcdc;
    border: none;
    margin: 0 6px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 15px;
}

.filter-btn.active {
    background: #4c4cff;
    color: #fff;
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* ============================
   MEDIA CARD
============================ */
.media-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ============================
   MEDIA PREVIEW WRAPPER
============================ */
.media-preview {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #000;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-photo,
.media-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ============================
   RESPONSIVE
============================ */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}



/* MEDIA NAVBAR-ADMIN */

.media-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.media-table th {
    background: #4c4cff;
    color: #fff;
    padding: 12px;
    text-align: left;
}

.media-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.media-thumb {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.btn-add {
    display: inline-block;
    padding: 10px 16px;
    background: #4c4cff;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    margin-bottom: 15px;
}

.btn-edit {
    padding: 6px 10px;
    background: #28a745;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}

.btn-delete {
    padding: 6px 10px;
    background: #dc3545;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}



/* History Section */

.history-page .hero-section {
  padding: 80px 0 40px;
}

.history-page .page-title {
  font-size: 2.4rem;
  margin-bottom: 10px;
}
.page-title-w {
    padding: 20px;
    text-align: center;
}
.section-underline {
  width: 80px;
  border: none;
  border-top: 3px solid #f4b000;
  margin: 20px 0 0;
}

.history-intro {
  padding: 40px 0 20px;
}

.history-intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.history-timeline {
  padding: 40px 0 60px;
}

.timeline-grid {
  display: grid;
  gap: 24px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  align-items: flex-start;
}

.timeline-year {
  font-weight: 600;
  font-size: 1.1rem;
  color: #f4b000;
}

.timeline-content h3 {
  margin: 0 0 6px;
}

.history-cta {
  padding: 50px 0 70px;
  background: #f8f8f8;
}

.history-cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.history-cta-actions .btn {
  margin-right: 10px;
}


.cta-buttons {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.btn-primary {
  background: #f4b000;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #d99a00;
}

.btn-outline {
  border: 2px solid #f4b000;
  color: #f4b000;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #f4b000;
  color: #fff;
}



/* Partners Section */

/* Partners Page */
.partners__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 50px;
}

.partner__item {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.partner__logo-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner__content {
  margin-top: 10px;
}

.partner__name {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.partner__description {
  font-size: 0.95rem;
  color: #555;
}



/* PROJECT-COMPLETED-INPROGRESS-DETAILS */


.project-card {
    margin: auto;
    max-width: 1100px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-thumb-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.project-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-info {
    padding: 16px;
}

.project-info h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.project-info .status {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
}

.project-info p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    color: #007b7f;
    font-weight: 600;
    text-decoration: none;
}

/* project details */
.project-details {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.project-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.project-details h1 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.category {
    background: #007b7f;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
}

.status {
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
}


.project-detail-section{
  max-width: 1200px;
  margin: auto;
  padding: 50px;
}




/* QUESTIONNAIRE SECTION */

.questionnaire-hero {
    background: url('../images/banners/evaluation-feedback.jpg') center/cover no-repeat;
    padding: 100px 20px;
    text-align: center;
    color: rgb(0, 0, 0);
}

.questionnaire-hero h1 {
    font-size: 42px;
    font-weight: 700;
}

.questionnaire-container {
    max-width: 700px;
    margin: 40px auto;
    padding: 20px;
}

.questionnaire-form label {
    display: block;
    margin-top: 20px;
    font-weight: 600;
}

.questionnaire-form input,
.questionnaire-form select,
.questionnaire-form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    resize: vertical;
}

.rating-group {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.btn-submit {
    margin-top: 30px;
    padding: 14px 20px;
    background: #0077cc;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}



/* ============================================================
   GLOBAL RESPONSIVE SYSTEM FOR ANORA WEBSITE
   Add this at the bottom of style.css
============================================================ */

/* ============================
   LARGE TABLETS (max-width: 1024px)
============================ */
@media (max-width: 1024px) {

    /* Navbar spacing */
    .nav-container {
        gap: 20px;
    }

    .trapezium-nav > li > a {
        padding: 10px 20px;
        font-size: 15px;
    }

    /* Hero text */
    .slide-content h1 {
        font-size: 36px;
    }

    .slide-content p {
        font-size: 18px;
    }

    /* Mission split */
    .mission-flex {
        gap: 30px;
    }

    /* Team grid */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================
   TABLETS (max-width: 768px)
============================ */
@media (max-width: 768px) {

    /* Top bar */
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* Navbar becomes vertical */
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }

    .trapezium-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .trapezium-nav > li > a {
        clip-path: none;
        border-radius: 6px;
        padding: 12px 18px;
        width: 100%;
        text-align: center;
    }

    /* Hero */
    .hero-slider {
        height: 60vh;
    }

    .slide-content {
        bottom: 15%;
        left: 5%;
        max-width: 90%;
    }

    .slide-content h1 {
        font-size: 30px;
    }

    /* Mission section */
    .mission-flex {
        flex-direction: column;
        text-align: center;
    }

    .mission-text {
        text-align: center;
    }

    /* About section */
    .about-section {
        text-align: left;
        padding: 40px 20px;
    }

    /* Footer grid */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================
   MOBILE (max-width: 600px)
============================ */
@media (max-width: 600px) {

    /* Global text */
    body {
        font-size: 16px;
    }

    h1, h2 {
        font-size: 1.6rem;
        text-align: center;
    }

    /* Navbar */
    .trapezium-nav {
        flex-direction: column;
        gap: 10px;
    }

    .trapezium-nav > li > a {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }

    /* Hero */
    .hero-slider {
        height: 50vh;
    }

    .slide-content h1 {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 16px;
    }

    /* Impact boxes */
    .impact-grid {
        flex-direction: column;
        gap: 20px;
    }

    /* Team grid */
    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Media grid */
    .gallery-grid,
    .featured-projects-grid {
        grid-template-columns: 1fr;
    }

    .media-preview {
        height: 200px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    /* Forms */
    form,
    .contact-form,
    .donate-container {
        padding: 20px;
    }

    /* Project details */
    .project-details {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 250px;
    }
}

/* ============================
   SMALL MOBILE (max-width: 400px)
============================ */
@media (max-width: 400px) {

    .slide-content h1 {
        font-size: 20px;
    }

    .slide-content p {
        font-size: 14px;
    }

    .media-preview {
        height: 160px;
    }

    .team-card h3 {
        font-size: 1.1rem;
    }
}


/* Nav responsive section */
/* ---------trapezium nav on mobile and shows the hamburger--------------- */

@media (max-width: 900px) {

    .hamburger {
        display: flex;
    }

    .trapezium-nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        gap: 12px;

        /* SLIDE ANIMATION */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;

        padding: 0;
        z-index: 1500;
    }

    .trapezium-nav.open {
        max-height: 600px; /* enough for all items */
        padding: 20px 0;
    }

    /* Remove trapezium shape on mobile */
    .trapezium-nav > li > a {
        clip-path: none !important;
        border-radius: 6px;
        background: #007b7f !important;
        color: #fff !important;
        padding: 12px 20px;
        text-align: center;
        width: 90%;
        margin: auto;
    }
}
