/* 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;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Crimson Text', serif;
line-height: 1.5;
color: #333;
max-width: 100%;
overflow-x: hidden;
background-color: #ffffff;
}

body.scrolled {
padding-top: 90px;
}

/* 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: 19%;
}
}

/* 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;
}

/* 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;
}

/* Main content styles */
.schemes-container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}

.kalaignar-container {
display: flex;
flex-direction: row;
align-items: flex-start;
justify-content: flex-start;
padding: 20px 10px;
margin-bottom: 30px;
}

.image-wrapper {
flex: 0 0 auto;
width: 200px;
}

.pottery-image {
width: 100%;
height: auto;
border-radius: 20px;
object-fit: cover;
}

.content-wrapper {
background-color: #e1dad2;
flex: 1;
padding: 30px;
position: relative;
margin-top: 34px;
border-radius: 12px;
}

.number-overlay {
font-family: "Crimson Text", serif;
font-size: 150px;
color: #b58042;
position: absolute;
top: -75px;
left: 8px;
opacity: 0.8;
line-height: 1;
}

.title {
font-family: "Roboto", sans-serif;
font-weight: 500;
font-size: 24px;
color: #59544e;
margin-left: 50px;
margin-top: 10px;
position: relative;
z-index: 2;
}

.divider {
width: 100%;
height: 1px;
background-color: #c1bab2;
margin: 15px 0;
border: none;
}

.description {
font-family: "Poppins", sans-serif;
font-size: 16px;
color: #5b5b5b;
line-height: 1.5;
margin-top: 15px;
}

.extra-content {
margin-top: 20px;
max-height: 0;
overflow: hidden;
opacity: 0;
transition: all 0.5s ease-in-out;
}

.extra-content.show {
max-height: 1000px;
opacity: 1;
}

.extra-content h3 {
color: #333;
font-size: 18px;
margin-bottom: 10px;
font-family: "Roboto", sans-serif;
font-weight: 500;
}

.extra-content ul {
padding-left: 20px;
margin-bottom: 15px;
font-family: "Roboto", sans-serif;
font-size: 16px;
}

.extra-content li {
margin-bottom: 8px;
font-family: "Poppins", sans-serif;
font-size: 16px;
}

.arrow-button {
position: absolute;
bottom: 15px;
right: 15px;
cursor: pointer;
z-index: 5;
transition: all 0.3s ease;
}

.arrow-button:hover {
transform: scale(1.05);
}

.circle-wrapper {
position: relative;
margin-bottom: -9px;
}
.circle-wrapper1 {
position: relative;
margin-bottom: -39px;
}

.arrow-circle {
width: 40px;
height: 40px;
transition: all 0.3s ease;
}

.arrow-icon {
width: 20px;
height: 20px;
position: absolute;
left: 10px;
top: 10px;
transition: transform 0.3s ease;
filter: brightness(0) saturate(100%) invert(40%) sepia(50%) saturate(500%) hue-rotate(20deg);
}

.arrow-icon.rotate {
transform: rotate(180deg);
}

.hidden {
display: none;
}

/* Reverse layout for section 2 */
.kalaignar-container.reverse {
flex-direction: row-reverse;
}

/* Section 2 white background */
.section-white .content-wrapper {
background-color: #ffffff;
}

/* Move number overlay to right side for reverse layout */
.kalaignar-container.reverse .number-overlay {
left: auto;
right: 20px;
}

.kalaignar-container.reverse .title {
text-align: right;
margin-right: 50px;
margin-left: 0;
}

.kalaignar-container.reverse .description {
text-align: left;
}

/* Footer Styles */
footer {
background-color: #b1783b;
color: white;
padding: 20px 0;
margin-top: 50px;
font-family: 'Poppins', sans-serif;
}

/* Tablet Styles (768px to 1024px) */
@media (max-width: 1024px) {
.schemes-container {
padding: 15px;
}

.kalaignar-container {
padding: 15px 0;
}

.image-wrapper {
width: 180px;
}

.content-wrapper {
padding: 25px;
}

.number-overlay {
font-size: 120px;
top: -60px;
}

.title {
font-size: 22px;
}

.description {
font-size: 15px;
}
}

/* Mobile Styles (up to 767px) */
@media (max-width: 767px) {
.schemes-container {
padding: 10px;
}

.kalaignar-container {
flex-direction: column;
padding: 10px 0;
}

.kalaignar-container.reverse {
flex-direction: column;
}

.image-wrapper {
width: 100%;
max-width: 300px;
margin: 0 auto;
}

.content-wrapper {
margin-top: 20px;
padding: 20px;
width: 100%;
}

.number-overlay {
font-size: 100px;
top: -50px;
left: 5px;
}

.kalaignar-container.reverse .number-overlay {
right: 5px;
left: auto;
}

.title {
font-size: 20px;
margin-left: 30px;
margin-top: 5px;
}

.kalaignar-container.reverse .title {
text-align: right;
margin-right: 30px;
margin-left: 0;
}

.description {
font-size: 14px;
}

.extra-content h3 {
font-size: 16px;
}

.extra-content li {
font-size: 14px;
}

.arrow-button {
bottom: 10px;
right: 10px;
}

.arrow-circle {
width: 35px;
height: 35px;
}

.arrow-icon {
width: 18px;
height: 18px;
left: 8px;
top: 8px;
}

.banner-container {
height: 500px;
}
}

/* Small Mobile Styles (up to 480px) */
@media (max-width: 480px) {
.schemes-container {
padding: 8px;
}

.kalaignar-container {
padding: 8px 0;
}

.content-wrapper {
padding: 15px;
margin-top: 15px;
}

.number-overlay {
font-size: 80px;
top: -40px;
}

.title {
font-size: 18px;
margin-left: 20px;
}

.kalaignar-container.reverse .title {
margin-right: 20px;
}

.description {
font-size: 13px;
}

.extra-content h3 {
font-size: 15px;
}

.extra-content li {
font-size: 13px;
}

.arrow-circle {
width: 30px;
height: 30px;
}

.arrow-icon {
width: 16px;
height: 16px;
left: 7px;
top: 7px;
}

.banner-container {
height: 320px;
}
}

@media (max-width: 767px) {
.incentives-link {
font-size: 0.9rem;
padding: 8px 12px;
}
}
@media (max-width: 575px) {
.incentives-link {
font-size: 0.8rem;
padding: 6px 10px;
bottom: 10px;
right: 10px;
}
}
.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;
  }
  
  .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;
  }
  
  .aboutus-banner-title {
    color: #fff;
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.685);
    margin-bottom: 0.5rem;
    pointer-events: auto;
  }
  
  .aboutus-breadcrumb {
    font-size: 1.2rem;
    pointer-events: auto;
  }
  
  .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: 500;
  }
  
  /* 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-bottom: 10%;
    }
    
    .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;
    }

@media (max-width: 767.98px) {
  .banner-container .incentives-link {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 40px;
    width: max-content;
    text-align: center;
  }
}
@media (max-width: 575.98px) {
  .banner-container .incentives-link {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    /* bottom: 20px; */
    width: max-content;
    text-align: center;
    font-size: 0.8rem;
    padding: 6px 10px;
  }
}

/* Add for font family consistency */
p, li, ul, ol, span, div, strong, em, i, b {
  font-family: 'Poppins', sans-serif;
}

/* Add for font size consistency */
p, li {
  font-size: 16px;
  padding-bottom: 8px;
}

/* Update .description for font size consistency */
.description {
  font-size: 16px;
}

/* Update .title for heading consistency */
.title {
  color: #B58042;
  font-weight: 500;
}