:root {
  --primary-color: #000000;
  --secondary-color: #0a0a0a;
  --accent-color: #000000;
  --text-color: #ffffff;
  --text-secondary: #cccccc;
  --border-color: #333333;
  --font-primary: "Montserrat", sans-serif;
  --facebook-color: #1877f2;
  --instagram-color: #e1306c;
  --twitter-color: #1da1f2;
  --linkedin-color: #0077b5;
  --youtube-color: #ff0000;
  --whatsapp-color: #25d366;
  --error-color: #ef4444;
  --success-color: #10b981;
}

.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  background-color: var(--primary-color);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 2;
}

.hero-left {
  width: 40%;
  padding-left: 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 5;
}

.contact-label {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 20px;
  position: relative;
  padding-left: 30px;
}

.contact-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  background-color: var(--accent-color);
  transform: translateY(-50%);
}

.hero-title {
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 5px;
  color: var(--text-color);
}

.rubik-text-container {
  position: relative;
  height: 80px;
  margin-bottom: 25px;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.rubik-text {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.rubik-text-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent-color);
  opacity: 0;
  transform-origin: center center;
  transform: rotateX(-90deg) translateZ(40px);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backface-visibility: hidden;
}

.rubik-text-item.active {
  opacity: 1;
  transform: rotateX(0deg) translateZ(0);
}

.rubik-text-item.previous {
  transform: rotateX(90deg) translateZ(40px);
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
}

.contact-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 50%;
  height: 30px;
  width: 1px;
  background-color: var(--border-color);
  transform: translateY(-50%);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 12px 25px;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  transition: all 0.3s ease;
  width: fit-content;
}

.scroll-btn:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

.scroll-btn svg {
  transition: transform 0.3s ease;
}

.scroll-btn:hover svg {
  transform: translateY(3px);
}

.robot-fullscreen-container {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  z-index: 3;
}

.robot-fullscreen-container spline-viewer {
  width: 100%;
  height: 100%;
  border: none;
}

.model-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.model-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Ocultar el logo azul "Built with Spline" */
.robot-fullscreen-container iframe,
.robot-fullscreen-container spline-viewer {
  position: relative;
}

/* Estilos adicionales para el spline-viewer */
.robot-fullscreen-container spline-viewer::part(logo) {
  display: none !important;
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

.particle {
  position: absolute;
  background-color: var(--accent-color);
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
}

.geometric-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.geo-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  height: 1px;
  opacity: 0.2;
}

.line-1 {
  width: 100%;
  top: 20%;
  animation: lineMove 15s infinite alternate ease-in-out;
}

.line-2 {
  width: 80%;
  bottom: 30%;
  right: 0;
  animation: lineMove 20s infinite alternate-reverse ease-in-out;
}

.geo-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--accent-color);
  opacity: 0.1;
}

.circle-1 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  aspect-ratio: 1 / 1 !important;
  box-sizing: content-box !important;
  top: -150px;
  right: 10%;
  animation: rotate 30s linear infinite;
}

.circle-2 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  aspect-ratio: 1 / 1 !important;
  box-sizing: content-box !important;
  bottom: 10%;
  left: 5%;
  animation: rotate 20s linear infinite reverse;
}

@keyframes lineMove {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(30px);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes rubikIn {
  0% {
    transform: rotateX(-90deg) translateZ(40px);
    opacity: 0;
  }

  100% {
    transform: rotateX(0deg) translateZ(0);
    opacity: 1;
  }
}

@keyframes rubikOut {
  0% {
    transform: rotateX(0deg) translateZ(0);
    opacity: 1;
  }

  100% {
    transform: rotateX(90deg) translateZ(40px);
    opacity: 0;
  }
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }

  25% {
    transform: translateY(-20px) translateX(10px) rotate(90deg);
  }

  50% {
    transform: translateY(0) translateX(20px) rotate(180deg);
  }

  75% {
    transform: translateY(20px) translateX(10px) rotate(270deg);
  }

  100% {
    transform: translateY(0) translateX(0) rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 0.6;
  }
}

.contact-section {
  padding: 120px 0;
  background-color: var(--primary-color);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.section-subtitle {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
}

.title-decoration {
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
}

.title-decoration::before,
.title-decoration::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-color);
  top: 50%;
  transform: translateY(-50%);
}

.title-decoration::before {
  left: -15px;
}

.title-decoration::after {
  right: -15px;
}

