/* Variables */
:root {
  --primary-bg: #121212;
  --secondary-bg: #1E1E1E;
  --accent-primary: #4ECDC4;
  --accent-secondary: #2A9D8F;
  --text-primary: #F0F0F0;
  --text-secondary: #BBBBBB;
  --alert-color: #FF6B6B;
  --interactive: #2A9D8F;
  --card-bg: #252525;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  --transition: all 0.3s ease-in-out;
}

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

button, li {
  color: var(--text-primary);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-secondary);
}

ul, ol {
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

/* Layout Components */
.section {
  padding: 3rem 0;
  position: relative;
}

.section-divider {
  height: 80px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  clip-path: polygon(0 0, 100% 35%, 100% 100%, 0 65%);
  margin: 2rem 0;
}

/* Header */
.site-header {
  background-color: var(--secondary-bg);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--box-shadow);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 1rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
}

.mobile-nav-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

.main-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100vh;
  background-color: var(--secondary-bg);
  transition: var(--transition);
  padding: 2rem;
  z-index: 1001;
  overflow-y: auto;
}

.main-nav.is-active {
  left: 0;
}

.main-nav-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.main-nav li {
  margin-bottom: 1.5rem;
}

.main-nav a {
  color: var(--text-primary);
  font-size: 1.25rem;
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-color: var(--secondary-bg);
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem 0;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--accent-primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent-primary);
  color: var(--primary-bg);
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
}

.hero-cta:hover {
  background-color: var(--accent-secondary);
  transform: translateY(-3px);
  color: var(--primary-bg);
}

/* Card Components */
.card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
}

.card-header {
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.card-title {
  font-size: 1.5rem;
  color: var(--accent-primary);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
  display: block;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  text-align: center;
}

.service-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  background-color: var(--accent-primary);
  color: var(--primary-bg);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

/* Values Section */
.values-container {
  position: relative;
  padding: 3rem 0;
}

.values-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  object-fit: cover;
}

.values-content {
  position: relative;
  z-index: 1;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.value-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-secondary);
  color: var(--primary-bg);
  border-radius: var(--border-radius);
  margin-right: 1rem;
  font-size: 1.5rem;
}

.value-text {
  flex-grow: 1;
}

.value-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--accent-primary);
}

/* Estrategias Section */
.estrategias-section {
  padding: 4rem 0;
}

.estrategia-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.estrategia-card img {
  transition: var(--transition);
}

.estrategia-card:hover img {
  transform: scale(1.05);
}

.estrategia-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0));
}

.estrategia-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background-color: var(--accent-primary);
  color: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

/* Contact Section */
.contact-form {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

[type=color]:focus, [type=date]:focus, [type=datetime-local]:focus, [type=datetime]:focus, [type=email]:focus, [type=month]:focus, [type=number]:focus, [type=password]:focus, [type=search]:focus, [type=tel]:focus, [type=text]:focus, [type=time]:focus, [type=url]:focus, [type=week]:focus, textarea:focus {
  background-color: rgba(255, 255, 255, 0.05);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(78, 205, 196, 0.25);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent-primary);
  color: var(--primary-bg);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--accent-secondary);
  color: var(--text-primary);
}

.btn-block {
  display: block;
  width: 100%;
}

.contact-info {
  margin-top: 3rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-secondary);
  color: var(--primary-bg);
  border-radius: var(--border-radius);
  margin-right: 1rem;
  font-size: 1.25rem;
}

.contact-text {
  flex-grow: 1;
}

.contact-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 1rem;
  color: var(--text-primary);
}

/* Footer */
.site-footer {
  background-color: var(--secondary-bg);
  padding: 3rem 0 1rem;
  margin-top: auto;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 40px;
}

.footer-text {
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.footer-nav-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--accent-primary);
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--secondary-bg);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  z-index: 9999;
  display: none;
}

.cookie-consent.is-active {
  display: block;
}

.cookie-consent-content {
  margin-bottom: 1rem;
}

