/*

MAIN HOME PAGE TAB

Website example: https://www.thementalhealthproject.co.uk/

*/

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

body {
    font-family: 'Roboto', 'Lucida Sans Unicode', Arial, sans-serif;
}

header {
    background-color: white;
    color: black;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky; /* Makes the toolbar sticky */
    top: 0; /* Stick to the top of the page */
    z-index: 1000; /* Ensures the toolbar stays above other content */
}

/* 

Dropdown Menu Styling (HEADER)

*/
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  margin-top: 4px;
  background-color: white;
  min-width: 200px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
  z-index: 1;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.dropdown-content a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Active state for dropdown parent */
li.dropdown.active > a.dropbtn {
  color: #557766;
  font-weight: 600;
}

/* Header link styling */
nav ul li a {
  position: relative;
  padding: 8px 12px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .dropdown-content {
    position: static;
    box-shadow: none;
  }
}

/* TOOLBAR MAIN PAGE*/
.top-bar {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: #fdcc04;
    font-size: 14px;
}

.left-links a, .right-links a {
    color: black;
    text-decoration: none;
    margin-right: 15px;
}

.left-links a:hover, .right-links a:hover {
    text-decoration: underline;
}

.main-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px;
}



.logo img {
    max-height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    margin-left: 20px;
}

nav ul li {
    margin-right: 30px;
}

nav ul li a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    padding: 5px 10px;
    transition: background-color 0.3s, color 0.3s;
}

nav ul li a:hover {
    background-color: #f0f0f0;
    border-radius: 10px;
    color: #50874d;
}

nav ul li a.active {
    color: #50874d;
    border-radius: 5px;
}

.search-bar input {
    padding: 5px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
}
.main-bar, .top-bar {
    font-family: 'Roboto', sans-serif;
}

header, .main-bar, .top-bar, nav, nav ul li a {
  font-family: 'Roboto', sans-serif;
}


/* Hero image */
.hero {
    position: relative;
    text-align: center;
    color: white;
    margin-top: 20px;
}

.hero-image {
    width: 100%;
    height: auto;
    filter: brightness(70%);
}

/* Adding a dark overlay on top of the image */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35); /* Adjust opacity here (0.5 = 50% darkness) */
    z-index: 1;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2; /* Text is above the overlay */
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
}

.hero-text p {
    margin: 20px 0;
    font-size: 24px;
    color: #fff;
}

.btn {
  display: inline-block; /* Important: transform needs inline-block or block */
  padding: 10px 20px;
  color: #573710;
  background-color: #005baa;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.btn.donate {
  background-color: #F0C987;
  font-size: 24px;
  padding: 24px 24px;
  transition: all 0.3s ease;
  color: #573710;
  display: inline-block; /* Add this if it's not already there */
}

.btn.donate:hover {
  transform: scale(0.85);
  background-color: #e6b85f;
  color: #573710;
}

/* get rid of whitespace between top and hero image - main page*/
html, body {
    margin: 0;
    padding: 0;
}
.hero {
    margin: 0;
    padding: 0;
}

header {
    margin: 0;
    padding: 0;
}



/* Section styling - MAIN PAGE*/
.section-container {
    width: 100%;
    padding: 60px 0;
}

/* UPDATED: */

