:root {
  --primary-color: #1a2a6c;
  --primary-bright: #2563eb;
  --secondary-color: #b21f1f;
  --accent-color: #fdbb2d;
  --dark-color: #0f172a;
  --light-color: #f8fafc;
  --text-color: #334155;
  --text-light: #64748b;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --card-bg: var(--white);
  --navbar-bg: var(--glass);
}

[data-theme="dark"] {
  --primary-color: #6366f1;
  --primary-bright: #818cf8;
  --secondary-color: #ef4444;
  --accent-color: #fbbf24;
  --dark-color: #f8fafc;
  --light-color: #0f172a;
  --text-color: #e2e8f0;
  --text-light: #94a3b8;
  --white: #1e293b;
  --glass: rgba(15, 23, 42, 0.8);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.5);
  --card-bg: #1e293b;
  --navbar-bg: var(--glass);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-color);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--dark-color);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.text-center {
  text-align: center;
  width: 100%;
}
.section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.bg-light {
  background-color: var(--light-color);
}
.bg-dark {
  background-color: var(--dark-color);
}
.text-white {
  color: var(--white);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  content: "";
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: -100%;
  transform: skewX(-45deg);
  transition: 0.7s;
  z-index: -1;
}

.btn:hover::after {
  left: 100%;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(26, 42, 108, 0.2);
}

