/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.mobile-header {
  display: none;
}

header {
    background-color: #5CA26F;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
}
.logo img {
    height: 40px;
    width: auto;
    vertical-align: middle;
  }
header ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

header ul li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
}

/* Dropdown Menu */

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white; /*Changes dropdown background color */
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: rgb(0, 0, 0);  /* CHANGES DROPDOWN TEXT COLOR*/
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: rgb(0, 147, 27);}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover {background-color: transparent;} /* Removes hover color change on Our Pillars */



nav ul li a {
  color: black; /* Keep the text color  */
  text-decoration: none; /* Remove underline by default */
}

/* Navbar Link Hover Style */
nav ul li a:hover {
  text-decoration: underline; /* Add underline on hover */
  color: white; /* Ensure the color remains white */
}

.hero {
    text-align: center;
    background-image: url("images/AIFA.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 600px;
    padding: 2rem 1rem;
    
}

.hero .hero-content {
    padding-top: 175px; /* Adds space above the text */
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white; 
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white
}

.hero .button {
    background: #007BFF;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    margin-right: 1rem;
}

.hero .button-secondary {
    background: #ddd;
    color: #333;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
}


.leadership-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.row {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.profile {
    margin: 10px;
    text-align: center;
}

.profile img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profile p {
    margin-top: 10px;
    font-size: 1em;
    color: #555;
}
/*Communities/Pillars section*/ 


.communities-section {
    background-color: #0097a7; /* teal background */
    padding: 3rem 2rem;
    color: #000000; 
  }
  
  .communities-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .communities-section .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #000000; /* a lighter teal/white color */
  }

  .pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
    margin-bottom: 2rem;
  }

  .pillar {
  background-color: #0097a7; /* white card background */
  color: #333;
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
}

.pillar img {
    width: 225px;     /* Fixed width */
    height: 281px;    /* Fixed height */
    object-fit: cover; /* Ensures the image fills the area; see below */
  }


  .pillar h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }


  .pillar p {
    font-size: 0.95rem;
    line-height: 1.4;
  }
  .pillar a {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit color from the parent */
}

.desktop-header .menu a {
  font-size: 22px; /*Changes header text size */
}

/* Mobile Header - Show only on Mobile */
@media (max-width: 768px) {
  .desktop-header {
      display: none; /* Hide desktop header on mobile */
  }

  .mobile-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: #5CA26F;
      padding: 15px 20px;
      position: relative;
  }

  .burger-menu {
    position: absolute; /* Position the burger menu absolutely */
    right: 20px; /* Align it to the right side */
    top: 15px; /* Vertically center the burger icon */
    transform: translateY(-50%); /* Adjust to perfectly center it */
    cursor: pointer; /* Change cursor to pointer for better UX */
  }


  .burger {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 1px 0;
    transition: transform 0.3s ease-in-out;
}

.burger-menu .burger:before, .burger-menu .burger:after {
  content: '';
  width: 30px;  /* Match the width of the main burger line */
  height: 3px;  /* Match the height of the main burger line */
  background-color: white;
  position: absolute;
  left: 0;
  transition: none; }


  /* imp for burger 3 lines */
  .burger-menu .burger:before {
    top: -6px;  /* Position the top line closer to the middle line */
}

.burger-menu .burger:after {
    bottom: -6px; /* Position the bottom line closer to the middle line */
}
  .mobile-menu {
      display: none; /* Hide by default */
      list-style: none;
      padding: 0;
      background-color: #5CA26F;
      width: 100%;
      position: absolute;
      top: 25px;
      left: 0;
      z-index: 100;
  }

  .mobile-menu li {
      padding: 10px 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .pillars-title {
      font-weight: bold;
      color: white;
      padding: 10px 20px;
  }

  .pillars-item {
      margin-left: 50px; /* Indent dropdown items */
  }
}

footer {
  background-color: #257D8E;
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 20px 0;
  position: relative;
  bottom: 0;
  width: 100%;
}


/* Footer container to arrange sections side by side */
.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

/* Styling for each footer section */
.footer-section {
  flex: 1;
  padding: 5px;
}

/* Styling for social media links */
.social-media ul {
  list-style: none;
  padding: 0;
}

.social-media li {
  margin: 10px 0;
}

.social-media a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.social-media a:hover {
  color: #ffd700; /* Gold color on hover */
}

/* Footer bottom text */
footer p {
  margin-top: 20px;
  font-size: 14px;
  color: rgb(6, 6, 6);
}

/* Mission Section */
.mission-section {
    padding: 4rem 2rem;
    background-color: #ffffff;
}

.mission-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.mission-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.mission-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

/* About Section */
.about-section {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
}

