/* style.css */
:root {
  --navy: #1B2B48;
  --navy-dark: #121E36;
  --navy-light: #2A3B5C;
  --cyan: #00E5FF;
  --cyan-hover: #00B4D8;
  --orange: #FF7B00;
  --orange-hover: #E86A00;
  --white: #FFFFFF;
  --bg-color: #F8FAFC;
  --text-dark: #334155;
  --text-light: #64748B;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

section[id], footer[id] {
  scroll-margin-top: 100px; /* Offset for sticky header */
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  /* Textura llamativa: Ruido (Noise) + Luces (Gradients) + Cuadrícula (Grid) */
  background-image: 
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.06'/%3E%3C/svg%3E"),
    radial-gradient(circle at 15% 15%, rgba(0, 229, 255, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(255, 123, 0, 0.08) 0%, transparent 40%),
    linear-gradient(rgba(0, 229, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.06) 1px, transparent 1px);
  background-size: 400px 400px, 100% 100%, 100% 100%, 50px 50px, 50px 50px;
  background-attachment: fixed;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Glassmorphism & Efecto Sobresaliente */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 15px 35px rgba(27, 43, 72, 0.15), 0 5px 15px rgba(0,0,0,0.08);
  border-radius: 24px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.glass:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(27, 43, 72, 0.25), 0 15px 25px rgba(0,0,0,0.12);
}

/* Header */
.header {
  background-color: var(--navy);
  color: var(--white);
  padding: 1.5rem 2rem;
  border-bottom-right-radius: 40px;
  box-shadow: 0 15px 40px rgba(27, 43, 72, 0.4), 0 5px 15px rgba(0,0,0,0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header:hover {
  box-shadow: 0 20px 50px rgba(27, 43, 72, 0.5), 0 10px 20px rgba(0,0,0,0.25);
}

.header.scrolled {
  background-color: rgba(27, 43, 72, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 1rem 2rem;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--white);
  line-height: 1;
}

.logo-sub {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-top: 0.2rem;
  padding-left: 0.2rem;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
}

.nav a:hover {
  color: var(--cyan);
}

.nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--cyan);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* Mobile Menu Icon */
.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--white);
  z-index: 1001;
  background: transparent;
  border: none;
  padding: 0.5rem;
}

/* Responsive Navigation */
@media (max-width: 1024px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: rgba(18, 30, 54, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease-in-out;
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  }

  .nav.active {
    right: 0;
  }

  .nav ul {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }
  
  .nav a {
    font-size: 1.2rem;
  }
}

/* Hero Section */
.hero {
  max-width: 1200px;
  margin: 4rem auto 2rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 0 2rem;
  position: relative;
}

.hero-left {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.photo-wrapper {
  position: relative;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 20px 50px rgba(27, 43, 72, 0.4);
}

.glow-circle {
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 25px var(--cyan);
  animation: pulse 3s infinite alternate;
  z-index: 0;
}

@keyframes pulse {
  0% { box-shadow: 0 0 15px rgba(0, 229, 255, 0.3); }
  100% { box-shadow: 0 0 35px rgba(0, 229, 255, 0.7); }
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 10;
}

.hero-right {
  flex: 1.2;
  padding: 3.5rem;
  position: relative;
  z-index: 20;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  min-height: 2.2rem;
  display: flex;
  align-items: center;
}

.typing-text {
  color: var(--cyan);
}

.cursor {
  display: inline-block;
  width: 3px;
  height: 1.3em;
  background-color: var(--cyan);
  margin-left: 5px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), #FF9900);
  color: var(--white);
  border: none;
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(255, 123, 0, 0.35), 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.btn-primary:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 25px 45px rgba(255, 123, 0, 0.45), 0 10px 20px rgba(0,0,0,0.2);
}

.cta-main {
  text-decoration: none;
  text-align: center;
  display: inline-block;
}

.secondary-cta {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  margin-left: 10px;
}

.secondary-cta:hover {
  color: var(--orange);
}

.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.float-icon {
  position: absolute;
  background: var(--white);
  padding: 1.2rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--navy);
  animation: float 6s infinite ease-in-out;
  border: 1px solid var(--glass-border);
}

.float-icon.icon-ai {
  top: -30px;
  right: -20px;
  color: var(--text-light);
  animation-delay: 0s;
  font-size: 3rem;
}

.float-icon.icon-cart {
  top: -30px;
  left: -30px;
  color: var(--navy-light);
  animation-delay: 1.5s;
  font-size: 3.5rem;
  padding: 1.5rem;
}

.float-icon.icon-gears {
  bottom: 80px;
  right: 180px;
  color: var(--text-light);
  font-size: 2rem;
  animation-delay: 3s;
  background: none;
  box-shadow: none;
  border: none;
}

.float-icon.icon-cloud {
  bottom: 30px;
  right: -50px;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 2.5rem;
  color: #5D5FEF;
  animation-delay: 4.5s;
  padding: 1.5rem;
}

