/* =========================
   HERO SECTION
========================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  background: linear-gradient(to right, #020617, #07122a);
  color: white;
}

/* =========================
   CONTAINER
========================= */

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

/* =========================
   LEFT CONTENT
========================= */

.hero-content {
  flex: 1;
  max-width: 620px;
}

/* BADGE */

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: white;
  color: #4f46e5;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 32px;
}

/* HEADING */

.hero-content h1 {
  font-size: 56px;
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-content h1 span {
  display: block;
  background: linear-gradient(90deg,
      #3b82f6,
      #7c3aed,
      #9333ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* DESCRIPTION */

.hero-content p {
  font-size: var(--text-xxl);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 42px;
  max-width: 580px;
}

/* =========================
   BUTTONS
========================= */

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  height: 52px;
  border-radius: 10px;
  font-size: var(--text-lg);
  font-weight: 700;
  transition: 0.3s ease;
}

/* PRIMARY */

.primary-btn {
  background: linear-gradient(90deg,
      #3b82f6,
      #7c3aed);
color: white;
}

.primary-btn:hover {
  /* transform: translateY(-4px); */
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.4);
}

/* SECONDARY */

.secondary-btn {
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
}

.secondary-btn:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.05)
    /* transform: translateY(-4px); */
}

/* =========================
   FEATURES
========================= */

.hero-features {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.feature-item {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
}

/* =========================
   IMAGE
========================= */

.hero-image {
  flex: 1; 
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 700px;
  border-radius: 30px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  transition: 0.4s ease;
}

.hero-image img:hover {
  transform: translateY(-8px);
}


/* =========================
   GLOBAL SECTION
========================= */

section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2,
.infrastructure-card h2,
.faq-card h2 {
  font-size: var(--heading-lg);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 22px;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--color-gray);
}

/* =========================
   TESTIMONIALS
========================= */

.testimonials-section {
  background: #f8fafc;
  overflow: hidden;
}

.testimonial-slider-wrapper {
  position: relative;
}

.testimonial-slider {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
  will-change: transform;
}

.testimonial-card {
  width: 320px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 28px;
  box-shadow:
    0 10px 30px rgba(15, 23, 42, 0.04);
  transition: 0.3s ease;
  flex-shrink: 0;
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.testimonial-logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--color-light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--heading-xxs);
}

.testimonial-top h4 {
  font-size: var(--text-xl);
  margin-bottom: 6px;
}

.stars {
  color: #f59e0b;
  letter-spacing: 2px;
}

.testimonial-card p {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial-card span {
  font-weight: 600;
  color: var(--color-primary-dark);
}

/* =========================
   ARROWS
========================= */

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: white;
  box-shadow:
    0 10px 25px rgba(15, 23, 42, 0.1);
  cursor: pointer;
  font-size: var(--heading-xxs);
  font-weight: 700;
  z-index: 10;
  transition: 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider-btn:hover {
  background: var(--color-primary);
  color: white;
}

.prev-btn {
  left: -20px;
}

.next-btn {
  right: -20px;
}

/* =========================
   SERVICES
========================= */

.services-grid {
  display: grid;
  grid-template-columns:
    repeat(4, 1fr);
  gap: 30px;
}

.service-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 36px 32px;
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 40px rgba(15, 23, 42, 0.06);
}

.service-icon {
  font-size: 42px;
  margin-bottom: 26px;
}

.service-icon svg {
  width: 48px;
  height: 48px;
  stroke-width: 2;
  fill: var(--color-primary);
}

.service-card h3 {
  font-size: var(--heading-xs);
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--color-primary-dark);
}

.service-card p {
  color: var(--color-gray);
  line-height: 1.8;
  margin-bottom: 28px;
}

.service-card a {
  color: var(--color-primary);
  font-weight: 700;
}

/* =========================
   PROCESS
========================= */

.process-section {
  background: #f8fafc;
}