.cookie-consent-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.cookie-consent-text {
  margin-bottom: 1rem;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btn-accept-all {
  background-color: var(--accent-primary);
  color: var(--primary-bg);
  border: none;
}

.cookie-btn-accept-all:hover {
  background-color: var(--accent-secondary);
}

.cookie-btn-settings {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-settings:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-btn-reject-all {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject-all:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.cookie-settings-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.cookie-settings-content {
  background-color: var(--secondary-bg);
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
}

.cookie-settings-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

.cookie-settings-header {
  margin-bottom: 1.5rem;
}

.cookie-settings-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.cookie-settings-group {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-settings-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cookie-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-group-title {
  font-size: 1.25rem;
  color: var(--accent-primary);
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: var(--transition);
  border-radius: 30px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: var(--transition);
  border-radius: 50%;
}

input:checked + .cookie-slider {
  background-color: var(--accent-primary);
}

input:checked + .cookie-slider:before {
  transform: translateX(30px);
}

.cookie-group-description {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.cookie-settings-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

/* Thank You Page */
.thanks-container {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.thanks-icon {
  font-size: 5rem;
  color: var(--accent-primary);
  margin-bottom: 2rem;
}

.thanks-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-primary);
}

.thanks-text {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.back-to-home {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent-primary);
  color: var(--primary-bg);
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
}

.back-to-home:hover {
  background-color: var(--accent-secondary);
  transform: translateY(-3px);
  color: var(--primary-bg);
}

/* International Telephone Input */
.iti {
  width: 100%;
}

/* Responsive */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .services-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cookie-consent-actions {
    justify-content: flex-end;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .mobile-nav-toggle {
    display: none;
  }
  
  .main-nav {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    padding: 0;
    overflow-y: visible;
  }
  
  .main-nav-close {
    display: none;
  }
  
  .main-nav ul {
    display: flex;
    margin-top: 0;
  }
  
  .main-nav li {
    margin-bottom: 0;
    margin-left: 1.5rem;
  }
  
  .main-nav a {
    border-bottom: none;
    padding: 0;
    font-size: 1rem;
  }
  
  .nav-overlay {
    display: none;
  }
  
  .hero-content {
    max-width: 600px;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-section .grid-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
  }
  
  .contact-info {
    margin-top: 0;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Unique Hexagon Shape Design Elements */
.hexagon-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 0;
  opacity: 0.05;
}

.hexagon {
  position: absolute;
  width: 100px;
  height: 57.74px; /* 100 * sqrt(3)/2 */
  background-color: var(--accent-primary);
  margin: 28.87px 0; /* 57.74/2 */
}

.hexagon:before,
.hexagon:after {
  content: "";
  position: absolute;
  width: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
}

.hexagon:before {
  bottom: 100%;
  border-bottom: 28.87px solid var(--accent-primary); /* 57.74/2 */
}

.hexagon:after {
  top: 100%;
  border-top: 28.87px solid var(--accent-primary); /* 57.74/2 */
}

.hexagon-1 {
  top: 10%;
  left: 5%;
  transform: scale(0.5) rotate(20deg);
}

.hexagon-2 {
  top: 50%;
  right: 10%;
  transform: scale(0.7) rotate(-15deg);
}

.hexagon-3 {
  bottom: 15%;
  left: 15%;
  transform: scale(0.6) rotate(45deg);
}

.hexagon-4 {
  top: 30%;
  right: 20%;
  transform: scale(0.8) rotate(10deg);
}

/* Diagonal Section Dividers */
.diagonal-top {
  position: relative;
  padding-top: 4rem;
}

.diagonal-top:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: var(--secondary-bg);
  transform-origin: top left;
  transform: skewY(-4deg);
  z-index: -1;
}

.diagonal-bottom {
  position: relative;
  padding-bottom: 4rem;
}

.diagonal-bottom:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: var(--secondary-bg);
  transform-origin: bottom right;
  transform: skewY(-4deg);
  z-index: -1;
}

/* Animated Background Gradient */
.gradient-bg {
  position: relative;
  overflow: hidden;
}

.gradient-bg:before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(78, 205, 196, 0.1) 25%,
    transparent 50%,
    rgba(42, 157, 143, 0.1) 75%,
    transparent 100%
  );
  animation: gradientMove 15s linear infinite;
  z-index: -1;
}

@keyframes gradientMove {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Unique Staggered Grid */
.staggered-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .staggered-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .staggered-grid > *:nth-child(even) {
    transform: translateY(2rem);
  }
}

@media (min-width: 992px) {
  .staggered-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .staggered-grid > *:nth-child(3n+1) {
    transform: translateY(0);
  }
  
  .staggered-grid > *:nth-child(3n+2) {
    transform: translateY(2rem);
  }
  
  .staggered-grid > *:nth-child(3n+3) {
    transform: translateY(4rem);
  }
}

/* Custom Circular Progress Bar */
.progress-circle {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 0 auto 1.5rem;
}

.progress-circle-inner {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.progress-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.progress-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.progress-circle svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.progress-circle circle {
  fill: none;
  stroke-width: 10;
  stroke-dasharray: 339.292; /* 2 * PI * 54 (circle radius) */
  stroke-dashoffset: calc(339.292 - (339.292 * var(--progress)) / 100);
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease-in-out;
}

/* Timeline Component */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: var(--accent-primary);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 100%;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-content {
  position: relative;
  padding: 1.5rem;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  width: calc(100% - 40px);
}

.timeline-content:before {
  content: '';
  position: absolute;
  top: 20px;
  width: 20px;
  height: 2px;
  background-color: var(--accent-primary);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 40px;
}

.timeline-item:nth-child(odd) .timeline-content:before {
  left: -20px;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content:before {
  right: -20px;
}

.timeline-point {
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background-color: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--primary-bg);
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-point {
  left: 0;
}

.timeline-item:nth-child(even) .timeline-point {
  right: 0;
}

.timeline-date {
  font-size: 0.875rem;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .timeline:before {
    left: 50%;
  }
  
  .timeline-item {
    width: 50%;
  }
  
  .timeline-item:nth-child(odd) {
    padding-right: 40px;
    margin-left: 0;
  }
  
  .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 40px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
  }
  
  .timeline-item:nth-child(odd) .timeline-content:before {
    right: -20px;
    left: auto;
  }
  
  .timeline-item:nth-child(odd) .timeline-point {
    right: -10px;
    left: auto;
  }
  
  .timeline-item:nth-child(even) .timeline-point {
    left: -10px;
    right: auto;
  }
}

/* Custom Styled Lists */
.custom-list {
  list-style: none;
  padding: 0;
}

.custom-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.custom-list li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  background-color: var(--accent-primary);
  border-radius: 50%;
}

.custom-list-arrows li:before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  background-color: transparent;
  color: var(--accent-primary);
  font-size: 1.25rem;
}

