/* ==========================================
   MODERN DASHBOARD FEATURES SECTION
========================================== */


.features--section {
  padding: 6rem 1rem;
  background: 
    radial-gradient(ellipse at top, var(--color-background) 0%, rgba(0,0,0,0.05) 100%);
  color: var(--color-text);
  position: relative;
  overflow: hidden;
}

/* Subtle background pattern */
.features--section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255,255,255,0.02) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px, 80px 80px;
  animation: patternFloat 15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes patternFloat {
  0%, 100% { 
    transform: translate(0, 0);
    opacity: 0.3;
  }
  50% { 
    transform: translate(10px, -5px);
    opacity: 0.6;
  }
}

.features--section .section__title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(
    135deg, 
    var(--color-text) 0%,
    rgba(255,255,255,0.9) 50%,
    var(--color-text) 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleShimmer 4s ease-in-out infinite;
  position: relative;
}

@keyframes titleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Title decoration */
.features--section .section__title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--color-text), 
    transparent);
  border-radius: 2px;
  animation: underlineGlow 3s ease-in-out infinite;
}

@keyframes underlineGlow {
  0%, 100% { 
    opacity: 0.6;
    transform: translateX(-50%) scaleX(1);
  }
  50% { 
    opacity: 1;
    transform: translateX(-50%) scaleX(1.2);
  }
}

.features--section .section__subtitle {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--color-text);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  opacity: 0.9;
}

/* Modern Features Grid */
.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Enhanced Feature Cards */
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: 
    linear-gradient(145deg, 
      rgba(255,255,255,0.08) 0%,
      var(--color-primary) 20%,
      var(--color-primary) 80%,
      rgba(255,255,255,0.05) 100%);
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 
    0 10px 30px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* Hover sweep effect */
.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255,255,255,0.1), 
    transparent);
  transition: left 0.6s ease;
}

.feature-item:hover::before {
  left: 100%;
}

.feature-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 15px 40px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.15);
}

.feature-icon {
  font-size: 3rem;
  color: var(--color-text);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.feature-item:hover .feature-icon {
  transform: scale(1.1);
}

.feature-item h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.8rem;
  transition: color 0.3s ease;
}

.feature-item p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  transition: color 0.3s ease;
}

.feature-item:hover p {
  color: rgba(255,255,255,0.9);
}

/* ==========================================
   MODERN SERVICES SECTION
========================================== */

#services {
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

/* Floating background elements */
#services::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  border-radius: 50%;
  animation: serviceFloat 10s ease-in-out infinite;
}

@keyframes serviceFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 15px) scale(1.05); }
}

#services .section__title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(
    135deg, 
    var(--color-text) 0%,
    rgba(255,255,255,0.9) 50%,
    var(--color-text) 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleShimmer 4s ease-in-out infinite;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-transform: capitalize;
  position: relative;
}

#services .section__title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--color-text), 
    transparent);
  border-radius: 2px;
  animation: underlineGlow 3s ease-in-out infinite;
}

#services .section__subtitle {
  font-size: 1.2rem;
  text-align: center;
  color: var(--color-muted);
  margin-bottom: 3.5rem;
  line-height: 1.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.services-swiper {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Enhanced Service Cards */
.swiper-slide.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: 
    linear-gradient(145deg, 
      rgba(255,255,255,0.08) 0%,
      var(--color-dark) 20%,
      var(--color-dark) 80%,
      rgba(255,255,255,0.05) 100%);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  min-height: 350px;
  box-shadow: 
    0 15px 35px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.1);
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
}

.swiper-slide.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.swiper-slide.service-card:hover::before {
  opacity: 1;
}

.swiper-slide.service-card-active {
  transform: translateY(0);
  opacity: 1;
}

.swiper-slide.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 
    0 20px 45px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.15);
}

.service-icon {
  width: 90px;
  height: 90px;
  margin-bottom: 1.5rem;
  transform: scale(0);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
}

.swiper-slide.service-card-active .service-icon {
  transform: scale(1);
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.swiper-slide.service-card:hover .service-icon img {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-asikdeh);
  margin: 1.5rem 0 1rem;
  transition: color 0.3s ease;
}

.service-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.service-price {
  display: block;
  margin: 1rem 0 1.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color), rgba(255,255,255,0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-card .cta-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), rgba(0,0,0,0.2));
  box-shadow: 
    0 6px 20px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.service-card .cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255,255,255,0.2), 
    transparent);
  transition: left 0.5s ease;
}

.service-card .cta-btn:hover::before {
  left: 100%;
}