.cloud-text {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.partners-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.logo-item:hover {
  opacity: 1;
}

/* Services Section Grid */
.services-container {
  max-width: 1200px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--navy-dark);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E"), linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  color: var(--white);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 15px 35px rgba(27, 43, 72, 0.3), 0 5px 15px rgba(0,0,0,0.1), inset 0 1px 1px rgba(255,255,255,0.15);
}

.service-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 30px 60px rgba(0, 229, 255, 0.15), 0 15px 25px rgba(0,0,0,0.2), inset 0 1px 2px rgba(255,255,255,0.25);
  border-color: var(--cyan);
}

.service-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 229, 255, 0.1);
  color: var(--cyan);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.service-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* Services Detail Rows */
.services-detail {
  max-width: 1000px;
  margin: 2rem auto 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0 2rem;
}

.services-row {
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.dark-row {
  background-color: var(--navy-dark);
}

.light-row {
  background-color: var(--white);
  border: 1px solid #E2E8F0;
}

.service-card {
  flex: 1;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-right: 1px solid rgba(0,0,0,0.05);
}

.dark-row .service-card {
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,0.05);
}

.light-row .service-card {
  color: var(--navy);
}

.service-card:last-child {
  border-right: none;
}

.service-card i {
  font-size: 2rem;
}

.service-card.active-cyan {
  background-color: var(--cyan);
  color: var(--navy-dark);
}

.service-card.faded {
  opacity: 0.4;
  background-color: #F1F5F9;
}

.service-card:hover:not(.active-cyan) {
  transform: translateY(-3px);
}
.dark-row .service-card:hover:not(.active-cyan) {
  background-color: rgba(255, 255, 255, 0.05);
}
.light-row .service-card:hover:not(.active-cyan) {
  background-color: #F8FAFC;
}


/* Chat Icon */
.chat-icon {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background-color: var(--cyan);
  color: var(--navy-dark);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.5);
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chat-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(0, 229, 255, 0.7);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 2rem;
  }
  
  .hero-left {
    margin-bottom: 2rem;
  }
  
  .cta-group {
    align-items: center;
  }
  
  .floating-icons {
    display: none; /* Simplify on mobile */
  }
  
  .partners-logos {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .services-bar {
    flex-direction: column;
  }
  
  .service-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  
  .services-row {
    flex-wrap: wrap;
  }
  
  .service-card {
    min-width: 50%;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
}

/* Footer */
.footer {
  background-color: var(--navy-dark);
  color: var(--text-light);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
  border-top-left-radius: 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 2rem;
}

.footer-left h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.footer-left p {
  font-size: 0.9rem;
}

.footer-right {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-right a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.05);
}

.footer-right a:hover {
  color: var(--navy-dark);
  background-color: var(--cyan);
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding-top: 2rem;
  font-size: 0.85rem;
}

/* Pricing Section */
.pricing-container {
  max-width: 1200px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--navy-dark);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E"), linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
  box-shadow: 0 15px 35px rgba(27, 43, 72, 0.3), 0 5px 15px rgba(0,0,0,0.1), inset 0 1px 1px rgba(255,255,255,0.15);
}

.pricing-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 30px 60px rgba(0, 229, 255, 0.15), 0 15px 25px rgba(0,0,0,0.2), inset 0 1px 2px rgba(255,255,255,0.25);
  border-color: var(--cyan);
}

.pricing-card.popular {
  border-color: var(--cyan);
  box-shadow: 0 15px 40px rgba(0, 229, 255, 0.2), 0 5px 15px rgba(0,0,0,0.15), inset 0 1px 2px rgba(255,255,255,0.2);
  transform: scale(1.05);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-10px) !important;
  box-shadow: 0 35px 70px rgba(0, 229, 255, 0.3), 0 20px 30px rgba(0,0,0,0.25), inset 0 1px 3px rgba(255,255,255,0.3);
}

/* Expandable Features (Ver más) */
.features-details {
  margin-top: 1rem;
}

.read-more-summary {
  cursor: pointer;
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  transition: color 0.3s ease;
}

.read-more-summary:hover {
  color: var(--white);
}

.read-more-summary::-webkit-details-marker {
  display: none;
}

.read-more-summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.features-details[open] .read-more-summary::after {
  transform: rotate(180deg);
}

.popular-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--cyan);
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(0, 229, 255, 0.3);
}

.pricing-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.pricing-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  margin-bottom: 1rem;
  min-height: 40px;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price .period {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2.5rem;
  flex: 1;
}

.pricing-features li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  line-height: 1.4;
}

.pricing-features li i {
  color: var(--cyan);
  margin-top: 4px;
}

.btn-pricing {
  display: inline-block;
  text-align: center;
  width: 100%;
  padding: 1.2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-pricing:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--white);
}

.btn-pricing.primary {
  background: linear-gradient(135deg, var(--orange), #FF9900);
  border: none;
  box-shadow: 0 10px 20px rgba(255, 123, 0, 0.3);
}

.btn-pricing.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(255, 123, 0, 0.4);
}

/* Responsive Pricing */
@media (max-width: 1024px) {
  .pricing-card.popular {
    transform: scale(1);
  }
  .pricing-card.popular:hover {
    transform: translateY(-5px);
  }
}

