/* Variáveis de cores */
:root {
  --primary: #ff0032;    /* Vermelho */
  --secondary: #2258a1;  /* Azul escuro */
  --light: #ffffff;      /* Branco */
  --dark: #212529;       /* Preto/Cinza escuro */
}

/* Estilos Globais */
body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  background-color: var(--light);
  color: var(--dark);
  padding-top: 80px;
}

/* Animação de texto digitando */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  50% { border-color: transparent }
}

.typing-effect {
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid var(--primary);
  animation:
    typing 3.5s steps(40, end),
    blink .75s step-end infinite;
}

/* Animação de partículas */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Efeito Neon */
.neon-effect {
  text-shadow: 0 0 5px rgba(255, 0, 50, 0.3),
               0 0 10px rgba(255, 0, 50, 0.2),
               0 0 15px rgba(255, 0, 50, 0.1);
}

.neon-effect-blue {
  text-shadow: 0 0 5px rgba(34, 88, 161, 0.3),
               0 0 10px rgba(34, 88, 161, 0.2),
               0 0 15px rgba(34, 88, 161, 0.1);
}

/* Botões */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  border-radius: 30px;
  padding: 10px 25px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 0, 50, 0.3);
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary {
  background-color: var(--secondary);
  border-color: var(--secondary);
  border-radius: 30px;
  padding: 10px 25px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(34, 88, 161, 0.3);
  background-color: var(--secondary);
  border-color: var(--secondary);
}

/* Cards com efeito */
.card-hover {
  transition: all 0.5s ease;
  transform-style: preserve-3d;
}

.card-hover:hover {
  transform: rotateY(10deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Responsividade */
@media (max-width: 768px) {
  .display-4 {
    font-size: 2.5rem;
  }

  .navbar-brand img {
    max-width: 150px;
  }
}

/* Modo escuro */
.dark-mode {
  background-color: #121212;
  color: #f8f9fa;
}

.dark-mode .navbar,
.dark-mode .footer-section {
  background-color: #1e1e1e !important;
}

.dark-mode .page-header-overlay {
  background-color: rgba(0, 0, 0, 0.7) !important;
}

.dark-mode .card,
.dark-mode .contact-info-card,
.dark-mode .mvv-card,
.dark-mode .service-card {
  background-color: #2a2a2a;
  border-color: #333;
}

.dark-mode .title-line {
  background-color: var(--primary);
}

.dark-mode .breadcrumb,
.dark-mode .page-title,
.dark-mode .nav-link {
  color: #f8f9fa;
}

.dark-mode .form-control {
  background-color: #2a2a2a;
  border-color: #444;
  color: #f8f9fa;
}

.dark-mode .form-control:focus {
  background-color: #333;
  color: #f8f9fa;
}

.dark-mode .bg-light {
  background-color: #1a1a1a !important;
}

/* Navbar animada */
.navbar {
  transition: all 0.3s ease;
  background-color: transparent;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.navbar .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  color: var(--dark);
  transition: all 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary);
}

.dark-mode .navbar:not(.scrolled) .nav-link {
  color: var(--light);
}

/* Seções */
section {
  padding: 80px 0;
  position: relative;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  padding: 0;
  margin-top: -80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(34, 88, 161, 0.8), rgba(255, 0, 50, 0.8));
  opacity: 0.85;
  z-index: -1;
}

.hero-content {
  color: white;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  margin-top: 2rem;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  line-height: 0;
}

/* Page Header */
.page-header {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -80px;
  margin-bottom: 30px;
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(34, 88, 161, 0.8);
  z-index: -1;
}

.page-title {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
  background-color: transparent;
  color: white;
}

.breadcrumb-item,
.breadcrumb-item.active {
  color: white;
}

.breadcrumb a {
  color: white;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary);
}

/* Títulos de seções */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.title-line {
  height: 4px;
  width: 60px;
  background-color: var(--primary);
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

.mx-auto.title-line {
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-image {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.value-item {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.value-item i {
  color: var(--primary);
  margin-right: 8px;
}

.value-item span {
  font-weight: 500;
}

/* Missão, Visão, Valores Cards */
.mvv-card {
  padding: 30px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
}

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

.mvv-card .mvv-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 24px;
}

.mvv-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--dark);
}

.mvv-card p {
  color: #666;
  margin-bottom: 0;
}

.values-checklist {
  list-style: none;
  padding-left: 0;
}

.values-checklist li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.values-checklist li i {
  color: var(--primary);
  margin-right: 10px;
}

/* Commitment List */
.commitment-list {
  list-style: none;
  padding-left: 0;
}

.commitment-list li {
  display: flex;
  margin-bottom: 25px;
}

.commitment-list .commitment-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background-color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: white;
  font-size: 20px;
}

