/* Add for font family consistency */
p, li, ul, ol, span, div, strong, em, i, b {
  font-family: 'Crimson Text', serif;
}

/* Add for font size consistency */
p, li {
  font-size: 18px;
  padding-bottom: 8px;
}

/* Update .description for font size consistency */
.description {
  font-size: 18px;
  font-family: 'Crimson Text', serif;
}

/* Update headings for consistency */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Crimson Text', serif;
}
   .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: #af6f24 !important;
        }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Crimson Text', serif;
    }
    
    body {
      background-color: #f9f9f9;
    }

    body.scrolled {
      padding-top: 90px;
    }

    /* Banner Styles */
    .banner-container {
      position: relative;
      width: 100%;
      height: 500px;
      overflow: hidden;
      margin-bottom: 30px;
    }
    
    .banner-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .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;
    }
    .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;
        margin-right: 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: 250px;
      }
      .incentives-link {
        padding: 6px 10px;
        
        right: 12px;
      }
     }
     body.scrolled {
      padding-top: 90px; /* Add padding when navbar is fixed */
     }
     
     /* 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;
        margin-right: 12px;
      }
     }
    /* Main Content Styles */
    .main-content {
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
    }
    
    .header {
      text-align: center;
      margin-bottom: 16px;
    }
    
    h1 {
      color: #B58042;
      margin-bottom: 15px;
      font-size: 26px;
    }
    
    .description {
      color: #000000;
      font-size: 20px;
      line-height: 1.5;
      text-align: center;
      margin-bottom: 30px;
    }
    
    .tab-container {
      display: flex;
      justify-content: center;
      margin-bottom: 30px;
      flex-wrap: wrap;
    }
    
    .tab {
      padding: 12px 24px;
      border-radius: 20px;
      margin: 5px;
      cursor: pointer;
      font-size: 14px;
      border: none;
      box-shadow: 0 2px 4px rgba(13, 11, 11, 0.1);
      transition: all 0.3s ease;
      background-color: #ffffff;
      color: #B58042;
    }
    
    .tab.active {
      background-color: #B58042;
      color: white;
    }
    
    .content-container {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 35px;
      margin: 0 auto;
      max-width: 1200px;
    }
    
    .card {
      background-color: white;
      border-radius: 15px;
      padding: 25px;
      min-width: 290px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      text-align: center;
      border: 1px solid #ffd88a;
      margin: 10px;
      position: relative;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .card::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 5px;
      right: 5px;
      height: 5px;
      background: linear-gradient(to right, #ffc14d, #ffd88a);
      border-bottom-left-radius: 15px;
      border-bottom-right-radius: 15px;
    }
    
    .card h3 {
      margin-bottom: 30px;
      font-size: 20px;
      color: #333;
      font-weight: 600;
    }
    
    .stats {
      display: flex;
      justify-content: space-around;
    }
    
    .stat {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin: 0 20px;
    }
    
    .circle {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background-color: #f2d5a9;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 15px;
    }
    
    .circle img {
      width: 30px;
      height: 30px;
    }
    
    .stat-label {
      font-size: 18px;
      color: #333;
      margin-bottom: 8px;
      font-weight: 600;
    }
    
    .stat-value {
      font-weight: bold;
      font-size: 20px;
      color: #333;
    }
    
    /* Block Activities Section */
    .block-activities-section {
      margin-top: 20px;
      margin-bottom: 40px;
    }
    
    .block-activities-title {
      text-align: center;
      color: #000000;
      font-size: 24px;
      font-weight: 600;
      margin-bottom: 40px;
      line-height: 1.4;
    }
    
    .block-activities-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      grid-template-rows: repeat(2, 1fr);
      gap: 20px;
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 20px;
    }
    
    .block-card {
      background-color: white;
      border: 2px solid #ffd88a;
      border-radius: 15px;
      padding: 25px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
      transition: all 0.3s ease;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 180px;
      height: 100%;
    }
    
    .block-card::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 5px;
      right: 5px;
      height: 5px;
      background: linear-gradient(to right, #ffc14d, #ffd88a);
      border-bottom-left-radius: 15px;
      border-bottom-right-radius: 15px;
    }
    
    .block-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
      background-color: #fffef8;
    }
    
    .block-name {
      color: #B58042;
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 15px;
      text-align: center;
    }
    
    .block-activities {
      color: #333;
      font-size: 16px;
      line-height: 1.6;
      text-align: center;
      margin: 0;
      flex-grow: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    /* Footer Styles */
    footer {
      background-color: #b1783b;
      color: white;
      padding: 20px 0;
      font-family: 'Poppins', sans-serif;
    }
    
    /* 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;
    }
    
    /* Fix footer list item alignment */
    footer ul li {
      color: #555;
      font-size: 16px;
      line-height: 1.7;
      position: relative;
    }
    
    footer ul li i {
      position: absolute;
      left: 0;
      top: 5px;
      color: #B58042;
      font-size: 0.9rem;
    }
    
    /* Content display */
    .content {
      display: none;
    }
    
    .content.active {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }
    
    /* Responsive design */
    @media (max-width: 1200px) {
      .block-activities-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 1fr);
        max-width: 900px;
      }
      
      .block-card:nth-child(10) {
        grid-column: 2;
      }
    }
    
    @media (max-width: 991px) {
      .navbar {
        padding: 0.5rem 1rem;
      }
      
      .navbar-collapse {
        margin-top: 1rem;
      }
      
      .nav-item {
        text-align: center;
        margin: 0.5rem 0;
      }
      
      .nav-link {
        margin: 0;
      }
      
      .block-activities-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 1fr);
        gap: 18px;
        max-width: 600px;
      }
      
      .block-activities-title {
        font-size: 22px;
        margin-bottom: 35px;
      }
    }
    
    @media (max-width: 768px) {
      .navbar {
        border-radius: 2;
      }
      
      .content-container {
        flex-direction: column;
        align-items: center;
        gap: 25px;
      }
      
      .card {
        width: 90%;
        max-width: 350px;
      }
      
      .stat {
        margin: 0 10px;
      }
      
      .tab-container {
        flex-wrap: wrap;
      }
      
      .tab {
        margin-bottom: 10px;
      }
      
      .banner-container {
        height: 400px;
      }
      
      .block-activities-section {
        margin-top: 50px;
        margin-bottom: 30px;
      }
      
      .block-activities-grid {
        gap: 15px;
        padding: 0 10px;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
      }
      
      .block-card {
        padding: 20px;
        min-width: auto;
        min-height: 160px;
      }
      
      .block-activities-title {
        font-size: 20px;
        margin-bottom: 30px;
        padding: 0 15px;
      }
      
      .block-name {
        font-size: 18px;
      }
      
      .block-activities {
        font-size: 15px;
      }
    }
    
    @media (max-width: 576px) {
      h1 {
        font-size: 22px;
      }
      
      .description {
        font-size: 16px;
      }
      
      .tab {
        padding: 10px 18px;
        font-size: 12px;
      }
      
      .banner-container {
        height: 320px;
      }
      
      .incentives-link {
        font-size: 0.8rem;
        padding: 6px 10px;
        bottom: 10px;
        right: 10px;
      }
      
      .block-activities-section {
        margin-top: 40px;
        margin-bottom: 25px;
      }
      
      .block-activities-title {
        font-size: 18px;
        margin-bottom: 25px;
        padding: 0 10px;
      }
      
      .block-card {
        padding: 18px;
        margin: 0 5px;
        min-height: 140px;
      }
      
      .block-name {
        font-size: 17px;
        margin-bottom: 12px;
      }
      
      .block-activities {
        font-size: 14px;
        line-height: 1.5;
      }
    }
    
    @media (max-width: 320px) {
      .block-activities-title {
        font-size: 16px;
        margin-bottom: 20px;
        padding: 0 8px;
      }
      
      .block-card {
        padding: 15px;
        margin: 0 3px;
        min-height: 120px;
      }
      
      .block-name {
        font-size: 16px;
        margin-bottom: 10px;
      }
      
      .block-activities {
        font-size: 13px;
        line-height: 1.4;
      }
      
      .block-activities-grid {
        gap: 12px;
        padding: 0 5px;
      }
    }

    /* 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;
    }
    
    .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;
      font-weight: 600;
      color: black !important;
      margin: 0 10px;
      transition: color 0.3s ease;
    }

    .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: 38%;
      }
    }
    
    /* 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-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: 700;
      letter-spacing: 1px;
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.71);
      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: 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%;
      }
      
      .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;
      }

.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

/* MSME Data Horizontal Scroll Styles */
.msme-data-section {
  margin-top: 40px;
  margin-bottom: 60px;
}

