@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

:root {
   --azul-principal: #5FA097;
   --azul-intermediario: #3E97AF;
   --azul-destaque: #1d8dc6;
   --azul-claro: #addefc;
   --cinza-00: #f5f5f5;
   --cinza-25: #bfbfbf;
   --cinza-50: #7f7f7f;
   --cinza-75: #404040;
   --esverdeado-principal:  #4DB6AC;
   --fundo-rodape: #404040;
   --verde-whatsapp: #25d366;
   --amarelo-dourado1: #F4D03F;
   --amarelo-dourado2: #FFDA63;
   --laranja-queimado: #CC5500;
   --laranja-escuro: #E67E22;
}

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

body {
   font-family: 'IBM Plex Sans', sans-serif;
   margin: 0;
}

/* Fixed Menu Styles */
.fixed-menu {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 110px;
   background-color: white;
   box-shadow: 0 2px 5px rgba(0,0,0,0.1);
   z-index: 1000;
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 10px 50px;
}

.logo-placeholder {
   width: 226px;
   height: 90px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-weight: bold;
   border-radius: 4px;
}

.main-menu {
   display: flex;
   list-style: none;
   gap: 25px;
}

.main-menu li a {
   text-decoration: none;
   color: #333;
   text-transform: uppercase;
   font-weight: 500;
   font-size: 16px;
   transition: color 0.3s;
}

.main-menu li a:hover {
   color: var(--esverdeado-principal);
}

.menu-right {
   display: flex;
   align-items: center;
   gap: 15px;
}

.social-icons {
   display: flex;
   gap: 20px;
   font-size: 1.6rem;
}

.social-icons a {
   color: var(--azul-destaque);
   text-decoration: none;
}

.social-icons a:hover {
   color: black !important;
   text-decoration: none;
}

.social-icons-footer {
   display: flex;
   gap: 20px;
   font-size: 2rem;
   text-decoration: none;
}

.social-icons-footer a {
   color: var(--azul-destaque);
   text-decoration: none;
}

.social-icons a:hover {
   color: white;
   text-decoration: none;
}

.donate-button {
   background-color: var(--azul-destaque);
   transition: background-color 0.3s;
   color: white;
   padding: 15px 20px;
   border-radius: 12px;
   text-decoration: none;
   font-weight: bold;
   margin-left: 25px;
}

.donate-button:hover {
   background-color: var(--cinza-75);
}

.whats-button {
   background-color: var(--azul-principal);
   transition: background-color 0.3s;
   color: white;
   padding: 15px 20px;
   border-radius: 12px;
   text-decoration: none;
   font-weight: bold;
   margin-left: 25px;
}

.whats-button:hover {
   background-color: var(--verde-whatsapp);
}

.saiba-mais-button {
   background-color: var(--azul-principal);
   transition: background-color 0.3s;
   color: white;
   padding: 10px 25px;
   border-radius: 12px;
   text-decoration: none;
   font-weight: bold;
   margin-left: 25px;
}

.saiba-mais-button-sp{
   background-color: var(--cinza-75);
   transition: background-color 0.3s;
   color: white;
   padding: 10px 25px;
   border-radius: 12px;
   text-decoration: none;
   font-weight: bold;
   margin-left: 25px;
}

.amar {
   font-weight: 500;
}

.saiba-mais-button:hover {
   background-color: var(--cinza-75);
}

.saiba-mais-button-sp:hover{
   background-color: var(--cinza-50);
}

.formulario-button {
   background-color: var(--cinza-75);
   transition: background-color 0.3s;
   color: white;
   padding: 10px 25px;
   border-radius: 12px;
   text-decoration: none;
   font-weight: 600;
   margin-left: 25px;
}

.formulario-button:hover {
   background-color: black;
}

/* Menu Hamburger (hidden by default on desktop) */
.menu-hamburger {
   display: none;
   flex-direction: column;
   cursor: pointer;
   gap: 4px;
   padding: 10px;
}

.menu-hamburger span {
   width: 25px;
   height: 3px;
   background-color: var(--azul-destaque);
   transition: 0.3s;
}