.social-carousel-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 50px;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.social-carousel-container::before,
.social-carousel-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.social-carousel-container::before {
  left: 0;
  background: linear-gradient(90deg, var(--primary-color), transparent);
}

.social-carousel-container::after {
  right: 0;
  background: linear-gradient(270deg, var(--primary-color), transparent);
}

.social-carousel {
  display: flex;
  animation: carousel 30s linear infinite;
  width: max-content;
  padding-right: 40px;
}

.social-carousel::after {
  content: "";
  display: block;
  width: 40px;
}

.social-slide {
  padding: 0 20px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-slide:hover {
  transform: translateY(-10px);
}

.social-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 20px;
  background: rgba(15, 16, 21, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: var(--text-color);
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.social-icon:hover::before {
  opacity: 1;
}

.social-icon svg {
  margin-bottom: 10px;
  transition: all 0.3s ease;
  z-index: 1;
}

.social-icon span {
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  z-index: 1;
}

.social-icon.facebook:hover {
  background: linear-gradient(135deg, var(--facebook-color), #0d47a1);
  border-color: var(--facebook-color);
  box-shadow: 0 10px 25px rgba(24, 119, 242, 0.4);
  transform: translateY(-5px) scale(1.05);
}

.social-icon.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: var(--instagram-color);
  box-shadow: 0 10px 25px rgba(225, 48, 108, 0.4);
  transform: translateY(-5px) scale(1.05);
}

.social-icon.twitter:hover {
  background: linear-gradient(135deg, var(--twitter-color), #0c85d0);
  border-color: var(--twitter-color);
  box-shadow: 0 10px 25px rgba(29, 161, 242, 0.4);
  transform: translateY(-5px) scale(1.05);
}

.social-icon.linkedin:hover {
  background: linear-gradient(135deg, var(--linkedin-color), #00669c);
  border-color: var(--linkedin-color);
  box-shadow: 0 10px 25px rgba(0, 119, 181, 0.4);
  transform: translateY(-5px) scale(1.05);
}

.social-icon.youtube:hover {
  background: linear-gradient(135deg, var(--youtube-color), #cc0000);
  border-color: var(--youtube-color);
  box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4);
  transform: translateY(-5px) scale(1.05);
}

.social-icon.whatsapp:hover {
  background: linear-gradient(135deg, var(--whatsapp-color), #128c7e);
  border-color: var(--whatsapp-color);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transform: translateY(-5px) scale(1.05);
}

.contact-table-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: rgba(15, 16, 21, 0.5);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.contact-table-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.form-group {
  position: relative;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-color);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-wrapper select {
  width: 100%;
  padding: 15px 20px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-color);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  appearance: none;
  cursor: pointer;
  padding-right: 40px;
}

.custom-select-wrapper select:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.custom-select-wrapper .select-icon {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  pointer-events: none;
  transition: transform 0.3s ease;
}

.custom-select-wrapper select:focus + .select-icon {
  transform: translateY(-50%) rotate(180deg);
}

.custom-select-wrapper .select-icon svg {
  color: var(--accent-color);
  width: 16px;
  height: 16px;
}

.custom-select-wrapper select option {
  background-color: #121218;
  color: var(--text-color);
  padding: 15px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.radio-group {
  display: flex;
  gap: 30px;
  margin-top: 5px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked {
  border-color: var(--accent-color);
}

.radio-option input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--accent-color);
  animation: radioScale 0.3s ease;
}

@keyframes radioScale {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.radio-option label {
  margin-bottom: 0;
  cursor: pointer;
}

.checkbox-group {
  margin-top: 10px;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"] {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked {
  border-color: var(--accent-color);
  background-color: var(--accent-color);
}

.checkbox-wrapper input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 7px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  animation: checkboxScale 0.3s ease;
}

@keyframes checkboxScale {
  0% {
    transform: rotate(45deg) scale(0);
    opacity: 0;
  }

  100% {
    transform: rotate(45deg) scale(1);
    opacity: 1;
  }
}

.checkbox-wrapper label {
  margin-bottom: 0;
  cursor: pointer;
}

.file-upload-wrapper {
  width: 100%;
}

.file-upload-input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.file-upload-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-upload-box:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-color);
}

.file-upload-box svg {
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.file-upload-box:hover svg {
  transform: translateY(-3px);
}

.file-name {
  color: var(--text-color);
  font-size: 0.95rem;
}

.file-info {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
}

.submit-container {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: 1;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
}

.submit-btn:hover::before {
  transform: translateX(100%);
}

.submit-btn span,
.submit-btn svg {
  position: relative;
  z-index: 2;
}

.submit-btn svg {
  transition: transform 0.3s ease;
}

.submit-btn:hover svg {
  transform: translateX(5px);
}

.error-message {
  color: var(--error-color);
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.error-input {
  border-color: var(--error-color) !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1) !important;
}

.form-success,
.form-error {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 16, 21, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  z-index: 10;
  border-radius: 20px;
}

.form-success.active,
.form-error.active {
  opacity: 1;
  visibility: visible;
}

.form-success svg {
  color: var(--success-color);
  margin-bottom: 30px;
}

.form-error svg {
  color: var(--error-color);
  margin-bottom: 30px;
}

.form-success h3,
.form-error h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-color);
}

.form-success p,
.form-error p {
  color: var(--text-secondary);
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.close-success-btn,
.close-error-btn {
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-success-btn:hover,
.close-error-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.login-required-message {
  text-align: center;
  padding: 50px 20px;
}

.login-icon {
  margin-bottom: 20px;
  color: var(--accent-color);
  animation: pulse 2s infinite;
}

.login-required-message h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-color);
}

.login-required-message p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 30px;
}