/* Shared Content Container */
.section-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem; /* Some breathing space on small screens */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
  }
  
  /* Shared Child Layouts */
  .section-left,
  .section-right {
    flex: 1;
    max-width: 800px;
  }

  /* WHITE SECTION */


  .section-white {
    background-color: white;
    padding: 3rem 2rem 1rem; /* top | sides | bottom */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem 1rem;
  }

  .section-white .section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .section-white .centered-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem; /* Consistent spacing */
  }

  .section-white .section-heading {
    color: #557766;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0; /* Let gap handle spacing */
  }

  .section-white .section-description {
    color: #557766;
    font-size: 1.3rem;
    max-width: 1000px;
    line-height: 1.6;
    text-align: center;
  }

  .section-white .section-description p {
    margin-bottom: 0rem;
    font-size: 1.3rem;
    color: #557766;
  }

  .section-white .section-description ul {
    list-style-position: inside; /* Bullets inside content flow */
    padding-left: 0;
    margin: 1.5rem 0;
    display: inline-block;
    text-align: left;
  }

  .section-white .section-description li {
    margin-bottom: 0.8rem;
    list-style-type: disc;
  }
  
  /* GREEN SECTION */
  .section-green {
    background-color: #DAEAE4;
  }
  
  .section-green .section-left {
    text-align: left;
  }
  
  .section-green .section-right {
    /* Optional: put an image or leave blank for now */
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
  }
  
  /* Green Text Styling */
  .section-green .section-title,
  .section-green .section-text {
    color: #557766;
    text-align: left;
  }
  
  .section-green .section-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 12px;
    padding: 0;
  }
  
  .section-green .section-text {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 24px;
    padding: 0;
  }
  
  .section-green .section-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px; /* optional */
  }

  .section-btn-container {
    text-align: center;
  }
  
  .section-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #fff;
    color: #557766;
    border: 2px solid #fff;
    border-radius: 30px;
    font-weight: 600;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 24px;
    
  }
  
  .section-btn:hover {
    transform: scale(0.85);
    background-color: white;
    color: #557766;
  }
  
  /* YELLOW SECTION */
  .section-yellow {
    background-color: #F0C987;
  }
  
  .section-yellow .section-content {
    flex-direction: row-reverse; /* Flip text/image sides */
    display: flex;
    
  }

  .section-yellow .section-left,
  .section-yellow .section-right {
  flex: 1;
}
  
  .section-yellow .section-left {
    text-align: right;
  }
  
  .section-yellow .section-right {
    /* Optional image or extra content */
  }
  
  /* Yellow Text Styling */
  .section-yellow .section-title,
  .section-yellow .section-text {
    color: #573710;
    text-align: right;
  }
  
  .section-yellow .section-title {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: left;
    margin-bottom: 30px;
    padding: 0;
  }
  
  .section-yellow .section-text {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
    padding: 0;
  }

  .section-btn-container-yellow {
    text-align: center;
    
  }
  
  .section-btn-yellow {
    margin-top: 16px; /* less top padding than green button */
    color: #573710;
  }

  .section-btn-yellow:hover {
    transform: scale(0.85);
    background-color: white;
    color: #573710;
  }
  
  /* List inside yellow section */
  .section-yellow ul {
    margin: 20px 0;
    font-size: 1.3rem;
    padding-left: 20px;
    text-align: left; /* Keep bullets aligned left even if text is right-aligned */
    color: #573710;
    line-height: 1.6;
  }
  
  .section-yellow li {
    margin-bottom: 10px;
    list-style-type: disc;
    color: #573710;
  }


  /* Grid for images */
  .image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .image-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
  }

/* end update */

/* For sections where you want image on one side and text on the other */
.section-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* About us - Main Home page - NOT THE TAB */ 
.about {
    width: 80%;
    margin:auto;
    text-align:center;
    padding-top: 100px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    color: #777;
    font-size: 16px;
    font-weight: 300;
    line-height: 22px; 
    padding: 10px;
}

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.course-col {
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
}

.course-col {
    display: block;
}

.course-col ul {
    margin-top: 10px;
    margin-bottom: 10px;
}

.course-col br {
    display: block;
    content: "";
    margin-top: 10px;
}


/* Updated Layout for About Us */
.about-container {
    display: flex;
    margin-top: 1px; /* Reduced space above */
    font-size: 20px;   /* Increased base font size */
    align-items: center;
    width: 100%;
}

/* Flexbox for Three Sections */
.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 80%;
    margin: auto;
}

.about-section {
    display: flex;
    align-items: center;
    justify-content: start; /* Align items to the left */
    gap: 20px;
    background-color: #D3D3D3; /* Gray background */
    padding: 20px;
    border-radius: 10px;
    max-width: 800px;
    margin: 30px auto;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 20px;
}

/* Testimonial Styles */
.testimonial {
  padding: 15px;
  margin-bottom: 20px;
  text-align: center; /* Center all text */
  display: flex;
  flex-direction: column;
  align-items: center; /* Center child elements */
}

