/* -------------- Global Variables -------------- */
:root {
  /* Colors */
  --green: #006530;
  --yellow: #FFC905;
  --black: #000000;
  --offwhite: #FDFBFB;
  --white: #FFFFFF;

  /* Fonts */
  --font-main: 'Montserrat', sans-serif;

  /* Font Sizes */
  --font-body: 16px;
  --font-h1: 48px;
  --font-h2: 38px;
  --font-h3: 24px;
  --font-h4: 18px;

  /* Container Padding */
  --padding-desktop: 110px 60px;
  --padding-ipad: 40px 40px;
  --padding-phone: 20px 40px;

  /* Max Width */
  --max-width: 100%;
}


/* -------------- Base Reset -------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  font-size: var(--font-body);
  line-height: 1em;
}

*{
  font-family: 'Montserrat', sans-serif !important;
}
/* Container Utility */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--padding-desktop);
}

/* -------------- Typography -------------- */
h1 {
    font-size: var(--font-h1);
  font-weight: 200;
  line-height: 1.2em;
  color: var(--white);

}
h2 {
  font-size: var(--font-h2);
  font-weight: 400;
  line-height: 1em;
}

h3 {
  font-size: var(--font-h3);
  font-weight: 400;
  line-height: 1em;
}

h4{
    font-size: var(--font-h4);
    font-weight: 600;
}
p {
  font-weight: 400;
  font-size: var(--font-body);
}

/* -------------- Responsive Setup -------------- */
.happenings-header h2{
	margin-bottom: 30px!important;
}
/* Tablets (iPad) */
@media (max-width: 1024px) {
  .container {
    padding: var(--padding-ipad);
  }

    h1{
        font-size: 40px;
    }
  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 22px;
  }
  h4 {
    font-size: 18px;
  }
}

/* Phones */
@media (max-width: 767px) {
  .container {
    padding: var(--padding-phone);
  }

  h1{
    font-size: 32px;
  }
  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }
  h4 {
    font-size: 18px;
  }

  p {
    font-size: 15px;
  }
}

/* -------------- Utility Classes -------------- */

.hero-img{
    background-image: url('/assets/images/hero-group-bg.webp');
    background-size: contain;
}

/* -------------- Buttons -------------- */
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600 !important;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 5px 20px;
  text-decoration: none;
  text-wrap: nowrap;
}

/* Hover state for all buttons */
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* ----- Specific Button Variants ----- */

/* Login Button */
.login-btn {
  width: 90px;
  height: 40px;
  background-color: var(--yellow);
  color: var(--black);
  border: none;
}

/* Signup Button */
.signup-btn {
  width: 90px;
  height: 40px;
  background-color: var(--white);
  color: var(--black);
  border: none;
}

/* Connect With Us Button */
.connect-with-us-btn {
  width: 170px;
  height: 40px;
  background-color: var(--yellow);
  color: var(--black);
  border: none;
}

/* Alumni Dashboard Button */
.login-to-alumni-dashboard-btn {
  width: 235px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.15); /* 15% opacity white */
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border: none;
}

.register-now-btn{
width: 170px;
  height: 40px;
  background-color: #006533;
  color: var(--white);
  border: none;
}

.header-section{
    background-color: #006533 !important;
    max-width: var(--max-width);
    width: 100%;
    margin: 0;
    padding: 20px 60px;
    height: auto;
    overflow: visible;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#nav-links {
  display: flex;                /* Enables horizontal layout */
  align-items: center;          /* Vertically center items */
  justify-content: flex-start;    /* Align items to right side (optional) */
  gap: 30px;                    /* Space between buttons/links */
}

#nav-links a {
  text-decoration: none;       /* Remove underline from links */
  color: var(--white);         /* Link color */
  font-weight: 600;            /* Medium font weight */
}

@media (max-width: 767px) {
  #nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

#header {
  display: flex;                /* Enables horizontal layout */
  align-items: center;          /* Vertically center items */
  justify-content: space-between;    /* Distribute items evenly */
  width: 100%;                   /* Make the container full width */
  z-index: 9999;
  position: relative;
}

/* Responsive Header Padding */
@media (max-width: 1024px) {
  .header-section {
    padding: 20px 40px;
  }
}

