/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* CSS Variables */
:root {
  --primary-red: #c72227;
  --primary-green: #079445;
  --primary-blue: #66b6e1;
  --primary-yellow: #ffb600;
  --light-blue: #8ccaeb;
  --dots-color: #ef8076;
  --wave-color: #02557d;
  --zigzag-color: #fef58c;
  --text-dark: #333;
  --text-light: #666;
  --text-muted: #999;
 --white: #fefefe;
  --soft-white: #fafbfc;
  --light-gray: #f6f8fa;
  --border-color: #e9ecef;
  --light-green-:#a9d6be;
}

/* Typography */
@font-face {
    font-family: "MinhaFonte";
    src: url("./fonts/Gliker-Regular.woff") format("truetype");
    font-weight: normal;
    font-style: normal;
}
h1,
h2,
h3{
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-family: "MinhaFonte", sans-serif;
  
}
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1rem;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo{
  display: flex;
  align-content: center;
}

.nav-a{
  align-content: center;
  margin-left: 10px;
  font-family: "MinhaFonte";
}

.nav-img{
  height: 50px;
  width: auto;
  border-radius: 50%;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-red);
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--primary-red);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  transition: 0.3s;
}

/* Hero Section */
.hero {
   min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  /* Substituindo SVG placeholder pela imagem real do usuário */
  background: url("img/backGrow.jpeg") center
    / cover no-repeat;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
}


.wave-lines {
  position: absolute;
  bottom: 20%;
  left: 5%;
  width: 300px;
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg width='300' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,50 Q75,10 150,50 T300,50' stroke='%2302557d' stroke-width='3' fill='none' opacity='0.24'/%3E%3C/svg%3E");
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  animation: fadeInRight 1s ease-out 0.3s both;
  display: flex;
  justify-content: center;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary-red);
  color: var(--white);
}

.btn-primary:hover {
  background: #a01b1f;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(199, 34, 39, 0.3);
}

.btn-secondary {
  background: var(--light-green-);
  color: var(--white);
}

.btn-secondary:hover {
  background: #067038;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(7, 148, 69, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* Section Styles */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  background: var(--light-gray);
}

.about-content {
  display: grid;
  gap: 3rem;
}

.about-story {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.mission,
.vision {
  background: var(--primary-yellow);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.values {
  text-align: center;
}

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

.value-item {
  background: var(--light-green-);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: var(--white);
}

.value-item:hover {
  transform: translateY(-5px);
}

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

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

.stat-item {
  text-align: center;
  background: var(--primary-yellow);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-light);
  font-weight: 500;
}

/* Programs Section */
.programs{
  background: var(--soft-white);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.program-card {
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-red), var(--primary-green), var(--primary-blue));
}

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

.program-icon {
  margin-bottom: 2rem;
}

.program-img {
  width: auto;
  height: 80px;
}

.program-features {
  margin: 2rem 0;
  text-align: left;
}

.feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
  background: var(--light-gray);
  border-radius: 10px;
}

.feature-icon {
  font-size: 1.2rem;
}

.program-highlight {
  background: var(--primary-yellow);
  padding: 1rem;
  border-radius: 10px;
  margin: 2rem 0;
  font-weight: 600;
  color: var(--text-dark);
}

/* New partnership carousel styles */
.partnerships-carousel {
  width: 100%;
  border-radius: 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);

  /* habilita rolagem */
  overflow-x: auto;
  overflow-y: hidden;

  /* deixa a barra de rolagem só na horizontal */
  scroll-behavior: smooth; 
}

.partnerships-track {
  display: flex;
  gap: 2rem;
  width: max-content; /* garante que o conteúdo pode rolar */
}

.partner-card {
  flex: 0 0 auto; /* impede que o flex tente ajustar */
  width: 300px;
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Estilizar a barra de rolagem (opcional) */
.partnerships-carousel::-webkit-scrollbar {
  height: 10px;
}

.partnerships-carousel::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 10px;
}

.partnerships-carousel::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 10px;
}

.partner-card {
  flex: 0 0 calc(50% - 1rem);
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  width: 300px;
  height: 100%;
}

.partner-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.partner-card:hover::before {
  transform: scaleX(1);
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.partner-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.partner-card:hover .partner-logo {
  transform: scale(1.05);
}

.partner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
  text-align: center;
}

.partner-content p {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: center;
}

.partnerships-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.partnership-nav {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  font-size: 1.2rem;
}

.partnership-nav:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.partnership-nav:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}