.menu-hamburger.active span:nth-child(1) {
   transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-hamburger.active span:nth-child(2) {
   opacity: 0;
}

.menu-hamburger.active span:nth-child(3) {
   transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.8);
   z-index: 999;
   display: none;
}

.mobile-menu {
   position: fixed;
   top: 0;
   right: -300px;
   width: 300px;
   height: 100%;
   background-color: white;
   z-index: 1001;
   transition: right 0.3s ease;
   box-shadow: -2px 0 5px rgba(0,0,0,0.2);
   overflow-y: auto;
}

.mobile-menu.active {
   right: 0;
}

.mobile-menu-header {
   padding: 20px;
   border-bottom: 1px solid #eee;
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.mobile-menu-close {
   background: none;
   border: none;
   font-size: 24px;
   cursor: pointer;
   color: var(--azul-destaque);
}

.mobile-menu-content {
   padding: 20px 0;
}

.mobile-menu-content ul {
   list-style: none;
   padding: 0;
   margin: 0;
}

.mobile-menu-content > ul > li {
   border-bottom: 1px solid #eee;
}

.mobile-menu-content > ul > li > a {
   display: block;
   padding: 15px 20px;
   color: #333;
   text-decoration: none;
   font-weight: 500;
   text-transform: uppercase;
}

.mobile-menu-content > ul > li > a:hover {
   background-color: #f5f5f5;
   color: var(--azul-destaque);
}

/* Mobile dropdown styles */
.mobile-dropdown-toggle {
   display: flex;
   justify-content: space-between;
   align-items: center;
   width: 100%;
   text-align: left;
}

.mobile-dropdown-toggle::after {
   content: '▼';
   font-size: 12px;
   transition: transform 0.3s;
}

.mobile-dropdown-toggle.active::after {
   transform: rotate(180deg);
}

.mobile-dropdown-menu {
   max-height: 0;
   overflow: hidden;
   transition: max-height 0.3s ease;
   background-color: #f8f9fa;
}

.mobile-dropdown-menu.active {
   max-height: 300px;
}

.mobile-dropdown-menu li a {
   display: block;
   padding: 10px 40px;
   color: #666;
   text-decoration: none;
   font-size: 14px;
   text-transform: none;
}

.mobile-dropdown-menu li a:hover {
   background-color: #e9ecef;
   color: var(--azul-destaque);
}

.mobile-social-section {
   padding: 20px;
   border-top: 1px solid #eee;
   text-align: center;
}

.mobile-social-section h4 {
   color: var(--azul-destaque);
   margin-bottom: 15px;
}

.mobile-social-icons {
   display: flex;
   justify-content: center;
   gap: 20px;
   margin-bottom: 20px;
}

.mobile-social-icons a {
   color: var(--azul-destaque);
   font-size: 24px;
   text-decoration: none;
}

.mobile-whats-button {
   display: inline-block;
   background-color: var(--azul-principal);
   color: white;
   padding: 12px 20px;
   border-radius: 8px;
   text-decoration: none;
   font-weight: bold;
   font-size: 14px;
}

/* Add padding to body to account for fixed menu */
.content-wrapper {
   padding-top: 80px;
}

.search-box {
   display: flex;
   align-items: center;
   margin-left: 15px;
}

.search-box input {
   border: 1px solid #ddd;
   padding: 8px;
   border-radius: 4px;
}

/* Carousel Styles */
.carousel {
   position: relative;
   width: 100%;
   height: 600px;
   overflow: hidden;
}

.carousel-inner {
   display: flex;
   width: 400%;
   height: 100%;
   transition: transform 0.6s ease;
}

.carousel-item {
   position: relative;
   width: 25%;
   height: 100%;
}

.carousel-item img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   filter: brightness(0.4);
}

.carousel-caption {
   position: absolute;
   left: 10%;
   bottom: 30%;
   width: 50%;
   color: white;
   text-align: left;
}

.carousel-caption h2 {
   font-size: 3.5rem;
   font-weight: bold;
   margin-bottom: 1rem;
}

.carousel-caption p {
   color: var(--azul-claro);
   font-size: 1.25rem;
   margin-bottom: 1.5rem;
}

.participation-button {
   display: inline-block;
   background-color: var(--azul-destaque);
   color: var(--cinza-25);
   padding: 15px 30px;
   text-decoration: none;
   border-radius: 4px;
   font-weight: bold;
   font-size: 1rem;
}

