html {
  scroll-behavior: smooth;
}

/* --- Smooth parallax scrolling setup --- */
html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
}

.background-video,
.hero::after {
  transform: translateZ(-1px) scale(2);
  will-change: transform;
}

.hero-content,
section {
  position: relative;
  transform: translateZ(0);
  will-change: transform, opacity;
}

/* Section fade animation */
.section-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.section-fade.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0b0c0f;
  --accent: #ffffff;
}

body {
  background: #ffffff; /* White background everywhere */
  color: var(--accent);
  overflow-x: hidden;
}

/* ================= HERO SECTION ================= */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: url("images/hero.jpg") center/cover no-repeat;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  margin: 0 !important;
  padding: 0 !important;
}

/* Add overlay */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1); /* adjust darkness: 0.3–0.6 */
  backdrop-filter: blur(1px);      /* blur effect */
  z-index: 1;
}

/* Hero content on top of overlay */
.hero > * {
  position: relative;
  z-index: 2;
  color: #fff; /* text color */
}

/* Dark overlay on hero */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* ================= NAVBAR ================= */
/* ================= Base Navbar Styles (Desktop) ================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 80px;
    background: transparent;
    transition: background 0.35s ease, padding 0.35s ease;
}

/* ⭐ Navbar White on Scroll */
.navbar.scrolled {
    background: #ffffff;
    padding: 15px 80px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* LOGO */
.logo {
    opacity: 0;
    transform: translateX(-50px);
    animation: logoSlide 1.3s ease forwards;
}

.logo img {
    height: 70px;
    width: 85px;
    transition: 0.3s ease;
    /* margin-left: 50px;  - Consider removing this for better alignment */
}

/* NAV LINKS (Desktop) */
.nav-links {
    list-style: none;
    display: flex; /* Display links horizontally on desktop */
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: white; /* default for transparent nav */
    font-size: 15px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    transition: 0.3s ease;
}

.navbar.scrolled .nav-links a {
    color: black !important; /* text becomes black in white bg */
}

/* Nav link letter animation */
.nav-links a .letters span {
    display: inline-block;
    transition: 0.3s ease;
}

.nav-links a:hover .letters span {
    transform: translateY(-5px);
    opacity: 0.6;
}

/* Nav link animation */
.nav-links li {
    opacity: 0;
    transform: translateX(-50px);
    animation: linkSlide 0.8s ease forwards;
}

.nav-links li:nth-child(1) { animation-delay: 0.4s; }
.nav-links li:nth-child(2) { animation-delay: 0.55s; }
.nav-links li:nth-child(3) { animation-delay: 0.7s; }
.nav-links li:nth-child(4) { animation-delay: 0.85s; }
.nav-links li:nth-child(5) { animation-delay: 1s; }

/* Hamburger (Mobile) - Hidden on desktop */
.menu-toggle {
    display: none; 
    font-size: 30px;
    cursor: pointer;
    z-index: 10000; /* Ensure it's above everything */
    color: white; /* Default color */
}

.navbar.scrolled .menu-toggle {
    color: black; /* Color when scrolled */
}

/* KEYFRAMES */
@keyframes logoSlide {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes linkSlide {
    to { opacity: 1; transform: translateX(0); }
}

/* ================= Mobile Styles (Media Query) ================= */
/* ================= Mobile Styles (Media Query) ================= */
@media (max-width: 768px) {
    /* ... (other styles like .navbar, .menu-toggle) ... */
    
    .menu-toggle {
        display: block; 
        z-index: 10001; 
        /* The icon should now be BLACK by default if the background is white */
        color: white; 
    }

    /* The list of links (The Overlay Menu) */
    .nav-links {
        display: none; 
        flex-direction: column;
        position: fixed; 
        top: 0; 
        left: 0;
        width: 100%;
        
        
        /* SCROLL ACTIVATION */
        height: 100vh !important;       
        overflow-y: scroll !important; 
        overflow-x: hidden !important; 
        
        z-index: 10000; 
        /* *** BACKGROUND CHANGE: Set to White *** */
        background-color: rgba(255, 255, 255, 0.98) !important; 
        
        padding: 80px 0 0 20px; 
        transition: transform 0.4s ease-in-out;
        transform: translateX(-100%);
    }

    /* Class added by JavaScript when the menu is active */
    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }

    /* Link Spacing and Visibility Fix */
    .nav-links li {
        margin-bottom: 2px;
        opacity: 1;
        transform: translateX(0);
        animation: none;
    }

    /* *** TEXT COLOR CHANGE: Links must be BLACK for visibility on white background *** */
    .nav-links a,
    .navbar.scrolled .nav-links a {
        color: black !important; 
        font-size: 22px;
    }
    
    /* ... (rest of the media query) ... */
}
/* ================= HERO TEXT ================= */
.hero-content {
  position: relative;
  z-index: 3;
  opacity: 0;

  animation: heroFadeIn 1.5s ease forwards;
  animation-delay: 0.4s;
}

.hero-content h1 {
  font-size: 55px;
  font-weight: 600;
  line-height: 1.2;
  color: #f7bd06;
}

.hero-content p {
  margin-top: 15px;
  font-size: 20px;
  font-weight: 300;
  color: #ffffff;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ------------------ Founders Section ------------------ */
.founders-section {
  width: 100%;
  max-width: 1350px;
  margin: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 40px;
  background: #ffffff;
  border-radius: 20px;
}

.founders-text {
  flex: 1;
  padding-left: 10px;
  margin-left: 10px;
    font-family: 'Poppins', sans-serif;
}

.founders-text h2 {
  font-size: 40px;
  font-weight: 600;
  color: #f7bd06;
  margin-bottom: 25px;
}

.founders-text p {
  font-size: 17px;
  color: #22ced0;
  line-height: 1.7;
  max-width: 550px;
  margin-bottom: 18px;
}
.highlight-own {
  color: #f7bd06; /* choose your color */
  font-weight: 600;
}

/* Image Box */
.founders-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding-right: 50px;
}

.founders-image img {
  width: 480px;
  max-height: 570px;
  object-fit: cover;
  border-radius: 18px;
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* --------- FOUNDERS SECTION SCROLL UP ANIMATION --------- */
.founders-section.reveal {
  opacity: 0;
  transform: translateY(60px);
}

.founders-section.reveal.active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Text slightly delayed */
.founders-text {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out 0.2s;
}

.founders-section.active .founders-text {
  opacity: 1;
  transform: translateY(0);
}

/* Image fades in after text */
.founders-image {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out 0.4s;
}

.founders-section.active .founders-image {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .navbar { padding: 20px 40px; }
  .hero-content h1 { font-size: 46px; }
}

@media (max-width: 768px) {
  .navbar { padding: 20px 25px; }
  .menu-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(0,0,0,0.9);
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    text-align: center;
  }

  .nav-links.active { max-height: 320px; }
  .nav-links li { padding: 15px 0; }
  .nav-links a { font-size: 17px; }

  .founders-section {
    flex-direction: column;
    text-align: center;
  }

  .founders-image {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 32px; }
  .logo { font-size: 16px; }
}
.founders-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 80px 60px;
}

