/* Global Variables */
:root {
  --primary-color: #081751;
  --primary-light: #051e7f;
  --accent-color: #FE8834;
  --white: #fff;
  --light-bg: #f1f3f9;
  --light-bg-alt: #f0f0ff;
  --black: #000;
  --transparent-primary: rgba(8, 23, 81, 0.1);
  --transparent-primary-darker: rgba(8, 23, 81, 0.88);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  width: 100dvw;
  overflow-x: hidden;
}

i {
  color: var(--white);
  transition: all 0.5s ease;
}

i:hover {
  color: var(--white);
}

/* ==================== HEADER STYLES ==================== */
header {
  backdrop-filter: blur(5px);
  position: fixed;
  color: var(--white);
  font-size: 20px;
  width: 100dvw;
  height: 150px;
  display: block;
  transition: all .5s ease;
  z-index: 99999;
  isolation: isolate;
  top: 0;
  left: 0;
}

header.scrolled {background-color: #08175188;}

header .content {
  top: 0;
  display: block;
  position: relative;
  width: 100dvw;
  height: 100%;
  z-index: 99999;
}

header .logotipo {
  max-width: 200px;
  margin: 2%;
}

header .logotipo img {
  width: 100%;
  filter: drop-shadow(0 0 2px #ffffff88);
}

/* Hamburger Menu */
header .hamburguer {
  display: block;
  position: absolute;
  width: 30px;
  height: 30px;
  right: 20px;
  top: 35%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 99999;
}

header .hamburguer span {
  display: block;
  position: absolute;
  background-color: var(--white);
  width: 30px;
  height: 3px;
  border-radius: 3px;
  box-shadow: 0 0 3px var(--black);
  transition: all .5s ease;
}

header .hamburguer span:nth-child(1) {
  top: 0;
  height: 2.5px;
}

header .hamburguer span:nth-child(2) {
  top: 10px;
}

header .hamburguer span:nth-child(3) {
  top: 20px;
  width: 20px;
}

/* Navigation Menu */
header nav {
  background: linear-gradient(135deg, #081751, #051e7f);
  position: fixed;
  right: -200%;
  top: 0;
  padding: 40px 20px;
  height: 100dvh;
  width: 30%;
  z-index: 99990;
  transition: all .5s ease;
  overflow-y: auto;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.menu .hamburguer span {
  background-color: var(--accent-color);
  box-shadow: none; 
}

.menu .hamburguer span:nth-child(1) {
  top: 10px;
  transform: rotate(225deg);
}

.menu .hamburguer span:nth-child(2) {
  top: 10px;
  transform: rotate(405deg);
}

.menu .hamburguer span:nth-child(3) {
  top: 10px;
  transform: rotate(-225deg);
  width: 30px;
}

.menu nav {
  position: fixed;
  right: 0;
  top: 0;
  padding: 40px 20px;
  height: 100dvh;
  z-index: 99990;
}

/* Navigation Links */
header nav a {
  color: var(--white);
  text-decoration: none;
  transition: all .5s ease;
  position: relative;
}

header nav a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

header nav ul {
  list-style: none;
  margin-top: 20px;
}

header nav ul li {
  margin: 15px 0;
}

header nav ul li h3 {
  color: var(--accent-color);
  margin-bottom: 10px;
}

header nav ul li ul {
  padding: 5px 15px;
}

header nav ul li ul li {
  padding: 10px;
  border-radius: 20px;
  margin: 10px 0;
}

header nav ul li ul li a::after {
  content: '';
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  bottom: -2px;
  left: 0;
  transition: all .5s ease;
}

header nav ul li ul li a:hover::after {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
}

/* Header Social Links */
header .social-links a {
  color: var(--white);
  margin-right: 15px;
  font-size: 20px;
  transition: all .5s ease;
}

header .social-links a:hover {
  color: var(--accent-color);
  transition: all .5s ease;
}

header .social-links {
  bottom: 30px;
  right: -100%;
  transition: all .5s ease;
  padding: 0 20px;
}

.menu .social-links {
  right: 5px;
}

/* Header Media Queries */
@media screen and (max-width: 677px) {
  header  {
    height: 100px;
  }
  
  header .logotipo {
    max-width: 150px;
    margin: 2%;
  }
  
  header .logotipo img {
    width: 100%;
  }
  
  header nav {
    width: 100%;
  }
  
  header .social-links {
    bottom: 20px;
    right: -100%;
    transition: all .5s ease;
  }
}

/* ==================== FOOTER STYLES ==================== */
footer {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--white);
  position: relative;
  padding: 40px 20px 20px;
  font-family: sans-serif;
}

footer::before {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--accent-color);
  position: absolute;
  top: 0;
  left: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logos img {
  background-color: #fff;
  padding: 10px;
  border-radius: 10px;
}

.logo-link {
  display: block;
  transition: transform 0.5s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

footer img {
  max-width: 140px;
  height: auto;
}

.footer-content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-section {
  min-width: 200px;
}

.footer-section h4 {
  margin-bottom: 15px;
  font-size: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}


footer i {
  color: var(--white);
  transition: all 0.5s ease;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: normal;
  transition: all 0.5s ease;
  position: relative;
  display: inline-block;
  padding: 3px 0;
}

.footer-links a:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-color);
  transition: width 0.5s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

/* Footer Social Links */
footer .social-links {
  display: flex;
  gap: 15px;
}

footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 8px;
  color: var(--white);
  transition: all 0.5s ease;
}

footer .social-links a:hover {
  background-color: var(--accent-color);
  color: var(--white);
  transform: translateY(-3px);
}

footer.social-links a:hover i {
  color: var(--white);
}

footer.social-links .icon {
  font-size: 18px;
}

.copyright {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--transparent-primary);
  text-align: center;
  font-size: 14px;
}

/* Footer Media Queries */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-logos {
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .footer-section h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-links a:hover {
    transform: none;
  }
  
  .social-links {
    justify-content: center;
  }
}