.slidesContainer {
  position: relative;
  margin: auto;
  height: clamp(25rem, 45vw, 50rem);
  overflow: hidden;
  background-color: #111;
}

.slides-wrapper {
  position: relative;
  height: 100%;
}

.imageSlides {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.imageSlides.active {
  opacity: 1;
}

.imageSlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.imageSlides::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.25) 35%,
    rgba(0, 0, 0, 0.15) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* ---- Dots ---- */

.slide-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.slide-dot {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.slide-dot::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition:
    background 0.3s,
    transform 0.3s;
}

.slide-dot.active::before {
  background: #fff;
  transform: scale(1.25);
}

@media (max-width: 800px) {
  .slidesContainer {
    height: 50vw;
  }

  .slide-dots {
    bottom: 15px;
  }

  .slide-dot {
    width: 24px;
    height: 24px;
  }

  .slide-dot::before {
    inset: 7px;
  }
}

#welcomeMessage {
  position: absolute;
  top: 40%;
  left: 50%;
  z-index: 10;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.4);
}

#welcomeMessage h1 {
  font-family: sans-serif;
  font-size: clamp(1rem, 8vw, 7rem);
  white-space: nowrap;
  font-weight: 700;
  height: fit-content;
  margin: 0;
}
#welcomeMessage p {
  font-family: sans-serif;
  font-size: clamp(0.5rem, 2vw, 1.5rem);
  white-space: nowrap;
  font-weight: 500;
  height: fit-content;
}

#welcomeMessage p {
  font-size: clamp(0.5rem, 2vw, 1.5rem);
  white-space: nowrap;
  font-weight: 500;
  height: fit-content;
}

/* INTRODUCTION CONTENT */
#introduction {
  padding: 3rem 2rem;
  background: #e9e9e9;
  font-family: "Arimo", sans-serif;
  max-width: 50rem;
  font-size: large;
  font-weight: 400;
  margin: 20px auto auto;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

#knowMoreButton {
  background-color: rgba(189, 189, 255, 0.438);
  opacity: 90%;
  border: 2px solid var(--deepBlue);
  padding: 1rem;
  border-radius: 10rem;
  text-decoration: none;
  color: #003b6d;
}

#knowMoreButton:hover {
  background-color: rgb(189, 189, 255);
  cursor: pointer;
}

@media (max-width: 900px) {
  #introduction {
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* Services Widget*/

#servicesWidget {
  width: 100%;
  box-sizing: border-box;
  margin: 3rem auto;

  display: grid;
  grid-template-columns: repeat(5, 1fr);

  background: linear-gradient(135deg, #5f72e4, #7387f0);

  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(9.8px);
  -webkit-backdrop-filter: blur(9.8px);
  border: 1px solid rgba(37, 61, 228, 0.4);

  gap: 1.5rem;
  padding: 2rem;
  border-radius: 2rem;
}

#servicesWidgetTitle {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  color: white;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.4);
}
/* ---------------- Service Card ---------------- */

.card {
  min-height: 260px;

  padding: 1.75rem;

  background: white;
  border: 1px solid var(--borderGray);
  border-radius: 18px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;

  position: relative;
  overflow: hidden;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 5px;

  background: var(--electricGreen);

  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.3s ease;
}

.card:hover::before {
  transform: scaleX(1);
}
/* ---------------- Hover Effect ---------------- */

.card:hover {
  transform: translateY(-10px);

  background: #fcfffc;
  cursor: pointer;

  border-color: var(--electricGreen);

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.card:hover .serviceButton {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- Card Title ---------------- */

.cardTitle {
  margin: 0;

  color: var(--deepBlue);

  font-size: 1.9rem;
  line-height: 1.2;
  font-weight: 700;

  transition: color 0.3s ease;
}

/* ---------------- Description ---------------- */

.serviceDescription {
  margin: 0;

  color: #5b6472;

  line-height: 1.75;
  font-size: 1rem;
}

/* ---------------- Button ---------------- */

.serviceButton {
  width: fit-content;

  margin-top: auto;

  padding: 0.75rem 1.25rem;

  border-radius: 8px;

  text-decoration: none;

  font-weight: 600;

  color: var(--electricGreen);

  border: 1px solid var(--electricGreen);

  opacity: 0;
  transform: translateY(10px);

  transition: all 0.3s ease;
}

.serviceButton:hover {
  background: var(--electricGreen);

  color: white;
  transition: 1s ease-in-out;
}

@media (max-width: 768px) {
  #services {
    padding: 4rem 1rem;
  }
}
@media (max-width: 1100px) {
  #servicesWidget {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  #servicesWidget {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  #servicesWidget {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .serviceButton {
    opacity: 1;
  }
}

/*==========================================
    WHY VayuCon
==========================================*/

.why-vayucon,
.industries-served {
  position: relative;
  overflow: hidden;
  padding: 20px 8%;
  background: #ffffff;
}

.why-vayucon::before {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  top: -280px;
  left: -240px;
  border-radius: 50%;
  background: rgba(0, 59, 109, 0.04);
  filter: blur(20px);
}

.why-vayucon::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  bottom: -160px;
  border-radius: 50%;
  background: rgba(60, 176, 67, 0.06);
  filter: blur(18px);
}

.industries-served::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -180px;
  bottom: -160px;
  border-radius: 50%;
  background: rgba(60, 176, 67, 0.06);
  filter: blur(18px);
}

.industries-served::after {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  top: -280px;
  right: -240px;
  border-radius: 50%;
  background: rgba(0, 59, 109, 0.04);
  filter: blur(20px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 75px;
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(60, 176, 67, 0.1);
  color: #3cb043;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 22px 0;
  font-family: "Arimo", sans-serif;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 1.15;
  color: #16304d;
}

.section-heading p {
  color: #667684;
  font-size: 1rem;
  line-height: 1.9;
}

.benefits-grid {
  position: relative;
  z-index: 2;
  max-width: 1350px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.benefit-card {
  position: relative;
  overflow: hidden;
  padding: 42px 34px;
  background: #fff;
  border-radius: 26px;
  border: 1px solid #edf2f6;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.benefit-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #003b6d, #3cb043);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.35s;
}

.benefit-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: rgba(60, 176, 67, 0.05);
  transition: 0.35s;
}

.benefit-card:hover {
  transform: translateY(-10px);
  border-color: #dbe6ee;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.08);
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-card:hover::after {
  transform: scale(1.2);
}

.benefit-card h3 {
  position: relative;
  margin: 0 0 18px;
  color: #16304d;
  font-size: 1.25rem;
  line-height: 1.35;
}

.benefit-card p {
  position: relative;
  margin: 0;
  color: #667684;
  line-height: 1.9;
  font-size: 0.96rem;
}

.benefit-card:nth-child(2) {
  margin-top: 35px;
}

.benefit-card:nth-child(3) {
  margin-top: -20px;
}

.benefit-card:nth-child(4) {
  margin-top: 25px;
}

@media (max-width: 1100px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-card:nth-child(2),
  .benefit-card:nth-child(3),
  .benefit-card:nth-child(4) {
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .why-vayucon,
  .industries-served {
    padding: 80px 5%;
  }

  .benefit-card:nth-child(2),
  .benefit-card:nth-child(3),
  .benefit-card:nth-child(4) {
    margin-top: 0;
  }
}