.founders-image {
  flex: 1;
}

.founders-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.founders-text {
  flex: 1;
  font-family: 'Poppins', sans-serif;
}


/* ------------------ NEED SECTION ------------------ */
.need-section {
   max-width: 1210px; 
   height: 400px;  /* controls left–right width */
  margin: 0 auto;      /* centers the content */
  padding: 0 30px; 
  background: #f7bd06;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;

}

.need-container {
  text-align: center;
  max-width: 900px;
  color: #ffffff;
  
}

.need-container h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 30px;
 color: #07183f;
 font-family: 'Poppins', sans-serif;
}

.need-text {
  font-size: 20px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 25px;
    color: #ffffff;
 font-family: 'Poppins', sans-serif;
}

.need-sub {
  font-size: 18px;
  font-weight: 600;
  opacity: 0.95;
  color: #07183f;
   font-family: 'Poppins', sans-serif;
}
/* ---------- TABLET RESPONSIVE ---------- */
@media (max-width: 992px) {
  .need-section {
    height: auto;              /* remove fixed 400px height */
    padding: 50px 30px;
    margin: 0 30px;
  }

  .need-container h2 {
    font-size: 32px;
  }

  .need-text {
    font-size: 18px;
  }

  .need-sub {
    font-size: 17px;
  }
}