@media (max-width: 767px) {
  .header-section {
    padding: 15px 20px;
  }
}

/* Hide mobile auth buttons on desktop */
.mobile-auth-buttons {
  display: none;
}

/* Hamburger Menu Styles */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10000;
}

.hamburger-menu span {
  width: 100%;
  height: 3px;
  background-color: var(--white);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation Styles */
@media (max-width: 767px) {
  .hamburger-menu {
    display: flex;
  }
  
  #nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color:#006533;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 30px 30px;
    gap: 20px;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
  }
  
  #nav-links.active {
    right: 0;
  }
  
  #nav-links a {
    font-size: 18px;
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  /* Hide desktop auth buttons on mobile */
  #auth-buttons {
    display: none !important;
  }
  
  /* Show mobile auth buttons in menu */
  .mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .mobile-auth-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: none;
    transition: all 0.3s ease;
  }
  
  .mobile-auth-link.login-link {
    background-color: var(--yellow);
    color: var(--black);
  }
  
  .mobile-auth-link.signup-link {
    background-color: var(--white);
    color: var(--black) !important;
  }
  
  .mobile-auth-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
  }
}

.hero {
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  overflow: hidden;
  padding-bottom: 40px;
}

.hero-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}

/* -------------------- Left Text -------------------- */
.hero-text {
  flex: 1 1 50%;
  color: var(--white);
}

.hero-text h1 {
  font-weight: 300;
  margin-bottom: 20px;
}

.hero-text span {
  color: #b1c38a;
}

.hero-image{
background-image: url('/assets/images/hero-group-bg.webp');
    background-size: contain;
}

.hero-text p {
  color: var(--offwhite);
  line-height: 1.6;
  font-size: 1rem;
  max-width: 520px;
  margin-bottom: 30px !important;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}


/* -------------------- Right Image -------------------- */
.hero-image {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  height: auto;
  max-height: 90vh; /* Keep image nicely scaled */
  object-fit: contain;
}

/* -------------------- Responsive -------------------- */

/* Tablet (<=1024px) */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    text-align: left;
  }

  .hero-text {
    flex: 1 1 100%;
    margin-bottom: 40px;
  }

  .hero-image {
    display: none;
  }

 .hero-buttons {
  display: flex;                /* Enables horizontal layout */
  flex-direction: column;
  align-items: center;          /* Vertically center items */
  justify-content: center;
  gap: 10px;               /* Make the container full width */
 }

  .hero-image img {
    max-width: 90%;
  }
}

/* Mobile (<=768px) */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-container {
    padding: 0 0px;
  }

  .hero-text h1 {
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .hero-buttons {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-image {
    display: none;
  }

  .hero-image img {
    max-width: 100%;
  }
}

/* Small phones (<=480px) */
@media (max-width: 480px) {
  .hero {
    min-height: auto;
    padding: 20px 20px;
  }

  .hero-container {
    padding: 0 0px;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  .hero-image {
    display: none;
  }

  .hero-buttons {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* -------- Join Our Community Section -------- */

#join-community-section {
  background-color: #ffffff;
  padding: 0px 0;
}

.join-community-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 0px;
  box-sizing: border-box;
}

.community-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

/* ---------- Left Image ---------- */
.community-image {
  flex: 1 1 45%;
   -webkit-mask-image: linear-gradient(to right, black 70%, transparent 100%);
  mask-image: linear-gradient(to right, black 70%, transparent 100%);

}

.community-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Right Content ---------- */
.community-content {
  flex: 1 1 50%;
  color: #1b1b1b;
}

.community-content h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.community-content h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #006530; /* green accent */
  margin-bottom: 40px !important;
}

/* ---------- Points ---------- */
.community-points {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.point-1, .point-2, .point-3 {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.point-2 {
  padding-left: 10%;
}

.point-3{
  padding-left: 20%;
}


.point-1 .icon img,
.point-2 .icon img,
.point-3 .icon img {
  width: 60px;
  height: 60px;
}

.point-1 .text h3,
.point-2 .text h3,
.point-3 .text h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #000000;
}

.point-1 .text p,
.point-2 .text p,
.point-3 .text p {
  font-size: 15px;
  color: #444444;
  line-height: 1.5;
  max-width: 400px;
}

/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 1024px) {
  .join-community-container {
    padding: 0 0px;

  }

  #join-community-section{
    display: flex;
    flex-direction: row;
    text-align: center;
  }
  .community-wrapper {
    flex-direction: row;
    text-align: center;
  }

  .community-image {
    flex: 1 1 100%;
    order: -1;
  }

  .community-content {
    padding: 0 20px;
    padding-bottom: 40px;
  }

  .point-1, .point-2, .point-3 {
    justify-content: center;
    text-align: left;
    width: 100%;
    padding-left: 0px;
  }
}