.msme-data-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 40px;
  cursor: grab;
}

.msme-data-scroll {
  width: 100%;
  overflow: hidden;
  scroll-snap-type: x mandatory;
}

.msme-data-track {
  display: flex;
  transition: transform 0.3s ease;
  gap: 20px;
  padding: 20px 0;
  /* Removed continuous rolling animation */
}

.msme-data-card {
  min-width: 290px;
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #ffd88a;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  z-index: 1;
  text-align: center;
  scroll-snap-align: center;
}

.msme-data-card::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 5px;
  right: 5px;
  height: 5px;
  background: linear-gradient(to right, #ffc14d, #ffd88a);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.msme-data-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  z-index: 2;
}

.msme-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  color: #B58042;
  font-weight: 600;
  font-size: 20px;
}

.msme-year {
  margin-left: 8px;
  font-family: 'Roboto', sans-serif;
}

.msme-stats {
  display: flex;
  justify-content: space-around;
}

.msme-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 20px;
}

.msme-stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #f2d5a9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.msme-stat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.msme-stat-label {
  font-size: 18px;
  color: #333;
  margin-bottom: 8px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.msme-stat-value {
  font-weight: bold;
  font-size: 20px;
  color: #333;
  font-family: 'Roboto', sans-serif;
}

.loading-message {
  padding: 20px;
  text-align: center;
  color: #666;
  font-style: italic;
  min-width: 200px;
}