/* ---------- MOBILE RESPONSIVE ---------- */
@media (max-width: 768px) {
  .need-section {
    height: auto;
    padding: 40px 20px;
    margin: 0 20px;
    border-radius: 10px;
  }

  .need-container {
    max-width: 100%;
  }

  .need-container h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .need-text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .need-sub {
    font-size: 16px;
  }
}

/* ---------- EXTRA SMALL MOBILE ---------- */
@media (max-width: 480px) {
  .need-section {
    padding: 30px 15px;
    margin: 0 12px;
  }

  .need-container h2 {
    font-size: 24px;
  }

  .need-text {
    font-size: 15px;
  }

  .need-sub {
    font-size: 15px;
  }
}

/* FIX: ensure all sections stay visible */
section {
  position: relative;
  transform: translateZ(0);
  will-change: transform, opacity;
}
/* -------------------------- MOBILE RESPONSIVE FIX -------------------------- */

/* TABLET */
@media (max-width: 992px) {

  /* FOUNDERS */
  .founders-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 25px;
    gap: 40px;
  }

  .founders-text {
    padding-left: 0;
  }

  .founders-text h2 {
    font-size: 32px;
  }

  .founders-text p {
    max-width: 100%;
    font-size: 16px;
  }

  .founders-image {
    padding-right: 0;
    justify-content: center;
  }

  .founders-image img {
    width: 90%;
    max-height: 380px;
  }

  /* NEED SECTION */
  .need-container h2 {
    font-size: 30px;
  }

  .need-text {
    font-size: 18px;
  }
}

