
/* Grid Responsivness */

.section {
    padding: 60px;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    padding: 0 15px;
    width: 100%;
}

.col-3 { flex: 0 0 33.33%; max-width: 33.33%; }
.col-4 { flex: 0 0 25%; max-width: 25%; }
.col-5 { flex: 0 0 20%; max-width: 20%; }
.col-6 { flex: 0 0 16.66%; max-width: 16.66%; }
.col-7 { flex: 0 0 14.28%; max-width: 14.28%; }

[class*="col-"] {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 576px) {
  .col-sm-3,
  .col-sm-4,
  .col-sm-5,
  .col-sm-6,
  .col-sm-7 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 768px) {
  .col-md-3 { flex: 0 0 33.33%; max-width: 33.33%; }
  .col-md-4 { flex: 0 0 33.33%; max-width: 33.33%; }
  .col-md-5 { flex: 0 0 33.33%; max-width: 33.33%; }
  .col-md-6 { flex: 0 0 33.33%; max-width: 33.33%; }
  .col-md-7 { flex: 0 0 33.33%; max-width: 33.33%; }
}

@media (min-width: 992px) {
  .col-lg-3,
  .col-lg-4,
  .col-lg-5,
  .col-lg-6,
  .col-lg-7 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

@media (min-width: 1200px) {
  .col-xl-3 { flex: 0 0 33.33%; max-width: 33.33%; }
  .col-xl-4 { flex: 0 0 25%; max-width: 25%; }
  .col-xl-5 { flex: 0 0 20%; max-width: 20%; }
  .col-xl-6 { flex: 0 0 16.66%; max-width: 16.66%; }
  .col-xl-7 { flex: 0 0 14.28%; max-width: 14.28%; }
}

/* Grid Responsivness */

.insider-hero {
    position: relative;
    overflow: hidden;
    padding: 82px 30px 62px;
    background-color: #09313E;
}

#sec-referral {
    padding-bottom: 100px;
}

.clip-container {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #CDD7DD;
    clip-path: polygon(65% 30%, 100% 39%, 100% 100%, 0 100%, 0 60%);
    display: flex;

}


.side-img {
    display: flex;
    justify-content: end;
    align-items: end;
    max-width: 55%;
    margin-left: auto;
}

.insider-left {
    position: relative;
    z-index: 1;
}

/* ====== Left ====== */
.insider-title {
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: -0.82px;
    margin-top: 0;
}

.insider-title .t-white {
    color: white;
}

.insider-title .t-gold {
    color: #C99E47;
}

.hero-content {
    padding-left: 60px;
}

.insider-title span {
    font-size: 63px;
    line-height: 1.05;
    font-weight: 500;
    text-transform: capitalize;
    font-family: 'tenso-bold', sans-serif;
}


/* Offer card */
.offer-card {
    max-width: 656px;
    background: #fff;
    border: 1px solid #707070;
    border-radius: 31px;
    padding: 15px;
    margin-bottom: 80px;
}

.offer-content {
    border: 1px solid #C99E48;
    border-radius: 31px;
    padding: 55px 45px;
}

.offer-earn {
    font-family: 'Avenir', sans-serif;
    font-size: 30px;
    display: flex;
    align-items: center;
    font-weight: 700;
    color: #C99E47;
    position: relative;
    justify-content: center;
}

.offer-earn::before,
.offer-earn::after {
    content: '';
    display: block;
    background-color: #C99E47;
    height: 2px;
    flex: 1;
    min-width: 120px;
}

.offer-earn::before {
    margin-right: 15px;
}

.offer-earn::after {
    margin-left: 15px;
}

.offer-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 6px;
}

.offer-amount {
    text-align: center;
    color: #272727;
    font-family: 'tenso-bold', sans-serif;
    letter-spacing: -1.43px;
    margin: 2px 0 10px;
    font-size: 90px;
    font-weight: 500;
}

.offer-copy {
    margin: 0;
    text-align: center;
    color: #0A303E;
    font-size: 23px;
    line-height: 1.45;
    padding: 0 6px;
}

.insider-tagline {
    font-size: 30px;
    font-weight: 500;
    color: #0A303E;
}

#sec-referral h4 {
    font-size: 30px;
    letter-spacing: -0.39px;
    color: #272727;
    font-family: 'tenso-bold' !important;
    font-weight: 500;
    text-transform: capitalize;
}

#sec-referral p {
    color: #0A303E;
    font-size: 21px;
}

.form-side-content {
    margin-top: 80px;
}

.form-side-content h6 {
    font-size: 23px;
    letter-spacing: 0;
}

.form-side-content a {
    font-weight: 700;
    letter-spacing: 0;
}
.form-intro {
    padding-bottom: 0 !important;
}
.form-intro p {
    margin-bottom: 0;
}
.form-side-content .phone-number {
    display: inline-block;
    margin-top: 30px;
    margin-bottom: 20px;
}

.form-side-content h3 {
    letter-spacing: -0.52px;
    font-size: 40px;
    text-transform: capitalize;
    margin-top: 0 !important;
    font-family: 'tenso-bold', sans-serif !important;
}

.responsive-grid {
  display: grid;
  gap: 20px; /* spacing between columns and rows */
  grid-template-columns: repeat(2, 1fr); /* 2 columns by default */
}


/* Small screens (mobile/tablet) */
@media (max-width: 768px) {
  .responsive-grid {
    grid-template-columns: 1fr; /* 1 column */
  }
}

.grid-item {
  padding: 20px;
  text-align: center;
  border-radius: 8px;
}

.form-side-content {
    padding: 0 30px;
}

.form-side-content p {
    margin: 0;
}

.form-side-content strong {
    display: block;
    padding-bottom: 50px;
    border-bottom: 1px solid #B7B7B7;
    margin: 50px 0;
}

.form-side-content a {
    text-transform: uppercase;
    margin-bottom: 30px;
}

@media (max-width: 1520px) {

    .side-img img {
        height: 100% !important;
        max-height: 100% !important;
        object-fit: cover;
    }
}

/* ====== Responsive ====== */
@media (max-width: 900px) {
    .side-img {
        max-width: 100%;
    }
    .insider-title span {
        font-size: 40px;
    }
    .hero-content {
        padding-left: 0;
    }
    .insider-tagline {
        font-size: 20px;
        font-weight: 600;
    }
    .offer-card {
        margin-bottom: 40px;
    }
    .offer-copy {
        font-size: 20px;
    }
    .offer-amount {
        font-size: 40px;
    }
    .offer-earn::before,
    .offer-earn::after {
        min-width: 80px;
    }
    .offer-content {
        padding: 30px;
    }

    .offer-earn {
        font-size: 22px;
    }

    #sec-referral p {
        font-size: 18px;
    }
    .form-side-content {
        margin-top: 0 !important;
    }
}