:root {
  --primary-color: #385D8D;
  --hover-color: orange;
  --bg-color: #f5f5f7;
  --button-bg-color: black;
  --button-text-color: white;

  --font-size-small: 12px;
  --font-size-medium: 14px;
  --font-size-large: 20px;
  --font-size-xlarge: 28px;
  --font-size-xxlarge: 40px;

  --border-radius: 5px;
  --transition-speed: 0.3s;

  --padding-large: 15px 50px;
  --icon-size: 20px;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: var(--bg-color);
  color: #333;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: white;
  transition: color var(--transition-speed);
}

header {
  background-color: var(--primary-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.container {
  max-width: 1224px;
  width: 92%;
  margin: 0 auto;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
}

.logo {
  font-size: var(--font-size-xlarge);
  font-weight: bold;
  height: 50px;
  width: 50px;
}

.nav-menu {
  display: flex;
  gap: 50px;
  align-items: center;
}

.nav-link {
  font-size: var(--font-size-medium);
}

.nav-link:hover {
  color: var(--hover-color);
}


.btn-registro,
.btn-login {
  display: inline-flex;
  align-items: center;
  border-radius: var(--border-radius);
  text-decoration: none;
  gap: 6px;
  font-size: var(--font-size-medium);
  padding: 6px 12px;
}

.btn-registro {
  background-color: white;
  color: black;
}

.btn-login {
  background-color: var(--button-bg-color);
  color: var(--button-text-color);
}


.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: white;
  transition: all var(--transition-speed);
}

@media (min-width: 1400px) {
  .about-text {
    max-width: 1200px;
    font-size: var(--font-size-xxlarge);
  }
}

@media (max-width: 1024px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: #4673ae;
    width: 100%;
    text-align: center;
    gap: 30px;
    padding: 30px;
    transition: left var(--transition-speed);
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

.hero-sectionM {
  background: url('../img/metaclasehero.jpeg') center/cover no-repeat;
  height: 100%;
}

.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  /* height: 100vh; */
  padding-top: 80px;
}

.hero {
  text-align: center;
  max-width: 600px;
  padding: 40px 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.hero-title {
  font-size: var(--font-size-xxlarge);
  font-weight: bold;
}

.hero-subtitle {
  font-size: var(--font-size-xlarge);
  color: gray;
}

.btn-download {
  background-color: var(--button-bg-color);
  color: var(--button-text-color);
  padding: var(--padding-large);
  border-radius: var(--border-radius);
  font-size: var(--font-size-medium);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-speed);
}

.btn-download:hover {
  background-color: #222;
}

.scroll-down-icon {
  color: black;
  animation: bounceDown 1.5s infinite;
}

@keyframes bounceDown {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(6px);
  }

  60% {
    transform: translateY(3px);
  }
}


.feature-section {
  display: flex;
  justify-content: center;
  align-items: center;
  /* height: 100vh; */
  padding-top: 20px;
  padding-bottom: 50px;
}

.feature {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.mac-window {
  background-color: var(--bg-color);
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 700px;
  overflow: hidden;
}

.mac-header {
  background: #e0e0e0;
  height: 30px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  position: relative;
}

.mac-header .btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
  display: inline-block;
}

.btn.red {
  background-color: #ff605c;
}

.btn.yellow {
  background-color: #ffbd44;
}

.btn.green {
  background-color: #00ca4e;
}

.mac-header .title {
  position: absolute;
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: #555;
  pointer-events: none;
}

.mac-content {
  background-color: white;
  padding: 10px;
}

.img-preview {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  max-height: 300px;
}


.section-about {
  font-family: Arial, sans-serif;
}

.banner {
  position: relative;
  width: 100%;
}

.banner-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.banner-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: var(--font-size-xxlarge);
  font-weight: bold;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.about-wrapper {
  background: url('../img/metaclaseGraf.jpg') center/cover no-repeat;
  min-height: 75vh;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}

.about-text {
  max-width: 700px;
  padding: 20px 30px;
  border-radius: 15px;
  font-size: var(--font-size-large);
  line-height: 1.6;
  color: #000;
}


.icon {
  width: 80px;
  height: 80px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-left {
  background-image: url('../img/leaf-left.png');
}

.icon-right {
  background-image: url('../img/leaf-right.png');
}


@media screen and (max-width: 768px) {
  .banner-title {
    font-size: var(--font-size-xlarge);
    padding: 0 10px;
  }

  .banner-img {
    height: 400px;
  }

  .about-text {
    font-size: 18px;
    padding: 20px;
  }

  .icon {
    width: 50px;
    height: 50px;
  }

  .about-wrapper {
    flex-direction: column;
  }


  .hero-sectionM,
  .about-wrapper,
  .download-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: url('../img/metaclaseMobile.jpg') center/cover no-repeat !important;

  }
}

@media (min-width: 2560px),
(min-width: 1400px) {
  .about-text {
    max-width: 1600px;
    font-size: 29px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .banner-title {
    font-size: var(--font-size-medium);
  }

  .banner-img {
    height: 300px;
  }

  .about-text {
    font-size: var(--font-size-small);
  }

  .icon {
    display: none;
  }

  .download-title {
    font-size: var(--font-size-xlarge);
  }

  .download-btn img {
    height: 120px;
  }

  .robot-image img {
    max-width: 200px;
  }
}


.download-section {
  background-color: var(--bg-color);
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url('../img/metaclasehero.jpeg') center/cover no-repeat;
  min-height: 100vh;
}

.download-container {
  max-width: 800px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.download-title {
  font-size: var(--font-size-xxlarge);
  font-weight: bold;
  color: #000;
}

.download-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  /* height: 150px; */
  margin-bottom: 40px;
}

.download-btn {
  width: 160px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  padding: 0;
}

.download-btn img {
  width: 100%;
  height: 100%;
  transition: transform 0.2s;
  border-radius: 8px;
}

.download-btn img:hover {
  transform: scale(1.05);
}


.robot-image img {
  max-width: 300px;
  width: 100%;
  height: auto;
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
  }
}