/* MOBILE */
@media (max-width: 768px) {

  /* FOUNDERS */
  .founders-section {
    padding: 30px 20px;
    margin: 60px 0;
  }

  .founders-text h2 {
    font-size: 28px;
  }

  .founders-image img {
    width: 150%;
    max-height: 330px;
  }

  /* NEED */
  .need-section {
    padding: 80px 20px;
  }

  .need-container h2 {
    font-size: 26px;
  }

  .need-text {
    font-size: 17px;
  }

  .need-sub {
    font-size: 16px;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {

  /* FOUNDERS */
  .founders-section {
  padding: 25px 15px;
  gap: 10px;
}


  .founders-text h2 {
    font-size: 24px;
  }

  .founders-text p {
    font-size: 15px;
  }

  /* FORCE IMAGE FULL WIDTH ON MOBILE */
@media (max-width: 480px) {

  .founders-image {
    width: 100% !important;
    padding-right: 0 !important;
    overflow: visible !important;
  }

  .founders-image img {
    width: 130% !important;
    max-width: none !important;
    height: auto !important;
    object-fit: cover !important;
  }
}


  /* NEED */
  .need-container h2 {
    font-size: 22px;
  }

  .need-text {
    font-size: 16px;
  }

  .need-sub {
    font-size: 15px;
  }
}
/* ---------------- MISSION SECTION (Matches Screenshot UI) ---------------- */

.mission-section {
  width: 100%;
  padding: 10px 20px;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mission-container {
  text-align: center;
  max-width: 850px;
  color: #000000;
}

.mission-container h2 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #f7bd06;
  font-family: 'Poppins', sans-serif;
}

.mission-main {
  font-size: 17px;
  line-height: 1.7;
  max-width: 780px;
  margin: 0 auto 60px;
  opacity: 0.9;
  color: #22ced0;
  font-family: 'Poppins', sans-serif;

}
.bold{
  color: #f7bd06;
  font-style: italic;
   font-family: 'Poppins', sans-serif;
}

.highlight-italic {
  font-style: italic !important;
  font-weight: 700 !important; /* keep bold if you want */
}
.mission-block {
  margin-bottom: 45px;
  margin-bottom: 20px;
  
}

.mission-block h3 {
  font-size: 20px;
  font-weight: 600;
 
 color: #f7bd06;
   font-family: 'Poppins', sans-serif;
   padding-top: 40px;

}

.mission-block p {
  font-size: 16px;
  opacity: 0.85;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
  color: #07183f;
   font-family: 'Poppins', sans-serif;
   
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .mission-container h2 {
    font-size: 32px;
  }

  .mission-main {
    font-size: 16px;
  }

  .mission-block h3 {
    font-size: 18px;
  }

  .mission-block p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {

  .mission-container h2 {
    font-size: 28px;
  }

  .mission-main {
    font-size: 15px;
  }

  .mission-block h3 {
    font-size: 17px;
  }

  .mission-block p {
    font-size: 14px;
  }
}
/* Universal scroll animation */
.reveal,
.section-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease-out, transform 1s ease-out;
}

.reveal.active,
.section-fade.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* Mission Block — Zoom In Base */
.mission-block {
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.9s ease-out;
  will-change: opacity, transform;
}

/* When visible */
.mission-block.show {
  opacity: 1;
  transform: scale(1);
}
/* ----------------------- */
/* PILLARS SECTION         */
/* ----------------------- */

.pillars-section {
  padding: 70px 0;
  background:  #ffffff;
  text-align: center;
  color: white;
  margin: 0 50px;
}

.pillars-title {
  font-size: 32px;
  margin-bottom: 40px;
  font-weight: 600;
   color: #f7bd06;;
}

.pillars-container {
  width: 95%;
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  
}

/* BASE STATE (hidden before scroll reveal) */
.pillar-box {
  background: #22ced0;
  padding: 30px;
  border-radius: 16px;
  opacity: 0;
  transform: translateY(60px) scale(0.9);
  height: 70px;
  overflow: hidden;
  transition: all 0.8s ease;
}

/* When visible */
.pillar-box.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  height: auto;
  padding: 30px;
  transition-delay: var(--delay);
}

/* Hover Effect */
.pillar-box:hover {
  background: #22ced0;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* ----------------------- */
/* RESPONSIVE DESIGN       */
/* ----------------------- */

/* Tablets (up to 768px) */
@media (max-width: 768px) {

  .pillars-section {
    padding: 50px 20px;
    margin: 0 20px;
  }

  .pillars-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .pillars-container {
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }

  .pillar-box {
    padding: 22px;
  }
}

/* Mobile Devices (up to 480px) */
@media (max-width: 480px) {

  .pillars-section {
    padding: 40px 15px;
    margin: 0 10px;
  }

  .pillars-title {
    font-size: 24px;
  }

  .pillars-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pillar-box {
    padding: 20px;
    border-radius: 14px;
    transform: translateY(40px) scale(0.95);
  }

  .pillar-box.show {
    transform: translateY(0) scale(1);
  }
}
/* Remove extra space between sections on mobile */
@media (max-width: 480px) {
  
  section {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    padding-top: 30px !important;
    padding-bottom: 20px !important;
  }

  /* If any section has too much internal padding */
  .need-section,
  .pillars-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    margin-bottom: 10px !important;
  }

  /* Kill unwanted large gaps caused by empty space or containers */
  .need-container,
  .pillars-container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* Section */
.impact-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #f7bd06;
  margin: 0 80px;  
  border-radius: 10px; /* left & right equal */
}


.impact-title {
  font-size: 34px;
  font-weight: 700;
  color: #0a1a3c; /* dark navy */
  margin-bottom: 50px;
}

/* Cards container */
.impact-cards {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  justify-content: center;
}

/* Each Card */
.impact-card {
  background: #22ced0; /* same dark blue */
  color: #ffffff;
  width: 460px;
  padding: 45px 40px;
  border-radius: 28px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  text-align: left;
}

/* Title inside cards */
.impact-card h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.2;
}