/* Phone */
@media (max-width: 767px) {
  .join-community-container {
    padding: 0 0px;
  }

  .community-content h2 {
    font-size: 28px;
  }

  .community-content {
    padding: 0 20px;
    padding-bottom: 40px;
  }

  .community-content h4 {
    font-size: 18px;
  }

  .point-1, .point-2, .point-3 {
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    padding-left: 0px;
  }

  .point-1 .text p,
  .point-2 .text p,
  .point-3 .text p {
    font-size: 14px;
  }

  .community-image img{
    max-height: 250px;
  }
}

/* -------- About Alumni Section -------- */

#about-alumni {
  background-image: url("/assets/images/section-3-bg.webp"); /* your background image */
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  overflow: hidden;
  margin-top: -10px;
}

#about-alumni .overlay {
  background-color: rgba(0, 101, 48, 0.35); /* green overlay */
  padding: 100px 0;
}

.about-alumni-container {
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
   display: flex;                /* Enables horizontal layout */
  flex-direction:row;
   text-align: left;
    align-items: flex-start;          /* Vertically center items */
}

.about-content h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 38px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 30px !important;
}

#about-alumni-img{
  width: 100%;                   /* Make image take half the width */
  height: 100%;                /* Maintain aspect ratio */
  margin-bottom: 20px !important;
  position: absolute;
  padding-left: 60%;
  
}
.about-content h2 span {
  color: #ABC088; /* highlight color */
  font-weight: 600;
}

.about-content h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 38px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 40px !important;
}

.alumni-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.about-content{
  width: 75%;
}
.alumni-list li {
  display: flex;
  align-items: flex-start;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #fdfbfb;
}

.alumni-list li img {
  width: 22px;
  height: 22px;
  margin-right: 15px;
  flex-shrink: 0;
}
.hover-bg-one:hover {
    background-color: var(--hover-color) !important;
    color: #fff !important;
}
/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 1024px) {
 #about-alumni .overlay {
  padding: 40px 0;
 }
  .about-alumni-container {
    padding: 0 40px;
  }

  .overlay {
    padding: 20px 0;
  }

  .about-content h2,
  .about-content h3 {
    text-align: center;
  }

  .alumni-list li {
    font-size: 15px;
  }

  #about-alumni-img{
    display: none;
  }
  .about-content{
  width: 100%;
}
}

/* Phone */
@media (max-width: 767px) {
  .about-alumni-container {
    padding: 0 20px;
  }

  .overlay {
    padding: 40px 0;
  }

  .about-content h2 {
    font-size: 28px;
  }

  .about-content h3 {
    font-size: 26px;
  }

  .alumni-list li {
    flex-direction: row;
    align-items: flex-start;
  }

  .alumni-list li img {
    margin-right: 10px;
  }

  #about-alumni-img{
    display: none;
  }
  .about-content{
  width: 100%;
}
}


#section-4{
    background-color: var(--offwhite);
     max-width: var(--max-width);
    margin: 0;
    padding: var(--padding-desktop);
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 40px;
    align-items: center;
    text-align: center;
    align-self: center;
    overflow: hidden;
}
#section-4-main {
 align-items: center;
 text-align: center;
 align-self: center;
}

.section-4-text {
  padding-left: 25%;
  padding-right: 25%;

}

#statistics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

#statistics-card {
  color: #000000;
  overflow: hidden;
  transition: transform 0.3s ease;
   display: flex;                /* Enables horizontal layout */
  flex-direction:row;
    align-items: center;          /* Vertically center items */
  justify-content: center;
  gap: 15px;
}

.statistics-card:hover {
  transform: translateY(-5px);
}