.custom-list-checks li:before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  background-color: transparent;
  color: var(--accent-primary);
  font-size: 1.25rem;
}

/* Neumorphic Elements */
.neumorphic {
  background-color: var(--secondary-bg);
  border-radius: var(--border-radius);
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.5),
    -8px -8px 16px rgba(255, 255, 255, 0.05);
  padding: 2rem;
  transition: var(--transition);
}

.neumorphic:hover {
  box-shadow: 
    4px 4px 8px rgba(0, 0, 0, 0.5),
    -4px -4px 8px rgba(255, 255, 255, 0.05);
}

.neumorphic-inset {
  background-color: var(--secondary-bg);
  border-radius: var(--border-radius);
  box-shadow: 
    inset 8px 8px 16px rgba(0, 0, 0, 0.5),
    inset -8px -8px 16px rgba(255, 255, 255, 0.05);
  padding: 2rem;
}

/* Interactive Tabs */
.tabs-container {
  margin-bottom: 2rem;
}

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--accent-primary);
  margin-bottom: 1.5rem;
}

.tab-button {
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.tab-button:hover {
  color: var(--text-primary);
}

.tab-button.active {
  color: var(--accent-primary);
}

.tab-button.active:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-primary);
}

.tab-content {
  display: none;
}

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

/* Information Tables */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.info-table th,
.info-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.info-table th {
  background-color: var(--secondary-bg);
  color: var(--accent-primary);
  font-weight: 500;
}

.info-table tr:last-child td {
  border-bottom: none;
}

.info-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Creative Accordion */
.accordion {
  margin-bottom: 2rem;
  background-color: var(--primary-bg)
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  background-color: var(--card-bg);
  overflow: hidden;
}

.accordion-header {
  padding: 1rem;
  background-color: var(--secondary-bg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.accordion-header:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

tbody, tfoot, thead {
  background-color: rgba(255, 255, 255, 0.05);
}

tbody tr:nth-child(even) {
  background-color: var(--secondary-bg);
}

.accordion-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
}

.accordion-title:focus, .accordion-title:hover {
  background-color: var(--secondary-bg);
}

.accordion-icon {
  font-size: 1.25rem;
  color: var(--accent-primary);
  transition: var(--transition);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  display: block;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: var(--primary-bg);
  color: var(--text-primary);
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-body {
  padding: 1rem;
  color: var(--text-secondary);
}

/* Unique Blobs Background */
.blob-bg {
  position: absolute;
  width: 300px;
  height: 300px;
  filter: blur(80px);
  opacity: 0.1;
  z-index: 1;
}

.blob-1 {
  top: -150px;
  left: -150px;
  background-color: var(--accent-primary);
}

.blob-2 {
  bottom: -150px;
  right: -150px;
  background-color: var(--accent-secondary);
}

/* Pulsating Elements */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Glassmorphism Elements */
.glass {
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
}

/* Decorative corner accents */
.corner-accent {
  position: relative;
}

.corner-accent:before,
.corner-accent:after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  border-color: var(--accent-primary);
  border-style: solid;
}

.corner-accent:before {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.corner-accent:after {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
}

/* Mobile navigation enhancements */
@media (max-width: 991px) {
  .main-nav {
    display: block;
  }
  
  .main-nav.is-active + .nav-overlay {
    display: block;
  }
}

/* Additional utility classes */
.text-primary {
  color: var(--text-primary);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-accent {
  color: var(--accent-primary);
}

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

.bg-secondary {
  background-color: var(--secondary-bg);
}

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

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}

.py-1 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-2 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-3 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-4 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.px-1 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-2 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-3 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-4 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.px-5 {
  padding-left: 3rem;
  padding-right: 3rem;
}

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

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-center {
  align-items: center;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.rounded {
  border-radius: var(--border-radius);
}

.shadow {
  box-shadow: var(--box-shadow);
}

.position-relative {
  position: relative;
}

.overflow-hidden {
  overflow: hidden;
}

/* Fix for the International Telephone Input plugin */
.iti__flag {
  background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@19.5.1/build/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iti__flag {
    background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@19.5.1/build/img/flags@2x.png");
  }
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}