.btn-primary:hover {
  background: var(--dark-color);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(26, 42, 108, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1001;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  box-shadow: var(--shadow);
}

.logo {
  display: flex;
  align-items: center;
  z-index: 1002;
}

.logo img {
  height: 50px; /* Tamaño base para desktop */
  width: auto;
  transition: var(--transition);
}

.logo img:hover {
  transform: scale(1.05);
}

.footer-logo {
  height: 60px !important; /* Un poco más grande en el footer */
  filter: brightness(0) invert(1); /* Si el logo es oscuro, hacerlo blanco para el footer oscuro */
}

/* Ajuste responsive para el logo */
@media (max-width: 768px) {
  .logo img {
    height: 40px;
  }
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.theme-toggle-btn {
  background: none;
  border: none;
  color: var(--dark-color);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle-btn:hover {
  transform: rotate(15deg) scale(1.1);
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--dark-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 0.8rem;
}

.lang-btn {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 6px;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.lang-btn:hover {
  transform: scale(1.1);
  border-color: var(--primary-color);
}

.lang-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.lang-btn img {
  width: 22px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

/* Hamburger Icon */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1002;
  padding: 10px;
}

.hamburger .bar {
  width: 30px;
  height: 2px;
  background-color: var(--dark-color);
  margin: 8px 0;
  transition: all 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  border-radius: 4px;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  padding: 2rem;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  text-align: center;
  margin-bottom: 2.5rem;
  list-style: none;
}

.mobile-nav-links li {
  margin-bottom: 0.8rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.mobile-menu.active .mobile-nav-links li {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered link animation */
.mobile-nav-links li:nth-child(1) {
  transition-delay: 0.1s;
}
.mobile-nav-links li:nth-child(2) {
  transition-delay: 0.15s;
}
.mobile-nav-links li:nth-child(3) {
  transition-delay: 0.2s;
}
.mobile-nav-links li:nth-child(4) {
  transition-delay: 0.25s;
}
.mobile-nav-links li:nth-child(5) {
  transition-delay: 0.3s;
}
.mobile-nav-links li:nth-child(6) {
  transition-delay: 0.35s;
}
.mobile-nav-links li:nth-child(7) {
  transition-delay: 0.4s;
}
.mobile-nav-links li:nth-child(8) {
  transition-delay: 0.45s;
}

.mobile-nav-links a {
  font-size: 1.3rem;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  color: var(--dark-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 8px 0;
  display: inline-block;
}

.mobile-nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.mobile-nav-links a:hover::after {
  width: 30px;
}

.mobile-lang-switcher {
  display: flex;
  gap: 1rem;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.6s ease 0.5s;
}

.mobile-menu.active .mobile-lang-switcher {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Section */
.hero-section {
  height: 100vh;
  background-image: url("images/1517243218294.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.85) 0%,
    rgba(26, 42, 108, 0.4) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-section h1 {
  font-size: 4.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
  opacity: 0.9;
}

.mission {
  font-style: italic;
  font-size: 1.2rem;
  border-left: 4px solid var(--accent-color);
  padding-left: 1.5rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-image img {
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-light);
  text-align: center;
}

.mission-box {
  background: var(--light-color);
  padding: 2rem;
  border-radius: 15px;
  border-left: 5px solid var(--primary-color);
  margin-top: 2rem;
  text-align: center;
}

.mission-box h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

/* Competence Grid */
.competence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.comp-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--glass-border);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.comp-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--dark-color) 100%
  );
  color: var(--white);
  box-shadow: var(--shadow-hover);
}

.comp-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: var(--transition);
  transform: translateZ(30px);
}

.comp-card:hover i {
  color: var(--accent-color);
  transform: translateZ(50px) scale(1.1);
}

.comp-card p {
  transform: translateZ(20px);
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.skill-category {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  transition: var(--transition);
}

.skill-category:hover {
  box-shadow: var(--shadow);
}

.skill-category h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-color);
}

.skill-category ul li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.skill-category ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.lang-item {
  margin-bottom: 0.8rem;
  display: flex;
  justify-content: space-between;
}

.lang-item span:first-child {
  font-weight: 700;
}

/* Key Skills Section */
/* Modern Form Styles */
.modern-form {
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 25px;
  box-shadow: var(--shadow);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 0;
  font-size: 1rem;
  color: var(--text-color);
  border: none;
  border-bottom: 2px solid var(--text-light);
  background: transparent;
  outline: none;
  transition: var(--transition);
}

.form-group textarea {
  height: 100px;
  resize: none;
}

.form-group label {
  position: absolute;
  top: 1rem;
  left: 0;
  color: var(--text-light);
  pointer-events: none;
  transition: var(--transition);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -1.2rem;
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 600;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
}

.btn-block {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.section-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.section-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 70px;
}

.section-divider .shape-fill {
  fill: var(--white);
}

[data-theme="dark"] .section-divider .shape-fill {
  fill: var(--light-color);
}

.skill-tags-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  margin-top: 2rem;
}

.skill-tag {
  background: #f8fafc;
  color: #1e293b;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.skill-tag:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(26, 42, 108, 0.2);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1100px;
  margin: 4rem auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  background: linear-gradient(
    to bottom,
    var(--primary-color),
    var(--accent-color),
    var(--primary-color)
  );
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  opacity: 0.3;
}

.timeline-item {
  padding: 30px 60px;
  position: relative;
  width: 50%;
  z-index: 1;
}

/* Timeline Dots */
.timeline-item::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--white);
  border: 4px solid var(--primary-color);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  transition: var(--transition);
}

.timeline-item:nth-child(odd)::after {
  right: -10px;
}

.timeline-item:nth-child(even)::after {
  left: -10px;
}

.timeline-item:hover::after {
  background: var(--accent-color);
  transform: translateY(-50%) scale(1.2);
  box-shadow: 0 0 15px var(--accent-color);
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-date {
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 12px;
  font-size: 1.3rem;
  letter-spacing: 1px;
}

.timeline-content {
  background: var(--white);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.timeline-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  color: var(--dark-color);
}

.timeline-content h4 {
  font-size: 1.05rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.timeline-content p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 20px;
    text-align: left !important;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-item::after {
    left: 21px !important;
    right: auto !important;
  }

  .timeline-content {
    padding: 2rem;
  }
}

/* Professional Development Section */
.dev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.dev-card {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dev-card:hover {
  transform: translateY(-10px);
  background: var(--primary-color);
  color: var(--white);
}

.dev-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  transition: var(--transition);
}

.dev-card:hover .dev-icon {
  color: var(--white);
  transform: scale(1.1);
}

.dev-card h4 {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.dev-card:hover h4 {
  color: var(--white);
}

.dev-card ul {
  list-style: none;
  width: 100%;
}

.dev-card ul li {
  margin-bottom: 0.8rem;
  padding: 0.8rem;
  background: var(--light-color);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.dev-card:hover ul li {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.linkedin-link {
  color: #0077b5;
  font-weight: 700;
  text-decoration: underline;
}

.linkedin-link:hover {
  color: var(--primary-color);
}

/* Services Section */
.services-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 3.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}

.overview-text {
  font-size: 1.25rem;
  color: var(--dark-color);
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.service-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
  align-items: center;
}

.service-info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  width: auto;
  text-align: center;
}

.service-info-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.service-info-item p {
  color: var(--text-light);
  font-size: 1rem;
}

.services-provided-box {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.services-provided-box h4 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.service-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tag {
  background: var(--light-color);
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-color);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.tag:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-items-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  margin-top: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
  width: 30px;
  text-align: center;
}

.social-links {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0077b5;
  padding: 1rem 2rem;
  border-radius: 50px;
  color: var(--white);
  font-weight: 700;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 119, 181, 0.2);
}

.social-links a::after {
  content: "";
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: -100%;
  transform: skewX(-45deg);
  transition: 0.7s;
  z-index: -1;
}

.social-links a:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 119, 181, 0.4);
}

