/* Services Addon Page Styles */

/* ================= SERVICE DELIVERY SECTION ================= */
/* =========================
   SECTION BACKGROUND
========================= */
.service-delivery-section {
  position: relative;
  padding: 220px 100px 220px 100px;
  height: 100vh;
  background:
    linear-gradient(rgba(32, 31, 31, 0.70), rgba(32, 31, 31, 0.70)),
    url('../images/star-gif.gif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.service-delivery-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 220px;
  background: linear-gradient(to bottom,
      rgba(32, 31, 31, 0.95) 0%,
      rgba(32, 31, 31, 0.6) 35%,
      rgba(32, 31, 31, 0.3) 70%,
      transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.service-delivery-section .container-fluid {
  position: relative;
  z-index: 2;
  height: 100vh;
}

/* =========================
   LAYOUT
========================= */
.service-delivery-row {
  display: flex;
  gap: 60px;
  width: 100%;
  max-width: 1400px;
  padding: auto;
  margin: 0 auto;
  
}

.service-delivery-card {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: end;
  background: rgba(60, 60, 60);
  position: relative;
  padding: 30px;
  border-radius: 20px;
}

.services-delivery-empty-box {
  height: 300px;
}

/* =========================
   IMAGE CARD
========================= */
.service-delivery-image {
  position: absolute;
  /* width: calc(100% - 100px); */
  height: 420px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 42px;
  top: -120px;
  left: 50px;
}

.service-delivery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* display: block; */
  border-radius: 28px !important;

}

/* Handle empty image containers (first card) - comments don't count as content for :empty */
.service-delivery-card:first-child .service-delivery-image:empty {
  display: none;
}

/* subtle glow like reference */
.service-delivery-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  /* box-shadow: inset 0 0 80px rgba(0,0,0,0.35); */
  pointer-events: none;
}

/* =========================
   CONTENT
========================= */
.service-delivery-content h2 {
  font-family: 'Satoshi', sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 22px;
}

.service-delivery-content p {
  font-family: 'Satoshi', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 95%;
}

/* =========================
   RESPONSIVE - SERVICE DELIVERY
========================= */
@media (max-width: 1200px) {
  .service-delivery-section {
    padding: 100px 60px;
  }

  .service-delivery-image {
    /* width: calc(100% - 80px); */
    left: 40px;
  }
}

@media (max-width: 991px) {
  .service-delivery-section {
    padding: 100px 40px;
  }

  .service-delivery-row {
    flex-direction: column;
    gap: 100px;
  }

  .service-delivery-card {
    padding: 40px 30px;
    min-height: auto;
  }

  .services-delivery-empty-box {
    height: 0;
  }

  .service-delivery-image {
    position: relative;
    width: 100%;
    height: 380px;
    top: 0;
    left: 0;
    margin-bottom: 30px;
  }

  .service-delivery-image:empty {
    display: none;
  }

  .service-delivery-content {
    width: 100%;
  }

  .service-delivery-content h2 {
    font-size: 40px;
  }

  .service-delivery-content p {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .service-delivery-section {
    padding: 80px 24px;
  }

  .service-delivery-row {
    gap: 80px;
  }

  .service-delivery-card {
    padding: 30px 20px;
  }

  .service-delivery-image {
    height: 300px;
    margin-bottom: 24px;
  }

  .service-delivery-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .service-delivery-content p {
    font-size: 16px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .service-delivery-section {
    padding: 60px 20px;
  }

  .service-delivery-card {
    padding: 24px 16px;
  }

  .service-delivery-image {
    height: 250px;
    margin-bottom: 20px;
  }

  .service-delivery-content h2 {
    font-size: 28px;
  }

  .service-delivery-content p {
    font-size: 15px;
  }
}

/* ================= AUTOMATION DELIVERS SECTION ================= */
.automation-delivers-section {
  background:#2A2A2A;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 100px;
  position: relative;
  overflow: hidden;
}

.automation-delivers-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom,
      rgba(32, 31, 31, 0.95) 0%,
      rgba(32, 31, 31, 0.6) 30%,
      rgba(32, 31, 31, 0.3) 70%,
      transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.automation-delivers-section .container-fluid {
  position: relative;
  z-index: 2;
}

.automation-delivers-content-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.automation-delivers-text-content {
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: 100%;
}


.automation-intro-text {
  font-size: 18px;
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.6;
  font-family: 'Satoshi', sans-serif;
}







/* ================= WHO IT'S FOR SECTION ================= */
.who-its-for-section {
  background:
    linear-gradient(rgba(32, 31, 31, 0.70) 100%),
    url('../images/star-gif.gif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 100px;
  position: relative;
  overflow: hidden;
}

.who-its-for-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom,
      rgba(32, 31, 31, 0.95) 0%,
      rgba(32, 31, 31, 0.6) 30%,
      rgba(32, 31, 31, 0.3) 70%,
      transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.who-its-for-section .container-fluid {
  position: relative;
  z-index: 2;
}

.who-its-for-content {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.who-its-for-content h2 {
  font-family: 'Satoshi', sans-serif;
  font-size: 72px;
  font-weight: 600;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 30px;
}

.who-its-for-subtitle {
  font-family: 'Satoshi', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
}

.who-its-for-placeholder {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
}

.who-its-for-placeholder img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}


/* ================= RESPONSIVE STYLES - AUTOMATION DELIVERS ================= */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  .automation-delivers-section,
  .who-its-for-section {
    padding: 100px 60px;
  }

  .automation-delivers-text-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 80px;
  }

  .automation-delivers-content-wrapper {
    gap: 50px;
  }

  .automation-content-section h2,
  .who-its-for-content h2 {
    font-size: 48px;
  }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {

  .automation-delivers-section,
  .who-its-for-section {
    padding: 60px 20px;
  }

  .automation-delivers-content-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .automation-delivers-text-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 50px;
  }

  .automation-content-section h2,
  .who-its-for-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
  }

  .automation-intro-text,
  .who-its-for-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {

  .automation-delivers-section,
  .who-its-for-section {
    padding: 50px 15px;
  }

  .automation-content-section h2,
  .who-its-for-content h2 {
    font-size: 32px;
  }
}











.automation-content-top {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 80px;
}

.automation-content-section {
  flex: 1;
  max-width: 50%;
}

.automation-content-section h2 {
  font-family: 'Satoshi', sans-serif;
  font-size: 60px;
  font-weight: 600;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 30px;
}

.automation-intro-text {
  font-family: 'Satoshi', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #FFFFFF;
}

.automation-delivers-image {
  flex: 1;
  max-width: 100%;
  height: auto;
  width: 100%;
}

.image-placeholder-large {
  width: 100%;
  height: 400px;
  background-color: transparent;
  background-image: url('../images/services-inner/section2.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 8px;
}

.automation-grid-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 30px;
}

.automation-item-wrapper {
  position: relative;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 300px;
}

.automation-item-wrapper:nth-child(4) {
  grid-column: 1;
}

.automation-item-wrapper:nth-child(5) {
  grid-column: 2;
}

.automation-number-display {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 280px auto;
  
}

.automation-item-wrapper[data-mark="01"] .automation-number-display {
  background-image: url('../images/marks/01.png');
}

.automation-item-wrapper[data-mark="02"] .automation-number-display {
  background-image: url('../images/marks/02.png');
}

.automation-item-wrapper[data-mark="03"] .automation-number-display {
  background-image: url('../images/marks/03.png');
}

.automation-item-wrapper[data-mark="04"] .automation-number-display {
  background-image: url('../images/marks/04.png');
}

.automation-item-wrapper[data-mark="05"] .automation-number-display {
  background-image: url('../images/marks/05.png');
}

.automation-content-block {
  position: relative;
  z-index: 1;
  margin-top: 60px;
}

.automation-title-text {
  font-family: 'Satoshi', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 20px;
}

.automation-description-text {
  font-family: 'Satoshi', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #ffffff;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
  .automation-content-top {
    flex-direction: column;
    gap: 40px;
  }

  .automation-content-section {
    max-width: 100%;
  }

  .automation-content-section h2 {
    font-size: 48px;
  }

  .automation-delivers-image {
    max-width: 100%;
    width: 100%;
  }

  .image-placeholder-large {
    height: 350px;
    width: 100%;
  }

  .automation-grid-container {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .automation-item-wrapper:nth-child(3) {
    grid-column: 1 / -1;
  }

  .automation-item-wrapper:nth-child(4) {
    grid-column: 1;
  }

  .automation-item-wrapper:nth-child(5) {
    grid-column: 2;
  }
}

@media (max-width: 768px) {
  .automation-content-section h2 {
    font-size: 40px;
  }

  .automation-intro-text {
    font-size: 16px;
  }

  .image-placeholder-large {
    height: 300px;
    width: 100%;
  }

  .automation-grid-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .automation-item-wrapper:nth-child(3),
  .automation-item-wrapper:nth-child(4),
  .automation-item-wrapper:nth-child(5) {
    grid-column: 1;
  }

  .automation-item-wrapper {
    padding: 30px;
    min-height: 280px;
  }

  .automation-number-display {
    background-size: 200px auto;
  }

  .automation-title-text {
    font-size: 24px;
  }

  .automation-description-text {
    font-size: 15px;
  }

  .automation-content-block {
    margin-top: 50px;
  }
}

@media (max-width: 480px) {
  .automation-content-top {
    gap: 30px;
    margin-bottom: 60px;
  }

  .automation-content-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .automation-intro-text {
    font-size: 15px;
  }

  .image-placeholder-large {
    height: 250px;
    width: 100%;
  }

  .automation-item-wrapper {
    padding: 25px 20px;
    min-height: 250px;
  }

  .automation-number-display {
    background-size: 180px auto;
  }

  .automation-content-block {
    margin-top: 40px;
  }

  .automation-title-text {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .automation-description-text {
    font-size: 14px;
  }
}


