:root {
   --primary-color: #1c8c94;
  --secondary-color: #f0c514;
  --accent-color: linear-gradient(135deg, #1c4487 0%, #2a6f8e 25%, #2c8c94 50%, #369b94 75%, #3db090 100%);
  --dark-color: #1a2b3c;
  --light-color: #f8f9fa;
  --text-color: #333;
  --text-light: #6c757d;
  --highlight-color: #3db090;
  --transition: all 0.3s ease;
}
.highlight {
  color: var(--highlight-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.boton {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  text-align: center;
}

.boton:hover {
  background-color: #156a72;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.boton-primary {
  background-color: var(--primary-color);
}

.boton-secondary {
  background-color: var(--secondary-color);
  color: #333;
}

.boton-text {
  background: none;
  color: var(--primary-color);
  padding: 0;
  font-weight: 600;
}

.boton-text:hover {
  transform: none;
  box-shadow: none;
  color: #156a72;
}

.boton-icon i {
  margin-left: 8px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.section-subtitle {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-description {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-light);
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.divider-line {
  height: 1px;
  width: 80px;
  background-color: #ddd;
}

.divider-icon {
  margin: 0 15px;
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* Hero Section */
.water-energy-hero {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(135deg, #1a2b3c 0%, #1c8c94 100%);
  color: white;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.water-energy-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

/* Nexus Explanation Section */
.nexus-explanation {
  padding: 100px 0;
  background-color: #fff;
}

.nexus-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.nexus-text {
  flex: 1;
}

.nexus-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.nexus-stats {
  display: flex;
  gap: 30px;
  margin: 30px 0;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.nexus-diagram {
  flex: 1;
  position: relative;
}

.diagram-container {
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nexus-svg {
  width: 100%;
  height: 100%;
}

.water-path, .energy-path {
  stroke-linecap: round;
}

.water-node, .energy-node, .connection-point {
  transition: var(--transition);
}

.water-node:hover, .energy-node:hover, .connection-point:hover {
  transform: scale(1.2);
  cursor: pointer;
}

.diagram-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.water-color {
  background-color: #1c8c94;
}

.energy-color {
  background-color: #f0c514;
}

.connection-color {
  background-color: #3db090;
}

/* Solutions Section */
.nexus-solutions {
  padding: 100px 0;
  background-color: #f8f9fa;
}

.solutions-tabs {
  margin-top: 50px;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 24px;
  background-color: #e9ecef;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  background-color: #dee2e6;
}

.tab-btn.active {
  background-color: var(--primary-color);
  color: white;
}

.tab-contents {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.solution-card {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid #eee;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.solution-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(28, 140, 148, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.solution-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.solution-card p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.solution-features {
  margin-bottom: 20px;
  list-style: none;
}

.solution-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.solution-features i {
  color: var(--primary-color);
}

/* Benefits Section */
.nexus-benefits {
  padding: 100px 0;
  background-color: white;
}

.benefits-container {
  display: flex;
  gap: 50px;
  align-items: center;
}

.benefits-visual {
  flex: 1;
  position: relative;
  height: 500px;
}

.nexus-animation {
  position: relative;
  width: 100%;
  height: 100%;
}

.water-drop {
  position: absolute;
  top: 20%;
  left: 30%;
  width: 80px;
  height: 80px;
}

.drop-shape {
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: dropPulse 3s infinite ease-in-out;
}

.ripple {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: ripple 3s infinite ease-in-out;
  opacity: 0;
}

.energy-bolt {
  position: absolute;
  bottom: 20%;
  right: 30%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 3rem;
  animation: boltPulse 2s infinite ease-in-out;
}

.connection-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  transform: translateY(-50%);
}

.value-bubbles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.value-bubble {
  position: absolute;
  width: 100px;
  height: 100px;
  background-color: rgba(61, 176, 144, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bubbleFloat 8s infinite ease-in-out;
}

.value-bubble:nth-child(2) {
  animation-delay: 1s;
}

.value-bubble:nth-child(3) {
  animation-delay: 2s;
}

.value-bubble:nth-child(4) {
  animation-delay: 3s;
}

.value-bubble span {
  font-weight: 600;
  color: var(--dark-color);
  text-align: center;
}

.benefits-list {
  flex: 1;
}

.benefit-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.benefit-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(28, 140, 148, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.benefit-content {
  flex: 1;
}

.benefit-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.benefit-content p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.benefit-stats {
  display: flex;
  gap: 20px;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* CTA Section */
.nexus-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a2b3c 0%, #1c8c94 100%);
  color: white;
}

.cta-container {
  display: flex;
  gap: 50px;
  align-items: center;
}

.cta-content {
  flex: 1;
}

.cta-subtitle {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-text {
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-features {
  margin-top: 40px;
}

.feature-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.feature-text p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Mobile-First Form Styles */
.cta-form {
  flex: 1;
  background-color: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.form-header {
  margin-bottom: 25px;
  text-align: center;
}

.form-header h3 {
  font-size: clamp(1.5rem, 5vw, 1.8rem);
  color: var(--dark-color);
  margin-bottom: 10px;
  line-height: 1.3;
}

.form-header p {
  color: var(--text-light);
  font-size: clamp(0.9rem, 3vw, 1rem);
}

.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 16px;
  transition: var(--transition);
  -webkit-appearance: none;
  background-color: #fff;
}

/* Improved mobile input styling */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"] {
  height: 50px;
}

.form-group select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.form-group label {
  position: absolute;
  top: 14px;
  left: 15px;
  color: var(--text-light);
  transition: var(--transition);
  pointer-events: none;
  background-color: white;
  padding: 0 5px;
  font-size: 16px;
}

/* Floating label effect */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(28, 140, 148, 0.2);
}

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 10px;
  font-size: 12px;
  color: var(--primary-color);
  background-color: white;
  padding: 0 5px;
}

/* Form button styles */
.form-footer {
  margin-top: 25px;
}

.btn-block {
  display: block;
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  transition: var(--transition);
}

/* Form validation styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #e74c3c;
}

.form-group.error label {
  color: #e74c3c;
}

.error-message {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 5px;
  display: block;
}

/* Form disclaimer */
.form-disclaimer {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  line-height: 1.4;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .cta-form {
    padding: 30px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 16px 20px;
  }
  
  .form-group label {
    top: 16px;
    left: 20px;
  }
}

/* Mobile-specific enhancements */
@media (max-width: 480px) {
  .cta-form {
    padding: 20px 15px;
    border-radius: 6px;
  }
  
  .form-header h3 {
    font-size: 1.4rem;
  }
  
  .form-group input,
  .form-group select {
    height: 48px;
    padding: 12px 15px;
  }
  
  .form-group textarea {
    min-height: 100px;
  }
  
  .btn-block {
    padding: 14px;
  }
  
  /* Improve iOS input styling */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  textarea,
  select {
    -webkit-border-radius: 6px;
    -webkit-appearance: none;
    font-size: 16px; /* Prevent iOS zoom */
  }
  
  /* Fix date input on mobile */
  input[type="date"] {
    min-height: 48px;
  }
  
  /* Improve select dropdown appearance */
  select {
    line-height: 1.3;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .cta-form {
    background-color: #2d3748;
    color: #f8f9fa;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    background-color: #4a5568;
    color: #f8f9fa;
    border-color: #4a5568;
  }
  
  .form-group label {
    background-color: #2d3748;
    color: #a0aec0;
  }
  
  .form-header h3 {
    color: #f8f9fa;
  }
  
  .form-header p {
    color: #a0aec0;
  }
}
/* FAQ Section */
.nexus-faq {
  padding: 100px 0;
  background-color: #f8f9fa;
}

.faq-container {
  display: flex;
  gap: 30px;
}

.faq-column {
  flex: 1;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  padding: 20px;
  background-color: white;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: #f8f9fa;
}

.faq-question i {
  transition: var(--transition);
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  background-color: white;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  padding: 20px;
  max-height: 1000px;
}

.faq-answer p {
  margin-bottom: 15px;
}

.faq-answer ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

.faq-answer li {
  margin-bottom: 8px;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  background-color: white;
  border-radius: 8px;
  max-width: 800px;
  width: 90%;
  padding: 40px;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--primary-color);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Animations */
@keyframes dropPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes ripple {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

@keyframes boltPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes bubbleFloat {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .nexus-content,
  .benefits-container,
  .cta-container {
    flex-direction: column;
  }
  
  .nexus-diagram,
  .benefits-visual {
    width: 100%;
    margin-bottom: 50px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .water-energy-hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .faq-container {
    flex-direction: column;
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header {
    margin-bottom: 30px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .water-energy-hero h1 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
 
}

@media (max-width: 576px) {
  .tab-buttons {
    flex-direction: column;
  }
  
  .tab-btn {
    width: 100%;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .water-energy-hero h1 {
    font-size: 1.8rem;
  }
  
  .stat-value {
    font-size: 2rem;
  }
  
}