.statistics-content{
   display: flex;                /* Enables horizontal layout */
  flex-direction:column;
   text-align: left;
    align-items: flex-start;          /* Vertically center items */
}
/* Tablet */
@media (max-width: 1024px) {

  .statistics-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}

/* Phone */
@media (max-width: 767px) {

  .statistics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* ------------------- Alumni Section ------------------- */
#recent-alumni {
  background-color: var(--green); /* green background */
  color: #ffffff;
  padding: 80px 0;
}

.recent-alumni-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px; /* global padding */
  box-sizing: border-box;
}

/* Header Row */
.alumni-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 50px !important;
}

.alumni-text{
   display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

.alumni-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  font-weight: 400;
  color: #ffffff;
}

.alumni-header h2 span {
  color: #ABC088;
  font-weight: 600;
}

.alumni-header p {

  color: #fdfbfb;
  max-width: 700px;
  margin-top: 10px;
}

/* Alumni Grid */
.alumni-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.alumni-card {
  background-color: #ffffff;
  color: #000000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.alumni-card:hover {
  transform: translateY(-5px);
}

.alumni-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.alumni-info {
  padding: 10px;
  padding-left: 20px;
}

.alumni-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px !important;
}

.alumni-info p {
  font-size: 14px;
  color: #333333;
  margin-bottom: 5px !important;
}

.alumni-info span {
  font-size: 12px;
  font-weight: 600;
  color: #000000;
}

/* ------------------- Responsive ------------------- */

/* Tablet */
@media (max-width: 1024px) {
  #recent-alumni{
    padding: 40px 0;
  }
.recent-alumni-container {
  padding: 0 40px; /* global padding */
}

  .alumni-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 60px;
  }

  .alumni-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .alumni-text{
   gap: 20px;
}

.alumni-card{
 max-height: 250px;
}
.alumni-card img {
  max-height: 150px;
}
}

/* Phone */
@media (max-width: 767px) {
  .recent-alumni-container {
    padding: 0 20px;
  }

  .alumni-grid {
    grid-template-columns: 1fr;
  }
  .alumni-text{
   display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: left;
  gap: 0px;
}
}

#section-6{
    background-image: url('/assets/images/section-6-bg.webp');
     max-width: var(--max-width);
    margin: 0;
    padding: var(--padding-desktop);
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 60px;
    padding-right: 60px;
    width: 100%;
    overflow: hidden;
     
}

#section-6-main {
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px !important;
  gap: 20px;
  color: var(--black);
  width: 100%;
}

.mentor-grid {
 display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.mentor-card {
 background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.mentor-card img {
  width: 50%;
  object-position: top;
  object-fit: cover;
}

.mentor-info {
  display: flex;
  flex-direction: column;
  padding-left: 6%;
  padding-right: 12%;
  background: #fff;
  gap: 10px;
}

.mentor-info h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--green);
}

.mentor-info span {
  font-size: 18px;
  font-weight: 600;
  color: #000000;
}

/* Responsive Design */
@media (max-width: 1024px) {
#section-6{
    padding: 40px 40px 20px 40px;
  }
  
}

@media (max-width: 768px) {
  .mentor-card {
    flex-direction: row;
  }
#section-6{
    padding: 40px 40px 20px 40px;
  }
  .mentor-grid {
    grid-template-columns: 2fr;
    grid-template-rows: 2fr;
  }
  .mentor-card img {
    width: 100%;
    height: 220px;
  }

  .mentor-info {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .mentors-header h2 {
    font-size: 22px;
  }
  #section-6{
    padding: 40px 20px 0px 20px;
  }
.mentors-grid {
    grid-template-columns: 2fr;
    grid-template-rows: 1fr;
  }

  .mentor-card {
    flex-direction: column;
  }
  .mentor-info h3 {
    font-size: 18px;
  }

  .mentor-info .desc {
    font-size: 13px;
  }

  .btn-connect {
    width: 100%;
    text-align: center;
  }
}

/* ---------- HAPPENINGS SECTION ---------- */
#happenings-section {
  padding: 40px 60px 40px 60px;
  overflow: hidden;
}

.container-7 {
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
}

.happenings-header{
  padding-left: 25%;
  padding-right: 25%;
}

.happenings-header p {
  margin-top: 15px;
}
/* ---------------- Cards ---------------- */
.happenings-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}