.login-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.login-btn,
.register-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-top: 15px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  width: 160px;
  height: 48px;
  box-sizing: border-box;
}

.login-btn {
  background-color: var(--accent-color);
  color: white;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

.login-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
}

.register-btn {
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.register-btn:hover {
  transform: translateY(-3px);
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Contador de caracteres */
.character-counter {
  text-align: right;
  font-size: 0.875rem;
  color: #666;
  margin-top: 5px;
  margin-bottom: 10px;
}

@keyframes carousel {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-120px * 7 - 40px * 7));
  }
}

@media (max-width: 1200px) {
  .hero-left {
    padding-left: 5%;
    width: 45%;
  }

  .robot-fullscreen-container {
    width: 65%;
  }

  .hero-title {
    font-size: 4rem;
  }

  .rubik-text-item {
    font-size: 3.5rem;
  }

  .contact-stats {
    gap: 30px;
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 1024px) {
  .hero-section {
    height: auto;
    min-height: 100vh;
    padding: 20px 0;
  }

  .hero-content {
    flex-direction: column;
    padding: 0;
    gap: 0;
  }

  .hero-left {
    width: 100%;
    padding: 0 5%;
    text-align: center;
    margin: 0;
    order: 2;
  }

  .robot-fullscreen-container {
    width: 100%;
    height: 60vh; /* Much larger robot container for better prominence */
    position: relative;
    order: 1;
    margin-bottom: 20px;
  }

  .contact-label {
    padding-left: 0;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
  }

  .contact-label::before {
    display: none;
  }

  .hero-title {
    font-size: 4rem;
    margin-bottom: 10px;
  }

  .rubik-text-item {
    font-size: 3.5rem;
  }

  .rubik-text-container {
    height: 70px;
    margin-bottom: 20px;
  }

  .hero-description {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 0 20px;
  }

  .contact-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
  }

  .stat-item {
    min-width: 100px;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .scroll-btn {
    margin: 0 auto;
    display: inline-flex;
  }

  .contact-section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .contact-table-container {
    margin: 0 20px;
    padding: 35px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .social-carousel-container {
    margin: 0 20px 50px;
  }

  .geometric-elements {
    opacity: 0.3;
  }
}

@media (max-width: 992px) {
  .hero-section {
    padding: 15px 0;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .rubik-text-item {
    font-size: 3rem;
  }

  .robot-fullscreen-container {
    height: 55vh; /* Still prominent on smaller tablets */
  }

  .contact-table-container {
    padding: 30px;
  }

  .section-title {
    font-size: 2.3rem;
  }

  .social-icon {
    width: 90px;
    height: 90px;
  }

  .social-icon span {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: auto;
    min-height: 100vh;
    padding: 10px 0;
  }

  .hero-title {
    font-size: 3rem;
    margin-bottom: 8px;
  }

  .rubik-text-item {
    font-size: 2.5rem;
  }

  .rubik-text-container {
    height: 60px;
    margin-bottom: 15px;
  }

  .hero-left {
    width: 100%;
    padding: 0 20px;
    text-align: center;
    order: 2;
  }

  .hero-content {
    flex-direction: column;
    padding: 0;
    gap: 0;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
    padding: 0 10px;
  }

  .robot-fullscreen-container {
    position: relative;
    width: 100%;
    height: 50vh; /* Large robot container for mobile */
    order: 1;
    margin-bottom: 15px;
  }

  .contact-label {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
  }

  .scroll-btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }

  .contact-section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 60px;
    padding: 0 20px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-subtitle {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }

  .contact-table-container {
    padding: 25px 20px;
    margin: 0 15px;
    border-radius: 15px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="tel"],
  .form-group textarea,
  .custom-select-wrapper select {
    padding: 14px 18px;
    font-size: 0.95rem;
  }

  .form-group label {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }

  .radio-group {
    flex-direction: column;
    gap: 12px;
  }

  .submit-btn {
    padding: 16px 30px;
    font-size: 0.95rem;
  }

  .social-carousel-container {
    margin: 0 15px 40px;
    padding: 15px 0;
  }

  .social-icon {
    width: 85px;
    height: 85px;
  }

  .social-icon span {
    font-size: 0.8rem;
  }

  .contact-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
  }

  .stat-item {
    min-width: 100px;
    text-align: center;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .geometric-elements {
    opacity: 0.2;
  }

  .circle-1,
  .circle-2 {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 5px 0;
    min-height: 100vh;
  }

  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 6px;
  }

  .rubik-text-item {
    font-size: 2rem;
  }

  .rubik-text-container {
    height: 50px;
    margin-bottom: 12px;
  }

  .hero-description {
    font-size: 0.9rem;
    padding: 0 15px;
    margin-bottom: 20px;
    line-height: 1.4;
  }

  .hero-left {
    padding: 0 15px;
  }

  .hero-content {
    padding: 0;
    gap: 0;
  }

  .robot-fullscreen-container {
    height: 45vh; /* Prominent robot on small mobile */
    margin-bottom: 10px;
  }

  .contact-label {
    font-size: 0.7rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
  }

  .scroll-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .contact-stats {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .contact-section {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 40px;
    padding: 0 15px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
  }

  .contact-table-container {
    padding: 20px 15px;
    margin: 0 10px;
    border-radius: 12px;
  }

  .form-grid {
    gap: 15px;
  }

  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="tel"],
  .form-group textarea,
  .custom-select-wrapper select {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .form-group label {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }

  .form-group textarea {
    min-height: 100px;
  }

  .submit-btn {
    padding: 14px 25px;
    font-size: 0.9rem;
  }

  .social-carousel-container {
    margin: 0 10px 30px;
    padding: 10px 0;
  }

  .social-icon {
    width: 75px;
    height: 75px;
  }

  .social-icon span {
    font-size: 0.75rem;
  }

  .social-carousel {
    animation-duration: 25s;
  }

  .radio-group {
    gap: 10px;
  }

  .radio-option {
    gap: 8px;
  }

  .radio-option input[type="radio"],
  .checkbox-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
  }

  .character-counter {
    font-size: 0.75rem;
  }

  .file-info {
    font-size: 0.75rem;
  }

  .file-upload-box {
    padding: 15px;
  }

  .login-required-message {
    padding: 40px 15px;
  }

  .login-required-message h3 {
    font-size: 1.5rem;
  }

  .login-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .login-btn,
  .register-btn {
    width: 100%;
    padding: 12px 20px;
  }
}

/* Enhanced extra small screens with better robot prominence */
@media (max-width: 360px) {
  .hero-section {
    padding: 5px 0;
    min-height: 100vh;
  }

  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 5px;
  }

  .rubik-text-item {
    font-size: 1.8rem;
  }

  .rubik-text-container {
    height: 45px;
    margin-bottom: 10px;
  }

  .hero-description {
    font-size: 0.85rem;
    padding: 0 12px;
    margin-bottom: 18px;
    line-height: 1.3;
  }

  .hero-left {
    padding: 0 12px;
  }

  .hero-content {
    padding: 0;
    gap: 0;
  }

  .robot-fullscreen-container {
    height: 42vh; /* Still prominent on very small screens */
    margin-bottom: 8px;
  }

  .contact-label {
    font-size: 0.65rem;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
  }

  .contact-stats {
    gap: 12px;
    margin-bottom: 18px;
  }

  .stat-number {
    font-size: 1.8rem;
  }
}
