/* ================= GLOBAL ================= */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #000;
  color: #fff;
}

/* ================= HERO SECTION ================= */
.ifc-hero-section {
  width: 100%;
  padding: 120px 10%;
  background-color: #000;
  background-image: url("../images/navbar/waves.png");
  background-size: cover;
  background-position: center;
  padding-bottom: 0;
}

.ifc-hero-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
}

.ifc-left {
  flex: 1 1 50%;
  max-width: 600px;
}

.ifc-right {
  text-align: center;
}

.ifc-hero-img {
  width: 100%;
  max-width: 500px;
  border-radius: 25px;
}

.checkbox {
  width: 50%;
}

.ifc-badge {
  width: 130px;
  height: 28px;
  border-radius: 20px;
  background: linear-gradient(90deg, #1677ff, #4da8ff);
  text-align: center;
  line-height: 28px;
  margin-bottom: 20px;
}

.ifc-subtext {
  font-size: 18px;
  opacity: 0.85;
  margin: 15px 0;
}

.ifc-download-btn {
  background: linear-gradient(90deg, #858688, #5e5f5f);
  border: none;
  padding: 5px 15px;
  border-radius: 40px;
  color: #fff;
  /* font-size: 16px; */
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ifc-download-btn:hover {
  opacity: 0.9;
}

.ifc-date {
  margin-top: 12px;
  font-size: 14px;
  opacity: 0.7;
}

/* ================= MAIN CONTENT ================= */
.ifc-main-container {
  width: 100%;
  padding: 8px 10%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 0;
  margin-top: 2vw;
}

.ifc-left-column {
  flex: 1 1 60%;

}

.ifc-right-column {
  min-width: 250px;

  width: 23%;
  margin-left: 2vw;
}

.ifc-text {
  font-size: 1.1rem;
  line-height: 1.7;
}

.indent {
  display: inline-block;
  margin-left: 20px;
}

.hidden-para {
  display: none;

}

.read-less-inline {
  color: #4da6ff;
  cursor: pointer;
  text-decoration: underline;
}

.side-box {
  position: sticky;
  top: 6vw;
  border: 1px solid white;
  border-radius: 20px;

}

.toc-item {
  padding: 10px 10px;
  margin-bottom: 8px;
  /* background: #eee; */
  border-radius: 3px;
  cursor: pointer;
  transition: 0.1s;
  font-size: 19px;
}

.toc-item.active {
  border-left: 3px solid #0147FF;
  color: white;
}

.key-points {
  background-color: #ffffff;
  padding: 1vw 1vw 1vw 1vw;
  border-radius: 20px 20px 0px 0px;
  width: 100%;
}

.fotter-box {
  padding: 1vw 0vw 1vw 0vw;
  background-color: black;
  border-radius: 20px;
  display: flex;
  justify-content: space-evenly;
}

.fotter-box i {
  color: #fff;
  font-size: 18px;
}

.fotter-box>a>i:hover {
  color: #0147FF;
}


/* ================= POINTS ================= */
.ifc-points h4 {
  margin-top: 25px;
  border-left: 6px solid #0147FF;
  padding-left: 10px;
  margin-bottom: 15px;
}

.read-more-inline {
  color: #4da6ff;
  text-decoration: underline;
  cursor: pointer;
  margin-left: 5px;
}

/* Read More toggle content */
.extra-list {
  display: none;
  margin-left: 1rem;
}

.extra-list.show {
  display: block;
}


/* ================================
   POPUP OVERLAY
   ================================ */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9998;
  padding: 20px;
}

.popup-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 782px;
  max-width: 95%;
  background: #111;
  color: #fff;
  padding: 30px 35px;
  border-radius: 46px;
  z-index: 9999;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.08);
  overflow-y: auto;
  max-height: 95vh;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 30px;
  cursor: pointer;
  color: #fff;
}

.popup-header {
  text-align: center;
  margin-bottom: 22px;
}

.popup-header h2 {
  font-weight: 500;
  font-size: 32px;
  margin: 0;
}

.popup-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  margin-top: 18px;
}

.popup-form {
  margin-top: 20px;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.popup-box input[type="text"],
.popup-box input[type="email"] {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: #fff;
  color: #000;
}

.marketing-check {
  display: flex;
  gap: 6px;
  font-size: 13px;
  margin: 8px 0 15px 0;
}

.marketing-check input[type="checkbox"] {
  margin-right: 8px;
  /* adjust gap as needed */
  vertical-align: middle;
  flex-shrink: 0;
  /* prevent checkbox from shrinking */
  margin-top: 3px;
}

.recaptcha-wrapper {
  border-radius: 0;
  /* removed rounded corners */
  margin-bottom: 20px;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background:
    linear-gradient(0deg, #0147FF, #0147FF),
    radial-gradient(63.11% 63.11% at 31.97% 19.67%,
      rgba(255, 255, 255, 0.7) 0%,
      rgba(255, 255, 255, 0) 70%);
  background-blend-mode: overlay;
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.3s;
  background-blend-mode: overlay;
  /* ensures the radial highlight blends nicely */
}

.submit-btn:hover {
  opacity: 0.9;
}

/* SUCCESS POPUP */
.success-img {
  width: 25%;
  padding-top: 5%;
}

.success-font {
  padding-top: 8%;
  font-size: 20px;
}

.successMessage {
  display: none;
  text-align: center;
  padding: 20px;
}


/* ================= RESPONSIVE STYLES ================= */

@media(min-width:992px) and (max-width:1200px) {
  .ifc-hero-img {
    max-width: 400px;
  }
}

/* Large screens ≤1024px */
@media (max-width: 1024px) {
  .ifc-hero-section {
    padding: 120px 5%;
    padding-bottom: 0px;
  }

  .ifc-main-container {
    padding: 8px 5%;
  }
}

/* Medium screens ≤992px */
@media (max-width: 991px) {
  .ifc-hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .sub-head ul {
    margin: 0;
    padding-left: 10px;
  }


  .ifc-right-column {
    flex: 1 1 100%;
    margin: 0;
  }

  .ifc-left-column {
    flex: 1 1 100%;
  }

  .popup-box {
    width: 90%;
    padding: 28px;
    border-radius: 36px;
  }

  .form-row {
    flex-direction: column;
  }

  .popup-header h2 {
    font-size: 22px;
  }

  .ifc-left-column {
    order: 2;
    /* margin-left: 8px; */
  }

  .ifc-title,
  .ifc-subtext,
  .ifc-date {
    text-align: start;
  }

  .ifc-subtext {
    font-size: 16px;
  }

  .ifc-download-btn {
    display: flex;
    align-items: start;
  }

  .side-box {
    top: 2vw;
    border: none;
  }

  .key-points {
    background: none;
    padding: 0px;
  }

  .key-points>.toc-item>a {
    color: white;
  }

  .fotter-box {
    display: none;
  }

  .ifc-badge {
    width: 100px;
  }
}

@media (max-width: 767px){
  .checkbox{
    width: 100% !important;
  }
}

/* Small screens ≤600px */
@media (max-width: 575px) {
  .popup-box {
    width: 92%;
    padding: 22px;
    border-radius: 28px;
  }

  .popup-header h2 {
    font-size: 18px;
  }
}

/* Extra small screens ≤425px */
@media (max-width: 420px) {
  .ifc-main-container {
    flex-direction: column;
    padding: 5%;
  }
}

/* Ultra small screens ≤400px */
@media (max-width: 400px) {
  .popup-box {
    padding: 18px;
    border-radius: 22px;
  }

  .popup-header h2 {
    font-size: 16px;
  }
}