/* Testimonial Container - Fix this */
.testimonial-content {
  display: flex;
  flex-direction: column;
  height: 100%; /* Take full height of parent */
  justify-content: space-between; /* Push footer to bottom */
  padding: 0 15px;
  position: relative; /* Needed for absolute positioning */
  margin-bottom: 30px
}


/* Testimonial Heading */
.testimonial-heading {
  font-size: 2.5rem; /* Bigger font size */
  text-align: center;
  margin-bottom: 30px;
  color: #557766; /* Darker color for better visibility */
  font-weight: 1000;
  -webkit-text-stroke: 0.5px #557766; /* Thin outline */
  paint-order: stroke fill;
}

.testimonial-text-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* This vertically centers the text */
  padding: 20px 0;
  margin-bottom: 0px; /* Space for footer (adjust based on image height) */
}

.testimonial-text {
  font-style: italic;
  font-size: 1.3rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
  position: relative;
  max-width: 100%; /* Prevent text from stretching full width */
  text-align: center; /* Ensure text is centered */
}


.testimonial-author {
  font-weight: 600;
  color: #557766;
  text-align: right;
  margin-top: 20px;
  font-size: 1.2rem;
  text-align: center; /* Center author text */
  width: 100%; /* Full width for proper centering */
}

/* Testimonial Image Styles */
.testimonial-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #DAEAE4;
  margin-bottom: 15px;
}

/* Testimonial Footer Container */
.testimonial-footer {
  
    bottom: 30px; /* Distance from bottom */
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}



/* Adjust existing course-col for testimonials */
.course-col {
  flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    display: flex;              /* Add flex to columns */
    flex-direction: column;     /* Stack children vertically */
    justify-content: center;    /* Vertical centering */
    min-height: 400px;          /* Give a minimum height */
    position: relative; /* Needed for absolute positioning */
}

/* SUPPORT RESOURCES STYLES */

/* SCROLL CARDS FUNCTIONALITY*/

.scroll-gallery {
  margin: 2rem auto;
  max-width: 90%;
  overflow: hidden;
  position: relative;
}

.scroll-gallery h2 {
  text-align: center;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 1rem;
}

.section-green .center-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.3rem;
  color: black;
}

.gallery-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery {
  display: flex;
  scroll-behavior: smooth;
  padding: 1rem 0;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  gap: 1.5rem;
}

.gallery p {
  color: #573710
}

.card {
  min-width: 300px;
  scroll-snap-align: start;
  text-align: center;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  transition: transform 0.3s;
}

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

.card img {
  width: 100%; /* Fill container width */
  height: 500px; /* Fixed height */
  object-fit: cover; /* Maintain aspect ratio while filling space */
  border-radius: 8px;
  display: block;
  border: 2px solid white; /* Optional: adds clean border */
}

.card p {
  margin-top: 1.2rem;
  font-size: 1.3rem;
  font-family: 'Roboto', sans-serif;
  color: #557766; /* For green background section */
  padding: 0 0.5rem;
}

/* Arrow Styling */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-color: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.arrow svg {
  color: #557766;
}

.arrow:hover {
  background-color: white;
  transform: translateY(-50%) scale(1.1);
}

.left-arrow {
  left: -24px;
}

.right-arrow {
  right: -24px;
}

.gallery-container:hover .arrow {
  display: block;
}


.gallery::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.scroll-gallery {
  padding: 2rem;
}

/* RESOURCE DESCRIPTIONS */

.resource-descriptions {
  padding: 2rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.description-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.resource-card {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(5px);
  border: 1px solid white;
  transition: transform 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-10px);
}

.resource-title {
  color: #557766;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #557766;
}

.resource-content {
  color: #573710;
  line-height: 1.6;
}