.participation-button:hover {
   background-color: var(--cinza-75);
   color: white;
}

/* Controls */
.carousel-control {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   background-color: rgba(0, 0, 0, 0.5);
   color: white;
   border: none;
   width: 50px;
   height: 50px;
   border-radius: 50%;
   font-size: 24px;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   z-index: 10;
}

.carousel-control-prev {
   left: 20px;
}

.carousel-control-next {
   right: 20px;
}

/* Indicators */
.carousel-indicators {
   position: absolute;
   bottom: 10%;
   left: 10%;
   display: flex;
   gap: 15px;
}

.carousel-indicator {
   width: 30px;
   height: 3px;
   background-color: rgba(255, 255, 255, 0.5);
   cursor: pointer;
}

.carousel-indicator.active {
   background-color: white;
}

/* Dropdown Menu Styles */
.dropdown {
   position: relative;
}

.dropdown-toggle {
   cursor: pointer;
}

.dropdown-menu {
   display: none;
   position: absolute;
   top: 100%;
   left: 0;
   background-color: white;
   min-width: 400px;
   box-shadow: 0 2px 5px rgba(0,0,0,0.2);
   list-style: none;
   padding: 10px 0;
   z-index: 1001;
   border-radius: 4px;
}

.dropdown-menu li {
   padding: 0;
}

.dropdown-menu li a {
   display: block;
   padding: 10px 20px;
   color: #333;
   text-decoration: none;
   transition: background-color 0.3s;
}

.dropdown-menu li a:hover {
   background-color: #f5f5f5;
   color: #4DB6AC;
}

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

.titulo-sessao {
   font-family: 'IBM Plex Sans', sans-serif;
   color: var(--azul-destaque);
   font-weight: 600;
   font-size: 3rem;
   margin-bottom: 1rem;
   text-align: left;
   margin-top: 4rem;
}

.sub-titulo-sessao {
   font-family: 'IBM Plex Sans', sans-serif;
   color: var(--azul-principal);
   font-weight: 400;
   font-size: 2rem;
   margin-bottom: 1rem;
   text-align: left;
   margin-top: 2rem;
}

.paragrafo-1 {
   font-family: 'IBM Plex Sans', sans-serif;
   text-align: justify;
   color: var(--cinza-75);
   width: 90%;
   margin: auto;
   font-size: 18px;
   line-height: 1.6;
}

.paragrafo-2 {
   font-family: 'IBM Plex Sans', sans-serif;
   text-align: justify;
   color: var(--cinza-75);
   width: 80%;
   margin: auto;
   margin-top: 4rem;
   font-size: 17px;
   line-height: 1.5;
}

.mission-section {
   position: relative;
   max-width: 600px;
   margin: 0 auto;
}

.mission-image {
   width: 100%;
   border-radius: 15px;
   display: block;
}

.mission-content {
   position: absolute;
   left: 0;
   right: 0;
   bottom: 0;
   background-color: #f5f5f5;
   padding: 30px 20px;
   border-radius: 15px;
   text-align: center;
   box-shadow: 0 2px 5px rgba(0,0,0,0.2);
   height: 180px;
   margin: 0 30px;
   transform: translateY(40%);
}

.mission-title {
   font-size: 28px;
   color: #333;
   margin-bottom: 10px;
   font-weight: bold;
}

.mission-text {
   font-size: 16px;
   color: #666;
   line-height: 1.5;
}

.separador {
   width: 100%;
   height: 32px;
   background-color: #ccc;
   margin: 40px 0;
}

.como-ajudar {
   min-height: 350px;
   border-radius: 20px;
   background: linear-gradient(135deg, var(--azul-destaque) 0%, var(--azul-principal) 100%);
   color: white;
   padding: 40px;
}

.ajudar-caption {
   color: white;
   font-size: 2rem;
   font-weight: 600;
}

.image-container {
   width: 250px;
   height: 150px;
}

.image-container svg {
   max-width: 100%;
   height: 100%;
}