/* Removed msmeScroll keyframes animation */

.msme-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  font-size: 1.5rem;
  color: #B58042;
  outline: none;
}

.msme-arrow:hover {
  background: #B58042;
  color: #fff;
  box-shadow: 0 4px 16px rgba(181,128,66,0.18);
}

.msme-arrow-left {
  left: 0;
  margin-left: 8px;
}

.msme-arrow-right {
  right: 0;
  margin-right: 8px;
}

/* Responsive Design for MSME Data Section */
@media (max-width: 768px) {
  .msme-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  
  .msme-data-card {
    min-width: 280px;
    padding: 20px;
  }
  
  .msme-stat-icon {
    width: 45px;
    height: 45px;
  }
  
  .msme-stat-value {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .msme-data-container {
    padding: 0 20px;
  }
  
  .msme-data-card {
    min-width: 100%;
    max-width: 100%;
    padding: 18px;
    margin: 0 10px;
  }
  
  .msme-card-header {
    font-size: 16px;
  }
  
  .msme-stat-icon {
    width: 40px;
    height: 40px;
  }
  
  .msme-stat-label {
    font-size: 13px;
  }
  
  .msme-stat-value {
    font-size: 15px;
  }
  
  .msme-arrow {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}

@media (max-width: 375px) {
  .msme-data-container {
    padding: 0 15px;
  }
  
  .msme-data-card {
    min-width: 100%;
    max-width: 100%;
    padding: 15px;
    margin: 0 5px;
  }
  
  .msme-stat-icon {
    width: 35px;
    height: 35px;
  }
  
  .msme-arrow {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
}