/* Reset and base styles */
:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --secondary: #f3f4f6;
  --text: #111827;
  --text-light: #6b7280;
  --white: #ffffff;
  --border: #e5e7eb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.text-white {
  color: white;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.5;
  color: var(--text);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header styles */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  padding: 1rem 0;
}

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

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

.solid-primary-bg {
  background: #006769;
}

.logo img {
  width: 11vw;
  height: auto;
  object-fit: contain;
}

.gradient-text {
  /* font-size: 1.25rem; */
  font-weight: bold;
  background: linear-gradient(135deg, #f2ca52 0%, #006769 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav {
  display: none;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
    gap: 2rem;
  }
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #f2ca52;
}

/* Button styles */
.cta-button,
.primary-button,
.secondary-button {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.cta-button {
  background: linear-gradient(135deg, #f3ca52 0%, #006769 100%);
  color: var(--white);
  /* font-size: 1.2rem; */
}

.cta-button:hover {
  opacity: 0.9;
}

.primary-button {
  background-color: #fcd34d;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.secondary-button {
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.secondary-button:hover {
  background-color: var(--white);
  color: var(--text);
}

/* Hero section */
.hero-section {
  padding: 8rem 0 4rem;
  /* min-height: 100vh; */
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  gap: 3rem;
  align-items: center;
}

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

.hero-text h1 {
  font-size: 3rem;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-text .highlight {
  display: block;
  color: #fcd34d;
}

.hero-text p {
  font-size: 1.25rem;
  color: #e0e7ff;
  margin-bottom: 2rem;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .button-group {
    flex-direction: row;
  }
}

.hero-image img {
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Utility classes */
.gradient-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.glass-effect {
  background: rgba(0, 103, 105, 1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-pattern {
  background-image: url('./assets/banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Animations */
.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  from {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
  }
  to {
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.8);
  }
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--white);
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(150%);
  transition: transform 0.3s ease-in-out;
  z-index: 100;
}

.toast.show {
  transform: translateY(0);
}

.toast-content h4 {
  margin-bottom: 0.5rem;
}

/* Section styles */
.services-section,
.about-section,
.testimonials-section,
.contact-section {
  padding: 4rem 0;
}

/* Services Section */
.services-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}
.services-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.service-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.3s, transform 0.3s;
  text-align: left;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
  transform: translateY(-8px);
}
.service-icon {
  /* width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-size: 2rem; */
  border-radius: 1rem;
  /* margin-top: 10px; */
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin-bottom: 1.5rem; */
  font-size: 2rem;
}
.service-icon.plane::before {
  content: "✈️";
}
.service-icon.colombia::before {
  content: "🇨🇴";
}
.service-icon.spain::before {
  content: "🇪🇸";
}
.service-icon.civil::before {
  content: "⚖️";
}
.service-icon.penal::before {
  content: "🛡️";
}
.service-icon.mercantil::before {
  content: "📄";
}
.service-icon.laboral::before {
  content: "👥";
}
.service-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
}
.service-card p {
  color: #64748b;
  margin-bottom: 1rem;
}
.service-card ul {
  list-style: none;
  padding: 0;
}
.service-card ul li {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5em;
}
.service-card ul li::before {
  content: "✔";
  color: #22c55e;
  position: absolute;
  left: 0;
  font-size: 1em;
}

/* About Section */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid {
    flex-direction: row;
  }
}
.about-img img {
  border-radius: 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 520px;
}
.about-content {
  flex: 1;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.about-feature-icon {
  /* width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem; */
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.5rem;
}
.about-feature-icon.books::before {
  content: "📚";
}
.about-feature-icon.handshake::before {
  content: "🤝";
}
/* .about-feature-icon.globe::before {
  content: "🌐";
}
.about-feature-icon.users::before {
  content: "👨‍⚖️";
} */
.feature-title {
  font-weight: 600;
  color: #1e293b;
  font-size: 1.3rem;
}
.feature-desc {
  font-size: 0.95rem;
  color: #64748b;
}

/* Testimonials Section */
.testimonials-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.testimonials-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 1.25rem;
  padding: 2rem;
  color: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  text-align: left;
}
.testimonial-stars {
  color: #facc15;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  font-weight: 600;
}
.testimonial-role {
  display: block;
  font-size: 0.95rem;
  color: #dbeafe;
}

/* Contact Section */
.contact-section {
    background: #006769;
    padding: 4rem 0;
    position: relative;
}

.contact-section .section-title {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-icon.phone::before {
    content: "📞";
}

.contact-icon.email::before {
    content: "✉️";
}

.contact-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: #f2ca52;
}

/* Responsive styles for contact section */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-item {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 3rem 0;
    }

    .contact-section .section-title {
        font-size: 2rem;
    }

    .contact-value {
        font-size: 1rem;
    }
}

/* Section titles and descriptions */
.section-title {
  font-size: 2.25rem;
  font-weight: bold;
  /* margin-bottom: 1rem; */
}
.section-desc {
  font-size: 1.15rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

/* Utility for light gradient background */
.gradient-bg-light {
  background: linear-gradient(135deg, #eeda9f 0%, #93c4c5 100%);
}

/* Footer */
.footer {
  background-color: var(--secondary);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-light);
}

.steps-section {
  /* background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%); */
  padding: 4rem 0;
}
.steps-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}
.step-card:hover {
  box-shadow: 0 8px 32px rgba(0, 103, 105, 0.15);
  transform: translateY(-8px);
}
.step-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f3ca52 0%, #006769 100%);
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 103, 105, 0.1);
}
.step-card h3 {
  font-size: 1.15rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.step-card p {
  color: #475569;
  font-size: 1rem;
}

.column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 50%;
}