/* About Me Section */
.about-container {
  max-width: 1200px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.about-content {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.about-text {
  flex: 1.2;
}

.section-title.left-align {
  text-align: left;
  margin-bottom: 2.5rem;
}

.section-title.left-align::after {
  left: 0;
  transform: none;
}

.about-desc {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-desc strong {
  color: var(--navy);
}

.about-skills {
  list-style: none;
  margin-top: 2rem;
}

.about-skills li {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.about-skills li i {
  color: var(--cyan);
  font-size: 1.2rem;
}

.about-stats {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 3rem 2rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-item i {
  font-size: 2rem;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.stat-item h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.stat-item p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 3.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--cyan);
  border-radius: 2px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(27, 43, 72, 0.1), 0 4px 10px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(27, 43, 72, 0.15), 0 8px 15px rgba(0,0,0,0.08);
}

.faq-item summary {
  padding: 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--cyan);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  content: '-';
  transform: rotate(180deg);
}

.faq-item[open] summary {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.faq-content {
  padding: 1.5rem;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-color);
  font-size: 1rem;
  animation: fadeIn 0.3s ease;
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger reveals slightly if they are in the same grid */
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.3s; }

.pricing-grid .pricing-card:nth-child(2) { transition-delay: 0.15s; }
.pricing-grid .pricing-card:nth-child(3) { transition-delay: 0.3s; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 968px) {
  .hero {
    flex-direction: column;
    text-align: center;
    margin-top: 2rem;
  }
  
  .hero-right {
    padding: 1.5rem;
  }
  
  .cta-group {
    align-items: center;
  }
  
  .partners-logos {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .floating-icons {
    display: none;
  }

  .about-content {
    flex-direction: column;
    gap: 3rem;
  }
  
  .section-title.left-align {
    text-align: center;
  }
  
  .section-title.left-align::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .photo-wrapper {
    width: 280px;
    height: 280px;
  }
  
  .section-title {
    font-size: 2rem;
  }

  .about-stats {
    padding: 2rem 1.5rem;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
}

/* Projects Carousel Section */
.projects-container {
  max-width: 1200px;
  margin: 6rem auto;
  padding: 0 2rem;
  overflow: hidden;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
  border-radius: 24px;
}

.carousel-track {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  flex: 0 0 100%;
  padding: 1rem;
  box-sizing: border-box;
}

.project-card {
  display: flex;
  flex-direction: column;
  background-color: var(--navy-dark);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E"), linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(27, 43, 72, 0.3), 0 5px 15px rgba(0,0,0,0.1), inset 0 1px 1px rgba(255,255,255,0.15);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

.project-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 30px 60px rgba(0, 229, 255, 0.15), 0 15px 25px rgba(0,0,0,0.2), inset 0 1px 2px rgba(255,255,255,0.25);
  border-color: var(--cyan);
}

@media (min-width: 768px) {
  .project-card {
    flex-direction: row;
  }
}

.project-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 2px solid var(--cyan);
}

@media (min-width: 768px) {
  .project-img {
    width: 45%;
    height: 100%;
    max-height: 350px;
    border-bottom: none;
    border-right: 2px solid var(--cyan);
  }
}

.project-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  flex: 1;
}

.project-info h3 {
  font-size: 1.8rem;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.project-info p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.project-links {
  margin-top: auto;
}

.project-links .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  text-decoration: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--cyan);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
  background: var(--cyan);
  color: var(--navy-dark);
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(27, 43, 72, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.current-indicator {
  background: var(--cyan);
  transform: scale(1.3);
}

@media (max-width: 1024px) {
  .carousel-btn {
    display: none;
  }
}

/* WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.chat-icon {
  width: 65px;
  height: 65px;
  background-color: #25D366;
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chat-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.7);
}

.wa-popup {
  position: absolute;
  bottom: 85px;
  right: 0;
  width: 350px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.wa-popup.active {
  transform: scale(1);
  opacity: 1;
  pointer-events: all;
}

.wa-header {
  background: #075E54;
  color: var(--white);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wa-header-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wa-header-info i {
  font-size: 1.8rem;
}

.wa-header-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.wa-header-info p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
}

.wa-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.wa-close:hover {
  opacity: 1;
}

.wa-body {
  background: #E5DDD5;
  padding: 1.5rem;
  height: 250px;
  overflow-y: auto;
  background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
  background-size: cover;
}

.wa-message {
  background: var(--white);
  padding: 0.8rem 1rem;
  border-radius: 0 12px 12px 12px;
  font-size: 0.95rem;
  color: #111b21;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  max-width: 85%;
  position: relative;
}

.wa-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  border-top: 10px solid var(--white);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
}

.wa-time {
  display: block;
  text-align: right;
  font-size: 0.7rem;
  color: #667781;
  margin-top: 5px;
}

.wa-footer {
  padding: 1rem;
  background: #F0F0F0;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.wa-footer input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 20px;
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
  color: #111b21;
}

.wa-footer button {
  background: #075E54;
  color: var(--white);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.2s ease;
}

.wa-footer button:hover {
  background: #128C7E;
}

@media (max-width: 400px) {
  .wa-popup {
    width: calc(100vw - 40px);
    right: -10px;
  }
}
