/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
  }
  
  h2, h3, h4 {
    margin: 20px 0;
    color: #333;
  }
  
  section {
    padding: 40px 20px;
  }
  



  
  /* Main Image Section */
  .about-image {
    position: relative; /* Required for the overlay to position correctly */
    text-align: center; /* Center-aligns text within the overlay */
}

.about-image img {
    width: 100%; /* Makes the image responsive */
    height:500px; /* Maintains aspect ratio */
}


/* Responsive text size */
.overlay p {
    font-size: 2vw; /* Use viewport width for responsive size */
}

/* Additional media queries for finer control */
@media (max-width: 768px) {
    .overlay p {
        font-size: 4vw; /* Increase size for smaller screens */
    }
    .about-image img {
    width: 100%; /* Makes the image responsive */
    height:200px; /* Maintains aspect ratio */
}
}

@media (max-width: 480px) {
    .overlay p {
        font-size: 5vw; /* Increase size further for very small screens */
    }
}


.overlay {
    position: absolute;
    top: 50%; /* Centers the text vertically */
    left: 50%; /* Centers the text horizontally */
    transform: translate(-50%, -50%); /* Adjusts the position to truly center */
    color: white; /* Text color */
    font-size: 50px; /* Adjust the font size as needed */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Adds a shadow for better visibility */
    padding: 10px; /* Optional padding */
    font-weight:bold;
}
.about-ngo {
    text-align: center;
    padding: 20px;
font-size:40px;
  }
  
  .about-ngo p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.2rem;
  }
  
  /* Founder Section */
  .founder-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
  }
  
  .founder-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    gap: 20px;
  }
  
  .founder-image img {
    width: 300px;
    height: auto;
    border-radius: 8px;
  }
  
  .founder-description {
    max-width: 600px;
  }
  .founder-description h3{
   font-size:30px;
  }
  .founder-description p{
    font-size:20px;
   }
  /* Vision and Mission Section */
  .vision-mission {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
  }
  
  .vision, .mission {
    max-width: 500px;
    font-size:20px;
  }
  
  /* Team Section */
  .team {
    text-align: center;
  }
  
  .team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
  }
  
  .team-member {
    width: 200px;
  }
  
  .team-member img {
    width: 100%;
    border-radius: 50%;
    height: 200px;
    object-fit: cover;
  }
  
  .team-member h4 {
    margin-top: 10px;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .founder-container {
      flex-direction: column;
      text-align: center;
    }
  
    .vision-mission {
      flex-direction: column;
    }
  
    .team-members {
      justify-content: center;
    }
  }
 
.footer {
  background-color: #333; /* Dark background for the footer */
  color: #fff; /* White text color */
  padding: 20px 0;
  text-align: center; /* Center-align the content */
  font-size: 16px; /* Default font size */
  position: relative; /* Ensure proper positioning */
  width: 100%; /* Make footer take full width */
}

.footer a {
  color: #f1c40f; /* Light yellow color for the email link */
  text-decoration: none; /* Remove underline from the link */
}

.footer a:hover {
  text-decoration: underline; /* Underline email link on hover */
}

/* Responsive container */
.container-footer {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto; /* Center content horizontally */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  /* Adjust font size on smaller screens */
  .footer {
    font-size: 14px;
  }
}

/*
  Theme Name: Reveal
  Theme URL: https://bootstrapmade.com/reveal-bootstrap-corporate-template/
  Author: BootstrapMade.com
  License: https://bootstrapmade.com/license/
*/
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  background: #fff;
  color: #444;
  font-family: "Open Sans", sans-serif;
}

a {
  color: #50d8af;
  transition: 0.5s;
}

a:hover, a:active, a:focus {
  color: #51d8af;
  outline: none;
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0 0 30px 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  margin: 0 0 20px 0;
  padding: 0;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  display: none;
  background: #50d8af;
  color: #fff;
  padding: 6px 12px 9px 12px;
  font-size: 16px;
  border-radius: 2px;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 15px;
  }
}

.back-to-top:focus {
  background: #50d8af;
  color: #fff;
  outline: none;
}

.back-to-top:hover {
  background: #0c2e8a;
  color: #fff;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background: #fff;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

#topbar .contact-info a {
  line-height: 1;
  color: #555;
}

#topbar .contact-info a:hover {
  color: #50d8af;
}

#topbar .contact-info i {
  color: #50d8af;
  padding: 4px;
}

