/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Poppins:wght@300;400;500;600;700&display=swap');

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
   color: #af6f24 !important;
}

/* Apply Poppins font to entire document */
body {
font-family: 'Poppins', sans-serif;
line-height: 1.5;
color: #333;
max-width: 100%;
overflow-x: hidden;
background-color: #ffffff;
}

body.scrolled {
padding-top: 90px;
}

/* Heading Styles - Roboto with font-weight 500 */
h1, h2, h3, h4, h5, h6 {
font-family: 'Roboto', sans-serif;
font-weight: 500;
}

.guideline-title {
color: #B58042; /* Updated brown tone for heading */
font-weight: 500;
position: relative;
padding-bottom: 10px;
font-family: 'Roboto', sans-serif;
}

.guideline-title::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 1px;
background-color: #B58042;
}

.guideline-img {
max-height: 415px; /* Increased image size */
object-fit: cover;
border-radius: 10px;
}

.section-title {
font-weight: 500;
margin-bottom: 0.5rem;
font-family: 'Roboto', sans-serif;
color: #000000;
}

.card-style {
border: none;
padding: 1rem;
}

/* Content Styles - Poppins for paragraphs and lists */
p, li, ul, ol, span, div, strong, em, i, b {
font-family: 'Poppins', sans-serif;
}

p, li {
font-size: 16px;
padding-bottom: 8px;
}

/* List items with circle icons alignment */
.list-unstyled li {
display: flex;
align-items: flex-start;
margin-bottom: 1rem;
}

.list-unstyled li .circle-icon {
flex-shrink: 0;
margin-top: 2px;
}

/* Button Styles */
.btn {
font-family: 'Poppins', sans-serif;
}

footer {
   background-color: #b1783b;
   color: white;
   padding: 20px 0;
   margin-top: 50px;
   font-family: 'Poppins', sans-serif;
}

/* Remove section divider */
.section-divider {
display: none;
}

/* Custom accordion styling */
.accordion-button {
background-color: transparent !important;
color: #B58042 !important;
box-shadow: none !important;
font-family: 'Roboto', sans-serif;
font-weight: 500;
}

.accordion-button::after {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23B58042' class='bi bi-plus' viewBox='0 0 16 16'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E") !important;
}

.accordion-button:not(.collapsed)::after {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23B58042' class='bi bi-dash' viewBox='0 0 16 16'%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3E%3C/svg%3E") !important;
transform: rotate(0deg);
}

/* Styling for interest subsidy boxes */
.interest-box {
background-color: rgba(248, 141, 47, 0.13);  /* Made it rgba for better visibility */
height: 100%;
border-radius: 8px;
padding: 20px;
border: 1px solid rgba(248, 141, 47, 0.3);  /* Added border for better visibility */
}

/* Equal height for boxes */
.equal-height {
height: 100%;
}

/* Circle icon styling */
.circle-icon {
display: inline-flex;
justify-content: center;
align-items: center;
width: 30px;
height: 30px;
border-radius: 50%;
background-color: #F88D2F;
color: white;
margin-right: 10px;
font-size: 14px;
}

/* Light blue background for LTPT boxes */
.ltpt-box {
background-color: #D3E9F3;
border-radius: 8px;
padding: 20px;
height: 100%;
}

.ltpt-box h6 {
font-family: 'Roboto', sans-serif;
font-weight: 500;
}

/* Make text inside interest boxes darker for better visibility */
.interest-box h6, .interest-box ul, .interest-box li {
color: #333;
font-family: 'Poppins', sans-serif;
}

.interest-box h6 {
font-family: 'Roboto', sans-serif;
font-weight: 500;
}

.accordion-body {
font-family: 'Poppins', sans-serif;
}

@media (max-width: 767px) {
.guideline-img {
max-width: 100%;
height: auto;
}
}

/* Banner Styles */
.banner-container {
position: relative;
width: 100%;
height: 500px;
overflow: hidden;
margin-bottom: 30px;
}

.banner-image {
width: 100%;
height: 100%;
}

.incentives-link {
position: absolute;
bottom: 20px;
right: 20px;
background-color: rgba(255, 255, 255, 0.9);
padding: 10px 15px;
border-radius: 8px;
font-weight: 600;
color: #b1783b;
text-decoration: none;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}

.incentives-link:hover {
background-color: #b1783b;
color: white;
}

/* Responsive adjustments */
@media (max-width: 767px) {
.section-title {
font-size: 1.4rem;
}
.icon-box {
flex-direction: column;
text-align: center;
align-items: center;
}
.icon-box i {
margin-bottom: 10px;
}
.form-section {
padding: 20px;
}
.contact-card {
min-height: auto;
}
.banner-container {
height: 500px;
}
.incentives-link {
font-size: 0.9rem;
padding: 8px 12px;
}
}

@media (max-width: 575px) {
.section-title {
font-size: 1.2rem;
}
.icon-box {
margin-bottom: 1rem;
}
.form-section {
padding: 15px;
}
.email-break {
word-break: break-all;
}
.banner-container {
height: 320px;
}
.incentives-link {
font-size: 0.8rem;
padding: 6px 10px;
bottom: 20px;
right: 10px;
}
}