.impact-card h3 span {
  color: #f5b400;   /* golden yellow */
  font-size: 46px;  /* bigger for numbers */
  font-weight: 800;
}

/* Paragraph */
.impact-card p {
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.92;
}
/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.9s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


/* Responsive */
@media (max-width: 768px) {
  .impact-card {
    width: 100%;
  }
}
/* Responsive for tablets */
@media (max-width: 992px) {
  .impact-section {
    margin: 0 40px;      /* reduce left/right margin */
    padding: 50px 20px;
  }

  .impact-card {
    width: 100%;
  }
}

/* Responsive for mobile phones */
@media (max-width: 768px) {
  .impact-section {
    margin: 0 20px;      /* much smaller margin for mobile */
    padding: 40px 18px;
    border-radius: 8px;
  }

  .impact-title {
    font-size: 26px;
    margin-bottom: 35px;
  }

  .impact-card {
    width: 100%;
    padding: 30px 25px;  /* reduce padding */
  }

  .impact-card h3 {
    font-size: 26px;
  }

  .impact-card h3 span {
    font-size: 36px;
  }

  .impact-card p {
    font-size: 15px;
    line-height: 1.5;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .impact-section {
    margin: 0 12px;
    padding: 35px 15px;
  }

  .impact-title {
    font-size: 22px;
  }

  .impact-card {
    padding: 25px 20px;
    border-radius: 22px;
  }

  .impact-card h3 {
    font-size: 22px;
  }

  .impact-card h3 span {
    font-size: 32px;
  }

  .impact-card p {
    font-size: 14px;
  }
}


.activities-section {
  padding: 20px 10%;
  text-align: center;
  margin-left: 20px;
  margin-right: 20px;
}

.activities-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #f7bd06;
;
}

/* GRID */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
}

/* CARD */
.activity-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transform: translateY(30px);
  transition: all 0.4s ease-in-out;
  box-shadow: 0 1px 5px rgba(0,0,0,0.10);


}

/* Hover lift & zoom */
.activity-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 6px 18px rgba(0,0,0,0.20);
}

.activity-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: 0.6s ease;
}

/* IMAGE HOVER EFFECT (same as your code) */
.activity-card:hover img {
  transform: scale(1.1);
  filter: blur(2px) brightness(0.7);
}

/* TEXT OVERLAY */
.activity-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  color: #fff;
  opacity: 0;
  transition: 0.4s ease-in-out;
  text-align: left;
}

.activity-card:hover .activity-info {
  opacity: 1;
}

.activity-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #f7bd06;

}

.activity-info p {
  font-size: 1rem;
  line-height: 1.4;
}

/* AOS ENTRY ANIMATION FIX */
[data-aos="fade-up"] {
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.8s ease;
}

[data-aos].aos-animate {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
  .activities-section h2 {
    font-size: 1.9rem;
  }
  .activity-card img {
    height: 200px;
  }
}
/* layout */
.activities-section { padding: 80px 6%; background: transparent; text-align: center; }
.activities-heading { font-size: 32px; margin-bottom: 40px; color: #0b2f3a; }

/* grid */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

/* card visuals */
.activity-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0f1720;
  box-shadow: 0 5px 22px rgba(2,6,23,0.25);
  cursor: pointer;
  transform: translateY(10px);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

/* image & hover */
.activity-card img {
  width: 170%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 600ms ease, filter 600ms ease;
}
.activity-card:hover img { transform: scale(1.06); filter: brightness(0.7); }

/* title always visible; description appears on hover */
.activity-info {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  text-align: left;
  color: #fff;
  pointer-events: none;
}
.activity-info h3 { margin: 0; font-size: 1.2rem; font-weight: 700; text-shadow: 0 6px 20px rgba(0,0,0,0.6);}
.activity-info p {
  margin-top: 8px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.92);
  opacity: 0;
  transform: translateY(8px);
  transition: all 350ms ease;
  text-shadow: 0 4px 14px rgba(0,0,0,0.6);
}
.activity-card:hover .activity-info p { opacity: 1; transform: translateY(0); }