.happenings-cards-row {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

/* Proportions per card */
.happenings-card.small {
  flex: 0 0 41%;
}
.happenings-card.large {
  flex: 0 0 55%;
}

/* Base card styles */
.happenings-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  color: #fff;
  transition: transform 0.3s ease;
  max-height: 300px;
}

.happenings-card:hover {
  transform: translateY(-5px);
}

.happenings-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
  transition: filter 0.3s ease;
}
.happenings-card:hover img {
  filter: brightness(60%);
}

/* Content Overlay */
.happenings-card-content {
  position: absolute;
  bottom: 0;
  padding: 20px;
  text-align: left;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  width: 80%;
}
.happenings-card-content-main{
   position: absolute;
   width: 100%;
   height: 100%;
  bottom: 0;
  top: 0;
  padding-top: 20px;
  text-align: left;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}
.happenings-card-content h3 {
  margin: 10px 0 5px;
}

.happenings-card-content p {
  color: #ddd;
}

.tag {
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px !important;
  margin-left: 20px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .cards-row {
    flex-direction: row;
  }
  .happenings-header{
  padding-left: 10%;
  padding-right: 10%;
}
  
}

@media (max-width: 768px) {
  .happenings-card.small,
  .happenings-card.large {
    flex: 1 1 50%;
    max-height: 280px;
  }
  #happenings-section {
  padding: 40px 40px 40px 40px;
  overflow: hidden;
}

  h2 {
  }
  .card-content {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  #happenings-section {
  padding: 40px 20px;
  overflow: hidden;
}
  .subtitle {
  }
  .card-content h3 {
  }
  .card-content p {
  }
}

#footer{
    margin: 0;
    width: 100%;
    min-height: 312px;
    overflow: visible;
}

#footer-main{
    display: flex;                /* Enables horizontal layout */
  flex-direction: row;
  align-items: center;          /* Vertically center items */
  justify-content: space-between;
  width: 100%;    /* Distribute items evenly */
  gap: 0px;               /* Make the container full width */
}

#footer-left{
  background-color: #006533 !important;
  display: flex;                /* Enables horizontal layout */
  flex-direction: row;
  align-items: flex-start;          /* Vertically align items to top */
  justify-content: space-between;
  width: 60%;    /* 60% of footer width */
  gap: 40px;               /* Space between columns */
  color: var(--white);
  padding: 40px 60px 40px 60px;
  min-height: 379px;
}

#footer-left-1{
    display: flex;                /* Enables horizontal layout */
  flex-direction: column;
  align-items: left;          /* Vertically center items */
  justify-content: left;
  gap: 20px;               /* Make the container full width */
}

#footer-left-2{
    display: flex;                /* Enables horizontal layout */
  flex-direction: column;
  align-items: left;          /* Vertically center items */
  justify-content: top;
  gap:10px
}

#social-media{
   display: flex;                /* Enables horizontal layout */
  flex-direction: row;
  align-items: left;          /* Vertically center items */
  justify-content: center;
  width: 100%;    /* Distribute items evenly */
  gap: 15px;               /* Make the container full width */
}

#footer-left-2-main {
  display: flex;                /* Enables horizontal layout */
  flex-direction: row;
  align-items: flex-start;          /* Vertically align to top */
  justify-content: flex-start;
  width: 100%;    /* Full width */
  gap: 50px;               /* Space between navigation columns */
  padding-top: 40px;
  flex-wrap: wrap;              /* Allow wrapping on smaller screens */
}

#footer-links-1, #footer-links-2, #footer-links-3 {
  display: flex;                /* Enables horizontal layout */
  flex-direction: column;
  align-items: flex-start;          /* Align to left */
  justify-content: flex-start;
  gap: 10px;               /* Space between links */
  min-width: 150px;       /* Ensure columns don't get too narrow */
}

#footer-links-1 a, #footer-links-2 a, #footer-links-3 a {
  color: var(--white);
  text-decoration: none;
  font-weight: 300;
  font-size: 14px;
  transition: all 0.3s ease;
  padding: 4px 0;
}

#footer-links-1 a:hover, #footer-links-2 a:hover, #footer-links-3 a:hover {
  color: var(--yellow);
  padding-left: 5px;
}

