/*==================================================
RESEARCH & DEVELOPMENT INTRO
==================================================*/

.rnd-intro {
  padding: 120px 0 0px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.rnd-intro::before {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  top: -320px;
  right: -250px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(125, 186, 58, 0.08),
    transparent 70%
  );
}

.rnd-intro .container {
  width: min(1400px, 90%);
  margin: auto;
  position: relative;
  z-index: 2;
}

/*=====================================
GRID
=====================================*/

.rnd-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: center;
}

/*=====================================
IMAGE
=====================================*/

.rnd-image {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  height: 600px;
}

.rnd-image img {
  width: 100%;
  display: block;
  border-top: 28px;
  transition: 0.6s ease;
  height: 600px;
}

.rnd-image:hover img {
  transform: scale(1.05);
}

/*=====================================
CONTENT
=====================================*/

.rnd-content {
  max-width: 620px;
}

.rnd-content .section-tag {
  display: inline-block;
  color: #0b6a37;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.rnd-content h2 {
  font-size: clamp(2.8rem, 5vw, 4.3rem);
  line-height: 1.1;
  font-weight: 800;
  color: #111;
  margin-bottom: 20px;
}

.rnd-content h2 span {
  color: #0b6a37;
}

.title-line {
  width: 70px;
  height: 4px;
  background: #0b6a37;
  border-radius: 30px;
  margin-bottom: 35px;
}

.rnd-content p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 22px;
}

/*=====================================
FEATURE GRID
=====================================*/

.rnd-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

/*=====================================
CARD
=====================================*/

.rnd-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 18px;
  padding: 28px 18px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;

  min-height: 230px;

  transition: 0.35s ease;

  width: 100%;
  height: 100%;
  min-height: 240px;
}

.rnd-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  border-color: #d9ebd8;
}

/*=====================================
ICON
=====================================*/

.rnd-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #f4fbf5;

  display: flex;
  justify-content: center;
  align-items: center;

  margin-bottom: 22px;

  transition: 0.35s;
}

.rnd-icon svg {
  width: 34px;
  height: 34px;
}

.rnd-card:hover .rnd-icon {
  background: #0b6a37;
}

.rnd-card:hover svg path,
.rnd-card:hover svg circle {
  stroke: #ffffff;
}

.rnd-card:hover svg circle[fill] {
  fill: #ffffff;
}

/*=====================================
TEXT
=====================================*/

.rnd-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0b6a37;
  margin-bottom: 12px;
  line-height: 1.3;

  min-height: 48px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.rnd-card p {
  margin-top: auto;
  color: #666;
  font-size: 0.92rem;
  line-height: 1.6;
}

/*=====================================
RESPONSIVE
=====================================*/

@media (max-width: 1200px) {
  .rnd-grid {
    grid-template-columns: 1fr;

    gap: 60px;
  }

  .rnd-content {
    max-width: 100%;
  }

  .rnd-image {
    max-width: 850px;

    margin: auto;
  }

  .rnd-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .rnd-intro {
    padding: 80px 0;
  }

  .rnd-content h2 {
    font-size: 2.5rem;
  }

  .rnd-features {
    grid-template-columns: 1fr;
  }

  .rnd-card {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .rnd-content h2 {
    font-size: 2rem;
  }

  .rnd-card {
    padding: 25px 18px;
  }

  .rnd-icon {
    width: 60px;
    height: 60px;
  }

  .rnd-icon svg {
    width: 30px;
    height: 30px;
  }
}

/*==================================================
R&D PROCESS
==================================================*/

.rnd-process {
  padding: 120px 0 0px 0;
  background: #ffffff;
  position: relative;
}

.rnd-process .container {
  width: min(1350px, 90%);
  margin: auto;
}

/*=====================================
ITEM
=====================================*/

.process-item {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 60px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid #ececec;
}

.process-item:last-child {
  border-bottom: none;
}

/*=====================================
IMAGE
=====================================*/

.process-image {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}

.process-image img {
  width: 100%;
  display: block;
  border-radius: 22px;
  transition: 0.6s ease;
}

.process-image:hover img {
  transform: scale(1.05);
}

/*=====================================
CONTENT
=====================================*/

.process-content {
  max-width: 760px;
}

.process-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.process-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  width: 58px;
  height: 34px;

  border: 2px solid #0b6a37;
  border-radius: 50px;

  color: #0b6a37;

  font-size: 0.85rem;

  font-weight: 700;
}