/* --- INITIAL (hidden for slide animations) --- */
.activity-card.hidden-left,
.activity-card.hidden-right {
  opacity: 0;
  /* start off-screen for visual effect */
}
.activity-card.hidden-left { transform: translateX(-60px) translateY(10px); }
.activity-card.hidden-right { transform: translateX(60px) translateY(10px); }

/* --- ANIMATIONS (applied when JS adds classes) --- */
.activity-card.animate-in-left {
  animation: slideInFromLeft 700ms cubic-bezier(.2,.9,.2,1) forwards;
}
.activity-card.animate-in-right {
  animation: slideInFromRight 700ms cubic-bezier(.2,.9,.2,1) forwards;
}

@keyframes slideInFromLeft {
  0% { opacity: 0; transform: translateX(-60px) translateY(10px); }
  70% { opacity: 1; transform: translateX(8px) translateY(0); }
  100% { opacity: 1; transform: translateX(0) translateY(0); }
}
@keyframes slideInFromRight {
  0% { opacity: 0; transform: translateX(60px) translateY(10px); }
  70% { opacity: 1; transform: translateX(-8px) translateY(0); }
  100% { opacity: 1; transform: translateX(0) translateY(0); }
}

/* responsive tweaks */
@media (max-width: 480px) {
  .activity-card img { height: 180px; }
  .activities-section { padding: 40px 4%; }
  .activities-heading { font-size: 22px; }
}
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* ALWAYS 3 cards per row */
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Mobile View - 1 card per row */
@media (max-width: 768px) {
  .activities-grid {
    grid-template-columns: 1fr;
  }
}



.vision-section {
    background: #ffff;
    padding: 80px 60px;
}

.vision-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vision-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    height: 450px;
    color: white;
    padding: 25px;
    display: flex;
    align-items: flex-end;
}

/* background image */
.vision-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.55);
}

/* vision content */
.vision-content {
    position: relative;
    z-index: 2;
}

.vision-content h2 {
    color: #ffd32a;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 20px;
}
.vision-card .vision-content h2 {
    min-height: 90px;
    display: flex;
    justify-content: flex-start;
    align-items: start;
}


.vision-content p {
    font-size: 16px;
    line-height: 1.6;
}

.point span {
    color: #00d4ff;
    font-weight: 700;
}
/* Initial hidden (top) */
.reveal-top {
    opacity: 0;
    transform: translateY(-40px);
    transition: all 0.7s ease;
}

/* when in view */
.reveal-top.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Delay for one-by-one effect */
.vision-card:nth-child(1) {
    transition-delay: 0.2s;
}

.vision-card:nth-child(2) {
    transition-delay: 0.45s;
}

.vision-card:nth-child(3) {
    transition-delay: 0.7s;
}
/* Zoom-in hover effect */
.vision-card {
    transition: transform 0.35s ease;
    transform-origin: center;
}

.vision-card:hover {
    transform: scale(1.05);  /* zoom in */
}
/* Container responsiveness (if you have a .vision-container) */
.vision-container {
    display: flex;
    flex-wrap: wrap; /* cards wrap on small screens */
    gap: 20px;       /* spacing between cards */
    justify-content: center;
}

/* Vision card width adjustments */
.vision-card {
    width: 30%; /* default for desktop */
    margin-bottom: 30px;
    position: relative;
}

.vision-card img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Vision content text on image */
.vision-content {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    color: #ffd32a;
}

.vision-content h2 {
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 10px 0;
    min-height: auto;
    color: #ffd32a;
}

.vision-content p {
    font-size: 16px;
    line-height: 1.5;
    color: #ffff
    ;
}

/* Mobile responsiveness */
@media screen and (max-width: 1024px) {
    .vision-card {
        width: 65%; /* two cards per row */
    }
    .vision-content h2 {
        font-size: 26px;
    }
    .vision-content p {
        font-size: 15px;
    }
}

