/* ========================================
   SERVICES PAGE - MODERN DESIGN
   ======================================== */

/* Fix AOS visibility */
[data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

/* ========== HERO SECTION ========== */
.services-hero-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 150px 2rem 100px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-blue);
  top: -10%;
  left: -10%;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: var(--primary-red);
  bottom: -10%;
  right: -10%;
  animation-delay: 5s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: var(--light-blue);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, var(--lighter-blue), #e8f4f8);
  color: var(--primary-blue);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Lato', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: #555;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* ========== SECTIONS COMMUNES ========== */
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, var(--lighter-blue), #e8f4f8);
  color: var(--primary-blue);
  border-radius: 50px;
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Lato', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.title-underline {
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 0 auto;
  border-radius: 2px;
}

/* ========== MAIN SERVICES SECTION ========== */
.main-services-section {
  padding: 100px 0;
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-wrapper {
  width: 90px;
  height: 90px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon-wrapper {
  transform: rotateY(180deg);
}

.service-icon-wrapper i {
  font-size: 2.5rem;
  color: white;
}

.service-card h3 {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.service-card p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0;
  color: #555;
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
}

.service-features li i {
  color: var(--primary-blue);
  font-size: 1rem;
}

.card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.service-card:hover .card-shine {
  left: 100%;
}

/* ========== ADVANTAGES SECTION ========== */
.advantages-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
}

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

.advantage-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.advantage-item:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.advantage-item:hover .advantage-icon {
  transform: scale(1.1) rotate(5deg);
}

.advantage-icon i {
  font-size: 2rem;
  color: white;
}

.advantage-content h4 {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.advantage-content p {
  color: #666;
  line-height: 1.7;
  margin: 0;
  font-size: clamp(0.9rem, 1.8vw, 1rem);
}

/* ========== CTA SECTION ========== */
.cta-section {
  padding: 120px 2rem;
  background: var(--gradient-primary);
  position: relative;
  overflow: visible;
  clear: both;
}

.cta-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

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

.cta-content h2 {
  font-family: 'Lato', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-content p {
  font-size: clamp(0.95rem, 2.2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 3rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 3rem;
  background: white;
  color: var(--primary-red);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
  color: var(--primary-red);
}

.cta-button:hover i {
  transform: translateX(5px);
}

.cta-button i {
  transition: transform 0.3s ease;
}

.cta-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.cta-decoration .decoration-circle {
  z-index: 1;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 15s ease-in-out infinite;
}

.circle-1 { width: 300px; height: 300px; top: -100px; left: -100px; }
.circle-2 { width: 200px; height: 200px; bottom: -50px; right: 10%; animation-delay: 5s; }
.circle-3 { width: 150px; height: 150px; top: 50%; right: -75px; animation-delay: 10s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .services-hero-section {
    padding: 120px 1.5rem 80px;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .services-hero-section {
    min-height: 70vh;
    padding: 120px 1rem 80px;
  }
  
  .section-container {
    padding: 0 1rem;
  }
  
  .main-services-section,
  .advantages-section {
    padding: 60px 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-section {
    padding: 80px 1.5rem;
  }
}

@media (max-width: 480px) {
  .service-card {
    padding: 2rem 1.5rem;
  }
  
  .advantage-item {
    flex-direction: column;
    text-align: center;
  }
  
  .advantage-icon {
    margin: 0 auto;
  }
}