.service-card .cta-btn:hover {
  background: linear-gradient(135deg, var(--color-dark), rgba(255,255,255,0.1));
  transform: translateY(-2px) scale(1.05);
  box-shadow: 
    0 8px 25px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

/* ==========================================
   MODERN PORTFOLIO SECTION - NO BLUR
========================================== */

#portfolio {
  padding: 6rem 1rem;
  background: 
    linear-gradient(135deg, var(--color-dark) 0%, rgba(0,0,0,0.8) 100%);
  color: var(--color-text);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated background */
#portfolio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    conic-gradient(from 45deg at 25% 25%, rgba(255,255,255,0.02) 90deg, transparent 90deg),
    conic-gradient(from 225deg at 75% 75%, rgba(255,255,255,0.03) 90deg, transparent 90deg);
  background-size: 80px 80px, 100px 100px;
  animation: portfolioShift 20s linear infinite;
  pointer-events: none;
}

@keyframes portfolioShift {
  0% { background-position: 0 0, 40px 40px; }
  100% { background-position: 80px 80px, 120px 120px; }
}

#portfolio .section__title {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(
    135deg, 
    var(--color-text) 0%,
    rgba(255,255,255,0.9) 50%,
    var(--color-text) 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleShimmer 4s ease-in-out infinite;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

@keyframes titleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

#portfolio .section__title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--color-primary), 
    transparent);
  margin: 1rem auto 0;
  border-radius: 2px;
  animation: underlineGlow 3s ease-in-out infinite;
}

@keyframes underlineGlow {
  0%, 100% { 
    opacity: 0.6;
    transform: scaleX(1);
  }
  50% { 
    opacity: 1;
    transform: scaleX(1.2);
  }
}

#portfolio .section__subtitle {
  font-size: 1.2rem;
  color: var(--color-muted);
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.portfolio-swiper {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Enhanced Portfolio Items - NO BLUR */
.swiper-slide.portfolio-item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1.5rem;
  overflow: hidden;
  background: 
    linear-gradient(145deg, 
      rgba(255,255,255,0.08) 0%,
      var(--color-background) 20%,
      var(--color-background) 80%,
      rgba(255,255,255,0.05) 100%);
  height: 280px;
  box-shadow: 
    0 15px 35px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.1);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255,255,255,0.1);
}

.swiper-slide.portfolio-item-active {
  opacity: 1;
}

.swiper-slide.portfolio-item:hover {
  transform: scale(1.03);
  box-shadow: 
    0 20px 45px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.15);
}

.swiper-slide.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  filter: contrast(1.1) brightness(1.05);
}

.swiper-slide.portfolio-item:hover img {
  transform: scale(1.05);
  filter: contrast(1.2) brightness(1.1);
}

/* Enhanced Overlays - NO BLUR */
.portfolio-overlay.public {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, 
    rgba(0,0,0,0.4), 
    rgba(0,0,0,0.7));
}

.portfolio-overlay.public .view-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, 
    rgba(255,255,255,0.25), 
    rgba(255,255,255,0.15));
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.4);
  box-shadow: 
    0 8px 20px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.3);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: viewFadeIn 1s ease-in-out 0.5s forwards;
}

@keyframes viewFadeIn {
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

.portfolio-overlay.public .view-text:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 
    0 12px 30px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.4);
  background: linear-gradient(135deg, 
    rgba(255,255,255,0.35), 
    rgba(255,255,255,0.25));
}

.portfolio-overlay.private {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, 
    rgba(0,0,0,0.8), 
    rgba(0,0,0,0.9));
}

.portfolio-overlay.private span {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.15);
  border-radius: 1rem;
  border: 2px solid rgba(255,255,255,0.3);
  box-shadow: 
    0 6px 15px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.2);
  opacity: 0;
  transform: translateY(20px);
  animation: privateFadeIn 1s ease-in-out 0.5s forwards;
}

@keyframes privateFadeIn {
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* Responsive */
@media (max-width: 768px) {
  #portfolio .section__title {
    font-size: 2.5rem;
  }
  
  .portfolio-swiper {
    max-width: 350px;
  }
}

@media (max-width: 480px) {
  #portfolio .section__title {
    font-size: 2rem;
  }
  
  .portfolio-swiper {
    max-width: 300px;
  }
  
  .portfolio-overlay.public .view-text {
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
  }
  
  .portfolio-overlay.private span {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }
}

/* ==========================================
   MODERN TESTIMONIALS SECTION
========================================== */

/* Missing Keyframes */
@keyframes titleShimmer {
  0%, 100% { 
    background-position: 0% 50%; 
  }
  50% { 
    background-position: 100% 50%; 
  }
}

@keyframes underlineGlow {
  0%, 100% { 
    opacity: 0.7; 
    transform: translateX(-50%) scale(1);
  }
  50% { 
    opacity: 1; 
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 0 15px var(--color-text);
  }
}