@media screen and (max-width: 768px) {
    .vision-card {
        width: 170%; /* single card per row */
    }
    .vision-content {
        top: 15px;
        left: 15px;
    }
    .vision-content h2 {
        font-size: 22px;
    }
    .vision-content p {
        font-size: 14px;
    }
}

/* Reveal and hover effects remain same */
.reveal-top {
    opacity: 0;
    transform: translateY(-40px);
    transition: all 0.7s ease;
}

.reveal-top.in-view {
    opacity: 1;
    transform: translateY(0);
}

.vision-card:hover {
    transform: scale(1.05);
}

/* CONTACT SECTION */
 /* CONTACT SECTION */
.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #f7bd06;
  padding: 120px 8%;
  min-height: 100vh;
  margin: 0 50px;
}

/* LEFT */
.contact-left {
  width: 50%;
  position: relative;
}

.contact-left h2 {
  opacity: 0;
  letter-spacing: -2px;
  transform: translateY(10px);
  animation: titleReveal 1s ease forwards;
  font-size: 60px;
  
   color: #07183f;
}

@keyframes titleReveal {
  0% {
    opacity: 0;
    letter-spacing: -2px;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    letter-spacing: 1px;
    transform: translateY(0);
  }
}

.contact-left p {
  position: relative;
  top: 0;
  margin-top: 15px;
  font-size: 1rem;
  color: #ccc;
  max-width: 420px;
  line-height: 1.6;
    color: #07183f;
}


/* RIGHT */
.contact-right {
  width: 45%;
  position: relative;
}

.contact-right h3 {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 40px;
  text-transform: uppercase;
  color: #fff;
}

/* FORM — ORIGINAL */
form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

input,
textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid #fff;
  color: #fff;
  padding: 10px 0;
  width: 100%;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

input.half {
  width: 48%;
}

input::placeholder,
textarea::placeholder {
  color: #fff;
}

input:focus,
textarea:focus {
  border-bottom: 1px solid #fff;
}

textarea {
  height: 100px;
  resize: none;
  margin-top: 10px;
}

button {
  margin-top: 20px;
  padding: 10px 30px;
  background-color: #22ced0;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background-color: #f1f1f1;
  transform: translateY(-2px);
  color: #22ced0;
}
/* ===========================
   RESPONSIVE CONTACT SECTION
   =========================== */

/* ---- 1024px & below (Tablets) ---- */
@media (max-width: 1024px) {

  .contact-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 6%;
    margin: 0 20px;
    gap: 50px;
    min-height: auto;
  }

  .contact-left,
  .contact-right {
    width: 100%;
  }

  .contact-left h2 {
    font-size: 48px;
  }

  .contact-left p {
    max-width: 100%;
    margin: 0 auto;
    font-size: 1rem;
  }

  input.half {
    width: 100%; /* No half fields on tablet */
  }
}


/* ---- 768px & below (Mobile) ---- */
@media (max-width: 768px) {

  .contact-section {
    padding: 60px 20px;
    margin: 0 15px;
    border-radius: 12px;
  }

  .contact-left h2 {
    font-size: 40px;
    line-height: 1.2;
  }

  .contact-left p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 10px;
  }

  .contact-right h3 {
    font-size: 0.9rem;
    margin-bottom: 25px;
    text-align: center;
  }

  form {
    gap: 15px;
  }

  input,
  textarea {
    font-size: 0.95rem;
  }

  button {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
    border-radius: 30px;
  }
}


/* ---- 480px & below (Small phones) ---- */
@media (max-width: 480px) {

  .contact-section {
    padding: 50px 15px;
    margin: 0 10px;
  }

  .contact-left h2 {
    font-size: 32px;
  }

  .contact-left p {
    font-size: 0.9rem;
  }

  .contact-right h3 {
    font-size: 0.85rem;
  }

  textarea {
    height: 90px;
  }

  button {
    font-size: 0.95rem;
  }
}


/* ------------------- SCROLL REVEAL ANIMATION ------------------- */

.reveal-contact {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.85s ease-out;
}

/* left comes first */
.reveal-left-delay {
  transition-delay: 0.2s;
}