.resource-list {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.resource-list li {
  margin-bottom: 0rem;
  color: #777;

}

.video-item, .webinar-item {
  margin-bottom: 1rem;
}

.video-item h4, .webinar-item h4 {
  color: #557766;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.resource-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
  background: white;
  color: #557766;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.resource-link:hover {
  background: #f0f0f0;
  transform: scale(1.05);
}

/* NEW RESOURCE SECTION */
.resource-list {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.resource-list li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.webinar-date {
    margin-left: auto;
    color: #557766;
    font-weight: 500;
    font-size: 0.9rem;
}

.publication-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2E5D4C;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.text-link:hover {
    color: #1E3D33;
    text-decoration: underline;
}

.text-link i {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
  .description-container {
    grid-template-columns: 1fr;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .about-image img {
        margin-bottom: 10px;
    }
}


/*

PUBLICATIONS TAB

*/

/* Publications Page Styles */
.publications-main {
  background-color: #DAEAE4;
}

.publications-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  gap: 2rem;
}

.publication-card,
.panel-card,
.feature-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.publication-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #DAEAE4;
  padding-bottom: 1rem;
}

.publication-icon {
  font-size: 1.8rem;
  color: #2E5D4C;
}

.publication-content {
  line-height: 1.7;
  color: #555;
}

.media-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: #2E5D4C;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

.media-link:hover {
  color: #1E3D33;
  text-decoration: underline;
}

.media-link i {
  font-size: 1.2rem;
}

/* Publication Images */
.publication-image-link {
    display: block;
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.publication-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    display: block;
}

.publication-image-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* Text Links */
.text-link {
    color: #2E5D4C;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s;
}

.text-link:hover {
    color: #1E3D33;
    text-decoration: none;
}


/* Responsive Images */
@media (max-width: 768px) {
    .publication-image {
        max-width: 100%;
    }
}

/* Expert Panel Grid */
.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.panel-member {
  background: #f8f8f8;
  padding: 1.2rem;
  border-radius: 8px;
  border-left: 4px solid #2E5D4C;
}

.panel-member h3 {
  color: #2E5D4C;
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.panel-member p {
  color: #666;
  font-size: 0.9rem;
}

/* Resource Links */
.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: #e0e9e6;
  border-radius: 6px;
  color: #2E5D4C;
  text-decoration: none;
  transition: all 0.3s;
}

.resource-link:hover {
  background: #2E5D4C;
  color: white;
}

/* Resource Buttons */
.resource-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center; /* This centers the content horizontally */
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background-color: #2E5D4C;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center; /* Ensures text alignment */
    width: fit-content; /* Only takes needed width */
    min-width: 120px; /* Minimum width for better appearance */
}

/* For white section buttons */
.section-white .resource-btn {
    background-color: #2E5D4C;
    color: white;
}

.section-white .resource-btn:hover {
    background-color: #1E3D33;
    color: white;
    border-color: #1E3D33;
}

/* Responsive */
@media (max-width: 768px) {
  .publications-container {
      padding: 1rem;
      grid-template-columns: 1fr;
  }
  
  .panel-grid {
      grid-template-columns: 1fr;
  }
  
  .resource-links {
      flex-direction: column;
  }
}


/* 

ABOUT US TAB - OUR TEAM TAB

*/ 

/* Team Section Styles */
.team-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

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

.team-card {
  background: #ffffff; /* Solid white background */
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #ddd; /* Light gray border for subtle effect */
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.team-card-image {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(0,0,0,0.05));
}

/* .team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  object-position: 50% 0%;
} */

.team-card-image img {
  object-fit: contain; /* Shows full image without cropping */
  width: 100%; /* Slightly smaller than container */
  height: 90%;
  margin: 5% auto; /* Centers the image */
  object-position: center center;
  background: rgba(255,255,255,0.1); /* Visible background */
  
}


.team-card:hover .team-card-image img {
  transform: scale(1.05);
}

.team-card-content {
  padding: 1.5rem;
}

.team-card h3 {
  color: #557766;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.team-role {
  color: #557766;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.team-bio {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.team-bio p {
  margin-bottom: 1rem;
}

.team-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.team-links a {
  color: #557766;
  text-decoration: none;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  transition: background 0.3s ease;
  font-size: 0.9rem;
}

.team-links a:hover {
  background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .team-card-image {
    height: 200px;
  }
}

/*

FAQ TAB

*/

