/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #101010;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Header Styles */
.header {
  position: relative;
  z-index: 50;
  padding: 1.5rem 1rem;
  background: linear-gradient(to bottom, #7633E3, #E1AFCC);
}


@media (min-width: 768px) {
  .header {
    padding: 1.5rem 2rem;
  }
}

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

.logo-img {
  height: 2rem;
}

@media (min-width: 768px) {
  .logo-img {
    height: 2.5rem;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
  padding-right:5%;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1.5rem;
  font-weight: 650;
    z-index: 3;
}

.nav-link:hover {
  color: #67e8f9;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.hamburger-line {
  display: block;
  width: 1.5rem;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
  margin: 2px 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  display: block;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  max-height: 0;
  opacity: 0;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-menu.active {
  max-height: 12rem;
  opacity: 1;
}

.mobile-menu-content {
  position: fixed;
  top: 12%;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.95), rgba(139, 92, 246, 0.95));
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 1.5rem;
  z-index: 9999;
  pointer-events: auto;
}

.mobile-nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 500;
  transition: all 0.2s ease;
  transform: translateX(0);
}

.mobile-nav-link:hover {
  color: #67e8f9;
  transform: translateX(0.5rem);
}

/* Hero Section */
.hero {
  position: relative;
  height: 70vh;
  background:#06b5d400;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 9rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 12rem;
  }
}

/* Eye Section */
.eye-section {
  position: relative;
  background-color: #101010;
  padding-top: 10rem;
  padding-bottom: 10rem;
  
}

.eye-content {
  display: flex;
  flex-direction: column;
  min-height: 60vh;
}

@media (min-width: 1024px) {
  .eye-content {
    flex-direction: row;
  }
}

.eye-text {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .eye-text {
    padding: 4rem;
    font-weight: bold; 
  }
}

@media (min-width: 1024px) {
  .eye-text {
    width: 50%;
  }
}

.eye-title {
  font-family: "rama-gothic-c", sans-serif;
  font-size: 8rem;
  font-weight: 100;
  color: #fff;
  line-height: 7rem;
}

@media (min-width: 768px) {
  .eye-title {
    font-size: 8rem; 
    line-height: 7rem;
  }
}

.eye-title:last-of-type {
  margin-bottom: 2rem;
}

.eye-description {
  color: #d1d5db;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 32rem;
}

@media (min-width: 768px) {
  .eye-description {
    font-size: 1.125rem;
  }
}

.eye-image {
  height: 16rem;
  position: relative;
  width: 90%;
  display: block;      /* Asegura que se comporte como bloque */
  margin-left: auto;   /* Empuja la imagen hacia la derecha */
  margin-right: 0;     /* Ajusta para que quede alineada a la derecha */
}


@media (min-width: 1024px){
  .eye-image {
    width: 50%;
    height: auto;
  }
}

.eye-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: linear-gradient(to bottom, #54578B, #ACA8E0);
}

.services-container {
  max-width: 80rem;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .services-container {
    padding: 0 2rem;
  }

}

.services-title {
  font-family: "rama-gothic-c", sans-serif; 
  font-size: 8rem;
  font-weight:100; 
  color: #fff;
  text-align: center;
  margin-bottom: 5rem; 
  letter-spacing: 6px;
}

@media (min-width: 768px) {
  .services-title {
    font-size: 10rem;
    font-weight: 100;
    font-family: "rama-gothic-c", sans-serif; 
    letter-spacing: 2rem; 
  }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap:0rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-left: 8%;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
}

.service-card {
  text-align: left;
  width:80%; 
}

.service-icon {
  width: 5rem;
  height: 5rem;
  margin-bottom:0;  
  display: flex;
  align-items: left;
  justify-content: left;
  backdrop-filter: blur(4px);
}

.service-icon-img {
  width:5rem;
  height: auto;
  object-fit: contain;
}

