
/* =========================================
   RESET
========================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 25px;
    max-width: 100%;
}

body {
    width: 100%;
    max-width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: #343b45;
    background: #fff;
    line-height: 1.7;
    overflow-wrap: break-word;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =========================================
   MAIN LAYOUT
========================================= */
.loan-page {
    width: 100%;
    max-width: 100%;
    padding: 45px 22px;
}

.loan-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: start;
    gap: 30px;

    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}

/* =========================================
   SIDEBAR
========================================= */
.loan-sidebar {
    width: 100%;
    min-width: 0;

    padding: 15px 20px 20px;

    border: 1px solid #e5e8ed;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.09);

    position: sticky;
    top: 20px;
}

.loan-sidebar h2 {
    background: #052f59;
    color: #fff;

    text-align: center;
    padding: 10px 8px;

    font-size: 25px;
    font-weight: 500;
    line-height: 1.4;

    border-radius: 5px;
    margin-bottom: 17px;

    overflow-wrap: anywhere;
}

/* Sidebar menu */
.loan-menu {
    list-style: none;
    display: block;

    width: 100%;
    margin: 0;
    padding: 0;
}

.loan-menu li {
    display: block;
    width: 100%;
    min-width: 0;
}

.loan-menu li a {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    width: 100%;
    min-width: 0;

    padding: 10px 5px;

    border-bottom: 1px dashed #d0d0d0;

    font-size: 15px;
    line-height: 1.5;

    white-space: normal;
    overflow-wrap: anywhere;

    transition: color 0.25s ease,
                background 0.25s ease,
                padding 0.25s ease;
}

.loan-menu li:last-child a {
    border-bottom: none;
}

/* Menu icon */
.loan-menu li a span {
    flex: 0 0 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 15px;
    height: 15px;

    margin-top: 4px;

    background: #329ed5;
    color: #fff;

    border-radius: 50%;

    font-size: 12px;
    font-weight: bold;
}

.loan-menu a:hover,
.loan-menu a.active {
    color: #fb601e;
    background: #f2f7fc;
    padding-left: 10px;
}

/* =========================================
   SERVICE CONTENT
========================================= */
.loan-content {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.loan-item {
    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);

    align-items: center;
    gap: 25px;

    width: 100%;
    min-width: 0;

    margin-bottom: 45px;

    scroll-margin-top: 25px;
}

