/* Services Page Specific Styles - Ultimate Edition */

.services-page .hero {
  background: white;
  padding: 50px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Formal Grid Background */
.hero-bg-formal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
}

.hero-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(100, 116, 139, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 116, 139, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at 50% 0%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, black 40%, transparent 80%);
}

.hero-glow-center {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 199, 85, 0.05) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.services-page .hero::before {
  display: none;
}

.services-page .hero .container {
  position: relative;
  z-index: 10;
}

/* Badge Style - Formal */
.badge-formal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f1f5f9;
  padding: 8px 20px;
  border-radius: 8px; /* Less rounded = more formal */
  font-weight: 600;
  font-size: 0.9rem;
  color: #334155;
  border: 1px solid #e2e8f0;
  margin-bottom: 35px;
}

.badge-formal .dot {
  width: 8px;
  height: 8px;
  background: #06c755;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.services-page .hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  margin-bottom: 2.5rem;
  line-height: 1.25;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.5px;
}

.text-highlight-formal {
  color: #1e293b;
  position: relative;
  display: inline-block;
}

.text-highlight-formal::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 12px;
  background: rgba(6, 199, 85, 0.15); /* Green highlight */
  z-index: -1;
  border-radius: 2px;
}

.hero-description {
  font-size: 1.2rem !important;
  max-width: 750px !important;
  margin: 0 auto 3rem !important;
  color: #64748b !important;
  line-height: 1.8 !important;
}

/* Buttons Formal */
.btn-formal-primary {
  background: #1e293b; /* Dark Navy = Formal */
  color: white !important;
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 10px 20px rgba(30, 41, 59, 0.15);
  transition: all 0.3s;
  border: 1px solid transparent;
}

.btn-formal-primary:hover {
  background: #334155;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(30, 41, 59, 0.2);
}

.btn-line-formal {
  background: white;
  color: #06c755 !important;
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  border: 1px solid #06c755;
  margin-left: 15px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.btn-line-formal:hover {
  background: #06c755;
  color: white !important;
  box-shadow: 0 10px 20px rgba(6, 199, 85, 0.2);
  transform: translateY(-2px);
}

.btn-icon-box {
  width: 28px;
  height: 28px;
  background: #06c755;
  color: white;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(6, 199, 85, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(6, 199, 85, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(6, 199, 85, 0); }
}

.btn-line-formal:hover .btn-icon-box {
  background: white;
  color: #06c755;
  animation: none;
}

.hero-tags {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.hero-tags span {
  font-size: 14px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-tags i {
  color: var(--secondary-color);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid #cbd5e1;
  border-radius: 20px;
  position: relative;
}

.mouse::after {
  content: "";
  width: 4px;
  height: 8px;
  background: var(--primary-color);
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* Services Grid Layout */
.services-grid-wrapper {
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card-modern {
  background: white;
  padding: 50px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.02);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card-modern::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, transparent 50%, rgba(79, 70, 229, 0.03) 50%);
  transition: 0.5s;
}

.service-card-modern:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 80px rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.2);
}

.service-card-modern:hover::after {
  background: linear-gradient(135deg, transparent 50%, rgba(79, 70, 229, 0.1) 50%);
  width: 150px;
  height: 150px;
}

.s-icon {
  width: 80px;
  height: 80px;
  background: #f8fafc;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--primary-color);
  transition: all 0.5s;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.03);
}

.service-card-modern:hover .s-icon {
  background: var(--primary-color);
  color: white;
  transform: rotate(360deg) scale(0.9);
  box-shadow: 0 15px 30px rgba(79, 70, 229, 0.2);
}

.service-card-modern h3 {
  font-size: 1.85rem;
  margin-bottom: 1.25rem;
  color: var(--text-color);
  font-weight: 700;
}

.service-card-modern .s-brief {
  color: var(--secondary-color);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 15px;
  display: block;
}

.service-card-modern p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1rem;
}

.service-card-modern ul {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #f1f5f9;
  list-style: none;
}

.service-card-modern ul li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-color);
  font-weight: 500;
}

.service-card-modern ul li::before {
  content: "✦";
  color: var(--secondary-color);
  font-weight: bold;
}

/* Features Bar */
.features-bar {
  background: white;
  padding: 60px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

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

.feature-item i {
  font-size: 2.5rem;
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 15px;
}

.feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Steps Process */
.process-section {
  padding: 100px 0;
  background: var(--bg-body);
}

.steps-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 60px;
}

.steps-container::before {
  content: "";
  position: absolute;
  top: 35px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: #e2e8f0;
  z-index: 0;
}