.social-links a:hover::after {
  left: 100%;
}

.contact-image img {
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Footer */
footer {
  padding: 6rem 0 3rem;
  background-color: #0c1222;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 2rem;
  font-size: 1.2rem;
  position: relative;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
}

.footer-mission {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-top: 1.5rem;
  line-height: 1.8;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact i {
  width: 20px;
  text-align: center;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 0.9rem;
  opacity: 0.6;
}

.footer-social a {
  font-size: 1.5rem;
  color: var(--white);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-social a:hover {
  opacity: 1;
  transform: translateY(-3px);
  color: #0077b5;
}

/* Responsive Update for Footer */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Animations Trigger Classes */
.active-hamburger .bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
  background-color: var(--primary-color);
}
.active-hamburger .bar:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}
.active-hamburger .bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
  background-color: var(--primary-color);
}

[data-reveal] {
  opacity: 0;
  transition: 1s cubic-bezier(0.5, 0, 0, 1);
}

[data-reveal="bottom"] {
  transform: translateY(50px);
}
[data-reveal="left"] {
  transform: translateX(-50px);
}
[data-reveal="right"] {
  transform: translateX(50px);
}
[data-reveal="fade"] {
  transform: scale(0.95);
}

[data-reveal].active {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Responsive */
@media (max-width: 992px) {
  .nav-links,
  .lang-switcher {
    display: none;
  }
  .hamburger {
    display: block;
  }

  .hero-section h1 {
    font-size: 3rem;
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .timeline::after {
    left: 40px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 80px;
    padding-right: 20px;
    text-align: left !important;
  }
  .timeline-item:nth-child(even) {
    left: 0%;
  }

  .hero-section {
    background-position: center 10%;
  }
}

@media (max-width: 600px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  .hero-btns {
    flex-direction: column;
  }
  .section-title {
    font-size: 2rem;
  }
  .footer-content {
    justify-content: center;
    text-align: center;
  }
}

/* Legal Page Styles */
.pt-nav {
  padding-top: 100px;
}

.legal-content-card {
  background: var(--white);
  padding: 4rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  max-width: 900px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.legal-section p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1rem;
}

.footer-legal-link {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
  margin-left: 5px;
}

.footer-legal-link:hover {
  color: var(--white);
  text-decoration: underline;
}

[data-theme="dark"] .legal-content-card {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .legal-content-card {
    padding: 2rem;
  }
}