@keyframes quoteFloat {
  0%, 100% { 
    transform: translate(0, 0) scale(1); 
  }
  50% { 
    transform: translate(10px, -10px) scale(1.05); 
  }
}

/* Main Testimonials Section */
.testimonials-section {
  padding: 6rem 1rem;
  background: 
    radial-gradient(ellipse at center, var(--color-dark) 0%, rgba(0,0,0,0.8) 100%);
  color: var(--color-text); /* Fixed: changed from var(--color-dark) to var(--color-text) */
  position: relative;
  overflow: hidden;
  min-height: 100vh; /* Added for better layout */
}

/* Quote pattern background */


.testimonials-section .section__header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.testimonials-section .section__header h2 {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(
    135deg, 
    var(--color-text) 0%,
    rgba(0, 0, 0, 0.9) 50%,
    var(--color-text) 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleShimmer 4s ease-in-out infinite;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.testimonials-section .section__header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--color-text), 
    transparent);
  border-radius: 2px;
  animation: underlineGlow 3s ease-in-out infinite;
}

.testimonials-section .section__header p {
  font-size: 1.2rem;
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.testimonials-swiper {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Enhanced Testimonial Cards */
.swiper-slide.choose-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: 
    linear-gradient(145deg, 
      rgba(255,255,255,0.1) 0%,
      rgba(255,255,255,0.05) 20%, /* Fixed: changed from var(--color-text) to proper rgba */
      rgba(255,255,255,0.05) 80%, /* Fixed: changed from var(--color-text) to proper rgba */
      rgba(255,255,255,0.08) 100%);
  border-radius: 2rem;
  padding: 3rem 2rem;
  min-height: 350px; /* Increased height for better content fit */
  box-shadow: 
    0 15px 35px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
}

.swiper-slide.choose-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255,255,255,0.1), 
    transparent);
  transition: left 0.6s ease;
  z-index: 1; /* Added z-index */
}

.swiper-slide.choose-card:hover::before {
  left: 100%;
}

.swiper-slide.choose-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 45px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.15);
}

.choose-card .choose-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 3px solid var(--color-primary);
  background-color: var(--color-dark);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  position: relative; /* Added for proper layering */
  z-index: 2; /* Added z-index */
}

.swiper-slide.choose-card:hover .choose-icon {
  transform: scale(1.1);
}

.choose-card p {
  font-size: 1.1rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
  z-index: 2; /* Added z-index */
}



.choose-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
  position: relative; /* Added for proper layering */
  z-index: 2; /* Added z-index */
}

/* Added missing client role styling */
.choose-card .client-role {
  font-size: 0.9rem;
  color: var(--color-muted);
  font-weight: 400;
  position: relative;
  z-index: 2;
}

/* Swiper Navigation Styling - Added missing styles */
.swiper-button-next,
.swiper-button-prev {
  color: var(--color-primary) !important;
  background: rgba(255,255,255,0.1);
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px !important;
  font-weight: bold;
}

/* Swiper Pagination Styling - Added missing styles */
.swiper-pagination-bullet {
  background: rgba(255,255,255,0.4) !important;
  opacity: 1 !important;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--color-primary) !important;
  transform: scale(1.2);
}

/* Responsive Design - Added missing responsive styles */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 4rem 1rem;
  }

  .testimonials-section .section__header h2 {
    font-size: 2.5rem;
  }

  .testimonials-section::before {
    font-size: 8rem;
    top: 5%;
    left: 2%;
  }

  .swiper-slide.choose-card {
    padding: 2rem 1.5rem;
    min-height: 300px;
  }

  .choose-card .choose-icon {
    width: 60px;
    height: 60px;
  }

  .choose-card p {
    font-size: 1rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
  }
}

@media (max-width: 480px) {
  .testimonials-section .section__header h2 {
    font-size: 2rem;
  }

  .testimonials-section .section__header p {
    font-size: 1rem;
  }

  .testimonials-swiper {
    max-width: 100%;
  }
}

/* Accessibility - Added for better user experience */
@media (prefers-reduced-motion: reduce) {
  .testimonials-section::before,
  .testimonials-section .section__header h2,
  .testimonials-section .section__header h2::after {
    animation: none;
  }

  .swiper-slide.choose-card,
  .choose-card .choose-icon {
    transition: none;
  }
}

/* Focus states for accessibility */
.swiper-button-next:focus,
.swiper-button-prev:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.swiper-pagination-bullet:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
/* ==========================================
   MODERN CONTACT CTA SECTION
========================================== */

.section--gradient {
  padding: 6rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, #6366f1, #06b6d4, #8b5cf6);
  background-size: 300% 300%;
  animation: gradientShift 8s ease-in-out infinite;
  color: #fff;
  border-radius: 2rem;
  box-shadow: 
    0 20px 60px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
  margin: 2rem 1rem;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Floating elements */
.section--gradient::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  animation: ctaFloat 6s ease-in-out infinite;
}