#footer-links-1 h4, #footer-links-2 h4, #footer-links-3 h4 {
    font-weight: 600;
    padding-bottom: 20px;
}

.border1{
    border-top: 1px solid var(--offwhite);
    margin-top: 20px;
    margin-bottom: 20px !important;
}

#contact-details-main{
 display: flex;                /* Enables horizontal layout */
  flex-direction: row;
  align-items: left;          /* Vertically center items */
  justify-content: left;
  gap: 65px;               /* Make the container full width */
}

.contact-details a, .contact-details a, .contact-details a {
  color: var(--white);
  text-decoration: none;
}

.contact-details {
  display: flex;                /* Enables horizontal layout */
  flex-direction: row;
  align-items: center;          /* Vertically center items */
  justify-content: center;
  gap: 10px;               /* Make the container full width */
}

.footer-right{
    background-image: url('/assets/images/footer-image.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40%;    /* 40% of footer width */
    height: 379px;
    gap: 20px;
    color: var(--black);
    position: relative;
    overflow: hidden;
}

.footer-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.65);
    z-index: 0;
}

.footer-right h3,
.footer-right a,
.footer-right button {
    position: relative;
    z-index: 1;
}


.footer-right h3{
    font-weight: 700;
    font-size: 28px;
    text-align: center;
    line-height: 1.2em;
    margin: 0;
}


/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  #footer-left{
     display: flex;                /* Enables horizontal layout */
  flex-direction: row;
  align-items: left;          /* Vertically center items */
  justify-content: left;
  width: 100%;    /* Distribute items evenly */
  gap: 40px;               /* Make the container full width */
  color: var(--white);
   padding: 0px 40px 40px 40px;
  }
   #footer-links-1 h4 , .footer-links-2 h4 , .footer-links-3 h4 {
    font-weight: 600;
    padding-bottom: 20px;
}
#footer-left-2-main {
  display: flex;                /* Enables horizontal layout */
  flex-direction: row;
  align-items: left;          /* Vertically center items */
  justify-content: left;
  width: 100%;    /* Distribute items evenly */
  gap: 40px;               /* Make the container full width */
  padding-top: 40px;
}

#footer-left-1{
    display: flex;                /* Enables horizontal layout */
  flex-direction: column;
  align-items: left;          /* Vertically center items */
  justify-content: left;
  gap: 20px;               /* Make the container full width */
}

.border1{
    border-top: 1px solid var(--offwhite);
    margin-top: 10px;
    margin-bottom: 10px !important;
}
#contact-details-main{
 display: flex;                /* Enables horizontal layout */
  flex-direction: row;
  align-items: left;          /* Vertically center items */
  justify-content: left;
  gap: 40px;               /* Make the container full width */
}

}

@media (max-width: 768px) {
  #footer{
    margin: 0;
    width: 100%;
    min-height: auto;
    overflow: visible;
    padding: 0px;
}

#footer-main{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0px;
}

#footer-left{
  display: flex;
  flex-direction: column;
  order: 2;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  gap: 20px;
  color: var(--white);
  padding: 30px 20px;
  min-height: auto;
}

#footer-links-1 h4 , #footer-links-2 h4 , #footer-links-3 h4 {
  font-weight: 600;
  padding-bottom: 15px;
  margin-top: 10px;
}

#footer-left-2-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  gap: 25px;
  padding-top: 20px;
}

#footer-left-1{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 15px;
  width: 100%;
}

#footer-left-2{
  width: 100%;
}

#footer-links-1, #footer-links-2, #footer-links-3 {
  width: 100%;
  min-width: auto;
}

.footer-right{
  background-image: url('/assets/images/footer-image.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 250px;
  padding: 40px 20px;
  gap: 20px;
  color: var(--black);
}

.border1{
  border-top: 1px solid var(--offwhite);
  margin-top: 15px;
  margin-bottom: 15px !important;
  width: 100%;
}

#contact-details-main{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 15px;
  width: 100%;
}
}