.service-name {
  font-size: 3.6rem;
  font-weight: 150;
  color: #fff;
  margin-bottom: 1rem;
  margin-top:3%; 
  letter-spacing: 0.1rem;
  font-family: "rama-gothic-c", sans-serif; 
  line-height: 3rem;
}

.service-description {
  color: #C9EBFE;
  font-size: 1.3rem;
  line-height: 1.75;
  font-weight: 500;

}

/* Portfolio Section */
.portfolio {
  padding: 5rem 0;
  background-color: #000;
}

.portfolio-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .portfolio-container {
    padding: 0 2rem;
  }
}

.portfolio-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 5rem;
}

@media (min-width: 1024px) {
  .portfolio-top {
    grid-template-columns: repeat(3, 1fr);
  }
  
}

.portfolio-card {
  padding: 2rem;
  border-radius: 1rem;
}

.portfolio-card-cyan {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
}

.portfolio-card-purple {
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portfolio-card-teal {
  background: linear-gradient(135deg, #14b8a6, #06b6d4);
}

.portfolio-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.portfolio-card-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  line-height: 1.75;
}

.portfolio-brand-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.5rem;
}

.portfolio-brand-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.portfolio-brand-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
}

.portfolio-bottom {
  margin-bottom: 5rem;
}

.portfolio-grid-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3rem;
  text-align: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.portfolio-item {
  aspect-ratio: 1;
  border-radius: 0.75rem;
  overflow: hidden;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Team Section */
.team {
  padding: 5rem 0;
  background: linear-gradient(to right, #9333ea, #06b6d4);
}

.team-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .team-container {
    padding: 0 2rem;
  }
}

.team-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .team-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

.team-text {
  order: 2;
}

@media (min-width: 1024px) {
  .team-text {
    order: 1;
  }
}

.team-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2rem;
}

.team-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.team-position {
  color: #a7f3d0;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.team-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.team-skills-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.team-skills-list {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.team-skills-list p {
  margin-bottom: 0.5rem;
}

.team-image {
  order: 1;
}

@media (min-width: 1024px) {
  .team-image {
    order: 2;
  }
}

.team-img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1024px) {
  .team-img {
    height: 31.25rem;
  }
}

/* Cube Section */
.cube-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, #3333e3, #E1AFCC); 
}

.cube-container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .cube-container {
    padding: 0 2rem;
  }
}

.cube-image {
  margin-bottom: 4rem;
}
 

.cube-quote {
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.75;
  max-width: 64rem;
  margin: 0 auto;
  font-weight: 500;
  width:75%;
}

@media (min-width: 768px) {
  .cube-quote {
    font-size: 1.5rem;
  }
}

/* Partners Section */
.partners {
  padding: 5rem 0;
  background-color: #000;
}

.partners-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .partners-container {
    padding: 0 2rem;
  }
}

.partners-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 4rem;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  opacity: 0.7;
}

.partner-logo {
  height: 4rem;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0%);
}

/* Success Section */
.success {
  padding: 5rem 0;
  background: linear-gradient(135deg, #9333ea, #06b6d4);
}

.success-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .success-container {
    padding: 0 2rem;
  }
}

.success-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 4rem;
}

.success-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .success-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.success-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  padding: 2rem;
  transition: background-color 0.3s ease;
}

.success-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.success-img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

.success-card-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.success-card-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  line-height: 1.75;
}

/* Footer */



/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }

  .services-title {
    font-size:6rem;
  }

  .team-title {
    font-size: 1.875rem;
  }

  .success-title {
    font-size: 1.875rem;
  }
  .service-card {
    text-align: left;
    width:100%;
  }

  .service-card {
    text-align: center;
    width:100%;
    justify-content: center;
    padding-left: 5%;
    padding-right:5%;
    padding-bottom:10%;
  }

  .service-icon {
      width: 5rem;
      height: 5rem;
      margin-bottom: 0;
      display:inline-block;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(4px);
  }
}
