
/* Base variables */
:root {
  /* Fundação A1 custom properties */
  --cor-principal: #41BEF0;
  --cor-secundaria: #96989A;
  --cor-texto: #333;
  --cor-fundo-claro: #dddddd;
  --cor-destaque: #FEC6A1;
  --cor-destaque-escuro: #ddb091;

  --font-base: 100%;
  --spacing-xs: 2%;
  --spacing-sm: 4%;
  --spacing-md: 8%;
  --spacing-lg: 16%;
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: #e5e7eb;
}

html {
  scroll-behavior: smooth;
  font-size: var(--font-base);
}

body {
  background-color: #fff;
  color: var(--cor-texto);
  font-family: 'Open Sans', sans-serif;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}


img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

li {
  list-style: none;
}

/* Layout classes */
.min-h-screen {
  min-height: 100vh;
}

.container-fluid {
  width: 92%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}



@media (min-width: 768px) {
  .container-fluid {
    width: 88%;
  }
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-5 {
  z-index: 5;
}

.z-10 {
  z-index: 10;
}

.z-40 {
  z-index: 40;
}

.z-50 {
  z-index: 50;
}

.hidden {
  display: none;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.flex-col {
  flex-direction: column;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-12 {
  gap: 3rem;
}

.space-x-4 > * + * {
  margin-left: 1rem;
}

.space-x-8 > * + * {
  margin-left: 2rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mx-3 {
  margin-left: 0.75rem;
  margin-right: 0.75rem;
}

.my-1 {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.pt-20 {
  padding-top: 5rem;
}

/* Typography */
.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.font-medium {
  font-weight: 500;
}

.font-bold {
  font-weight: 700;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

/* Colors */
.text-white {
  color: #fff;
}

.text-fundacao-text {
  color: var(--cor-texto);
}

.text-fundacao-primary {
  color: var(--cor-principal);
}

.text-fundacao-secondary {
  color: var(--cor-secundaria);
}

.text-black {
  color: #000;
}

.text-red-500 {
  color: #ef4444;
}

.text-green-800 {
  color: #166534;
}

.bg-white {
  background-color: #fff;
}

.bg-transparent {
  background-color: transparent;
}

.bg-fundacao-primary {
  background-color: var(--cor-principal);
}

.bg-fundacao-accent {
  background-color: var(--cor-destaque);
}

.bg-fundacao-light {
  background-color: var(--cor-fundo-claro);
}

.bg-blue-600 {
  background-color: #2563eb;
}

.bg-green-100 {
  background-color: #dcfce7;
}

.bg-black {
  background-color: #000;
}

.bg-opacity-10 {
  background-opacity: 0.1;
}

.bg-opacity-20 {
  background-opacity: 0.2;
}

.bg-opacity-50 {
  background-opacity: 0.5;
}

.border {
  border-width: 1px;
  border-style: solid;
}

.border-gray-300 {
  border-color: #d1d5db;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-l-md {
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}

.rounded-r-md {
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

/* Special Elements */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
  display: inline-block;
}

.btn:hover
{
  background-color: var(--cor-destaque-escuro);
}

.btn-primary {
  background-color: var(--cor-principal);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-primary:hover {
  background-opacity: 0.9;
}

.btn-secondary {
  background-color: var(--cor-destaque);
  color: var(--cor-texto);
}

.btn-secondary:hover {
  background-opacity: 0.9;
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

.background-image-overlay::after {
  content: "";
  position: absolute;
  inset: 0; /* top: 0; right: 0; bottom: 0; left: 0; */
  background-image: var(--image-url);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: var(--imagem-opacity, 0.3); /* semitransparência */
  pointer-events: none; /* para não interferir na interação do conteúdo */
  z-index: -1;
  filter: grayscale(0.5); /* opcional: para dar um efeito de desfoque */
}


.background-image-overlay {
  position: relative;
  z-index: 1; /* para garantir que o conteúdo fique sobre o ::after */
}


/* Hero section */
.hero {
  background-image: linear-gradient(to right, var(--cor-principal), #3b82f6);
  background-size: cover;
  display: flex;
  align-items: flex-start;
  padding-top: 5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 1))
}

.hero-logo {
  width: 25%;
  height: auto;
  max-width: 300px;
  margin-bottom: 20px;
  margin: 0 auto;
}

.hero h1
{
  font-size: 1.5rem;

}
.hero p
{
  font-size: 1.0rem;
}

@media (max-width: 768px)
{
    .hero-logo
    {
        width: 80%;
        margin-top: 5%;
    }
}

/* Section titles */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--cor-principal);
}

.section-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 2rem;
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--cor-secundaria);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
  
  .section-subtitle {
    font-size: 1.5rem;
  }
}

/* Project cards */
.h-60 {
  height: 15rem;
}

.object-cover {
  object-fit: cover;
}

.overflow-hidden {
  overflow: hidden;
}

.transition-transform {
  transition: transform 0.3s;
}

.hover-scale-105:hover {
  transform: scale(1.05);
}

.hover-text-primary:hover {
  color: var(--cor-principal);
}

.hover-text-accent:hover {
  color: var(--cor-destaque);
}

.hover-bg-opacity-90:hover {
  background-opacity: 0.9;
}

.hover-bg-opacity-30:hover {
  background-opacity: 0.3;
}

.hover-underline:hover {
  text-decoration: underline;
}

.transition, .transition-colors {
  transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* missão */
#mission
{
  
 
  padding: 2%;
  border-radius: 5px;
  margin-bottom: 2%;
}

/* hot to help */

.how-to-help-btn {
  transition: 0.3s ease-in;
}

.how-to-help-btn:hover {
  background-color: #287797;
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}




/* Form elements */
.form-div
{
  justify-items: center;
    justify-content: center;
    align-items: start;
    margin-top: 5%;
    width: 100%;
}

#form-div img
{
  width: 40%;
  height: auto;
}

.justify-self-center {
  justify-self: center;
}

.justify-self-start {
  justify-self: start;
}

input, select, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--cor-principal);
}

#contact-info {
  width: 100%;
  background-color: var(--cor-principal);
  padding: 60px 20px;
  grid-column: 1 / -1; /* Faz o elemento ocupar todas as colunas do grid pai */

}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: #000;
}