/* right appears next */
.reveal-right-delay {
  transition-delay: 0.6s;
}

.reveal-contact.in-view {
  opacity: 1;
  transform: translateY(0);
}


    
     /* Footer Section */
    footer {
      background: #fff;
      color: #000;
      padding: 80px 8% 40px;
    }

    .footer-container {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      flex-wrap: wrap;
      border-bottom: 1px solid #e0e0e0;
      padding-bottom: 60px;
    }

    /* LEFT MENU LINKS */
    .footer-nav {
      width: 15%;
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .footer-nav a {
      text-decoration: none;
      color: #000;
      font-size: 1rem;
      font-weight: 400;
      transition: color 0.3s ease;
    }

    .footer-nav a:hover {
      color: #888;
    }

    /* OFFICE DETAILS */
    .footer-offices {
      width: 80%;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 40px;
    }

    .office {
      width: 30%;
      font-size: 0.95rem;
      line-height: 1.6;
    }

    .office h4 {
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 8px;
      position: relative;
      padding-left: 15px;
    }

    .office h4::before {
      content: "•";
      position: absolute;
      left: 0;
      color: #000;
    }

    .office p {
      color: #333;
    }

    .contact-info {
      margin-top: 40px;
      font-size: 0.95rem;
      line-height: 1.8;
    }

    /* Bottom Footer */
    .footer-bottom {
      margin-top: 40px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      font-size: 0.9rem;
      color: #333;
    }

    .footer-bottom .left {
      display: flex;
      align-items: center;
      gap: 25px;
    }

    .footer-bottom .social-icons {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .footer-bottom .social-icons a {
      color: #000;
      font-size: 1.2rem;
      text-decoration: none;
      transition: opacity 0.3s ease;
    }

    .footer-bottom .social-icons a:hover {
      opacity: 0.6;
    }

    /* Responsive */
    @media (max-width: 900px) {
      .footer-container {
        flex-direction: column;
      }

      .footer-nav {
        width: 100%;
        margin-bottom: 40px;
      }

      .footer-offices {
        width: 100%;
        flex-direction: column;
      }

      .office {
        width: 100%;
      }

      .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
      }
    }
    /* ----------------------------------------- */
/* EXTRA RESPONSIVE FIXES (ADDED)            */
/* ----------------------------------------- */

@media (max-width: 900px) {
  .contact-section {
    flex-direction: column;
    padding: 80px 5%;
    margin: 0; /* remove side margin on mobile */
  }

  .contact-left,
  .contact-right {
    width: 100%;
  }

  .contact-left h2 {
    font-size: 2.5rem;
    line-height: 1.3;
  }

  .contact-left p {
    font-size: 1rem;
    max-width: 100%;
  }

  .contact-right {
    margin-top: 50px;
  }

  input.half {
    width: 100%;  /* full width on mobile */
  }

  button {
    width: 100%;
    text-align: center;
  }
}

/* --- SMALL MOBILE (≤600px) --- */
@media (max-width: 600px) {
  .contact-section {
    padding: 60px 6%;
  }

  .contact-left h2 {
    font-size: 2rem;
  }

  .contact-left p {
    font-size: 0.95rem;
  }

  form {
    gap: 15px;
  }

  textarea {
    height: 80px;
  }
}

/* ----------------------------------------- */
/* FOOTER RESPONSIVE IMPROVEMENTS            */
/* ----------------------------------------- */

@media (max-width: 900px) {
  footer {
    padding: 60px 6%;
  }

  .footer-container {
    flex-direction: column;
    gap: 40px;
  }

  .footer-nav {
    width: 100%;
    margin-bottom: 30px;
  }

  .footer-offices {
    width: 100%;
    flex-direction: column;
    gap: 30px;
  }

  .office {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* SMALL MOBILE FOOTER FIXES */
@media (max-width: 600px) {
  .footer-bottom {
    font-size: 0.85rem;
  }

  .footer-bottom .left {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-bottom .social-icons {
    gap: 15px;
  }
}
