/* Updated CSS */
body {
     	font-family: 'Montserrat', sans-serif;
  		color: #333;
  		margin: 0;
  		padding: 0;
  		min-height: 100vh;
		justify-content: center;
        background-color: rgb(255 255 255);
    	color: rgb(75 75 75);
}




.container {
    max-width: 500px;
    position: relative;
    background-color: #ffffff;
    overflow: hidden;
   /*  border-left: 1px solid #d8d6d6;
    border-right: 1px solid #d8d6d6;*/
}

/* Header Section */
.header-section {
    background-color: #617461;
    text-align: center;
    padding: 20px;
    color: white;
    border-radius: 10px;
    position: sticky;
    top: 0;
}
.header-section h1 {
    font-size: 2rem;
    margin: 0;
}
.header-section p {
    font-size: 1rem;
}

/* Card Layout */
.card {
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    min-width: 155px;
    min-height: 170.33px;
    justify-content: center;
}



.card:hover {
    transform: scale(0.9);
  }

  .card {
    transition: transform 0.7s;
  }

.card .card-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Column Size for Cards */
.col-sm-3, .col-md-7, .col-md-5, .col-12 {
    padding: 5px;
}
.col-12 {
    flex: 0 0 auto;
    width: 50%;
}

.col-7 {
    flex: 0 0 auto;
    width: 58.33333333%; 
}

/* For Smaller Devices (Phones) */
@media (max-width: 576px) {
    .header-section h1 {
        font-size: 1.5rem;
    }
    .header-section p {
        font-size: 0.9rem;
    }
    .card .card-icon {
        font-size: 2.5rem;
    }
    .card {
        margin-bottom: 20px;
    }
}

/* For Medium Devices (Tablets) */
@media (min-width: 577px) and (max-width: 768px) {
    .header-section h1 {
        font-size: 1.8rem;
    }
    .header-section p {
        font-size: 1rem;
    }
    .card .card-icon {
        font-size: 2.8rem;
    }

    .col-7, .col-5 {
        width: 50%;
        flex: 0 0 50%;
    }
}

/* For Larger Devices (Laptops and Desktops) */
@media (min-width: 769px) {
    .header-section h1 {
        font-size: 1.7rem;
    }
    .header-section p {
        font-size: 1rem;
    }
    .card .card-icon {
        font-size: 3rem;
    }

    .col-7 {
        width: 58.33333333%;
    }
    .col-5 {
        width: 41.66666667%;
    }
}



.banner img {
    width: 100%;
    height: auto;
}

.language-selection {
    padding: 10px 30px;;
    margin: 0px -15px;
    border-radius: 8px;
    text-align: center;
    background-color: #fff;
}

.language-list {
    list-style: none;
    padding: 0;
}

.language-list .redirect {
    display: flex;
    align-items: center;
    padding: 10px;
    position: relative;  
    border-radius: 10px;
    /* margin-bottom: 10px; */
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.language-list .redirect:hover {
    background-color: #617461d2;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.language-list img {
    border-radius: 50%;
}

.loan-info,
.offers,
.faq {
    padding: 0px 20px;;
    background-color: #fff;
    margin: 15px 0;

}

.loan-info h2,
.offers h2,
.faq h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

.offers ul {
    padding-left: 20px;
    list-style: disc;
}

footer {
    background-color: #6f8b88;
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
}

.accordion-button:not(.collapsed) {
    background-color: #6f8b88;
    color: #fff;
}

.accordion {
    --bs-accordion-bg: #6f8b8842;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgb(111 139 136 / 41.66666667%);
}
.accordion-button {
    border: none;
    font-weight: bold;
}

.accordion-body {
    font-size: 0.9rem;
}

.fa-arrow-circle-right {
    font-size: 20px;
}


.second_card {
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background-color: #A7BEAE;
    margin-top: 10px;
}

.calculator-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 100%;
    height: 120px; /* Ensures consistent height for all cards */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 5px;
}

.calculator-card img {
    max-width: 50px;
    height: auto;
    margin-bottom: 10px;
}

.calculator-card small {
    font-size: 12px;
    font-weight: 700;
    color: #333;
}

.calculator-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

.redirect-link {
    color: inherit;
    text-decoration: none;
}

.redirect-link:hover {
    text-decoration: none;
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
	-webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  border: 1px solid #000;
  padding: 30px 10px;
  border-radius: 10px;
  position: relative;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
}

.close-popup {
  position: absolute;
  top: 5px;
  right: 5px;
  border: none;
  color: #000;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  z-index: 10000;
}

.ad-container {
  text-align: center;
}

/* Responsive Fix for Mobile Devices */
@media (max-width: 400px) {
  .popup-content {
    padding: 30px 10px;
  }

  .close-popup {
    font-size: 28px;
    top: 5px;
    right: 5px;
  }

  .ads_popup {
    width: 300px !important;
    height: 250px !important;
  }
}



.fill-bar {
      position: absolute;
      bottom: 0;
      left: 0;
      height: 4px;
      width: 0%;
       background-image: linear-gradient(to right, #e5405e 0%, #ffdb3a 45%, #3fffa2 100%);
      /* background-color: #2990ea; */
      transition: width 1.5s linear;
      display: none;
    }


    .header_space {
  /* padding: 10px 0 10px 0; */
  text-align: center;
  margin-bottom: 10px;
  min-height: 250px;
}

