/* ====== General ====== */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f9fa; /* Fondo más claro */
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: bold;
}

p {
  margin-bottom: 1rem;
}

.container {
  max-width: 1200px;
}

/* ====== Navbar Profesional ====== */
.navbar {
  padding: 15px 0;
  transition: all 0.5s ease;
  background-color: rgba(0, 51, 102, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.logo-img {
  transition: transform 0.3s ease;
}

.brand-text {
  font-weight: 700;
  font-size: 1.4rem;
  margin-left: 10px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.navbar .navbar-brand:hover .logo-img {
  transform: rotate(15deg);
}

.navbar .nav-item {
  margin: 0 8px;
}

.navbar .nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
}

.navbar .nav-link:hover {
  background-color: rgba(72, 255, 0, 0.24);
  transform: translateY(-2px);
}

.navbar .nav-link i {
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.navbar .nav-link:hover i {
  color: #80c542;
}

.cta-contact {
  background-color: #80c542;
  color: white !important;
  border-radius: 4px;
  padding: 8px 20px !important;
  margin-left: 10px;
}

.cta-contact:hover {
  background-color: #6db137 !important;
  transform: translateY(-2px) !important;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ====== Icon Sections ====== */
.fa-3x {
  color: #003366; /* Azul ajustado */
}

/* ====== Footer Profesional ====== */
.footer {
  background: linear-gradient(135deg, #003366 0%, #002244 100%);
  color: #fff;
  font-size: 0.95rem;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #80c542 0%, #003366 100%);
}

.footer-top {
  padding: 60px 0 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-brand span {
  font-weight: 700;
  font-size: 1.4rem;
  margin-left: 10px;
}

.footer-about {
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-certifications {
  margin-top: 20px;
}

.footer-certifications span {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}

.footer-certifications img {
  margin-right: 10px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-certifications img:hover {
  opacity: 1;
}

.footer h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: #80c542;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #ddd;
  display: flex;
  align-items: center;
  transition: all 0.3s;
  text-decoration: none;
}

.footer-links ul li a:hover {
  color: #80c542;
  padding-left: 5px;
}

.footer-links ul li a i {
  margin-right: 8px;
  font-size: 0.7rem;
  color: #80c542;
}

.footer-contact .contact-item {
  display: flex;
  margin-bottom: 15px;
  align-items: flex-start;
}

.footer-contact .contact-item i {
  color: #80c542;
  margin-right: 15px;
  margin-top: 3px;
  font-size: 1.1rem;
}

.footer-contact .contact-item p {
  margin: 0;
  line-height: 1.5;
}

.footer-social p {
  margin-bottom: 20px;
  color: #ddd;
}

.social-links {
  margin-bottom: 25px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  margin-right: 10px;
  transition: all 0.3s;
}

.social-links a:hover {
  background: #80c542;
  transform: translateY(-3px);
}

.newsletter h5 {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #fff;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 4px 0 0 4px;
  outline: none;
}

.newsletter-form button {
  background: #80c542;
  color: white;
  border: none;
  padding: 0 15px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: #6db137;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  text-align: center;
}

.copyright {
  color: #aaa;
  font-size: 0.9rem;
}

.legal-links {
  text-align: right;
}

.legal-links a {
  color: #aaa;
  margin-left: 15px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s;
}

.legal-links a:hover {
  color: #80c542;
}

/* ====== Contact Form ====== */
form label {
  font-weight: 500;
}

form .form-control {
  margin-bottom: 15px;
}

form button {
  background-color: #003366; /* Azul para el botón */
  color: #fff;
  border: none;
  padding: 10px 20px;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #005b8c; /* Azul más oscuro al hacer hover */
}

/* ====== Gallery Images ====== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-item:hover {
  transform: scale(1.05);
}

/* ====== Animaciones AOS ====== */
[data-aos] {
  transition: all 0.6s ease-in-out;
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .footer-top {
    padding: 40px 0 20px;
  }

  .footer-brand {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .footer-brand img {
    margin-bottom: 10px;
  }

  .footer-certifications {
    text-align: center;
  }

  .footer h4 {
    margin-top: 25px;
  }

  .footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .legal-links {
    text-align: center;
    margin-top: 15px;
  }
}

@media (max-width: 992px) {
  .footer-contact,
  .footer-social {
    margin-top: 30px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding-top: 80px;
  }

  .navbar .nav-link {
    padding: 10px 0;
    justify-content: center;
  }

  .cta-contact {
    margin: 10px 0 0;
    display: block;
    text-align: center;
  }

  .footer-bottom .row > div {
    text-align: center !important;
  }

  section {
    padding: 60px 0;
  }
  @media (max-width: 576px) {
    section {
      padding: 40px 0;
    }
  }
}