.section--gradient::after {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 10%;
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  animation: ctaFloat 8s ease-in-out infinite reverse;
}

@keyframes ctaFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(15px, -10px) scale(1.1); }
}

.section--gradient .section__title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
  background: linear-gradient(135deg, #fff, rgba(255,255,255,0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.section--gradient .section__subtitle {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  color: #e0e7ff;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255,255,255,0.2), 
    transparent);
  transition: left 0.5s ease;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn.primary {
  background: linear-gradient(135deg, #fff, #f0f0ff);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
  color: #000000;
  border: 2px solid rgba(255,255,255,0.3);
}

.cta-btn.primary:hover {
  background: linear-gradient(135deg, #f0f0ff, #e0e0ff);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 35px rgba(0,0,0,0.4);
}

.cta-btn.secondary {
  background: linear-gradient(135deg, 
    rgba(255,255,255,0.2), 
    rgba(255,255,255,0.1));
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
}

.cta-btn.secondary:hover {
  background: linear-gradient(135deg, 
    rgba(255,255,255,0.3), 
    rgba(255,255,255,0.2));
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 35px rgba(0,0,0,0.4);
}

/* ==========================================
   RESPONSIVE DESIGN
========================================== */

@media (max-width: 1024px) {
  .features-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  .feature-item {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .features--section .section__title,
  #services .section__title,
  #portfolio .section__title,
  .testimonials-section .section__header h2 {
    font-size: 2.5rem;
  }
  
  .section--gradient .section__title {
    font-size: 2.5rem;
  }
  
  .features-list {
    gap: 1.5rem;
  }
  
  .feature-item {
    flex-direction: row;
    padding: 2rem 1.5rem;
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
  
  .services-swiper,
  .portfolio-swiper {
    max-width: 350px;
  }
  
  .testimonials-swiper {
    max-width: 400px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .features--section .section__title,
  #services .section__title,
  #portfolio .section__title,
  .testimonials-section .section__header h2 {
    font-size: 2rem;
  }
  
  .section--gradient .section__title {
    font-size: 2rem;
  }
  
  .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }
  
  .feature-icon {
    margin-bottom: 1rem;
    font-size: 2rem;
  }
  
  .services-swiper,
  .portfolio-swiper {
    max-width: 300px;
  }
  
  .testimonials-swiper {
    max-width: 350px;
  }
  
  .swiper-slide.service-card,
  .swiper-slide.choose-card {
    padding: 2rem 1.5rem;
  }
  
  .section--gradient {
    padding: 4rem 1.5rem;
    margin: 1rem 0.5rem;
  }
}

/* ==========================================
   LOADING ANIMATIONS
========================================== */

.feature-item {
  animation: fadeInUp 0.6s ease-out;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   SWIPER CONTROLS ENHANCEMENT
========================================== */

.swiper-button-next,
.swiper-button-prev {
  color: rgba(255,255,255,0.9) !important;
  background: 
    linear-gradient(135deg, 
      rgba(255,255,255,0.15), 
      rgba(255,255,255,0.08)) !important;
  border-radius: 50% !important;
  width: 55px !important;
  height: 55px !important;
  backdrop-filter: blur(15px) !important;
  border: 2px solid rgba(255,255,255,0.2) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 
    0 8px 20px rgba(0,0,0,0.3),
    inset 0 1px 1px rgba(255,255,255,0.2) !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: 
    linear-gradient(135deg, 
      rgba(255,255,255,0.25), 
      rgba(255,255,255,0.15)) !important;
  transform: scale(1.1) translateY(-2px) !important;
  box-shadow: 
    0 12px 30px rgba(0,0,0,0.4),
    inset 0 1px 1px rgba(255,255,255,0.3) !important;
}

.swiper-pagination-bullet {
  background: rgba(255,255,255,0.4) !important;
  opacity: 1 !important;
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
}

.swiper-pagination-bullet-active {
  background: rgba(255,255,255,0.95) !important;
  box-shadow: 
    0 0 12px rgba(255,255,255,0.6),
    0 0 24px rgba(255,255,255,0.3) !important;
  transform: scale(1.4) !important;
  border-color: rgba(255,255,255,0.5) !important;
}

/* ==========================================
   PERFORMANCE OPTIMIZATIONS
========================================== */

.feature-item,
.swiper-slide.service-card,
.swiper-slide.portfolio-item,
.swiper-slide.choose-card {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Mobile performance optimization */
@media (max-width: 768px) {
  .features--section::before,
  #services::before,
  #portfolio::before,
  .testimonials-section::before {
    animation-duration: 20s;
  }
}