.rodape {
   background-color: var(--fundo-rodape);
   width: 100%;
   overflow: hidden;
   margin-left: 0px;
   margin-right: 0px;
   padding-top: 40px;
   padding-left: 10%;
   padding-right: 10%;
   padding-bottom: 25px;
}

.rodape h1 {
   color: var(--azul-destaque);
   font-size: 1.6rem;
   font-weight: 500;
}

.rodape ul {
   list-style-type: none;
   margin: 0;
   padding: 0;
   margin-top: 20px;
   color: white;
   line-height: 1.5;
}

.rodape ul li {
   margin-bottom: 10px;
   font-size: 1.3rem;
}

.rodape ul li a {
   text-decoration: none;
}

.card-text {
   color: var(--cinza-75);
   font-size: 0.9rem;
   line-height: 1.2;
}

.btn_link {
   background-color: var(--azul-destaque);
   border-radius: 8px;
   padding: 8px;
   color: white;
   text-decoration: none;
}

.btn_link:hover {
   background-color: var(--cinza-75);
   border-radius: 8px;
   padding: 8px;
   color: white;
   text-decoration: none;
}

/* RESPONSIVE STYLES */
@media screen and (max-width: 1024px) {
   .fixed-menu {
      padding: 10px 30px;
   }
   
   .logo-placeholder {
      width: 180px;
      height: 70px;
   }
   
   .carousel-caption h2 {
      font-size: 2.8rem;
   }
   
   .titulo-sessao {
      font-size: 2.5rem;
   }
}

@media screen and (max-width: 768px) {
   .fixed-menu {
      height: 80px;
      padding: 10px 20px;
   }
   
   .logo-placeholder {
      width: 150px;
      height: 60px;
   }
   
   /* Hide desktop menu and show hamburger */
   .main-menu {
      display: none;
   }
   
   .menu-hamburger {
      display: flex;
   }
   
   /* Show mobile menu overlay when active */
   .mobile-menu-overlay.active {
      display: block;
   }
   
   .social-icons {
      display: none;
   }
   
   .whats-button {
      padding: 10px 15px;
      font-size: 14px;
      margin-left: 10px;
   }
   
   .content-wrapper {
      padding-top: 60px;
   }
   
   /* Carousel adjustments */
   .carousel {
      height: 400px;
   }
   
   .carousel-caption {
      left: 5%;
      bottom: 20%;
      width: 90%;
   }
   
   .carousel-caption h2 {
      font-size: 2rem;
      margin-bottom: 0.5rem;
   }
   
   .carousel-caption p {
      font-size: 1rem;
      margin-bottom: 1rem;
   }
   
   .participation-button {
      padding: 12px 20px;
      font-size: 0.9rem;
   }
   
   .carousel-control {
      width: 40px;
      height: 40px;
      font-size: 18px;
   }
   
   .carousel-control-prev {
      left: 10px;
   }
   
   .carousel-control-next {
      right: 10px;
   }
   
   .carousel-indicators {
      bottom: 5%;
      left: 5%;
   }
   
   .carousel-indicator {
      width: 20px;
      height: 2px;
   }
   
   /* Section adjustments */
   .titulo-sessao {
      font-size: 2rem;
      margin-top: 2rem;
      text-align: center;
   }
   
   .paragrafo-1,
   .paragrafo-2 {
      width: 95%;
      font-size: 16px;
      margin-top: 2rem;
   }
   
   /* Mission section mobile */
   .row {
      flex-direction: column;
   }
   
   .col-6 {
      width: 100%;
      margin-bottom: 2rem;
   }
   
   .mission-content {
      position: static;
      transform: none;
      margin: 20px 0 0 0;
      height: auto;
   }
   
   .mission-title {
      font-size: 24px;
   }
   
   .mission-text {
      font-size: 14px;
   }
   
   /* Como ajudar section */
   .como-ajudar {
      margin: 20px;
      padding: 20px;
      min-height: auto;
   }
   
   .col-7,
   .col-5 {
      width: 100%;
   }
   
   .ajudar-caption {
      font-size: 1.5rem;
      text-align: center;
   }
   
   .image-container {
      width: 150px;
      height: 100px;
      margin: 0 auto;
   }
   
   /* Parceiros section */
   .flex-container {
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
   }
   
   .flex-container div {
      flex: 0 0 auto;
   }
   
   .flex-container img {
      max-height: 80px !important;
      max-width: 120px;
   }
   
   /* Footer adjustments */
   .rodape {
      padding: 20px 5%;
   }
   
   .rodape > div {
      flex-direction: column !important;
      gap: 30px;
   }
   
   .rodape .col {
      width: 100% !important;
   }
   
   .rodape h1 {
      font-size: 1.4rem;
      text-align: center;
   }
   
   .rodape ul li {
      font-size: 1.1rem;
      text-align: center;
   }
   
   .footer-form-container {
      max-width: 100%;
   }
   
   .social-icons-footer {
      justify-content: center;
   }
   
   /* Buttons adjustments */
   .saiba-mais-button,
   .saiba-mais-button-sp,
   .formulario-button {
      margin-left: 0;
      margin-top: 10px;
      display: inline-block;
      text-align: center;
   }
   
   .btn_link {
      display: block;
      text-align: center;
      margin-top: 20px;
   }
}