#topbar .contact-info .fa-phone {
  padding-left: 20px;
  margin-left: 20px;
  border-left: 1px solid #e9e9e9;
}

#topbar .social-links a {
  color: #555;
  padding: 4px 12px;
  display: inline-block;
  line-height: 1px;
  border-left: 1px solid #e9e9e9;
}

#topbar .social-links a:hover {
  color: #50d8af;
}

#topbar .social-links a:first-child {
  border-left: 0;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  padding: 20px 0;
  height: 84px;
  transition: all 0.5s;
  z-index: 997;
  background: #fff;
  box-shadow: 0px 6px 9px 0px rgba(0, 0, 0, 0.06);
}

#header #logo h1 {
  font-size: 42px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

#header #logo h1 a {
  color: #0c2e8a;
  line-height: 1;
  display: inline-block;
}

#header #logo h1 a span {
  color: #50d8af;
}

#header #logo img {
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  #header {
    padding: 20px 0;
    height: 74px;
  }
  #header #logo h1 {
    font-size: 20px;
  }
  #header #logo img {
    max-height: 40px;
  }
}

/*--------------------------------------------------------------
# Intro Section
--------------------------------------------------------------*/
#intro {
  width: 100%;
  height: 60vh;
  position: relative;
  background: url("../img/intro-carousel/1.jpg") no-repeat;
  background-size: cover;
}

#intro .intro-content {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

#intro .intro-content h2 {
  color: #0c2e8a;
  margin-bottom: 30px;
  font-size: 48px; /* Reduced font size for better readability on smaller screens */
  font-weight: 700;
}

#intro .intro-content h2 span {
  color: #50d8af;
  text-decoration: underline;
}

@media (max-width: 991px) {
  #intro {
    height: 50vh;
  }
  
  #intro .intro-content h2 {
    font-size: 38px; /* Further reduce font size for medium screens */
  }
}

@media (max-width: 767px) {
  #intro {
    height: 45vh; /* Reduce section height on small screens */
  }
  
  #intro .intro-content h2 {
    font-size: 28px; /* Reduce font size for small screens */
  }
}

@media (max-width: 576px) {
  #intro {
    height: 40vh; /* Further reduce height on extra small screens */
  }
  
  #intro .intro-content h2 {
    font-size: 22px; /* Adjust font size for extra small screens */
    padding: 0 10px; /* Add padding to avoid text overflow */
  }
}

#intro #intro-carousel {
  z-index: 8;
}

#intro #intro-carousel::before {
  content: '';
  background-color: rgba(255, 255, 255, 0.7);
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 7;
}

#intro #intro-carousel .item {
  width: 100%;
  height: 60vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-transition-property: opacity;
  transition-property: opacity;
}

@media (max-width: 767px) {
  #intro #intro-carousel .item {
    height: 45vh; /* Reduce carousel image height on small screens */
  }
}

@media (max-width: 576px) {
  #intro #intro-carousel .item {
    height: 40vh; /* Further reduce carousel image height on extra small screens */
  }
}


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Nav Menu Essentials */
.nav-menu, .nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu ul {
  position: absolute;
  display: none;
  top: 100%;
  left: 0;
  z-index: 99;
}

.nav-menu li {
  position: relative;
  white-space: nowrap;
}

.nav-menu > li {
  float: left;
}

.nav-menu li:hover > ul,
.nav-menu li.sfHover > ul {
  display: block;
}

.nav-menu ul ul {
  top: 0;
  left: 100%;
}

.nav-menu ul li {
  min-width: 180px;
}


/* Nav Meu Container */
#nav-menu-container {
  float: right;

  margin: 0;
}

@media (max-width: 768px) {
  #nav-menu-container {
    display: none;
  }
}

/* Nav Meu Styling */
.nav-menu a {
  padding: 10px 8px;
  text-decoration: none;
  display: inline-block;
  color: #555;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 20px;
  outline: none;
}

.nav-menu li:hover > a, .nav-menu > .menu-active > a {
  color: #50d8af;
}

.nav-menu > li {
  margin-left: 10px;
}

.nav-menu ul {
  margin: 4px 0 0 0;
  padding: 10px;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  background: #fff;
}

.nav-menu ul li {
  transition: 0.3s;
}

.nav-menu ul li a {
  padding: 10px;
  color: #333;
  transition: 0.3s;
  display: block;
  font-size: 13px;
  text-transform: none;
}

.nav-menu ul li:hover > a {
  color: #50d8af;
}