.process-category {
  color: #0b6a37;

  text-transform: uppercase;

  font-weight: 700;

  letter-spacing: 1.5px;

  font-size: 0.82rem;
}

.process-content h2 {
  font-size: clamp(2rem, 3vw, 3rem);

  line-height: 1.15;

  color: #111;

  margin-bottom: 22px;

  font-weight: 800;
}

.process-content h2 span {
  color: #0b6a37;
}

.process-content p {
  color: #555;

  line-height: 1.9;

  font-size: 1.02rem;

  max-width: 680px;
}

/*=====================================
IMAGE HOVER
=====================================*/

.process-item:hover .process-image img {
  transform: scale(1.04);
}

/*=====================================
SUBTLE HOVER
=====================================*/

.process-item {
  transition: 0.35s ease;
}

.process-item:hover {
  transform: translateX(10px);
}

/*=====================================
RESPONSIVE
=====================================*/

@media (max-width: 1100px) {
  .process-item {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .process-image {
    max-width: 700px;

    margin: auto;
  }

  .process-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .rnd-process {
    padding: 80px 0;
  }

  .process-item {
    padding: 30px 0;
  }

  .process-content h2 {
    font-size: 2.2rem;
  }

  .process-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .process-content h2 {
    font-size: 1.8rem;
  }

  .process-header {
    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
  }

  .process-number {
    width: 52px;
    height: 32px;
  }
}

/*==================================================
R&D CTA
==================================================*/

.rnd-cta {
  padding: 100px 0;

  background: #fff;
}

.rnd-cta .container {
  width: min(1400px, 90%);

  margin: auto;
}

.cta-card {
  height: 200px;

  width: 100%;

  border-radius: 28px;

  overflow: hidden;

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 70px;

  position: relative;

  background:
    linear-gradient(
      90deg,
      rgba(8, 18, 11, 0.95) 0%,
      rgba(8, 18, 11, 0.88) 45%,
      rgba(8, 18, 11, 0.4) 100%
    ),
    url("../images/food-science.jpg");

  background-size: cover;

  background-position: center;

  color: #fff;
}

.cta-card::before {
  content: "";

  position: absolute;

  inset: 0;

  background: radial-gradient(
    circle at right,

    rgba(140, 198, 63, 0.12),
    transparent 55%
  );
}

.cta-content {
  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;

  gap: 35px;

  max-width: 700px;
}

.cta-icon {
  width: 90px;

  height: 90px;

  border-radius: 50%;

  background: rgba(140, 198, 63, 0.08);

  border: 1px solid rgba(140, 198, 63, 0.3);

  display: flex;

  justify-content: center;

  align-items: center;

  flex-shrink: 0;
}

.cta-icon svg {
  width: 46px;
}

.cta-text span {
  color: #8cc63f;

  font-size: 0.9rem;

  text-transform: uppercase;

  letter-spacing: 2px;

  font-weight: 700;
}

.cta-text h2 {
  font-size: 3rem;

  margin: 12px 0;

  line-height: 1.1;
}

.cta-text p {
  color: #d6d6d6;

  line-height: 1.8;

  max-width: 560px;
}

.cta-btn {
  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;

  gap: 12px;

  padding: 18px 34px;

  border-radius: 60px;

  background: #8cc63f;

  color: #fff;

  text-decoration: none;

  font-weight: 700;

  transition: 0.35s;
}

.cta-btn:hover {
  background: #0b6a37;

  transform: translateY(-4px);
}

@media (max-width: 992px) {
  .cta-card {
    height: auto;

    padding: 60px 40px;

    flex-direction: column;

    align-items: flex-start;

    gap: 40px;
  }

  .cta-content {
    flex-direction: column;

    align-items: flex-start;
  }

  .cta-text h2 {
    font-size: 2.3rem;
  }
}

@media (max-width: 768px) {
  .cta-card {
    padding: 50px 30px;
  }

  .cta-text h2 {
    font-size: 2rem;
  }
}