.column.centered {
  align-items: center;
  justify-content: center;
}

.row {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  width: 100%;
}

@media (max-width: 1024px) {
  .column {
    width: 100%;
  }

  .row {
    flex-direction: column;
  }
}

.google-reviews-section {
    background: #fff;
    padding: 4rem 0;
  }
  .google-logo {
    width: 100px;
    /* margin-bottom: 1rem; */
  }
  .google-reviews-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
  }
  @media (min-width: 768px) {
    .google-reviews-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  .google-review-card {
    background: #f8fafc;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    text-align: left;
    border: 1px solid #e5e7eb;
  }
  .google-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
  }
  .google-reviewer {
    font-weight: 600;
    color: #006769;
  }
  .google-stars {
    color: #fbbc04;
    font-size: 1.1rem;
    letter-spacing: 1px;
  }
  .google-review-text {
    color: #475569;
    font-size: 1rem;
    font-style: italic;
  }

/* Carousel Section */
.carousel-section {
    background: #006769;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.carousel-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.carousel-text {
    flex: 1;
    max-width: 500px;
}

.carousel-text .section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.carousel-text .section-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: left;
    line-height: 1.6;
}

.success-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.carousel-container {
    flex: 1;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.carousel-caption {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 0 0 1rem 1rem;
    margin-top: -1rem;
    position: relative;
    z-index: 1;
}

.carousel-caption h3 {
    color: #006769;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.carousel-caption p {
    color: #475569;
    font-size: 1rem;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: #006769;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.carousel-button:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.carousel-button.prev {
    left: 0rem;
}

.carousel-button.next {
    right: 0rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .carousel-content {
        gap: 2rem;
    }
    
    .carousel-text {
        max-width: 400px;
    }
    
    .carousel-text .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .carousel-content {
        flex-direction: column;
        text-align: center;
    }
    
    .carousel-text {
        max-width: 100%;
    }
    
    .carousel-text .section-title,
    .carousel-text .section-desc {
        text-align: center;
    }
    
    .success-stats {
        max-width: 400px;
        margin: 2rem auto;
    }
    
    .carousel-container {
        width: 100%;
    }
    
    .carousel-slide img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .success-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .carousel-slide img {
        height: 250px;
    }
    
    .carousel-button {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }
}
