:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --text-color: #f8fafc;
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --border-color: #334155;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    color: var(--text-color);
    background: var(--bg-color);
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  /* Navigation */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
  }
  
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .logo:hover {
    color: var(--primary-color);
  }
  
  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }
  
  .nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: var(--primary-color);
  }
  
  /* Hero Section 
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
  }
    
  .hero-overlay {
    z-index: 1;
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
    animation: gradientBG 15s ease infinite;
    background-size: 400% 400%;
  }
  */

  /* Hero section styles */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 32, 0.85) 35%,
    rgba(0, 0, 64, 0.5) 50%,
    rgba(0, 0, 0, 0) 100%
  ),url('./img/66e4c9e8bed4b.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 32, 0.75) 60%,
    rgba(0, 0, 64, 0.4) 100%
  );
}
  
  .hero-content {
    max-width: 800px;
    
    z-index: 10;
  }
  
  .hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
  }
  
  .hero p {
    font-size: 1.5rem;
    color: rgba(248, 250, 252, 0.8);
    margin-bottom: 2rem;
  }
  
  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    position: relative;
    z-index: 10;
  }
  
  .btn-primary {
    background: var(--primary-color);
    color: white;
  }
  
  .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
  }
  
  /* Services Section */
  .services {
    padding: 8rem 0;
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
  }
  
  .services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  .service-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.1);
  }
  
  .service-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
  }
  
  .service-card h3 {
    margin-bottom: 1rem;
  }
  
  /* Why Choose Us Section */
  .why-us {
    padding: 8rem 0;
  }
  
  .why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
  }
  
  .why-us-image img {
    width: 100%;
    border-radius: 1.5rem;
    transition: transform 0.5s;
  }
  
  .why-us-image:hover img {
    transform: scale(1.02);
  }
  
  .features {
    display: grid;
    gap: 2rem;
  }
  
  .feature {
    display: flex;
    gap: 1rem;
    transition: transform 0.3s;
  }
  
  .feature:hover {
    transform: translateX(10px);
  }
  
  .feature svg {
    color: var(--primary-color);
    flex-shrink: 0;
  }
  
  /* Contact Section */
  .contact {
    padding: 8rem 0;
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
  }
  
  .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
  }
  
  .contact-details {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
  }
  
  
  ::placeholder {
    color: rgba(255, 255, 255, 0.5)!important;
    opacity: 1; /* Firefox */
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s;
  }
  
  .contact-item:hover {
    transform: translateX(10px);
  }
  
  .contact-item svg {
    color: var(--primary-color);
  }
  
  .contact-form {
    display: grid;
    gap: 1.5rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(75, 81, 90, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-color);
    transition: all 0.3s;
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
  }
  
  /* Footer */
  footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: rgba(248, 250, 252, 0.6);
  }
  
  /* Animations */
  @keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
  /* Media Queries */
  @media (max-width: 768px) {
    .hero h1 {
      font-size: 3rem;
    }
    
    .nav-links {
      display: none;
    }
    
    .services-grid,
    .why-us-grid,
    .contact-grid {
      grid-template-columns: 1fr;
    }
  }


/*--------*/

#loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 20px;
    border-radius: 5px;
}


/* Add padding to body for fixed navbar */
body {
    padding-top: 76px;
}

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

/* Navbar styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.navbar-brand svg {
    vertical-align: text-bottom;
}

/* Active link style */
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
    font-weight: 500;
}

/* Hover effect for nav links */
.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}



/*------carrusl--------*/

.testimonials {
  padding: 4rem 0;
  background-color: var(--bg-color);
}

.subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.testimonial-card {
  background: var(--card-background);
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
  max-height: 499px;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.client-image-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
}

.client-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(79, 70, 229, 0.2), rgba(129, 140, 248, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.client-image-wrapper:hover .image-overlay {
  opacity: 1;
}

.stars-container {
  margin-bottom: 1rem;
  position: relative;
}

.stars {
  color: var(--star-color);
  font-size: 1.25rem;
  display: flex;
  gap: 0.25rem;
}

.star {
  transition: transform 0.2s ease;
}

.stars:hover .star {
  transform: scale(1.2);
}

.quote-text {
  font-style: italic;
  margin: 1.5rem 0;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  padding: 0 1rem;
}

.quote-text::before,
.quote-text::after {
  content: '"';
  font-size: 2rem;
  color: var(--primary-light);
  opacity: 0.5;
  position: absolute;
}

.quote-text::before {
  left: -10px;
  top: -10px;
}

.quote-text::after {
  right: -10px;
  bottom: -10px;
}

.client-info h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.client-info p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Swiper customization */
.swiper {
  padding: 2rem 1rem;
  
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: scale(1.2);
}

.swiper-pagination-bullet {
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
      padding: 1rem;
  }

  h2 {
      font-size: 2rem;
  }

  .testimonial-card {
      padding: 1.5rem;
  }

  .client-image-wrapper {
      width: 100px;
      height: 100px;
  }
}

/* Animaciones */
@keyframes float {
  0% {
      transform: translateY(0px);
  }
  50% {
      transform: translateY(-10px);
  }
  100% {
      transform: translateY(0px);
  }
}

.testimonial-card {
  animation: float 6s ease-in-out infinite;
}

.testimonial-card:nth-child(2) {
  animation-delay: 2s;
}

.testimonial-card:nth-child(3) {
  animation-delay: 4s;
}


/*---------- social media -----------*/
.social-media {
  margin-top: 2rem;
  text-align: center;
}

.social-media h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.social-icons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.social-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  transition: all 0.3s ease;
  overflow: hidden;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

/* Efecto hover */
.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  background: var(--primary-light);
}

.social-icon:hover svg {
  transform: scale(1.2);
}

/* Tooltip */
.social-icon::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.social-icon:hover::before {
  opacity: 1;
  visibility: visible;
  bottom: -40px;
}

/* Animación de entrada */
.social-icons {
  animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animación al hacer click */
.social-icon:active {
  transform: scale(0.95);
}

/* Responsive */
@media (max-width: 768px) {
  .social-icons {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .social-icon {
    width: 35px;
    height: 35px;
  }
  
  .social-icon svg {
    width: 18px;
    height: 18px;
  }
}