* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

.header {
  background: #04DEC9;
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.logo img {
  height: 60px;
  width: 150px;
  object-fit: contain;
}

.nav-buttons {
  display: flex;
  gap: 1rem;
}


.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn-outline {
  background: transparent;
  color: #04DEC9;
  border: 2px solid #04DEC9;
}

.btn-outline:hover {
  background: #04DEC9;
  color: #fff;
  transform: translateY(-2px);
}

.btn-primary {
  background: #04DEC9;
  color: white;
}

.btn-primary:hover {
  background: #03c0ad;
  transform: translateY(-2px);
}


.main-content {
  margin-top: 80px;
  padding: 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  margin-bottom: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.section:nth-child(even) {
  direction: rtl;
}

.section:nth-child(even) > * {
  direction: ltr;
}

.section-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #04DEC9;
  font-weight: 700;
}

.section-content p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.section-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.section-image:hover {
  transform: translateY(-10px);
}

.section-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}


.ml-footer {
  flex-shrink: 0;
  background-color: #04DEC9;
  color: #fff;
  padding: 3rem 2rem 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  user-select: none;
}

.ml-grid {
  display: flex;
  gap: 2rem 3rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
  align-items: center;
  justify-content: center;
}

.ml-grid img {
  width: 200px;
}

.ml-nav h3 {
  margin-bottom: 1rem;
  font-weight: 700;
  color: #fff;
}

.ml-nav ul {
  list-style: none;
}

.ml-nav ul li {
  margin-bottom: 0.75rem;
}

.ml-nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.ml-nav ul li a:hover {
  color: #f2f2f2;
}


.section {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.section:nth-child(2) {
  animation-delay: 0.2s;
}

.section:nth-child(3) {
  animation-delay: 0.4s;
}

.section:nth-child(4) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 900px) {
  .ml-grid {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .section:nth-child(even) {
    direction: ltr;
  }

  .section-content h2 {
    font-size: 2rem;
  }

  .nav-buttons {
    gap: 0.5rem;
  }

  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
}


.perfil-img {
  width: 300px;
  height: 250px;
  object-fit: cover;
  border-radius: 20px;
}


.hero-img {
  width: 70%;
  max-width: 800px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.hero-img.show {
  opacity: 1;
  transform: translateY(0);
}

.hero .container {
  padding-top: 100px; 
}

.hero {
  position: relative;
  z-index: 1;
}


.hero h1,
.hero p {
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}


.floating-img {
  max-width: 50%;       
  transition: transform 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}