.contact-item {
  flex: 1 1 200px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
}

.contact-item a:hover {
  color: white;
  font-weight: bold;
}

.icon {
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
  color: #000;
}

.icone-contato {
  color: black;
  margin-bottom: 15px;
}

/* Responsivo para telas pequenas */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }
}


/* Header styles */
header {
  transition: all 0.3s;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}

header.scrolled {
  background-color: #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}


nav
{
  margin-top: 1%;
}

nav ul li
{  
  white-space: nowrap;
  display: flex;  
  transition: all 0.3s ease-in-out;
  padding: .5%;
}
nav ul li:hover
{
  background-color: var(--cor-principal);
  border-radius: 5px;
  
}

nav ul li:last-child:hover
{
  background-color: transparent;
  
}

#menu-button
{
  background-color: transparent;
  border: none;
  color: white;
}

#close-menu-button
{
  border: none;
}

#header-logo
{
  margin-top: 1%;
}

@media screen and (max-width: 768px) {
  #header-logo{
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  header.scrolled #menu-button
  {
    color: #000;
  }
  
}


header:not(.scrolled) #header-logo,
header:not(.scrolled) .nav-link {
  color: #fff;
  width: 45%
}

/* Regras para quando o header NÃO está com a classe 'scrolled' */
header:not(.scrolled) #header-logo .fil1, 
header:not(.scrolled) #header-logo .fil0, 
header:not(.scrolled) #header-logo .fil3,
header:not(.scrolled) #header-logo .fil4, 
header:not(.scrolled) #header-logo .fil2 {
  fill: white; /* Definindo a cor branca para esses elementos */
}


/* Regras para quando o header ESTÁ com a classe 'scrolled' */
header.scrolled #header-logo,
header.scrolled .nav-link {
  color: var(--cor-texto);
  width: 45%;
}

header.scrolled #header-logo {
  transition: all 0.3s;
}

header.scrolled #header-logo .fil1, 
header.scrolled #header-logo .fil3 {
  fill: #96989A !important; /* Cor para fil1 e fil3 no estado scrolled */
}

header.scrolled #header-logo .fil0, 
header.scrolled #header-logo .fil2 {
  fill: #41BEF0 !important; /* Cor para fil0 e fil2 no estado scrolled */
}

header.scrolled #header-logo .fil4 {
  fill: #2A2A2A !important; /* Cor para fil4 no estado scrolled */
}

/* Mobile Menu */
.transform {
  transform: translateX(100%);
}

#mobile-menu.active {
  transform: translateX(0);
}

/* Media Queries */
@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
  
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .md\:block {
    display: block;
  }
  
  .md\:hidden {
    display: none;
  }
  
  .md\:flex {
    display: flex;
  }
  
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\:text-left {
    text-align: left;
  }
  
  .md\:text-4xl {
    font-size: 2.25rem;
  }
  
  .md\:text-2xl {
    font-size: 1.5rem;
  }
  
  .md\:mt-0 {
    margin-top: 0;
  }
  
  .md\:justify-between {
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  .lg\:text-5xl {
    font-size: 3rem;
  }
  
  .lg\:text-6xl {
    font-size: 3.75rem;
  }
}

.objective-card
{
  transition: all 0.3s;
}

.objective-card:hover
{
  transform: scale(1.05);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Custom Utilities */
.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.h-5, .w-5 {
  height: 1.25rem;
  width: 1.25rem;
}

.h-6, .w-6 {
  height: 1.5rem;
  width: 1.5rem;
}

.h-12, .w-12 {
  height: 3rem;
  width: 3rem;
}

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.bottom-0 {
  bottom: -1%;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.inline-block {
  display: inline-block;
}