.process-grid {
  display: grid;
  grid-template-columns:
    repeat(4, 1fr);
  gap: 40px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-circle {
  width: 110px;
  height: 110px;
  margin: 0 auto 30px;
  border-radius: 50%;
  border: 3px dashed var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  position: relative;
  background: white;
}

.step-number {
  position: absolute;
  top: -8px;
  right: -4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-size: var(--text-md);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step h3 {
  font-size: var(--heading-xxs);
  margin-bottom: 18px;
  color: var(--color-primary-dark);
}

.process-step p {
  color: var(--color-gray);
  line-height: 1.8;
}

/* =========================
   COMMON SECTION
========================= */
/* =========================
   FAQ GRID
========================= */

.faq-grid {
  width: 100%;
  display: grid;
  grid-template-columns:
    repeat(2, 1fr);
  gap: 24px;
}

.infrastructure-section,
.faq-section {
  /* padding: 60px 0; */
  background: #f8fafc;
}

section.infrastructure-section{
  padding: 30px 0px !important;
}

section.faq-section{
  padding: 30px 0px !important;
}

.infrastructure-card {
  width: 100%;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  padding: 46px;
  box-shadow:
    0 10px 30px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-card {
  width: 100%;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  padding: 46px;
  box-shadow:
    0 10px 30px rgba(15, 23, 42, 0.04);
}

.faq-card h2{
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   TOOL TAGS
========================= */

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 36px;
}

.tool-tag {
  padding: 14px 24px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: var(--text-md);
  font-weight: 600;
  color: #334155;
  transition: 0.3s ease;
}

.tool-tag:hover {
  background: var(--color-light-blue);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.more-tag {
  cursor: pointer;
}

/* =========================
   GUARANTEE BOX
========================= */

.guarantee-box {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 18px;
}

.guarantee-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--color-light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  flex-shrink: 0;
}

.guarantee-box h3 {
  font-size: var(--text-xxl);
  margin-bottom: 12px;
  color: var(--color-primary-dark);
}

.guarantee-box p {
  color: #64748b;
  line-height: 1.8;
  font-size: var(--text-lg);
}

/* =========================
   FAQ
========================= */

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  margin-bottom: 5px;
  overflow: hidden;
  transition: 0.3s ease;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: white;
  border: none;
  cursor: pointer;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary-dark);
  text-align: left;
}

.faq-icon {
  font-size: var(--heading-xs);
  color: var(--color-primary);
  transition: 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease;
  padding: 0 28px;
  color: #64748b;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding:
    0 28px 28px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* =========================
   FAQ CONTACT
========================= */

.faq-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding: 24px 28px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #f8fafc;
}

.faq-contact span {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary-dark);
}

.faq-contact a {
  color: var(--color-primary);
  font-weight: 700;
  transition: 0.3s ease;
}

.faq-contact a:hover {
  opacity: 0.8;
}

/* =========================
   CTA SECTION
========================= */

.cta-section {
  padding: 30px 0 60px;
  background: #f8fafc;
}

.cta-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 50px 60px;
  border-radius: 32px;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--color-primary), var(--color-primary), #722fdf);

  box-shadow:
    0 20px 50px rgba(79, 70, 229, 0.25);
}

/* OPTIONAL GLOW */

/* =========================
   CONTENT
========================= */

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: white;
  font-size: var(--heading-lg);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-lg);
  font-weight: 500;
}

/* =========================
   BUTTON
========================= */

.cta-action {
  position: relative;
  z-index: 2;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* padding: 18px 42px; */
  background: white;
  color: var(--color-primary-dark);
  border-radius: 18px;
  font-size: var(--text-lg);
  font-weight: 700;
  transition: 0.3s ease;
  min-width: 170px;
  height: 52px;
  border-radius: 10px;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.18);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {

  .services-grid,
  .process-grid {

    grid-template-columns:
      repeat(2, 1fr);

  }
}

@media (max-width: 992px) {

  .hero {
    padding: 48px 0;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 54px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content p {
    margin-inline: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-features {
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 52px;
  }

  .cta-box {

    flex-direction: column;
    align-items: flex-start;

    padding: 40px;
  }

}

@media (max-width: 768px) {

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: var(--text-lg);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .hero-badge {
    font-size: 13px;
  }

  section {
    padding: 40px 0;
  }

  .section-header h2,
.infrastructure-card h2,
.faq-card h2 {
    font-size: var(--heading-md);
  }

  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-card{
    padding: 30px 26px;
  }
  
  .service-icon{
    margin-bottom: 12px;
  }

  .testimonial-card {
    width: 280px;
  }

  .slider-btn {
    width: 42px;
    height: 42px;
    font-size: var(--text-lg);
  }

  .prev-btn {
    left: -10px;
  }

  .next-btn {
    right: -10px;
  }

  .infrastructure-card,
  .faq-card {
    padding: 32px;
  }

  .guarantee-box {
    flex-direction: column;
    text-align: center;
  }

  .faq-question {
    font-size: var(--text-lg);
  }

  .faq-contact {

    flex-direction: column;
    align-items: flex-start;
  }

  .cta-content h2 {
    font-size: var(--heading-sm);
  }

  .cta-content p {
    font-size: var(--text-lg);
  }

  .cta-btn {
    width: 100%;
    padding: 16px 24px;
  }

  .cta-action {
    width: 100%;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {

  .hero-content h1 {
    font-size: var(--heading-md);
  }

  .hero-features {
    flex-direction: column;
    gap: 18px;
  }

  .service-card h3{
    font-size: var(--heading-xxs);
  }

  .section-header h2,
.infrastructure-card h2,
.faq-card h2{
  font-size: var(--heading-sm);
}

  .testimonial-card {
    width: 240px;
  }

  .tool-tags {
    gap: 12px;
  }

  .tool-tag {
    padding: 12px 18px;
    font-size: var(--text-sm);
  }

  .faq-question {
    padding: 20px;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 20px;
  }

  .cta-box {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .cta-content h2 {
    font-size: var(--heading-xs);
  }

}