.partner-link a{
  color: black;
  text-decoration: none;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .partner-card {
    flex: 0 0 100%;
  }

  .partnerships-carousel {
    padding: 1.5rem;
  }

  .partnerships-controls {
    gap: 1rem;
  }

  .partnerships-progress {
    max-width: 150px;
  }
}

@media (min-width: 1200px) {
  .partner-card {
    flex: 0 0 calc(33.333% - 1.33rem);
  }

  .progress-bar {
    width: 33.333%;
  }
}

/* Testimonials Section */
.testimonials {
  background: var(--light-blue);
}

.testimonials-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
}

.testimonial-slide {
  display: none;
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.5s ease-in-out;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.author-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.carousel-btn {
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: var(--primary-red);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: var(--primary-blue);
}

/* Partnerships Section */
.partnerships{
  background: var(--soft-white);
}
.partnerships-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.partner-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.partner-logo {
  margin-bottom: 1.5rem;
}

.partner-img {
  height: 80px;
  width: auto;
  border-radius: 50%;
}

.partnership-cta {
  text-align: center;
  background: var(--primary-blue);
  color: var(--white);
  padding: 3rem;
  border-radius: 20px;
  margin-top: 3rem;
}

.partnership-cta h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.partnership-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

/* Participate Section */
.participate {
  background: var(--light-gray);
}

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

.participate-card {
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.participate-icon {
  margin-bottom: 2rem;
}

.participate-icon .icon {
  font-size: 3rem;
}

.requirements {
  text-align: left;
  margin: 2rem 0;
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 10px;
}

.requirements h4 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.requirements ul {
  list-style: none;
  padding: 0;
}

.requirements li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.requirements li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: bold;
}

/* Contact Section */
.contact{
  background: var(--light-gray);
}
.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  max-width: 700px;
  margin: 0 auto;
}

.contact-form {
  background: var(--primary-yellow);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.contact-item a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
}

.social-links {
  padding: 2rem;
  border-radius: 15px;
  width: fit-content;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--white);
}

.social-link.linkedin {
  background: #0077b5;
  color: var(--white);
}

.social-link.tiktok {
  background: #000;
  color: var(--white);
}

.social-link:hover {
  transform: scale(1.1);
}



/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}


/* Language Toggle */
.language-toggle {
  display: flex;
  background: var(--soft-white);
  border-radius: 25px;
  padding: 4px;
  margin-left: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-light);
}

.lang-btn.active {
  background: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 2px 4px rgba(59, 125, 159, 0.3);
}

.lang-btn:hover:not(.active) {
  background: var(--light-gray);
  color: var(--text-dark);
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 800px;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots .dot.active {
  background: var(--white);
  transform: scale(1.2);
}

/* About Main */
.about-main {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-image {
  position: relative;
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--light-green-);
  border-radius: 15px;
  color: var(--white);
  border-left: 4px solid var(--light-green-);
}

.highlight-icon {
  font-size: 1.5rem;
}

/* History Section */
.history-section {
  margin: 4rem 0;
}

.history-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3rem;
}

.history-text h3 {
  color: var(--primary-red);
  margin-bottom: 1.5rem;
}

.history-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Timeline */
.timeline {
  margin-top: 3rem;
}

.timeline h4 {
  text-align: center;
  color: var(--primary-blue);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.timeline-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 2rem 0;
  gap: 1.2rem;
}

.timeline-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-red), var(--primary-green), var(--primary-blue));
  border-radius: 2px;
  z-index: 1;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  z-index: 2;
}

.timeline-date {
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(59, 125, 159, 0.3);
}

.timeline-content {
  background: var(--soft-white);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  max-width: 200px;
}

.timeline-content h5 {
  color: var(--primary-red);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.timeline-content p {
  font-size: 0.9rem;
  margin: 0;
}

/* Workshops Section */
.workshops-section {
  margin: 3rem 11rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--primary-blue) 100%);
  border-radius: 20px;
  color: var(--white);
}

.workshops-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.workshops-content img {
  max-width: 200px; /* controla o tamanho */
  border-radius: 10px; /* opcional: bordas arredondadas */
}

.workshops-icon .icon {
  font-size: 3rem;
}

.workshops-text h3 {
  margin-bottom: 1rem;
}

.workshops-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.topic-tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Teams Section */
.teams {
  padding: 5rem 0;
  background: url(img/backw.jpg);
  
}

.leadership-team {
  margin-bottom: 4rem;
}

.leadership-team h3 {
  text-align: center;
  color: var(--primary-blue);
  margin-bottom: 2rem;
}

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

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

.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.leader-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
  border: 4px solid var(--primary-blue);
}

