/* =========================
   INDUSTRIES WE SERVE
========================= */

.industries {
  position: relative;
  padding: 130px 8%;
  background: #f5f9fc;
  overflow: hidden;
}

.industries-container {
  max-width: 1500px;
  margin: 0 auto;
}

/* =========================
 SECTION HEADING
========================= */

.industries-heading {
  max-width: 700px;
  margin-bottom: 65px;
}

.industries-heading .section-label {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1d6fa5;
}

.industries-heading h2 {
  margin-bottom: 25px;
  font-size: clamp(42px, 4vw, 64px);
  line-height: 1.05;
  font-weight: 700;
  color: #102f4a;
}

.industries-heading h2 span {
  display: block;
  color: #267bb4;
}

.industries-heading p {
  max-width: 650px;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #637687;
}

/* =========================
 FLEXBOX CARD CONTAINER
========================= */

.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* =========================
 INDUSTRY CARD
========================= */

.industry-card {
  position: relative;
  flex: 1 1 30%;
  min-width: 280px;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  border: 1px solid #e1ebf1;
  border-radius: 26px;
  background: #ffffff;
  overflow: hidden;
  transition: transform 0.35s ease, background 0.35s ease,
    border-color 0.35s ease, box-shadow 0.35s ease;
}

/* =========================
 HOVER EFFECT
========================= */

.industry-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(135deg, #0d3554, #1f6f9f);
  border-color: transparent;
  box-shadow: 0 20px 45px rgba(16, 47, 74, 0.16);
}

/* =========================
 CARD TOP
========================= */

.industry-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.industry-number {
  font-size: 14px;
  font-weight: 700;
  color: #7c96a7;
  transition: color 0.3s ease;
}

.industry-arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d5e3eb;
  border-radius: 50%;
  font-size: 20px;
  color: #267bb4;
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease,
    border-color 0.35s ease;
}

/* =========================
 CARD CONTENT
========================= */

.industry-card-content {
  position: relative;
  z-index: 2;
  max-width: 450px;
}

.industry-label {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #267bb4;
  transition: color 0.3s ease;
}

.industry-card h3 {
  margin-bottom: 15px;
  font-size: clamp(26px, 2.5vw, 32px);
  line-height: 1.1;
  color: #102f4a;
  transition: color 0.3s ease;
}

.industry-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #687d8c;
  transition: color 0.3s ease;
}

/* =========================
 HOVER TEXT
========================= */

.industry-card:hover .industry-number {
  color: rgba(255, 255, 255, 0.45);
}

.industry-card:hover .industry-label {
  color: #a9dcf8;
}

.industry-card:hover h3 {
  color: #ffffff;
}

.industry-card:hover p {
  color: rgba(255, 255, 255, 0.78);
}

.industry-card:hover .industry-arrow {
  transform: translateX(5px);
  background: #ffffff;
  border-color: #ffffff;
  color: #267bb4;
}

/* =========================
 DECORATIVE CIRCLE
========================= */

.industry-card::after {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  right: -120px;
  bottom: -120px;
  border-radius: 50%;
  background: rgba(38, 123, 180, 0.05);
  transition: transform 0.5s ease, background 0.5s ease;
}

.industry-card:hover::after {
  transform: scale(1.3);
  background: rgba(255, 255, 255, 0.06);
}

/* =========================
 LAPTOP
========================= */

@media (max-width: 1100px) {
  .industries {
    padding: 100px 6%;
  }

  .industry-card {
    flex: 1 1 45%;
  }
}

/* =========================
 TABLET
========================= */

@media (max-width: 850px) {
  .industries-heading {
    margin-bottom: 50px;
  }

  .industry-card {
    flex: 1 1 45%;
    min-width: 250px;
    min-height: 300px;
    padding: 28px;
  }
}

/* =========================
 LARGE PHONE
========================= */

@media (max-width: 700px) {
  .industries {
    padding: 80px 5%;
  }

  .industries-heading h2 {
    font-size: 42px;
  }

  .industries-heading p {
    font-size: 15px;
  }

  .industry-card {
    flex: 1 1 100%;

    min-height: 280px;

    padding: 28px;

    border-radius: 22px;
  }

  .industry-card h3 {
    font-size: 30px;
  }
}

/* =========================
 SMALL PHONE
========================= */

@media (max-width: 480px) {
  .industries {
    padding: 70px 20px;
  }

  .industries-heading h2 {
    font-size: 36px;
  }

  .industry-card {
    min-height: 270px;

    padding: 24px;

    border-radius: 18px;
  }

  .industry-card h3 {
    font-size: 28px;
  }

  .industry-card p {
    font-size: 14px;
  }
}