.loan-text {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.loan-text h2 {
    color: #fb601e;

    font-size: 23px;
    font-weight: 500;
    line-height: 1.4;
    border-bottom: 1px dashed #1a365d;
    margin-bottom: 8px;

    overflow-wrap: anywhere;
}

.loan-text h3 {
    color: #343b45;

    font-size: 19px;
    font-weight: 600;
    line-height: 1.5;

    margin-bottom: 8px;

    overflow-wrap: anywhere;
}

.loan-text p {
    color: #424954;

    font-size: 15.5px;
    line-height: 1.8;

    text-align: justify;

    margin-bottom: 15px;

    overflow-wrap: anywhere;
}

.loan-text ul,
.loan-text ol {
    padding-left: 22px;
    margin-bottom: 15px;
}

.loan-text li {
    font-size: 15px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

/* =========================================
   SERVICE IMAGE
========================================= */
.loan-image {
    width: 100%;
    min-width: 0;
    height: 235px;

    padding: 8px;

    border: 1px solid #d6dce3;
    border-radius: 6px;

    background: #fff;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);

    overflow: hidden;
}

.loan-image img {
    display: block;

    width: 100%;
    max-width: 100%;
    height: 100%;

    object-fit: cover;
    border-radius: 2px;

    transition: transform 0.4s ease;
}

.loan-image:hover img {
    transform: scale(1.035);
}

/* =========================================
   BUTTON
========================================= */
.loan-btn {
    display: inline-block;

    max-width: 100%;

    padding: 9px 19px;

    background: #052f59;
    color: #fff;

    border-radius: 4px;

    font-size: 14px;
    line-height: 1.5;

    white-space: normal;
    overflow-wrap: anywhere;

    transition: background 0.25s ease;
}

.loan-btn:hover {
    background: #fb601e;
}

/* =========================================
   MEDIUM DESKTOP / TABLET
========================================= */
@media (min-width: 768px) and (max-width: 1100px) {

    .loan-page {
        padding: 30px 16px;
    }

    .loan-layout {
        grid-template-columns: 245px minmax(0, 1fr);
        gap: 20px;
    }

    .loan-sidebar {
        padding: 12px;
    }

    .loan-sidebar h2 {
        font-size: 22px;
    }

    .loan-menu li a {
        font-size: 14px;
    }

    .loan-item {
        grid-template-columns: minmax(0, 1fr) 210px;
        gap: 18px;
    }

    .loan-image {
        height: 210px;
    }

    .loan-text h2 {
        font-size: 21px;
    }

    .loan-text p {
        font-size: 14px;
    }
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */
@media (max-width: 767px) {

    /* Prevent child elements from exceeding the screen */
    .loan-page,
    .loan-page * {
        box-sizing: border-box;
        min-width: 0;
    }

    .loan-page {
        display: block;

        width: 100%;
        max-width: 100%;

        padding: 20px 12px;

        overflow-x: clip;
    }

    /* Sidebar first, services below */
    .loan-layout {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 22px;

        width: 100%;
        max-width: 100%;

        margin: 0;
    }

    /* =====================================
       MOBILE SIDEBAR
    ===================================== */
    .loan-sidebar {
        order: 1;

        position: static;

        display: block;

        width: 100%;
        max-width: 100%;
        height: auto;

        padding: 12px;
    }

    .loan-sidebar h2 {
        width: 100%;

        padding: 10px 8px;
        margin-bottom: 12px;

        font-size: 22px;
        line-height: 1.4;
    }

    /* Menu links in separate vertical rows */
    .loan-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        width: 100%;
        max-width: 100%;

        margin: 0;
        padding: 0;
    }

    .loan-menu li {
        display: block;

        width: 100%;
        max-width: 100%;
    }

    .loan-menu li a {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;

        gap: 10px;

        width: 100%;
        max-width: 100%;

        padding: 11px 6px;

        font-size: 14px;
        line-height: 1.6;

        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .loan-menu li a span {
        flex-shrink: 0;
    }

    /* =====================================
       MOBILE SERVICE CONTENT
    ===================================== */
    .loan-content {
        order: 2;

        display: block;

        width: 100%;
        max-width: 100%;

        overflow: visible;
    }

    /* Each service becomes a vertical card */
    .loan-item {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 15px;

        width: 100%;
        max-width: 100%;

        margin: 0 0 28px;
        padding: 12px;

        border: 1px solid #edf0f3;
        border-radius: 6px;

        overflow: hidden;
    }

    /* Image first */
    .loan-item .loan-image {
        order: 1;

        display: block;

        width: 100%;
        max-width: 100%;

        /*height: clamp(160px, 52vw, 260px);*/

        margin: 0;
        padding: 6px;

        overflow: hidden;
    }

    .loan-item .loan-image img {
        display: block;

        width: 100%;
        max-width: 100%;
        height: 100%;

        object-fit: fill;
    }

    /* Text below the image */
    .loan-item .loan-text {
        order: 2;

        display: block;

        width: 100%;
        max-width: 100%;

        margin: 0;
        padding: 0;

        overflow-wrap: anywhere;
    }

    .loan-text h2 {
        font-size: clamp(19px, 5vw, 23px);
        line-height: 1.45;

        margin-bottom: 10px;

        overflow-wrap: anywhere;
    }

    .loan-text h3 {
        font-size: 18px;
        line-height: 1.5;

        margin-bottom: 8px;

        overflow-wrap: anywhere;
    }

    .loan-text p {
        font-size: 14px;
        line-height: 1.75;

        text-align: left;

        margin-bottom: 13px;

        overflow-wrap: anywhere;
    }

    .loan-text ul,
    .loan-text ol {
        padding-left: 20px;
        margin-bottom: 14px;
    }

    .loan-text li {
        font-size: 14px;
        line-height: 1.7;

        overflow-wrap: anywhere;
    }

    /* Responsive buttons */
    .loan-btn {
        display: inline-block;

        width: auto;
        max-width: 100%;

        padding: 10px 16px;

        font-size: 14px;

        white-space: normal;
        overflow-wrap: anywhere;
    }
}

/* =========================================
   SMALL MOBILE PHONES
========================================= */
@media (max-width: 380px) {

    .loan-page {
        padding: 15px 8px;
    }

    .loan-layout {
        gap: 18px;
    }

    .loan-sidebar {
        padding: 9px;
    }

    .loan-sidebar h2 {
        font-size: 20px;
    }

    .loan-menu li a {
        gap: 8px;
        padding: 10px 4px;
        font-size: 13px;
    }

    .loan-item {
        gap: 12px;
        padding: 9px;
        margin-bottom: 22px;
    }

    .loan-item .loan-image {
        height: 160px;
    }

    .loan-text h2 {
        font-size: 19px;
    }

    .loan-text p,
    .loan-text li {
        font-size: 13.5px;
    }
}

/* =========================================
   HORIZONTAL OVERFLOW PROTECTION
========================================= */
@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

@supports not (overflow: clip) {
    html,
    body {
        overflow-x: hidden;
    }
}


/*about-vision*/

       
.bds-values {
  padding: 70px 20px;
  font-family: sans-serif;
  /*background: #f7faf8;*/
}

.bds-heading {
  max-width: 700px;
  margin: 0 auto 38px;
  text-align: center;
}

.bds-heading span {
  /*color: #16865d;*/
  /*font-size: 12px;*/
  font-weight: 400;
  letter-spacing: 2px;
}

.bds-heading h2 {
  color: #173b30;
  font-size: clamp(25px, 4vw, 36px);
  font-family: Arial;
  margin: 12px 0;
}

.bds-heading p {
  /*color: #555555;*/
  font-family: Arial;
  line-height: 1.7;
}

/*.bds-heading p{*/
/*    font-size: 15px;*/
/*    line-height: 26px;*/
/*    font-weight: 400;*/
/*    color: #555555;*/
/*    margin: 0;*/
    
/*}*/

.bds-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.bds-card {
  padding: 30px 25px;
  background: #fff;
  border: 1px solid #e5eee8;
  border-radius: 18px;
  transition: transform .3s, box-shadow .3s;
}

.bds-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px #173b3014;
}

.bds-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #e6f5ed;
  color: #16865d;
  font-size: 30px;
}

.bds-card h3 {
  color: #173b30;
  font-size: 21px;
  font-family: Arial;
  margin: 22px 0 12px;
}

.bds-card p {
  /*color: #647168;*/
  font-size: 15px;
  line-height: 1.8;
  font-family: Arial;
  margin: 0;
}

/* Tablet */
@media (max-width: 900px) {
  .bds-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 600px) {
  .bds-values {
    padding: 45px 15px;
  }

  .bds-heading {
    margin-bottom: 25px;
  }

  .bds-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bds-card {
    padding: 24px 21px;
    border-radius: 15px;
  }

  .bds-card h3 {
    font-size: 19px;
    margin-top: 17px;
  }

  .bds-card p {
    font-size: 14px;
  }
}


