.nav-menu ul ul {
  margin: 0;
}

/* Mobile Nav Toggle */
#mobile-nav-toggle {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999;
  margin: 20px 20px 0 0;
  border: 0;
  background: none;
  font-size: 24px;
  display: none;
  transition: all 0.4s;
  outline: none;
  cursor: pointer;
}

#mobile-nav-toggle i {
  color: #555;
}

@media (max-width: 768px) {
  #mobile-nav-toggle {
    display: inline;
  }

}

/* Mobile Nav Styling */
#mobile-nav {
  position: fixed;
  top: 0;
  padding-top: 18px;
  bottom: 0;
  z-index: 998;
  background: rgba(52, 59, 64, 0.9);
  left: -260px;
  width: 260px;
  overflow-y: auto;
  transition: 0.4s;
}

#mobile-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#mobile-nav ul li {
  position: relative;
}

#mobile-nav ul li a {
  color: #fff;
  font-size: 16px;
  overflow: hidden;
  padding: 10px 22px 10px 15px;
  position: relative;
  text-decoration: none;
  width: 100%;
  display: block;
  outline: none;
}

#mobile-nav ul li a:hover {
  color: #fff;
}

#mobile-nav ul li li {
  padding-left: 30px;
}

#mobile-nav ul .menu-has-children i {
  position: absolute;
  right: 0;
  z-index: 99;
  padding: 15px;
  cursor: pointer;
  color: #fff;
}

#mobile-nav ul .menu-has-children i.fa-chevron-up {
  color: #50d8af;
}

#mobile-nav ul .menu-item-active {
  color: #50d8af;
}

#mobile-body-overly {
  width: 100%;
  height: 100%;
  z-index: 997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(52, 59, 64, 0.9);
  display: none;
}

/* Mobile Nav body classes */
body.mobile-nav-active {
  overflow: hidden;
}

body.mobile-nav-active #mobile-nav {
  left: 0;
}

body.mobile-nav-active #mobile-nav-toggle {
  color: #fff;
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
/* Sections Header
--------------------------------*/
.section-header {
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 35px;
  color: #0c2e8a;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
}

.section-header h2::before {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #50d8af;
  bottom: 0;
  left: 0;
}

.section-header p {
  padding: 0;
  margin: 0;
}


#clients {
  padding: 40px 10px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.client-logo img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .clients-grid {
    grid-template-columns: 1fr;
  }
}

/* Our Portfolio Section
--------------------------------*/


/* General container styling */
.container2 {
display: flex;
flex-wrap: wrap;
gap: 20px;
padding: 20px;
}

/* Box styles for carousel and description */
.box {
flex: 1 1 45%; /* Each box takes 45% of the width by default */
padding: 10px;
box-sizing: border-box;
}

/* Carousel image styling */
.carousel img {
width: 70%;
height: 400px;
border-radius: 8px;
object-fit: cover; /* Maintains aspect ratio */
display: block;
margin: 0 auto; /* Centers the image horizontally */
}

/* Description box text styling */
.description h1 {
font-size: 3rem; /* Increase heading size */
margin-bottom: 15px;
font-weight:bold;
}

.description p {
font-size: 1.5rem; /* Increase paragraph text size */
line-height: 1.6; /* Better readability with increased line-height */
color: #333; /* Ensures text contrast */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
.box {
  flex: 1 1 100%; /* Stacks the boxes vertically on smaller screens */
}

/* Reduce the height for smaller screens */
.carousel img {
  height: 300px;
}

/* Adjust text size for smaller screens */
.description h1 {
  font-size: 1.8rem;
}

.description p {
  font-size: 1.1rem;
}
}

/* Footer Styling */
.footer {
background-color: #333; /* Dark background for the footer */
color: #fff; /* White text color */
padding: 20px 0;
text-align: center; /* Center-align the content */
font-size: 16px; /* Default font size */
position: relative; /* Ensure proper positioning */
width: 100%; /* Make footer take full width */
}

.footer a {
color: #f1c40f; /* Light yellow color for the email link */
text-decoration: none; /* Remove underline from the link */
}

.footer a:hover {
text-decoration: underline; /* Underline email link on hover */
}

/* Responsive container */
.container-footer {
width: 90%;
max-width: 1200px;
margin: 0 auto; /* Center content horizontally */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

@media (max-width: 768px) {
/* Adjust font size on smaller screens */
.footer {
  font-size: 14px;
}
}