.leader-card h4 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.leader-role {
  color: var(--primary-red);
  font-weight: 600;
  margin-bottom: 1rem;
}

.leader-desc {
  font-size: 0.9rem;
  color: var(--text-light);
}

.departments h3 {
  text-align: center;
  color: var(--light-green-);
  margin-bottom: 2rem;
}

.departments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.department-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

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

.department-card h4 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.department-card p {
  font-size: 0.9rem;
  margin: 0;
}

/* Volunteer Program Section */
.volunteer-program {
  padding: 5rem 0;
  background: #ffffff;
  background-size: cover; /* Para a imagem cobrir toda a área */
      background-repeat: no-repeat; /* Para a imagem não se repetir */
      background-position: center;
}

.volunteer-roles {
  margin-bottom: 4rem;
}

.volunteer-roles h3 {
  text-align: center;
  color: var(--primary-green);
  margin-bottom: 2rem;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.role-card {
  background: var(--soft-white);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.role-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-green);
}

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

.role-card h4 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.role-card p {
  font-size: 0.9rem;
  margin: 0;
}

.role-card li{
  display: flex;
  justify-content: flex-start;
}
.volunteer-process {
  margin-bottom: 4rem;
}

.volunteer-process h3 {
  text-align: center;
  color: #02557d;
  margin-bottom: 2rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-number {
  background: var(--primary-red);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h4 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.9rem;
  margin: 0;
}

.volunteer-benefits h3 {
  text-align: center;
  color: var(--primary-blue);
  margin-bottom: 2rem;
}

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

.benefit-item {
  background: var(--soft-white);
  padding: 1.5rem;
  border-radius: 15px;
  border-left: 4px solid var(--primary-green);
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.benefit-item h4 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.benefit-item p {
  font-size: 0.9rem;
  margin: 0;
}

.volunteer-cta {
  text-align: center;
  padding: 3rem;
  background-image: url('img/backblue.jfif');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-radius: 20px;
  color: var(--white);
}

.volunteer-cta h3 {
  margin-bottom: 1rem;
}

.volunteer-cta p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  

  .nav-container {
    padding: 0 1rem;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

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

  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .participate-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }

  section {
    padding: 3rem 0;
  }
  .language-toggle {
    margin-left: 0.5rem;
  }

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

  .about-main,
  .history-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .timeline-container {
    flex-direction: column;
    gap: 2rem;
  }

  .timeline-container::before {
    display: none;
  }

  .timeline-content {
    max-width: 100%;
  }

  .workshops-content {
    flex-direction: column;
    text-align: center;
  }

  .leaders-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .carousel-container {
    height: 300px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .program-card,
  .participate-card,
  .contact-form {
    padding: 2rem;
  }

  .testimonial-slide {
    padding: 2rem;
  }

  .carousel-controls {
    gap: 1rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --text-light: #000;
    --text-muted: #333;
    --border-color: #000;
  }

  .btn-outline {
    border-width: 3px;
  }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
  outline: 3px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .navbar,
  .hero-buttons,
  .carousel-controls,
  .btn {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  h1,
  h2,
  h3 {
    page-break-after: avoid;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
}
.footer {
    background: var( --primary-blue);
    padding: 80px 0 30px;
    position: relative;
    color: var(--white);
    font-family: 'Inter', sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Grid Principal */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Logo e Marca */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer-logo img {
    height: 70px;
    width: auto;
    border-radius: 50%;
}

.brand-description {
    color: var(--white);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Redes Sociais */
.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(228, 168, 83, 0.1);
    color: var(--secondary);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--secondary);
    color: var(--footer-bg);
    transform: translateY(-3px);
}

/* Títulos das Seções */
.footer h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

/* Links */
.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

/* Contato */
.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-contact ul li i {
    color: var(--secondary);
    font-size: 1.2rem;
}

/* Substitua os estilos da newsletter por estes */
.footer-large-logo {
     display: flex;
    justify-content: center; /* centraliza dentro da coluna dela */
    align-items: center;
    width: 100%;
}

.footer-large-logo img {
    max-width: 200px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.footer-large-logo img:hover {
    opacity: 1;
}


.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3 colunas iguais */
    align-items: center;
}

/* Ajuste responsivo */
@media (max-width: 1024px) {
    .footer-large-logo img {
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .footer-large-logo {
        order: -1; /* Coloca a logo grande no topo em telas menores */
        margin-bottom: 40px;
    }
    
    .footer-large-logo img {
        max-width: 160px;
    }
}


/* Divider Decorativo */
.footer-divider {
    position: relative;
    height: 1px;
    background: rgba(228, 168, 83, 0.1);
    margin: 40px 0;
}

.divider-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 20px;
    background: var(--primary-blue);
    display: flex;
    justify-content: center;
    align-items: center;
}

.divider-pattern::before {
    content: '●';
    color: var(--secondary);
    font-size: 8px;
    letter-spacing: 20px;
    margin-left: 20px;
}

/* Créditos */
.footer-credits {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
}

.credits-text {
    color: var(--white);
    font-size: 0.9rem;
}

.institute-credit {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.institute-credit i {
    color: var(--accent);
    animation: heartBeat 1.5s infinite;
}

.institute-link {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.institute-link:hover {
    color: var(--text-light);
}

.credits-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.credits-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.credits-links a:hover {
    color: var(--secondary);
}

.separator {
    color: var(--text-muted);
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}

/* Responsividade */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-credits {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-brand {
        text-align: center;
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer h4 {
        text-align: center;
    }

    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .credits-links {
        flex-direction: column;
        gap: 10px;
    }

    .separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 50px 0 30px;
    }

    .newsletter-form .form-group {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
        border-radius: 25px;
    }
}
/* Enhanced Programs Section Styles */
/* Enhanced Programs Section Styles */
.programs {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Grow Speaking Section */
.grow-speaking-section {
  background: white;
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.program-header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.program-header .program-icon {
  flex-shrink: 0;
}

.program-header .program-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.program-info h3 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 15px;
}
.program-info{
  display: flex;
  justify-content: center;
  flex-direction: column;
}
/* Languages Grid - versão simples */
.languages-grid {
    margin: 30px 0;
}

.languages-grid h4 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.languages-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.language-item {
    background: white;
    border: 2px solid #3b7d9f;
    border-radius: 25px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: space-between;
}

.language-item:hover {
    background: #3b7d9f;
    color: white;
    transform: translateY(-2px);
}

.language-item h5 {
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
}

.language-item .levels {
    background: #02557d;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.language-item:hover .levels {
    background: white;
    color: #3b7d9f;
}

.language-item.libras-highlight {
    border-color: #c72227;
    background: #c72227;
    color: white;
}

.language-item.libras-highlight .levels {
    background: #ddc035;
    color: #1a1a1a;
}

/* Galeria de Fotos das Aulas */
.class-photos-section {
    margin: 40px 0;
    text-align: center;
}

.class-photos-section h4 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 25px;
}

.photos-carousel-new {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.photos-container-new {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.photo-slide-new {
    min-width: 100%;
    position: relative;
}

.photo-slide-new img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.photo-caption-new {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 20px 15px 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

.carousel-btn-new {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #3b7d9f;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn-new:hover {
    background: #2c5f7a;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn-new {
    left: 10px;
}

.next-btn-new {
    right: 10px;
}

.carousel-dots-new {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    background: #f8f9fa;
}

.dot-new {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot-new.active {
    background: #3b7d9f;
    transform: scale(1.2);
}


/* Updated yellow highlight to use brand color #ddc035 */
.periodic-highlight {
  background: var(--light-green-);
  color: #1a1a1a;
  padding: 12px 20px;
  border-radius: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  margin-top: 15px;
  box-shadow: 0 4px 15px rgba(221, 192, 53, 0.3);
}
.highlight-p{
  display: flex;
  justify-content: center;
}

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

/* Languages Carousel */
.languages-carousel {
  margin: 40px 0;
}

.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.carousel-header h4 {
  font-size: 1.8rem;
  color: #2c3e50;
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

/* Updated carousel buttons to use brand blue #3b7d9f */
.carousel-btn {
  width: 45px;
  height: 45px;
  border: none;
  background: #3b7d9f;
  color: white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: #2c5f7a;
  transform: scale(1.1);
}

.carousel-container {
  overflow: hidden;
  border-radius: 15px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}

.language-card {
  min-width: 200px;
  background: white;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.language-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Made images square (150x150px) and updated colors to brand palette */
.language-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 10px;
  overflow: hidden;
  border: 4px solid #3b7d9f;
  box-shadow: 0 8px 25px rgba(59, 125, 159, 0.2);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.language-card:hover .language-image {
  transform: scale(1.05);
  border-color: #2c5f7a;
  box-shadow: 0 12px 35px rgba(59, 125, 159, 0.3);
}

.language-card:hover .language-image::before {
  opacity: 1;
}

.language-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.language-card:hover .language-image img {
  transform: scale(1.1);
}

.language-card h5 {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.language-card p {
  color: #7f8c8d;
  margin-bottom: 15px;
}

/* Updated levels badge to use brand blue */
.levels {
  background: #3b7d9f;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Updated LIBRAS special styling to use brand red #c72227 */
.libras-special {
  background: linear-gradient(135deg, #c72227, #a01e22);
  color: white;
  position: relative;
}

/* Updated LIBRAS special image styling to use brand yellow */
.libras-special .language-image {
  border-color: #ddc035;
  box-shadow: 0 8px 25px rgba(221, 192, 53, 0.4);
}

.libras-special:hover .language-image {
  border-color: #f4d03f;
  box-shadow: 0 12px 35px rgba(221, 192, 53, 0.6);
}

.libras-special h5,
.libras-special p {
  color: white;
}

.libras-special .levels.special {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Updated special badge to use brand yellow */
.special-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #ddc035;
  color: #1a1a1a;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Enhanced CTA */
.enhanced-cta {
  text-align: center;
  margin-top: 40px;
}

/* Updated CTA button to use brand blue */
.btn-enhanced {
  background: linear-gradient(135deg, #3b7d9f, #2c5f7a);
  color: white;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(59, 125, 159, 0.3);
}

.btn-enhanced:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(59, 125, 159, 0.4);
}

.btn-enhanced.dialektos-btn {
  background: linear-gradient(135deg, #3b7d9f, #2c5f7a);
  box-shadow: 0 8px 25px rgba(155, 89, 182, 0.3);
}

.btn-enhanced.dialektos-btn:hover {
  box-shadow: 0 12px 35px rgba(61, 57, 243, 0.4);
}

.btn-icon {
  font-size: 1.4rem;
}

.btn-arrow {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.btn-enhanced:hover .btn-arrow {
  transform: translateX(5px);
}

.cta-subtitle {
  margin-top: 15px;
  color: #7f8c8d;
  font-size: 1rem;
}

/* Dialektos Section */
.dialektos-section {
  margin-top: 40px;
}

.dialektos-card {
  background: #02557d;
  color: white;
  border-radius: 20px;
  padding: 40px;
  width: 75%;
  justify-self: center;
  
}

.dialektos-card h3 {
  color: white;
  font-size: 2.2rem;
}

.dialektos-card .program-description {
  color: rgba(255, 255, 255, 0.9);
}

.dialektos-card .cta-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* Program Features */
.program-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.dialektos-card .feature {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 1.5rem;
}

/* Updated participate section to use brand colors */
.participate {
  padding: 100px 0;
  background-image: url('img/backblue.jfif');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.participate::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.participate .container {
  position: relative;
  z-index: 2;
}

.participate .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.participate .section-title {
  color: white;
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.participate .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.participate-grid {
  display: flex;
  justify-content: center;
}

.participate-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 50px;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.participate-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.participate-card:hover::before {
  opacity: 1;
  transform: rotate(45deg) translate(50%, 50%);
}

.participate-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.participate-icon {
  margin-bottom: 30px;
  position: relative;
}

/* Updated participate icon and button colors to use brand yellow */
.participate-icon .icon {
  font-size: 4rem;
  background: linear-gradient(135deg, #ddc035, #f4d03f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.participate-card h3 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 25px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.participate-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 35px;
}

.requirements {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 25px;
  margin: 30px 0;
  text-align: left;
}

/* Updated requirements header color to use brand yellow */
.requirements h4 {
  color: #02557d;;
  font-size: 1.4rem;
  margin-bottom: 15px;
  text-align: center;
}

.requirements ul {
  list-style: none;
  padding: 0;
}

.requirements li {
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 0;
  position: relative;
  padding-left: 25px;
}

/* Updated requirements list item checkmark color to use brand yellow */
.requirements li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ddc035;
  font-weight: bold;
}

.participate-card .btn {
  background: linear-gradient(135deg, #ddc035, #f4d03f);
  color: #1a1a1a;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 700;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(221, 192, 53, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.participate-card .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(221, 192, 53, 0.6);
  background: linear-gradient(135deg, #f4d03f, #ddc035);
}

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

  .carousel-header {
    flex-direction: column;
    gap: 20px;
  }

  .language-card {
    min-width: 160px;
  }

  /* Updated responsive image size to maintain square aspect ratio */
  .language-image {
    width: 120px;
    height: 120px;
  }

  .grow-speaking-section {
    padding: 25px;
  }

  .program-features {
    grid-template-columns: 1fr;
  }

  .participate .section-title {
    font-size: 2.2rem;
  }

  .participate-card {
    padding: 30px;
    margin: 0 20px;
  }

  .participate-card h3 {
    font-size: 2rem;
  }
}