@media screen and (max-width: 480px) {
   .fixed-menu {
      padding: 10px 15px;
   }
   
   .logo-placeholder {
      width: 120px;
      height: 50px;
   }
   
   .whats-button {
      padding: 8px 12px;
      font-size: 12px;
   }
   
   .carousel {
      height: 300px;
   }
   
   .carousel-caption h2 {
      font-size: 1.5rem;
   }
   
   .carousel-caption p {
      font-size: 0.9rem;
   }
   
   .participation-button {
      padding: 10px 15px;
      font-size: 0.8rem;
   }
   
   .titulo-sessao {
      font-size: 1.8rem;
   }
   
   .paragrafo-1,
   .paragrafo-2 {
      font-size: 14px;
   }
   
   .ajudar-caption {
      font-size: 1.2rem;
   }
   
   .image-container {
      width: 120px;
      height: 80px;
   }
   
   .rodape {
      padding: 15px 3%;
   }
   
   .rodape h1 {
      font-size: 1.2rem;
   }
   
   .rodape ul li {
      font-size: 1rem;
   }
}

/* Grid System for Mobile */
@media screen and (max-width: 768px) {
   .container {
      padding: 0 15px;
   }
   
   .row {
      display: flex;
      flex-wrap: wrap;
      margin: 0;
   }
   
   .col-3,
   .col-5,
   .col-6,
   .col-7,
   .col-12 {
      width: 100%;
      padding: 0 10px;
   }
   
   .text-end {
      text-align: center !important;
   }
   
   .text-start {
      text-align: center !important;
   }
   
   .mt-4 {
      margin-top: 2rem !important;
   }
}

/* Correção para Seção Missão e Visão - Mobile */
@media screen and (max-width: 768px) {
   /* Sobre Nós - Mission Section Mobile Fix */
   .sobre-nos .row {
      margin-top: 2rem !important;
      margin-bottom: 60px !important;
   }
   
   .sobre-nos .col-6 {
      width: 100% !important;
      max-width: 100% !important;
      flex: 0 0 100% !important;
      padding: 0 10px !important;
      margin-bottom: 3rem;
   }
   
   .mission-section {
      position: relative;
      max-width: 100% !important;
      margin: 0 0 4rem 0 !important;
      width: 100%;
   }
   
   .mission-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-radius: 15px;
      display: block;
   }
   
   .mission-content {
      position: static !important;
      transform: none !important;
      margin: 20px 0 0 0 !important;
      left: auto !important;
      right: auto !important;
      bottom: auto !important;
      background-color: #f5f5f5;
      padding: 25px 20px !important;
      border-radius: 15px;
      text-align: center;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      height: auto !important;
      width: 100%;
   }
   
   .mission-title {
      font-size: 22px !important;
      color: #333;
      margin-bottom: 15px !important;
      font-weight: bold;
   }
   
   .mission-text {
      font-size: 15px !important;
      color: #666;
      line-height: 1.5;
   }
}

@media screen and (max-width: 480px) {
   .mission-content {
      padding: 20px 15px !important;
   }
   
   .mission-title {
      font-size: 20px !important;
   }
   
   .mission-text {
      font-size: 14px !important;
   }
}