/* ===============================
   SERVICES PAGE
================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Poppins",
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-weight: 400; /* default regular weight */
  line-height: 1.6;
  color: #333;
  line-height: 1.6;
  color: #333;
  background-color: #f9fafb;
  margin-top: 70px;
}

.btn {
  display: inline-block;
  padding: 15px 20px;
  background: linear-gradient(to left, #3f7cff, #1e3a8a);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;
  font-weight: 500;
  transition: ease 0.3s;
}

.btn:hover {
  opacity: 0.9;
  transition: ease 0.3s;
}

/* HERO */
.services-hero {
  background: linear-gradient(to left, #3f7cff, #1e3a8a);
  color: #fff;
  text-align: center;
  padding: 100px 0 90px;
  /* height: 250px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.services-hero h1 {
  font-size: 3.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.services-hero p {
  max-width: 650px;
  /* margin: auto; */
  font-size: 1.2em;
}

/* LIST */
.services-list {
  padding: 80px 0 0 0;
  background: white;
  display: flex;
  justify-content: center;
  width: 100%;
}

.services-wrapper {
  width: 80%;
}

.service-block {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 90px;
  height: 400px;
}

.last-block {
  margin-bottom: none !important;
}

.service-block.reverse {
  flex-direction: row-reverse;
}

.service-block .service-img-holder {
  width: 50%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
}

.img1 {
  background-image: url("/images/projects/aluminum/aluminum2.jpg");
}

.img2 {
  background-image: url("/images/projects/glass/glass1.jpg");
}

.img3 {
  background-image: url("/images/projects/ceiling/ceiling2.jpg");
}

.img4 {
  background-image: url("/images/projects/handrails/handrail10.jpeg");
}

.img5 {
  background-image: url("/images/projects/aluminum/aluminum6.jpg");
}

.service-text {
  width: 50%;
}

.service-icon {
  height: 65px;
  width: 65px;
  border-radius: 7px;
  background: linear-gradient(180deg, #1e3a8a, #3f7cff);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  color: white;
  font-size: 30px;
}

.service-text h2 {
  color: #1e3a8a;
  margin-bottom: 10px;
}

.service-text p {
  color: #606a78;
  margin-bottom: 15px;
}

.list-holder .item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.item i {
  border-radius: 15px;
  color: #3f7cff;
  font-size: 8px;
  border: 2px solid #3f7cff;
  height: 20px;
  width: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
}

.item p {
  margin: 0;
}

.service-text ul {
  padding-left: 18px;
}

.service-text li {
  margin-bottom: 8px;
}

/* CTA */
.services-cta {
  background: #f3f4f6;
  text-align: center;
  padding: 80px 20px;
}

.services-cta h2 {
  color: #1e3a8a;
  margin-bottom: 10px;
  font-size: 2em;
}

.services-cta p {
  max-width: 700px;
  margin: auto auto 25px;
  font-size: 16px;
  color: #606a78;
}

/* ===============================
   AFTER SERVICE SUPPORT
================================= */

.after-service {
  width: 100%;
  background: #cae1fe;
  padding: 50px 60px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-top: 120px;
  margin-bottom: 70px;
}

.after-service-icon {
  min-width: 80px;
  height: 80px;
  background: #e5e7eb;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  color: #1e3a8a;
}

.after-service-text h2 {
  color: #1e3a8a;
  font-size: 2rem;
  margin-bottom: 10px;
}

.after-service-text p {
  color: #2f3a4a;
  max-width: 750px;
  line-height: 1.7;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .after-service {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 25px;
  }

  .after-service-icon {
    margin-bottom: 15px;
  }

  .after-service-text h2 {
    font-size: 1.5rem;
  }
}

/* ===============================
   INTERNATIONAL SECTION
================================= */

.intl-section {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, #1e3a8a, #3f7cff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.intl-container {
  max-width: 1100px;
  width: 100%;
  text-align: center;
  color: #fff;
}

.intl-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.intl-container h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.intl-desc {
  max-width: 750px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

/* CARDS */
.intl-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.intl-card {
  flex: 1;
  min-width: 300px;
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 16px;
  text-align: left;
  backdrop-filter: blur(10px);
  transition: 0.3s ease;
}

.intl-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
}

.intl-card h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.intl-card h3 i {
  margin-right: 10px;
  color: #93c5fd;
}

.intl-card ul {
  list-style: none;
  padding: 0;
}

.intl-card li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.intl-card li i {
  margin-right: 10px;
  color: #93c5fd;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .intl-container h2 {
    font-size: 1.8rem;
  }

  .intl-desc {
    font-size: 1rem;
  }

  .intl-cards {
    flex-direction: column;
  }
}

/* ===============================
   MOBILE RESPONSIVENESS (FIXED)
================================= */

/* Tablets */
@media (max-width: 992px) {
  .services-wrapper {
    width: 90%;
  }

  .service-block {
    gap: 30px;
    height: auto;
  }
}

/* Phones */
@media (max-width: 768px) {
  .services-hero {
    height: auto;
    padding: 80px 20px 60px;
    text-align: center; /* hero can stay centered */
  }

  .services-hero h1 {
    font-size: 2rem;
  }

  .services-list {
    padding: 50px 0;
  }

  .service-block,
  .service-block.reverse {
    flex-direction: column;
    height: auto;
  }

  .service-block .service-img-holder {
    width: 100%;
    height: 220px;
  }

  /* FORCE LEFT ALIGNMENT */
  .service-text {
    width: 100%;
    text-align: left;
  }

  .service-icon {
    margin-bottom: 20px; /* remove auto-centering */
  }

  .list-holder {
    text-align: left;
    margin: 0;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .services-hero h1 {
    font-size: 1.7rem;
  }

  .services-hero p {
    font-size: 0.95rem;
  }

  .service-text h2 {
    font-size: 1.4rem;
  }

  .service-text p {
    font-size: 0.95rem;
  }

  .service-block .service-img-holder {
    height: 180px;
  }

  .btn {
    padding: 12px 18px;
    font-size: 0.9rem;
  }
}