.section-green2 {
  background-color: #DAEAE4;
  padding: 3rem 0; /* Green space above and below FAQ container */
  min-height: 60vh
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.faq-title {
  font-size: 2.8rem;
  color: #557766;
  text-align: center;
  font-weight: 700;
  margin-bottom: 2rem;
}

.faq-item {
  margin-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 1.5rem;
}

.faq-question {
  font-size: 1.5rem;
  font-weight: 600;
  color: #557766;
  margin-bottom: 0.8rem;
  margin-left: 0.25rem;
}

/* Smoother plus/minus animation */
.faq-question::after {
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(180deg);
}




.faq-contact {
  background-color: #DAEAE4;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 3rem;
}

.faq-contact h3 {
  color: #557766;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.faq-contact p,
.faq-contact a {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}

.faq-contact a {
  color: #557766;
  text-decoration: none;
  transition: color 0.3s ease;
}

.faq-contact a:hover {
  color: #335544;
}

.faq-resources {
  margin-top: 2rem;
}

.faq-resources h4 {
  color: #557766;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.faq-resources address {
  font-style: normal;
  margin-bottom: 1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .faq-title {
    font-size: 2.2rem;
  }

  .faq-question {
    font-size: 1.3rem;
  }

  .faq-answer {
    font-size: 1rem;
  }

  .faq-contact h3 {
    font-size: 1.5rem;
  }
}

/*

DON'T TOUCH DUPLICATE FAQ

*/

/* FAQ Items */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 0.25rem;
  background: transparent;
  border: none;
  padding: 0;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: #2E5D4C;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(46, 93, 76, 0.2);
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: #1E3D33;
}

.faq-question::after {
  content: "+";
  font-size: 1.8rem;
  color: #2E5D4C;
  transition: transform 0.3s ease;
}

/* Smoother chevron animation */
.faq-question::after {
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: 
    max-height 0.5s ease-in-out,
    opacity 0.3s ease-in-out,
    transform 0.3s ease-in-out,
    padding 0.3s ease-in-out;
  padding: 0 0.5rem;
  margin-bottom: 0;
}

.faq-answer.show {
  max-height: 2000px; /* Adjust based on your longest content */
  opacity: 1;
  transform: translateY(0);
  padding: 1rem 0.5rem;
  margin-bottom: 0.5rem;
}

.faq-answer p {
  margin-bottom: 1rem;
}

.faq-answer ul {
  list-style-position: outside;
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.faq-answer li {
  margin-bottom: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  color: #444
}

.faq-answer a {
  color: #2E5D4C;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.faq-answer a:hover {
  color: #1E3D33;
}

/* Organization cards in last FAQ */
.faq-answer .organization {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.faq-answer .organization strong {
  color: #2E5D4C;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}



/* 

Contact Us TAB

*/

/* Contact Page Styles */
.contact-main {
    padding: 4rem 0;
    background-color: #DAEAE4;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-info {
    padding: 3rem;
    background-color: #f9f9f9;
}

.contact-heading {
    font-size: 2rem;
    color: #2E5D4C;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-subheading {
    color: #557766;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-method {
    display: flex;
    margin-bottom: 2rem;
}

.contact-icon {
    margin-right: 1.5rem;
    color: #2E5D4C;
    font-size: 1.5rem;
}

.contact-details h3 {
    font-size: 1.2rem;
    color: #2E5D4C;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #555;
    line-height: 1;
    margin-left: -0.59rem;
    
}

.contact-details a {
    color: #2E5D4C;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: #1E3D33;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e0e9e6;
    color: #2E5D4C;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: #2E5D4C;
    color: white;
}

.contact-form {
    padding: 3rem;
}

.form-heading {
    font-size: 2rem;
    color: #2E5D4C;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2E5D4C;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background-color: #2E5D4C;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background-color: #1E3D33;
    transform: translateY(-2px);
}

.submit-btn i {
    transition: transform 0.3s;
}

.submit-btn:hover i {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form {
        padding: 2rem;
    }
    
    .contact-heading,
    .form-heading {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 0 1rem;
    }
    
    .contact-method {
        flex-direction: column;
    }
    
    .contact-icon {
        margin-bottom: 0.5rem;
    }
}

/*

Image side by side 

*/

.image-row {
  display: flex;
  gap: 10px; /* Space between images */
  flex-wrap: wrap; /* Wrap on smaller screens */
  justify-content: center; /* Center the images */
}

.image-row .publication-image {
  width: 100%;
  max-width: 300px; /* Adjust as needed */
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/*

Do not touch below


*/

/* Google Font CDN Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', Arial, sans-serif;
}



body {
  background: #fff;
  display: flex;
  flex-direction: column;
  font-family: 'Poppins', sans-serif;
}

.container {
  width: 85%;
  background: #fff;
  border-radius: 6px;
  padding: 20px 60px 30px 40px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  margin: 50px auto;
}

.container .content {
  display: flex;
  justify-content: space-between;
}

.container .content .left-side {
  width: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.container .content .left-side .details {
  margin: 14px;
  text-align: center;
}

.container .content .left-side .details i {
  font-size: 30px;
  color: #005baa;
  margin-bottom: 10px;
}

.container .content .left-side .topic {
  font-size: 18px;
  font-weight: 500;
}

.container .content .left-side .text-one,
.container .content .left-side .text-two {
  font-size: 14px;
  color: #777;
}

.container .content .right-side {
  width: 70%;
  margin-left: 20px;
}

.container .content .right-side .topic-text {
  font-size: 23px;
  font-weight: 600;
  color: #005baa;
}

.container .content .right-side p {
  font-size: 14px;
  color: #777;
}

.container .content .right-side .input-box {
  height: 50px;
  width: 100%;
  margin: 12px 0;
}

.container .content .right-side .input-box input,
.container .content .right-side .input-box textarea {
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  background: #F0F1F8;
  border-radius: 6px;
  padding: 10px 15px;
  resize: none;
}

.container .content .right-side .message-box {
  min-height: 110px;
}

.container .content .right-side .button {
  margin-top: 12px;
}

.container .content .right-side .button input[type="submit"] {
  background-color: #005baa;
  color: white;
  font-size: 18px;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
}

.container .content .right-side .button input[type="submit"]:hover {
  background-color: #003d7a;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .top-bar, .main-bar {
      flex-direction: column;
  }

  /* Hamburger menu for mobile */
  nav ul {
      display: none; /* Hide menu items on mobile */
  }

  /* Add hamburger icon */
  .hamburger {
      display: block;
      font-size: 24px;
      cursor: pointer;
  }

  .hamburger.active + nav ul {
      display: flex;
      flex-direction: column;
      align-items: center;
      background-color: #fdcc04;
      width: 100%;
  }

  /* Hero text */
  .hero-text h1 {
      font-size: 1.8rem;
  }

  .hero-text p {
      font-size: 0.9rem;
  }

  .about {
      padding-top: 20px;
  }

  .btn {
      font-size: 0.9rem;
      padding: 8px 16px;
  }
}

/* For very small screens */
@media (max-width: 480px) {
  .hero-text h1 {
      font-size: 1.5rem;
  }

  .hero-text p {
      font-size: 0.8rem;
  }

  .btn {
      font-size: 0.8rem;
      padding: 6px 12px;
  }

  .about {
      padding-top: 15px;
  }
}


/* FOOTER */

.contact-footer {
  background-color: white; /* #f9f9f9 */
  padding: 30px 60px;  /* Padding on the left to keep content from touching the edge */
  color: #2c3e50;
  font-size: 18px;
  line-height: 1.6;
  border-top: 1px solid white;
  text-align: left;    /* Make all text left-aligned */
  font-family: 'Roboto', 'Lucida Sans Unicode', Arial, sans-serif;
}

.contact-footer a {
  color: #2c3e50;
  text-decoration: none;
  padding: 0;
}

.contact-footer a:hover {
  text-decoration: underline;
}

.contact-footer h2 {
  margin-bottom: 10px;
  font-size: 22px;
  color: #1a1a1a;
  text-align: left;    /* Ensure title is also left-aligned */
}

.contact-footer p {
  padding: 0;
  margin-bottom: 10px;
}

.footer-left {
  max-width: 700px;
}