/* --------------------------------------------------
   GLOBAL RESET
-------------------------------------------------- */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden !important;
  background: #f3f6fa;
  font-family: "Poppins", sans-serif;
}

/* Space below fixed navbar */
body {
  padding-top: 80px;
}

/* --------------------------------------------------
   PAGE HEADER
-------------------------------------------------- */
.about-header {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(to right, #003a73, #004e92);
  color: white;
}

.about-header h1 {
  font-size: 40px;
  font-weight: 800;
}

.about-header p {
  opacity: 0.9;
}

/* --------------------------------------------------
   MAIN SECTION
-------------------------------------------------- */
.about-section {
  max-width: 1300px;
  margin: 50px auto;
  display: flex;
  gap: 40px;
  padding: 0 20px;
  align-items: flex-start;
}

/* --------------------------------------------------
   LEFT SIDE PREMIUM CARD
-------------------------------------------------- */
.about-card {
  flex: 1.5;
  min-width: 300px;
  background: white;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
  transition: 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
}

.about-card h2 {
  color: #ff7b00;
  margin-bottom: 12px;
}

.about-card p,
.about-card li {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.about-card ul {
  padding-left: 20px;
}

.about-card ul li {
  margin-bottom: 8px;
}

/* --------------------------------------------------
   RIGHT SIDE – IMAGE SLIDER (THE REAL FIX)
-------------------------------------------------- */

.image-slider {
  flex: 1;
  min-width: 300px;
  width: 100%;
  position: relative;

  /* FIX TO KEEP SLIDER ALWAYS VISIBLE */
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

/* Slider Images */
.slide-image {
  position: absolute;
  inset: 0; /* top:0 left:0 right:0 bottom:0 */
  width: 100%;
  height: 100%;
  object-fit: contain;

  opacity: 0;
  border-radius: 16px;
  transform: scale(1.1);
  transition: opacity 1s ease, transform 1s ease;
}

.slide-image.active {
  opacity: 1;
  transform: scale(1);
}

/* --------------------------------------------------
   RESPONSIVE FIXES — GUARANTEED MOBILE FIX
-------------------------------------------------- */

@media (max-width: 900px) {
  .about-section {
    flex-direction: column;
  }

  .image-slider {
    margin-top: 20px;
    width: 100%;
    aspect-ratio: 3 / 2; /* consistent mobile height */
  }
}

@media (max-width: 600px) {
  .image-slider {
    aspect-ratio: 4 / 3; /* taller for very small screens */
  }

  .about-header h1 {
    font-size: 30px;
  }

  .about-card {
    padding: 20px;
  }

  .about-card h2 {
    font-size: 20px;
  }
}
/* =========================
      ABOUT HEADER
========================= */
.about-header {
  width: 100%;
  padding: 120px 20px 100px;
  text-align: center;
  background: linear-gradient(
    180deg,
    #005bbb 0%,
    #003b75 100%
  );
  color: white;
}

/* MAIN HEADING — DESKTOP */
.about-heading {
  font-size: 100px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* SUB HEADING — DESKTOP */
.about-subheading {
  font-size: 42px;
  font-weight: 700;
  color: #ffb100;
  margin-bottom: 16px;
  text-transform: uppercase;
}

/* TAGLINE — SINGLE LINE */
.about-tagline {
  font-size: 20px;
  font-weight: 400;
  max-width: 900px;
  margin: 0 auto;
  opacity: 0.92;
  line-height: 1.4;
}

/* =========================
      RESPONSIVE TABLETS
========================= */
@media (max-width: 991px) {

  .about-header {
    padding: 90px 20px 70px;
  }

  .about-heading {
    font-size: 100px;
    margin-bottom: 10px;
  }

  .about-subheading {
    font-size: 32px;
    margin-bottom: 10px;
  }

  .about-tagline {
    font-size: 17px;
    max-width: 650px;
  }
}

/* =========================
      RESPONSIVE MOBILE
========================= */
@media (max-width: 600px) {

  .about-header {
    padding: 70px 18px 60px;
  }

  .about-heading {
    font-size: 34px;
    margin-bottom: 8px;
  }

  .about-subheading {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .about-tagline {
    font-size: 14px;
    max-width: 90%;
  }
}
