:root {
  --primary-color: #0d47a1;
  --secondary-color: #1565c0;
  --accent-color: #ffb300;
  --dark-text: black;
  --light-bg: #f8f9fa;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-text);
  background-color: #ffffff;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.section-title {
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
  color: var(--primary-color);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.custom-navbar {
  background-color: var(--primary-color) !important;
  padding: 8px 0;
  transition: var(--transition-smooth);
}

.navbar-title {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: #fff;
}

.nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85) !important;
  margin-right: 15px;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--accent-color) !important;
  transform: translateY(-2px);
}

.hero-video-section {
  position: relative;
  width: 100%;
  min-height: 80vh; 
  background-color: var(--primary-color); 
  overflow: hidden;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; 
  z-index: 1;
}

.hero-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center; 
  filter: brightness(65%); 
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; 
  background: linear-gradient(rgba(13, 71, 161, 0.45), rgba(21, 101, 192, 0.45)); 
}

.bg-dark-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.card-custom {
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid #cccccc; 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); 
  transition: var(--transition-smooth);
}

.card-custom:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color); 
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.card-img-container {
  height: 240px;
  overflow: hidden;
}

.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-custom:hover .card-img-top {
  transform: scale(1.08);
}

.icon-box {
  display: inline-block;
  padding: 10px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.04);
}

.carousel-img {
  height: 500px;
  object-fit: cover;
  filter: brightness(65%);
}

.carousel-caption {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  right: 0;
  left: 0;
  bottom: 0;
  padding: 40px 20px;
}

.carousel-caption h3 {
  font-weight: 600;
  font-size: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

#valores-section .row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.card-valor {
  transition: var(--transition-smooth);
  border-radius: 15px;
  border: 2px solid #cccccc; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card-valor:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color); 
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.social-icons a {
  transition: var(--transition-smooth);
  display: inline-block;
}

.social-icons a:hover {
  color: var(--accent-color) !important;
  transform: scale(1.2);
}

.custom-input {
  border: 2px solid #e0e0e0;
  padding: 12px;
  border-radius: 10px;
  transition: var(--transition-smooth);
}

.custom-input:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.25rem rgba(21, 101, 192, 0.25);
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
  transition: var(--transition-smooth);
}

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

.competencia-section {
  background-color: var(--light-bg);
  padding: 60px 0;
  margin-top: -40px;
}

.CC, .NA, .CA {
  font-weight: bold;
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 40px;
}

.NA, .CA {
  margin-top: 40px;
}

.cert {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-bottom: 15px;
}

h6 {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.actividades-section {
  background-color: var(--light-bg);
  padding: 60px 0;
  margin-top: -40px;
}

.footer-custom {
  background-color: #111;
  border-top: 4px solid var(--accent-color);
}

h1 {
  margin-top: 20px;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  color: var(--primary-color);
}

.Titulo {
  margin-top: 20px;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  font-weight: bold;
}

#contato {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#oferta .row {
  display: flex;
  justify-content: center;
  font-weight: bold;
  margin-top: -65px;
}

.ofertaT {
  font-weight: bold;
}


@media (max-width: 991.98px) {
  .hero-video-section {
    min-height: 70vh; 
  }

  .carousel-img {
    height: 350px;
  }

  .carousel-caption h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .card-img-container {
    height: 200px;
  }
}

@media (max-width: 575.98px) {
  .hero-video-section {
    min-height: 55vh; 
  }

  .Titulo {
    font-size: 1.7rem !important;
  }

  .carousel-img {
    height: 260px;
  }

  .card-img-container {
    height: 180px;
  }

  .carousel-caption {
    padding: 20px 10px;
  }
}