/* ==========================================================================
   Home Page Styling (Exact Pixel-Perfect Match & Professional Hero Layout)
   ========================================================================== */

/* 1. Hero Section */
.hero-section-exact {
  background-color: #F3F4F5;
  background-image: url('https://infisetu.com/wp-content/uploads/2026/05/img_shape_bg.png.webp');
  background-repeat: no-repeat;
  background-size: cover;
  padding: 55px 0 60px 0;
  position: relative;
}

.hero-exact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-exact-content {
  text-align: left;
}

.hero-badge-pill {
  background: transparent !important;
  background-color: transparent !important;
  color: #2A7893 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin-bottom: 14px;
  font-weight: 800;
  letter-spacing: 1px;
}

.hero-exact-title {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  color: var(--dark-text);
  line-height: 1.22;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

.hero-exact-paragraph {
  font-family: var(--font-body);
  font-size: 15.5px;
  color: #393939;
  line-height: 1.75;
  margin: 0 0 26px 0;
  max-width: 580px;
}

.hero-exact-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-trust-features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-trust-item {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-trust-item i {
  color: #2A7893;
  font-size: 15px;
}

.hero-exact-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-illustration {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.06));
}

/* 2. Why Choose Us Section */
.why-choose-section {
  padding: 90px 0;
  background-color: #FFFFFF;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 60px;
}

.why-image-box {
  position: relative;
}

.why-image-box img {
  width: 100%;
  border-radius: var(--radius-md);
}

.floating-member-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #FFFFFF;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-light);
}

.badge-num {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #2A7893;
}

.badge-txt {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-text);
}

.why-description {
  font-size: 15.5px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 30px;
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin-bottom: 35px;
}

.check-item {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--dark-text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-item i {
  color: #2A7893;
  font-size: 16px;
}

/* 3. Services Showcase Section Grid & Cards */
.services-section {
  padding: 90px 0;
  background-color: #F8FAFC;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.services-header {
  margin-bottom: 50px;
}

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

.service-showcase-card, .service-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 32px 26px 28px 26px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-normal);
}

.service-showcase-card:hover, .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(19, 34, 56, 0.1);
  border-color: #2A7893;
}

.card-top-tag {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  color: #2A7893;
  background: #E0F2FE;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-bottom: 20px;
  letter-spacing: 0.8px;
}

.featured-tag {
  background: linear-gradient(135deg, #2A7893, #1D2C38);
  color: #FFFFFF;
}

.service-icon-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.s-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(42, 120, 147, 0.12) 0%, rgba(42, 120, 147, 0.06) 100%);
  color: #2A7893;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.service-icon-header h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0;
  line-height: 1.3;
}

.service-summary {
  font-size: 14.5px;
  color: var(--text-gray);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-feature-list li {
  font-size: 13.5px;
  color: var(--dark-text);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.service-feature-list i {
  color: #2A7893;
  font-size: 12px;
  flex-shrink: 0;
}

.tech-stack-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  margin-top: auto;
}

.tech-stack-pills span {
  font-size: 11.5px;
  background: #F1F5F9;
  color: var(--text-gray);
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 600;
}

.btn-card-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #2A7893;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.btn-card-link i {
  transition: transform 0.2s ease;
}

.btn-card-link:hover i {
  transform: translateX(4px);
}

.featured-service-card {
  border: 2px solid #2A7893;
  box-shadow: 0 8px 24px rgba(42, 120, 147, 0.12);
}

/* 4. How We Work Section */
.how-we-work-section {
  padding: 90px 0;
  background-color: #FFFFFF;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
}

.work-description {
  font-size: 15.5px;
  color: var(--text-gray);
  line-height: 1.8;
}

.work-image-frame {
  background-color: #F0F7FB;
  border: 3px solid var(--accent-blue);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
}

.work-image-frame img {
  max-width: 100%;
}

/* 5. Stats Section */
.stats-section {
  padding: 20px 0 80px 0;
  background-color: #FFFFFF;
}

.stats-card-exact {
  background-color: #FFFFFF;
  border: 4px solid #2A7893;
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  box-shadow: 0 10px 30px rgba(42, 120, 147, 0.08);
}

.stat-col {
  border-right: 1px solid var(--border-light);
  padding: 0 15px;
}

.stat-col:last-child {
  border-right: none;
}

.stat-lbl {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-gray);
  margin-bottom: 6px;
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
  color: var(--dark-text);
  margin: 0;
  line-height: 1;
}