/* Navbar Styles */
.navbar {
border-radius: 40px;
padding: 0.75rem 1.5rem;
background-color: white;
width: 100%;
max-width: 1320px;
margin: 0 auto;
transition: all 0.3s ease;
font-family: 'Poppins', sans-serif;
}

.navbar.fixed-top {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1030;
max-width: 100%;
border-radius: 0;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
width: 50px;
height: auto;
}

.nav-link {
position: relative;
color: black !important;
margin: 0 10px;
transition: color 0.3s ease;
font-family: 'Poppins', sans-serif;
}

.nav-link:hover {
opacity: 0.8;
}

.nav-link.active::after {
content: "";
position: absolute;
bottom: 4px;
left: 0;
width: 100%;
height: 2px;
background-color: black;
@media (max-width: 575.98px) {
  width: 23%;
}
}

/* Custom hamburger to X icon */
.navbar-toggler {
border: none;
background: transparent;
padding: 0;
}

.navbar-toggler:focus {
box-shadow: none;
}

.navbar-toggler .navbar-toggler-icon {
background-image: none;
position: relative;
height: 24px;
width: 30px;
transition: all 0.3s ease;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after,
.navbar-toggler .navbar-toggler-icon .middle-bar {
content: '';
position: absolute;
width: 100%;
height: 3px;
background-color: #333;
border-radius: 2px;
left: 0;
transition: all 0.3s ease;
}

.navbar-toggler .navbar-toggler-icon:before {
top: 0;
}

.navbar-toggler .navbar-toggler-icon .middle-bar {
top: 50%;
transform: translateY(-50%);
}

.navbar-toggler .navbar-toggler-icon:after {
bottom: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
transform: rotate(45deg);
top: 11px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon .middle-bar {
opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
transform: rotate(-45deg);
bottom: 10px;
}

.aboutus-banner-title {
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.685);
  margin-bottom: 0.5rem;
  pointer-events: auto;
  font-family: 'Roboto', sans-serif;
}

.aboutus-breadcrumb {
  font-size: 1.2rem;
  pointer-events: auto;
  font-family: 'Poppins', sans-serif;
}

.aboutus-breadcrumb .breadcrumb {
  background: transparent;
  margin-bottom: 0;
  padding: 0;
}

.aboutus-breadcrumb-link {
  color: #f7c873;
  text-decoration: underline;
  transition: color 0.2s;
}

.aboutus-breadcrumb-link:hover,
.aboutus-breadcrumb-link:focus {
  color: #af6f24;
  text-decoration: underline;
}

.aboutus-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "→";
  color: #fff;
  padding: 0 0.5em;
  font-size: 1.1em;
}

.aboutus-breadcrumb .breadcrumb-item.active {
  color: #fff;
  font-weight: 600;
}

/* Tablet optimization */
@media (max-width: 991.98px) {
  .aboutus-banner-overlay {
    top: 60%;
    
  }
  
  .aboutus-banner-title {
    font-size: 2.5rem;
  }
  
  .aboutus-breadcrumb {
    font-size: 1.1rem;
  }
}

/* Mobile optimization */
@media (max-width: 767.98px) {
  .aboutus-banner-overlay {
    top: 65%;
    
  }
  
  .aboutus-banner-title {
    font-size: 2rem;
  }
  
  .aboutus-breadcrumb {
    font-size: 1rem;
  }
  
  .aboutus-banner-overlay {
    padding: 0 15px;
    
  }
}

/* Small mobile optimization */
@media (max-width: 575.98px) {
  .aboutus-banner-overlay {
    top: 70%;
    margin-top:13%;
    
  }
  
  .aboutus-banner-title {
    font-size: 1.5rem;
  }
  
  .aboutus-breadcrumb {
    font-size: 0.9rem;
  }
  
  .aboutus-banner-overlay {
    padding: 0 10px;
  }
}

/* Extra small mobile optimization */
@media (max-width: 375px) {
  .aboutus-banner-overlay {
    top: 75%;
    
  }
  
  .aboutus-banner-title {
    font-size: 1.2rem;
  }
  
  .aboutus-breadcrumb {
    font-size: 0.8rem;
  }
}
  
  .banner-container .incentives-link {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.92);
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    color: #b1783b;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
    transition: all 0.3s ease;
    z-index: 3;
  }
  
  .banner-container .incentives-link:hover {
    background-color: #b1783b;
    color: #fff;
  }

  .aboutus-banner-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    bottom: 50px;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
    padding: 20px;
  }
  
  .banner-black-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.814);
    z-index: 1;
    pointer-events: none;
  }

@media (max-width: 767.98px) {
  .banner-container .incentives-link {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 20px;
    width: max-content;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .banner-container .incentives-link {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 40px;
    width: max-content;
    text-align: center;
    font-size: 0.8rem;
    padding: 6px 10px;
  }
}

.incentive-section {
  padding-top: 28px;
  padding-bottom: 28px;
}

@media (max-width: 767.98px) {
  .incentive-section {
    padding-top: 14px;
    padding-bottom: 14px;
  }
}

/* Update footer headings */
footer h5 {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
}

/* Update footer content */
footer p, footer li, footer a {
  font-family: 'Poppins', sans-serif;
}
  