.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    color: #5CA26F;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.highlight-text {
    font-size: 1.2rem;
    color: #5CA26F;
    text-align: center;
    margin-top: 2rem;
    font-weight: 500;
}

/* Activities Section */
.activities-section {
    padding: 4rem 2rem;
    background-color: #ffffff;
}

.activities-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.activities-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    text-align: center;
}

.activity-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.activity-card h3 {
    color: #5CA26F;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.activity-card ul {
    list-style-type: none;
    padding: 0;
}

.activity-card ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.activity-card ul li:before {
    content: "•";
    color: #5CA26F;
    position: absolute;
    left: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .features-grid,
    .activity-cards {
        grid-template-columns: 1fr;
    }

    .mission-section,
    .about-section,
    .activities-section {
        padding: 3rem 1rem;
    }

    .mission-section h2,
    .about-section h2,
    .activities-section h2 {
        font-size: 2rem;
    }
}

/* Mission Goals Section */
.mission-goals {
    margin-top: 2rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mission-goals h3 {
    color: #5CA26F;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.mission-goals ul {
    list-style-type: none;
    padding: 0;
}

.mission-goals ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.mission-goals ul li:before {
    content: "→";
    color: #5CA26F;
    position: absolute;
    left: 0;
}

.section-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Join Section Styles */
.join-section {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
    text-align: center;
}

.join-highlight {
    font-size: 1.4rem;
    color: #5CA26F;
    font-weight: 600;
    margin: 1rem 0 2rem;
}

.join-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-container {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.cta-container h3 {
    color: #5CA26F;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.cta-buttons {
    margin: 2rem 0;
}

.cta-buttons .button {
    display: inline-block;
    background: #5CA26F;
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-buttons .button:hover {
    background: #4a8159;
}

.cta-footer {
    margin-top: 2rem;
    font-size: 1.2rem;
    color: #666;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .mission-goals {
        padding: 1.5rem;
    }

    .cta-container {
        padding: 1.5rem;
    }

    .join-highlight {
        font-size: 1.2rem;
    }

    .cta-container h3 {
        font-size: 1.5rem;
    }
}

/* Workshops Section */
.workshops-section {
    padding: 4rem 2rem;
    background-color: #ffffff;
}

.workshops-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.workshops-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    text-align: center;
}

.workshop-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.workshop-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workshop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.workshop-card h3 {
    color: #5CA26F;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.workshop-card p {
    color: #666;
    line-height: 1.6;
}

/* Update Responsive Adjustments */
@media (max-width: 768px) {
    .workshop-cards {
        grid-template-columns: 1fr;
    }

    .workshops-section {
        padding: 3rem 1rem;
    }

    .workshops-section h2 {
        font-size: 2rem;
    }
}

/* Get Involved Section */
.get-involved-section {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
}

.get-involved-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.get-involved-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.opportunity-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.opportunity-card:hover {
    transform: translateY(-5px);
}

.opportunity-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.opportunity-card p {
    color: #666;
    line-height: 1.6;
}

.join-box {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: 3rem;
}

.join-box h3 {
    color: #5CA26F;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.join-box p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.motto {
    font-size: 1.2rem;
    color: #5CA26F;
    font-weight: 500;
    margin-top: 2rem;
}

/* Update Responsive Adjustments */
@media (max-width: 768px) {
    .opportunities-grid {
        grid-template-columns: 1fr;
    }

    .get-involved-section {
        padding: 3rem 1rem;
    }

    .join-box {
        padding: 2rem;
    }

    .get-involved-section h2 {
        font-size: 2rem;
    }

    .join-box h3 {
        font-size: 1.8rem;
    }
}

/* Committees Section */
.committees-section {
    padding: 4rem 2rem;
    background-color: #ffffff;
}

.committees-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.committees-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    text-align: center;
}

.committee-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.committee-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.committee-card h3 {
    color: #5CA26F;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.committee-focus {
    color: #666;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.committee-card ul {
    list-style-type: none;
    padding: 0;
}

.committee-card ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.committee-card ul li:before {
    content: "•";
    color: #5CA26F;
    position: absolute;
    left: 0;
}

.committee-card ul ul {
    margin-top: 0.5rem;
    margin-left: 1rem;
}

.committee-card ul ul li:before {
    content: "→";
}

.join-message {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.join-message p {
    font-size: 1.4rem;
    color: #5CA26F;
    font-weight: 500;
    line-height: 1.6;
}

/* Update Responsive Adjustments */
@media (max-width: 768px) {
    .committee-cards {
        grid-template-columns: 1fr;
    }

    .committees-section {
        padding: 3rem 1rem;
    }

    .committees-section h2 {
        font-size: 2rem;
    }

    .join-message p {
        font-size: 1.2rem;
    }
}