@media (max-width: 480px) {

  #footer{
    margin: 0;
    width: 100%;
    min-height: auto;
    overflow: visible;
    padding: 0px;
  }

  #footer-left{
    display: flex;
    flex-direction: column;
    order: 2;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    gap: 15px;
    color: var(--white);
    padding: 25px 20px;
  }
  
  #footer-links-1 h4, #footer-links-2 h4, #footer-links-3 h4 {
    font-weight: 600;
    padding-bottom: 10px;
    margin-top: 5px;
  }
  
  #footer-left-2-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    gap: 20px;
    padding-top: 15px;
  }

  #footer-left-2{
    width: 100%;
    padding: 0px;
  }
  
  #footer-left-1{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
  }

  #footer-links-1, #footer-links-2, #footer-links-3 {
    width: 100%;
    min-width: auto;
  }

  #contact-details-main{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
  }
  
  .contact-details {
    font-size: 14px;
  }
  
  .footer-right {
    min-height: 200px;
    padding: 30px 15px;
  }
  
  .footer-right h3 {
    font-size: 22px;
  }
}


/* ------------------- mentor Section ------------------- */
#mentor-1 {
  background-image: url('/assets/images/section-6-bg.webp');
  padding: 80px 0;
}

.mentor-1-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px; /* global padding */
  box-sizing: border-box;
}

/* Header Row */
.mentor-1-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 50px !important;
}

.mentor-1-text{
   display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

.mentor-1-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  font-weight: 600;
  color: var(--black);
}

.mentor-1-header h2 span {
  color: var(--black);
  font-weight: 600;
}

.mentor-1-header p {

  color: var(--black);
  max-width: 700px;
  margin-top: 10px;
}

/* Alumni Grid */
.mentor-1-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.mentor-1-card {
  background-color: #ffffff;
  color: #000000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.mentor-1-card:hover {
  transform: translateY(-5px);
}

.mentor-1-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.mentor-1-info {
  padding: 10px;
  padding: 20px;
  gap: 10px;
  align-content: center;
}

.mentor-1-info h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px !important;
}

.mentor-1-info p {
  font-size: 14px;
  color: #333333;
  margin-bottom: 15px !important;
  margin-top: 15px;
}

.mentor-1-info span {
  font-size: 12px;
  font-weight: 600;
  color: #000000;
   margin-bottom: 15px !important;
}

/* ------------------- Responsive ------------------- */

/* Tablet */
@media (max-width: 1024px) {
  #mentor-1{
    padding: 40px 0;
  }
.mentor-1-container {
  padding: 0 40px; /* global padding */
}

  .mentor-1-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 60px;
  }

  .mentor-1-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .mentor-1-text{
   gap: 20px;
}
.mentor-1-card {
  background-color: #ffffff;
  color: #000000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
}

/* Phone */


@media (max-width: 767px) {
  .mentor-1-container {
    padding: 0 20px;
  }

  .mentor-1-card {
  background-color: #ffffff;
  color: #000000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

  .mentor-1-grid {
    grid-template-columns: 1fr;
  }
  .mentor-1-text{
   display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: left;
  gap: 0px;
}

}

/* Alumni Grid */
.statistics-1-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.statistics-1-card {
  color: #000000;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
}

.statistics-1-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.statistics-1-info {
  padding: 10px;
  gap: 10px;
  align-content: center;
  text-align: left;
}

.statistics-1-info h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.statistics-1-info p {
  font-size: 14px;
  color: #333333;
  margin-bottom: 15px;
  margin-top: 15px;
}

.statistics-1-info span {
  font-size: 12px;
  font-weight: 600;
  color: #000000;
   margin-bottom: 15px;
}

/* ------------------- Responsive ------------------- */

/* Tablet */
@media (max-width: 1024px) {
  #statistics-1{
    padding: 40px 0;
  }
.statistics-1-container {
  padding: 0 40px; /* global padding */
}


  .statistics-1-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px 60px;
  }

  .statistics-1-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .statistics-1-text{
   gap: 20px;
}
.statistics-1-card {
  color: #000000;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  align-self: center;
}

.statistics-1-info {
  padding: 10px;
  gap: 10px;
  align-content: center;
  text-align: center;
}

}

/* Phone */


@media (max-width: 767px) {
  .statistics-1-container {
    padding: 0 20px;
  }

  .statistics-1-card {
  color: #000000;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

  .statistics-1-grid {
    grid-template-columns: 1fr;
  }
  .statistics-1-text{
   display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: left;
  gap: 0px;
}

}