.step-box {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
  padding: 0 15px;
}

.step-num {
  width: 70px;
  height: 70px;
  background: white;
  border: 4px solid var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: 0.3s;
}

.step-box:hover .step-num {
  background: var(--bg-gradient);
  color: white;
  border-color: white;
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
}

/* Comparison / Benefits */
.benefits-modern {
  padding: 120px 0;
  background: #0f172a;
  color: white;
  position: relative;
  overflow: hidden;
}

.benefits-modern::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.05));
}

.benefits-modern h2 {
  color: white;
  text-align: center;
  margin-bottom: 80px;
  font-size: 3rem;
}

.benefit-card-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.4s;
  height: 100%;
}

.benefit-card-glass:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-10px);
  border-color: var(--secondary-color);
}

.benefit-card-glass .b-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.benefit-card-glass h3 {
  color: white;
  font-size: 1.5rem;
}

.benefit-card-glass p {
  color: #94a3b8;
  font-size: 1.05rem;
}

/* FAQ */
.faq-modern {
  padding: 120px 0;
  background-color: white; /* Clean background */
}

.faq-list-modern {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item-modern {
  background: #f8fafc;
  margin-bottom: 20px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item-modern:hover {
  background: white;
  border-color: #06c755;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.faq-btn {
  width: 100%;
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-size: 1.15rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  color: #1e293b;
  transition: all 0.3s;
  gap: 20px;
}

.faq-btn span {
    flex: 1;
    padding-right: 15px;
}

.faq-btn i {
  font-size: 0.9rem;
  transition: 0.3s;
  color: #94a3b8;
  flex-shrink: 0;
}

.faq-item-modern.active {
  background: white;
  border-color: #06c755;
  box-shadow: 0 15px 30px rgba(6, 199, 85, 0.08);
}

.faq-item-modern.active .faq-btn {
  color: #06c755;
  background: transparent;
}

.faq-item-modern.active i {
  transform: rotate(180deg);
  color: #06c755;
}

.faq-ans {
  padding: 0 30px 24px;
  color: #475569;
  line-height: 1.8;
  font-size: 1.05rem;
  display: none;
}

.faq-ans strong {
  color: #0f172a;
}

@media (max-width: 992px) {
  .services-grid, .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-container {
    flex-direction: column;
    gap: 40px;
    margin-top: 30px;
  }
  .steps-container::before {
    display: none;
  }
  .hero-description {
    padding: 0 20px;
  }
  .scroll-indicator{
    display: none !important;
  }
}

@media (max-width: 600px) {
  .services-grid, .features-grid {
    grid-template-columns: 1fr;
  }
  .services-page .hero h1 {
    font-size: 2.2rem;
  }
  
  /* Buttons Stack - Fix for Mobile */
  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
  }
  
  .btn-formal-primary, 
  .btn-line-formal {
      width: 100%;
      margin-left: 0;
      justify-content: center;
      padding: 14px 20px;
      display: flex;
  }
  
  .hero-tags {
      gap: 15px;
  }
  
  .service-card-modern {
      padding: 30px;
  }
  
  .benefits-modern h2 {
      font-size: 2rem;
  }
  
  .faq-btn {
      padding: 18px 20px;
      font-size: 1rem;
  }
  
  /* CTA Mobile Fix */
  .cta-modern div {
      flex-direction: column;
      gap: 15px;
  }
  
  .cta-modern .btn,
  .cta-modern .btn-line-formal {
      width: 100%;
      margin: 0;
      display: flex;
      justify-content: center;
  }
  
  .cta-modern {
      padding: 50px 20px;
  }
}

@media (max-width: 768px) {
  .process-section{
    padding: 1px 0;
  }
  .service-item {
    padding: 30px;
  }
  .services-page .hero{
    padding: 30px 0 60px;
  }
  
  /* Feature Items Wrap */
  .features-grid {
      gap: 30px;
  }
  
  /* Benefits Card */
  .benefit-card-glass {
      padding: 25px;
  }
  
  /* Process Steps */
  .step-num {
      width: 60px;
      height: 60px;
      font-size: 1.25rem;
  }
}

/* CTA Modern */
.cta-modern {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  margin-bottom: 100px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
}

.cta-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(6, 199, 85, 0.15), transparent 70%);
  pointer-events: none;
}

.cta-modern h2 {
  color: white;
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.cta-modern p {
  color: #cad5e2;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
  line-height: 1.8;
}

.cta-modern .btn {
  position: relative;
  z-index: 1;
}