.commitment-list .commitment-text h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.commitment-list .commitment-text p {
  margin-bottom: 0;
}

/* Service Cards */
.service-card {
  padding: 30px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.service-card:hover .service-icon {
  background-color: var(--primary);
  color: white;
}

.service-card:hover .service-link {
  color: var(--primary);
}

.service-card .service-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(255, 0, 50, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 24px;
  transition: all 0.3s ease;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--dark);
}

.service-card p {
  color: #666;
  margin-bottom: 15px;
}

.service-card .service-link {
  color: var(--secondary);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-card .service-link i {
  margin-left: 5px;
  transition: all 0.3s ease;
}

.service-card .service-link:hover i {
  transform: translateX(5px);
}

/* Service Details Page */
.service-item {
  padding: 40px 0;
  border-bottom: 1px solid #eee;
}

.service-item:last-child {
  border-bottom: none;
}

.service-item .service-icon-large {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 20px;
}

.service-item .service-features {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.service-item .service-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.service-item .service-features li i {
  color: var(--primary);
  margin-right: 10px;
  margin-top: 4px;
}

/* Social Responsibility Page */
.sustainability-initiatives,
.education-initiatives {
  list-style: none;
  padding-left: 0;
}

.sustainability-initiatives li,
.education-initiatives li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.sustainability-initiatives li i,
.education-initiatives li i {
  color: var(--secondary);
  font-size: 18px;
  margin-right: 10px;
  margin-top: 2px;
}

.community-projects .project-item {
  margin-bottom: 20px;
}

.community-projects .project-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--secondary);
}

.sustainability-icon,
.community-icon,
.education-icon {
  font-size: 40px;
  color: var(--secondary);
  margin-bottom: 20px;
}

/* Contact Page */
.contact-info-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.contact-info-card:hover .contact-info-icon {
  background-color: var(--primary);
  color: white;
}

.contact-info-card .contact-info-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(255, 0, 50, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 24px;
  transition: all 0.3s ease;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.contact-info-card .contact-link {
  display: block;
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-info-card .contact-link:hover {
  color: var(--primary);
}

.contact-info-card .contact-address {
  color: #666;
  font-style: normal;
  line-height: 1.6;
}

.contact-form-container {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.map-responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  border-radius: 10px;
}

.business-hours {
  max-width: 400px;
  margin: 0 auto;
}

.business-hours .business-day {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.business-hours .business-day:last-child {
  border-bottom: none;
}

.business-hours .business-day .day {
  font-weight: 600;
}

.business-hours .business-day .hours {
  color: var(--primary);
}

/* CTA Section */
.cta-section {
  position: relative;
  background-image: linear-gradient(45deg, var(--secondary), var(--primary));
  padding: 80px 0;
  color: white;
  overflow: hidden;
  margin-top: 50px;
}

.cta-section .cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/107671.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.cta-section .cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-section .cta-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.cta-section .btn-primary {
  background-color: white;
  color: var(--primary);
  border-color: white;
}

.cta-section .btn-primary:hover {
  background-color: var(--light);
  color: var(--primary);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer-section {
  background-color: #212529;
  color: #f8f9fa;
  position: relative;
}

.footer-section .footer-top {
  padding: 80px 0 50px;
}

.footer-section .footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section .footer-widget-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: white;
  position: relative;
  padding-bottom: 10px;
}

.footer-section .footer-widget-title:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
}

.footer-section .footer-desc {
  color: #b0b0b0;
  line-height: 1.7;
  margin-bottom: 25px;
}

.footer-section .footer-social {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-section .footer-social .social-link {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.footer-section .footer-social .social-link:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-section .footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-section .footer-links li {
  margin-bottom: 12px;
}

.footer-section .footer-links li a {
  color: #b0b0b0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section .footer-links li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-section .footer-contact-info {
  list-style: none;
  padding-left: 0;
}

.footer-section .footer-contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  color: #b0b0b0;
}

.footer-section .footer-contact-info li i {
  color: var(--primary);
  margin-right: 10px;
  margin-top: 5px;
}

.footer-section .footer-terms {
  color: #b0b0b0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section .footer-terms:hover {
  color: var(--primary);
}

.footer-section .neon-border {
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 100px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--secondary);
  transform: translateY(-5px);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--secondary);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.dark-mode-toggle:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.dark-mode-active {
  background-color: var(--primary);
}