/* 6. FAQ Accordion Section (STICKY ILLUSTRATION ON SCROLL) */
.faq-section {
  background: linear-gradient(180deg, #F0F7FB 0%, #FFFFFF 100%);
  padding: 90px 0;
  position: relative;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr; /* 38% Image, 62% FAQ Accordion */
  align-items: flex-start; /* Required for position sticky */
  gap: 40px;
}

.faq-image-box {
  position: sticky;
  top: 120px;
  align-self: flex-start;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.faq-image-box img, .faq-illustration-img {
  width: 100%;
  max-width: 360px;
  max-height: 380px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.faq-content {
  width: 100%;
}

.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion-item {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

.accordion-item:hover {
  border-color: #2A7893;
  box-shadow: 0 4px 16px rgba(42, 120, 147, 0.08);
}

.accordion-header {
  padding: 18px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--dark-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.accordion-header span {
  flex-grow: 1;
  line-height: 1.4;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-body-inner {
  padding: 0 24px 20px 24px;
  font-size: 14.5px;
  color: var(--text-gray);
  line-height: 1.7;
}

.accordion-item.active {
  border-color: #2A7893;
  box-shadow: 0 6px 20px rgba(42, 120, 147, 0.12);
}

.accordion-item.active .accordion-header {
  color: #2A7893;
}

.accordion-item.active .accordion-body {
  max-height: 300px;
}

/* ==========================================================================
   Home Page Responsiveness: Tablet (<= 991px), Mobile (<= 767px), Small (<= 480px)
   ========================================================================== */

/* ==========================================================================
   Home Page Responsiveness: Tablet (<= 991px), Mobile (<= 767px), Small (<= 480px)
   ========================================================================== */

@media (max-width: 991.98px) {
  .hero-section-exact {
    padding: 40px 0 45px 0;
  }

  .why-choose-section, 
  .services-section, 
  .how-we-work-section, 
  .faq-section {
    padding: 60px 0;
  }

  .hero-exact-grid, 
  .why-grid, 
  .work-grid, 
  .faq-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  /* IMAGE FIRST IN HERO ON TABLET & MOBILE */
  .hero-exact-image {
    order: -1;
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
  }

  .hero-main-illustration {
    max-height: 320px;
    width: auto;
  }

  .hero-exact-content {
    order: 1;
    text-align: center;
  }

  .hero-exact-title {
    font-size: 34px;
    line-height: 1.25;
  }

  .hero-exact-buttons, 
  .hero-trust-features {
    justify-content: center;
  }

  .hero-exact-paragraph {
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
  }

  /* IMAGE FIRST IN WHY CHOOSE US */
  .why-image-box {
    order: -1;
    margin-bottom: 10px;
  }

  .floating-member-badge {
    position: relative;
    left: auto;
    bottom: auto;
    margin: -20px auto 16px auto;
    width: fit-content;
    max-width: 90%;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 2;
  }

  .why-content {
    order: 1;
  }

  .why-description,
  .work-description {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }

  .checklist-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

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

  /* IMAGE FIRST IN HOW WE WORK */
  .work-image-frame {
    order: -1;
    margin-bottom: 8px;
  }

  .work-content {
    order: 1;
  }

  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* TABLET 2x2 GRID FIX FOR STATS BOX */
  .stats-card-exact {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 24px 16px;
  }

  .stat-col {
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 18px 12px;
  }

  .stat-col:nth-child(2n) {
    border-right: none;
  }

  .stat-col:nth-last-child(-n+2) {
    border-bottom: none;
  }

  /* IMAGE FIRST IN FAQ SECTION */
  .faq-image-box {
    order: -1;
    position: static;
    margin: 0 auto 16px auto;
  }

  .faq-image-box img, 
  .faq-illustration-img {
    max-width: 280px;
    max-height: 260px;
  }

  .faq-content {
    order: 1;
    text-align: center;
  }

  .accordion-header {
    text-align: left;
  }

  .accordion-body-inner {
    text-align: left;
  }
}

@media (max-width: 767.98px) {
  .hero-section-exact {
    padding: 30px 0 35px 0;
  }

  .why-choose-section, 
  .services-section, 
  .how-we-work-section, 
  .faq-section {
    padding: 48px 0;
  }

  .hero-exact-title {
    font-size: 27px;
    line-height: 1.25;
  }

  .hero-exact-paragraph {
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 22px;
  }

  .hero-main-illustration {
    max-height: 240px;
  }

  .work-image-frame {
    padding: 18px;
  }

  .work-image-frame img {
    max-height: 210px;
  }

  .services-showcase-grid, 
  .services-grid, 
  .timeline-grid, 
  .checklist-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-showcase-card, 
  .service-card {
    padding: 24px 20px;
  }

  .step-card {
    padding: 24px 20px;
  }

  .stats-card-exact {
    padding: 18px 12px;
  }

  .stat-val {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .hero-exact-title {
    font-size: 23px;
  }

  .section-main-title {
    font-size: 23px;
  }

  .hero-exact-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-exact-buttons .btn-exact-teal, 
  .hero-exact-buttons .btn-exact-dark {
    width: 100%;
    justify-content: center;
  }

  .hero-trust-features {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .stats-card-exact {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }

  .stat-col {
    border-right: none !important;
    border-bottom: 1px solid var(--border-light) !important;
    padding: 16px 10px;
  }

  .stat-col:last-child {
    border-bottom: none !important;
  }

  .accordion-header {
    padding: 16px 18px;
    font-size: 14.5px;
  }

  .accordion-body-inner {
    padding: 0 18px 16px 18px;
    font-size: 14px;
  }
}
