.agrobiznis-page body {
  background-color: #f9f9f9;
}

/* Agrobiznis Content Section */
.agrobiznis-wrapper {
  max-width: 1200px;
  margin: 4em auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 8em;
}

.content-wrapper {
  display: flex;
  align-items: stretch;
}

.agrobiznis-content {
  flex: 1.5;
  padding: 2em;
}

.agrobiznis-image-container {
  flex: 1;
  position: relative;
  max-width: 35%;
}

.agrobiznis-image {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.agrobiznis-title {
  font-size: 2em;
  color: #333;
  margin-bottom: 1em;
  margin-top: 0;
}

.agrobiznis-text {
  font-size: var(--text-font);
  color: #444;
  line-height: 1.5em;
  margin-bottom: 1.5em;
  text-align: justify;
}

.services-section-wrapper {
  background-color: #f9f9f9;
}

.services-section-service-page {
  max-width: 1200px;
  margin: 3em auto;
  padding: 2em;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-title-main {
  font-size: var(--title-font);
  color: #333;
  margin-bottom: 0.5em;
  text-align: center;
  width: 100%;
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 0.2em;
}

/* Services Container - Two Column Layout */
.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
  width: 100%;
  margin-top: 2em;
}

/* Service Card Styling */
.service-card-service-page {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 1.5em;
  border-radius: 1.4em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #ffffff;
  margin: 1em 0;
  width: 100%;
  max-width: 350px;
}

/* Header of Each Service Card */
.service-header-service-page {
  gap: 1em;
  width: 100%;
  text-align: center;
}

.service-icon {
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin-bottom: 1em;
}

/* Service Card Title */
.service-title-service-page {
  font-size: 1.4em;
  color: #333;
  margin: 0;
  margin-bottom: 0.5em;
  margin-top: 1em;
  min-height: 2.8em;
}

/* Service Card Description */
.service-description-service-page {
  font-size: 1.1em;
  color: #444;
  line-height: 1.6em;
  text-align: justify;
  margin-top: 1em;
  width: 100%;
}

.development-strategy-section {
  max-width: 1200px;
  margin: 3em auto;
  padding: 2em;
  padding-top: 0;
  text-align: center;
}

.development-strategy-header {
  border-left: 5px solid var(--primary-color);
  padding-left: 1em;
}

.development-strategy-title {
  font-size: var(--title-font);
  color: #333;
  text-align: left;
}

.development-strategy-text {
  margin-top: 0;
  font-size: var(--text-font);
  text-align: left;
  margin-bottom: 2em;
}

.development-strategy-container {
  display: flex;
  justify-content: space-between;
  gap: 2em;
  flex-wrap: wrap;
}

.development-card {
  flex: 1;
  min-width: 250px;
  max-width: 30%;
  padding: 1.5em;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.development-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1em;
}

.development-card-title {
  font-size: 1.4em;
  color: #333;
  margin-bottom: 0.5em;
}

.development-description {
  font-size: 1.1em;
  color: #444;
  line-height: 1.6em;
  text-align: justify;
}

.reversewhite {
  background-color: #ffffff;
  padding-top: 0;
}

@media (max-width: 768px) {
  /* Wrapper Adjustments */

  .agrobiznis-wrapper {
    max-width: 100vw;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .content-wrapper {
    flex-direction: column;
    display: flex;
    padding: 0;
    align-items: stretch;
  }

  .agrobiznis-image-container {
    position: relative;
    max-width: 100%;
    width: 100%;
    height: 220px;
    min-height: 220px;
    margin: 0 auto;
    display: block;
    order: -1;
  }

  .agrobiznis-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    z-index: 1;
  }

  .agrobiznis-content {
    padding: 1.5em 1em 1em 1em;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    top: -6em;
  }
  .reverse-color {
    color: white;
    z-index: 2;
    position: relative;
    width: 100%;
    max-width: 100%;
  }

  .agrobiznis-title {
    font-size: var(--title-font);
    text-align: center;
    width: 100%;
    margin-bottom: 0;
    white-space: nowrap;
    text-shadow: 4px 6px 8px rgba(0, 0, 0, 0.35), 2px 2px 1px rgb(0, 0, 0);
  }

  .agrobiznis-text {
    font-size: var(--text-font);
    text-align: justify;
    margin-top: 3em;
    margin-bottom: -3em;
  }

  /* Services Section */

  .services-section-service-page {
    justify-content: center;
    width: 100%;
    padding: 0;
  }
  .services-section-wrapper {
    padding: 0em;
  }

  .services-title-main {
    font-size: var(--title-font);
    max-width: 90%;
  }

  .services-container {
    grid-template-columns: 1fr;
    gap: 1em;
    margin: 0 auto;
    max-width: 90%;
  }

  .service-card-service-page {
    padding: 1em;
    margin: 1em auto;
    width: 90%;
  }

  .service-header-service-page {
    text-align: center;
  }

  .service-icon {
    margin: 0 auto;
  }

  /* Development Strategy Section */
  .development-strategy-section {
    padding: 1em;
  }

  .development-strategy-title {
    font-size: var(--title-font);
    margin-bottom: 0.5em;
  }

  .development-strategy-container {
    flex-direction: column;
    gap: 1em;
    padding: 1em;
  }

  .development-card {
    margin: 1em auto;
    padding: 1em;
    max-width: none;
  }

  .development-icon {
    margin: 0 auto;
  }

  .development-card-title {
    font-size: var(--mobile-title-font);
  }

  .services-section-service-page {
    margin: 0 auto;
  }

  .development-strategy-text {
    font-size: var(--text-font);
  }

  .service-description-service-page {
    font-size: var(--text-font);
  }

  .service-title-service-page {
    font-size: var(--mobile-title-font);
  }

  .development-description {
    font-size: var(--text-font);
  }
}
