/* ==============================
   COMMON
============================== */

.services-hero,
.expertise-section,
.service-category,
.split-service {
  width: 100%;
}

.category-container {
  width: 88%;
  max-width: 1250px;
  margin: 0 auto;
}

.services-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 32px;

  background: linear-gradient(135deg, #e4c175, #f5bb43);

  color: #ffffff;
  text-decoration: none;

  border-radius: 12px;

  font-weight: 700;
  font-size: 14px;

  transition: 0.3s ease;
}

.services-btn:hover {
  transform: translateY(-3px);
}


/* ==============================
   HERO
============================== */

.services-hero {
  min-height: 520px;

  display: flex;
  align-items: center;

  padding: 60px 7%;

  background: linear-gradient(
    115deg,
    #82acd4 0%,
    #4d667b 100%
  );
}

.services-hero-content {
  max-width: 650px;
}

.services-hero h1 {
  margin: 0 0 35px;

  font-size: 34px;
  color: #f2c35e;
}

.services-hero p {
  margin: 0;

  color: white;

  font-size: 17px;
  line-height: 1.4;
}

.services-hero .services-btn {
  margin-top: 50px;

  min-width: 250px;
}


/* ==============================
   EXPERTISE
============================== */

.expertise-section {
  display: grid;
  grid-template-columns: 50% 50%;

  min-height: 500px;

  background: #ffffff;
}

.expertise-content {
  padding: 65px 90px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.expertise-content h2 {
  margin: 0 0 65px;

  font-size: 37px;
  line-height: 1.1;

  color: #759cc5;
}

.expertise-content p {
  max-width: 620px;

  font-size: 17px;
  line-height: 1.35;

  color: #173a5e;
}

.expertise-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  display: block;
}


/* ==============================
   CATEGORY
============================== */

.service-category,
.split-service {
  padding: 55px 0;
}

.light-section {
  background: #ffffff;
  color: #173a5e;
}

.blue-section {
  background: linear-gradient(
    120deg,
    #7fa7ce,
    #4f687d
  );

  color: #ffffff;
}

.service-category h2,
.split-service h2 {
  margin: 0;

  font-size: 34px;
  line-height: 1.1;
}

.light-section h2 {
  color: #e5bb60;
}

.category-subtitle {
  margin: 5px 0 40px;

  font-size: 16px;
}

/* WHITE OVERLAY ONLY ON LEFT SIDE */
.expertise-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 45%;
  height: 100%;

  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.85) 25%,
    rgba(255, 255, 255, 0.45) 60%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* ==============================
   SERVICE GRID
============================== */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 35px 60px;
}

.service-item {
  display: grid;
  grid-template-columns: 165px 1fr;

  align-items: start;

  gap: 14px;
}

.service-item img {
  width: 165px;
  height: 125px;

  object-fit: cover;

  border-radius: 18px;

  border: 2px solid #173a5e;
}

.service-item h3 {
  margin: 7px 0 3px;

  font-size: 17px;
}

.service-item p {
  margin: 0;

  font-size: 15px;
  line-height: 1.4;
}

.category-button {
  text-align: center;

  margin-top: 40px;
}

/* Animation Effects */
.service-item {
  transition: transform 0.35s ease;
}

.service-item:hover {
  transform: translateY(-6px);
}

.service-item img {
  transition: transform 0.4s ease,
              box-shadow 0.4s ease;
}

.service-item:hover img {
  transform: scale(1.04);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.services-btn {
  transition: transform 0.3s ease,
              box-shadow 0.3s ease;
}

.services-btn:hover {
  transform: translateY(-4px);
  /* box-shadow: 0 10px 25px rgba(25, 57, 89, 0.2); */
}

/* ==============================
   SPLIT SECTIONS
============================== */

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;

  align-items: center;

  gap: 70px;
}

.split-layout img {
  width: 100%;
  max-width: 520px;
  height: 290px;

  object-fit: cover;

  border-radius: 20px;

  border: 2px solid #173a5e;
}

.split-layout ul {
  margin: 0;
  padding-left: 22px;

  font-size: 17px;
  line-height: 1.5;
}


/* ==============================
   TABLET
============================== */

@media (max-width: 991px) {

  .expertise-section {
    grid-template-columns: 1fr;
  }

  .expertise-content {
    padding: 50px 7%;
  }

  .expertise-content h2 {
    margin-bottom: 30px;
  }

  .expertise-image {
    height: 400px;
  }

  .service-grid {
    gap: 30px;
  }

  .service-item {
    grid-template-columns: 130px 1fr;
  }

  .service-item img {
    width: 130px;
    height: 110px;
  }
}


/* ==============================
   MOBILE
============================== */

@media (max-width: 767px) {

  .services-hero {
    min-height: 470px;

    padding: 50px 25px;
  }

  .services-hero h1 {
    font-size: 28px;
  }

  .services-hero p {
    font-size: 15px;
  }

  .services-hero p br {
    display: none;
  }

  .services-hero .services-btn {
    width: 100%;

    margin-top: 35px;
  }


  .expertise-content h2 {
    font-size: 29px;
  }

  .expertise-content p {
    font-size: 15px;
  }

  .expertise-image {
    height: 300px;
  }


  .service-category,
  .split-service {
    padding: 45px 0;
  }

  .service-category h2,
  .split-service h2 {
    font-size: 27px;
  }

  .category-subtitle {
    font-size: 14px;
  }


  .service-grid {
    grid-template-columns: 1fr;

    gap: 25px;
  }

  .service-item {
    grid-template-columns: 120px 1fr;

    gap: 12px;
  }

  .service-item img {
    width: 120px;
    height: 100px;
  }

  .service-item h3 {
    font-size: 15px;
  }

  .service-item p {
    font-size: 13px;
  }


  .split-layout,
  .reverse-layout {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .split-layout img {
    max-width: 100%;

    height: 250px;
  }

  .split-layout ul {
    font-size: 15px;
  }
}