/* ==================== HERO SECTION ==================== */
.hero {
  text-align: center;
  padding-top: 110px;
  padding-bottom: 20px;
  
  background-size: cover !important;
  position: relative;
  color: #333;
}

.hero .container {
  max-width:80%;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #4c39dd;
}

.hero p {
  font-size: 1.15rem;
  margin-top: 25px;
  font-weight: 500;
  color: #000000;
  line-height: 1.7;
}

/* ✅ Search box */
.search-box {
  max-width: 850px;
  margin: 0 auto;

  background: #fff;
  box-shadow: 0px 5px 17px rgba(0, 0, 0, 0.159);
  border-radius: 8px;
  /* display: flex; */
  align-items: center;
}

.search-box input {
  flex: 1;
  border: none;
  padding: 12px;
  font-size: 1rem;
}
/* Hero Search Input Styling */
.hero .search-box input.form-control {
  padding: 12px 15px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  text-align: left;
}

/* Placeholder Styling */
.hero .search-box input.form-control::placeholder {
  color: #6c757d; /* subtle gray color */

  opacity: 1; /* ensures consistent color across browsers */
}

/* Optional: focus effect */
.hero .search-box input.form-control:focus {
  box-shadow: none;
  outline: none;
}

/* Dropdown Styling */
.custom-select .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  border-left: 1.5px solid #000000;
  border-radius: 0;
  background: none;
  font-weight: 500;
  padding: 0px 12px;
  color: #000;
}
.custom-select .dropdown-toggle:hover {
  background-color: transparent;
}
/* 
.custom-select {
  z-index: 1111;
} */

.custom-select img {
  height: 20px;
}

.custom-select .dropdown-toggle:focus {
  box-shadow: none;
}
/* .dropdown-menu {
  z-index: 1050;
} */

.search-box button {
  background: #4C39DD;
  color: #fff;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  padding: 6px 15px;
  margin: 5px;
}

.search-box button:hover {
  background: #6a5ae2;
}
.authority-carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px; /* Adjust spacing between dots */
    margin: 0 16px; /* Spacing between dots and arrows */
}

.authority-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d8d8d8; /* Inactive dot color */
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.authority-carousel-dot.active {
    background-color: #6a44c2; /* Active dot color from your theme */
}
.authority-carousel-dots + .authority-carousel-dots {
    display: none !important;
}

/* Features */
.features {
  margin-top: 30px;
  font-size: 1.05rem;
  font-weight: 500;
  color: #000000;
}

.features h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #9F70FD;
}

/* ✅ Gradient color for check icons */
.features i {
  background: linear-gradient(180deg, #4c39dd, #8f82f2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.1rem;
  font-weight: bold;
  margin-right: 6px;
}

.btn-register {
     margin-top: 30px;
    background: #4c39dd;
    color: #fff;
    font-weight: 500;
    padding: 2px 5px;
    border-radius: 6px;
    font-size: 1rem;
}

.btn-register a {
  color: inherit; /* Inherit the white color from the button */
  text-decoration: none; /* Remove the default underline from the link */
  display: block; /* Make the link fill the entire button area */
  padding: 10px 25px; /* Apply the padding to the link instead of the button */
}

.btn-register:hover {
   background: #6a5ae2;
  color: #fff;
}

/* Optional: Ensure the link's text color also stays white on hover */
.btn-register:hover a {
  color: #fff;
}

/* ==================== KEYWORDS CAROUSEL ==================== */

.keywords-carousel-section {
  padding: 30px 60px;

  background: #fff;
  position: relative;

}

.keywords-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;  
  padding-left: 10px;
  padding-right: 10px;
}

.keywords-carousel-header h2 {
  font-size: 2.5rem;
  font-weight: 500;
  color: #000000;
  margin: 0;
}
.keywords-carousel-header h2 span {
  font-weight: 700;
  color: #4c39dd;
}

.keywords-carousel-header p {
  font-size: 1.15rem;
  color: #000;
  font-weight: 400;
  margin-top: 0.5rem;
  flex-basis: 100%;
}

.keywords-carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.keywords-carousel-Next-btn,
.keywords-carousel-prev-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 18px;
  padding: 0.3rem 0.6rem;
}
.keywords-carousel-Next-btn {
  border: 2px solid #4C39DD;
  background: transparent;
  color: #4C39DD;
}
.keywords-carousel-prev-btn {
  background: #4C39DD;
  color: #fff;
  border: 2px solid #4C39DD;
}

.keywords-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
}
.keywords-carousel-dot.active {
  background: #4C39DD;
}

.keywords-carousel-container {
  overflow: hidden;
  position: relative;
  max-width: 100%;
  margin: 0 10px ;
}

.keywords-carousel-track {
  display: flex;
  gap: 41px;
  transition: transform 0.5s ease;
  align-items: stretch;
}

.keywords-carousel-card {
  flex: 0 0 calc((99% - 3 * 42px) / 4);
  background: #eff5fe;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.keywords-carousel-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  max-width: 100%;
}

.keywords-carousel-info {
  padding: 1rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.keywords-carousel-info h3 {
  font-size: 1.29rem;
  margin: 0 0 0.3rem 0;
  color: #4c39dd;
  font-weight: 600;
}

.keywords-carousel-info span {
  font-size: 1rem;
  color: #000;
}

/* ==================== TENDER SECTION ==================== */
.tender-wrapper {
  padding: 60px 60px;
}

.tender-section {
  background: #EFF5FE;
  border-radius: 12px;
  padding: 15px 20px;
  height: 600px;
  overflow: hidden;
  position: relative;
}

.tender-section h3 {
  font-size: 2rem;
  font-weight: 500;
  color: #000000;
  margin-top: 0;
  margin-bottom: 30px;
  border-bottom: 2px solid #4c39dd;
  display: inline-block;
  margin-left: 20px;
}
.tender-section h3 span {
  font-weight: 600;
   color: #4c39dd;
}

.marquee-box {
  height: calc(100% - 50px);
  overflow: hidden;
  position: relative;
  padding: 20px;
}

.marquee-content {
  display: flex;
  flex-direction: column;
  /* animation: scrollUp 5s linear infinite; */
  /* will-change: transform; */
}

/* @keyframes scrollUp {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-100%);
  }
} */

.tender-item {
  padding-bottom: 20px;
  border-bottom: 1.5px solid #3d3d3d;
}
.tender-item:last-child {
  margin-bottom: 0;
}

.tender-title {
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 4px;
  color: #232323;
    margin-top: 8px;
}



.tender-location {
  font-size: 1rem;
  color: #666;
  margin-bottom: 5px;
}

.tender-desc {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 8px;
}

.tender-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #5c5b5b;
}
.tender-meta span {
  display: flex;
  flex-direction: column;
  line-height: 1.7;
}
.tender-meta span strong {
  color: #232323;
}

.badge-custom {
  background: #9F70FD;
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 10px;
  margin-left: 6px;
}

/* ==================== AUTHORITY CAROUSEL ==================== */
.authority-carousel-section {
  padding: 60px 0;
  max-width: 100%;
  margin: auto;
  position: relative;
  background: #fff;
}

.authority-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  padding: 0 60px;
}

.authority-carousel-header h2 {
  font-size: 2.5rem;
  font-weight: 500;
  color: #000000;
  margin: 0;
}
.authority-carousel-header h2 span {
  font-weight: 700;
  color: #4c39dd;
}

.authority-carousel-header p {
  font-size: 1.1rem;
  color: #000;
  font-weight: 400;
  margin-top: 0.5rem;
  flex-basis: 100%;
}

.authority-carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.authority-carousel-prev-btn,
.authority-carousel-Next-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 18px;
  padding: 0.3rem 0.6rem;
}
.authority-carousel-prev-btn {
  background: #4c39dd;
  color: #fff;
  border: 2px solid #4c39dd;
}
.authority-carousel-Next-btn {
  border: 2px solid #4c39dd;
  background: transparent;
  color: #4c39dd;
}

.authority-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
}
.authority-carousel-dot.active {
  background: #4c39dd;
}

.authority-carousel-container {
  overflow: hidden; /* prevent scrollbar */
  scrollbar-width: none;
}

.authority-carousel-track {
  display: flex;

  gap: 2rem;
  transition: transform 0.5s ease;
}

.authority-carousel-card {
  min-width: calc((100% / 6) - 2rem);
  background: transparent;
  border-radius: 8px;
  flex-shrink: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.authority-carousel-card img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  max-width: 100%;
  margin-bottom: 0.4rem;
}
.authority-carousel-card h3 {
  font-size: 1.15rem;
  color: #000;
  margin-bottom: 0.3rem;
}
.authority-carousel-card span {
  font-size: 0.9rem;
  color: #000;
}

/* ==================== BID STEPS ==================== */
.bid-steps {
  padding: 60px 40px;
  background-color: #EFF5FE;
}

.bid-steps .section-title {
  font-size: 2.7rem;
  color: #4c39dd;
  text-align: center;
  font-weight: 600;
}
.bid-steps .section-title span {
  font-weight: 600;
}

.bid-steps .section-subheading {
  padding-top: 15px;
  font-size: 1.15rem;
  color: #000;
  padding-bottom: 40px;
  text-align: center;
}

.bid-steps .steps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px;
}

.bid-steps .step-card {
  background: transparent;
  border-radius: 12px;
  padding: 25px 0;
  text-align: center;
  width: 210px;
}
.bid-steps .step-card img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  max-width: 100%;
  margin-bottom: 15px;
}
.bid-steps .step-card h4 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #2f2f2f;
  margin-bottom: 10px;
}
.bid-steps .step-card p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.5;
}

.bid-steps .arrow {
  width: 100%;
  max-width: 130px;
  height: auto;
  object-fit: fill;
  margin: 30px 10px 0;
  align-self: flex-start;
}

/* ==================== STATE SECTION ==================== */
.state-explore {
  padding: 30px 70px;
}

.state-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.state-text {
  flex: 1 1 600px;
  max-width: 600px;
  text-align: left;
}
.state-text h2 {
  font-size: 2.5rem;
  font-weight: 500;
  color: #000000;
  margin-bottom: 10px;
}
.state-text h2 span {
  font-weight: 700;
  color: #4c39dd;
}
.state-text .subtitle {
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 30px;
}
.state-text p {
  font-size: 1.17rem;
  color: #444;
  line-height: 1.7;
}

.view-more {
  background-color: #4c39dd;
  color: #fff;
  font-weight: 500;
  padding: 8px 25px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 30px;
}
.view-more a {
  color: inherit; /* Inherit the white color from the button */
  text-decoration: none; /* Remove the default underline from the link */
  display: block; /* Make the link fill the entire button area */
  padding: 10px 25px; /* Apply the padding to the link instead of the button */
}
.view-more:hover {
  background-color: #4c39dd;
  color: #fff;
}
.view-more:hover a {
  color: #fff;
}

.state-map {
  flex: 1 1 400px;
  position: relative;
  text-align: right;
  justify-content: center;
  align-items: center;
}
.state-map img {
  width: 90%;
  margin-right: -30px;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  margin-bottom: 0; /* Ensures no extra space below */
  padding-bottom: 0;
}

/* ==================== LATEST UPDATES ==================== */
/* .latest-updates section */
.latest-updates {
  padding: 0 60px;
  overflow: hidden;
  padding-bottom: 70px;
}

/* ✅ Top Row: Heading Left & Controls Right */
.latest-updates-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.latest-updates-header .text-block {
  max-width: 60%;
}

.latest-updates-header h2 {
  font-size: 2.5rem;
  font-weight: 500;
  color: #000000;
  margin-bottom: 10px;
  text-align: left;
}
.latest-updates-header h2 span {
  font-weight: 700;
  color: #4c39dd;
}
.latest-updates-header p {
  font-size: 1.15rem;
  color: #000;
  font-weight: 400;
  margin: 0;
  text-align: left;
}

/* ✅ Controls on Right */
.latest-updates-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.latest-updates-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.latest-updates-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s;
}

.latest-updates-dot.active {
  background: #4c39dd;
}

/* ✅ Shared button style (no change) */
.lu-next-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #4c39dd;
  background: transparent;
  color: #4c39dd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 18px;
}
.lu-prev-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;

  background: #4c39dd; /* fill background */
  color: #fff; /* white arrow */
  border: 2px solid #4c39dd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 18px;
}
/* ✅ Different hover styles */
.lu-prev-btn:hover {
  background: #4c39dd; /* fill background */
  color: #fff; /* white arrow */
}

.lu-next-btn:hover {
  background: transparent;
  color: #4c39dd;
  border-color: #4c39dd;
  transform: none;
  box-shadow: none;
}
#lu-wrapper {
  overflow: hidden;
}
.latest-updates-wrapper {
  overflow: hidden;
}

.latest-updates-container {
  display: flex;
  gap: 60px;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.update-card {
  flex: 0 0 calc(33.333% - 40px);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.update-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.update-card-body {
  text-align: left;
  padding-top: 20px;
}

.update-card-body .date {
  font-size: 1.15rem;
  font-weight: 500;
  color: #4C39DD;
  margin-bottom: 10px;
}

.update-card-body h5 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 10px;
}

.update-card-body p {
  font-size: 1.1rem;
  font-weight: 400;
  color: #2f2f2f;
  margin: 0;
}



/* Default: Desktop view */
.desktop-only {
  display: flex; /* show desktop arrows */
}
.mobile-only {
  display: none; /* hide mobile arrows */
}
/* ==================== GLOBAL RESPONSIVE FIX ==================== */

/* =========================================================
   HERO SECTION
========================================================= */

/* Tablets (≤992px) */
@media (min-width: 577px) and (max-width: 992px)  {
  .hero {
    padding: 60px 25px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .search-box {
    
    padding: 12px;
    gap: 10px;
  }
  .search-box input {
    width: 70%;
    
  }
  .search-box button{
    width: 20%;
  }
  .hero .search-box input.form-control {
    border: 1px solid #2f2f2f;
  }
}

/* Mobile (≤576px) */
/* Mobile (≤576px) */
@media (max-width: 576px) {
  .hero {
    padding: 40px 15px;
     /* padding-bottom: 28px !important; more if needed, ensure no cut-off */
    background-size: cover;
 
    /* min-height: 100vh; */
  }
   .hero .container {
    padding-left: 8px;
    padding-right: 8px;
    max-width: 100%;
  }
  .hero h1 {
    font-size: 1.7rem;
text-align:left;
  }
  .hero p {
    font-size: 0.95rem;
    margin: 13px 0px;
    text-align: left;
  }

  .search-box {
   flex-direction: column;
   box-shadow: none !important;
  
   
    gap: 8px;
  }
  .hero .search-box input.form-control {
    border: 1px solid #2f2f2f;
text-align: left;


  }

  .search-box input,
   .custom-select,
  .search-box button {
    width: 100%;
    margin-bottom: 10px;
    
  }

  .custom-select .dropdown-toggle {
    justify-content: center;
    border: none;
     padding: 0;
color:#333333ad;
border: 1px solid #2f2f2f;
        padding: 12px 15px;
        border-radius: 8px;
    
  } 

  .search-box button {
    border-radius: 6px;
    padding: 6px;
    margin: 0;
font-size: 14px;
   }

 .features .d-flex {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 7px !important;
    margin-top: 9px;
    margin-bottom: 12px;
    /* margin-left: 60px; */
  }
  .features .d-flex span {
    text-align: left !important;
    font-size: 1rem;
    display: flex;
    align-items: center;
    margin: 0;
    width: 100%;
   
  }
.features h6{
text-align: left;
}
.btn-register{
width: 100%;
font-size:14px;
padding:2px;
}
.btn-register a {
padding: 4px 25px ;
}
.keywords-carousel-header p{
font-size:15px;
}
.dropdown-menu {
  position: static !important;
margin-top: -40px !important;
}
}

/* =========================================================
   KEYWORDS CAROUSEL
========================================================= */

/* Tablet (3 cards) */
@media (max-width: 992px) {

  .keywords-carousel-section {
    padding: 40px 20px;
    margin: 0;
  }
  .keywords-carousel-track {
    gap: 3rem;
  }
  .keywords-carousel-card {
    flex: 0 0 calc(33.333% - 1rem); /* 3 cards with 1.5rem gap */
  }
  .keywords-carousel-card img {
    height: 160px;
  }
}
@media (min-width: 577px) and (max-width: 991px) {
  
  .keywords-carousel-section {
        max-width: 99%;
    margin: 0;
  }
  .keywords-carousel-track {
    gap: 2.5rem; /* spacing between cards */
  }

  .keywords-carousel-card {
    flex: 0 0 calc(33.333% - 1.666rem); /* 3 cards with spacing */
    max-width: calc(33.333% - 1.666rem);
    box-sizing: border-box;
  }
}


/* Mobile (1 card) */
@media (max-width: 576px) {
  
    .keywords-carousel-section {
    padding: 30px 15px;
    margin: 0;
  }
    .keywords-carousel-track {
    gap: 0; /* remove spacing between cards */
  }

  .keywords-carousel-card {
    flex: 0 0 100%; /* take full width */
    max-width: 100%;
  }

 .keywords-carousel-card img {
  height: 25vh; /* 30% of viewport height */
  object-fit: cover;
}
  .keywords-carousel-section {
    padding: 30px 15px;
    margin: 0;
    max-width: 100%;
  }
  .keywords-carousel-header{
    margin: 0;
  }

  .keywords-carousel-header h2 {
    font-size: 1.6rem;
  }
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: flex;
    justify-content: center;
    gap: 1.4rem;
    margin-top: 2rem;
  }
}
/* =========================================================
   TENDER SECTION
========================================================= */

/* Tablets */
@media (min-width: 577px) and (max-width: 991px) {
  .tender-wrapper {
    padding: 40px 25px;
  }
  .tender-section {
    height: auto;
    padding: 20px;
  }

  .tender-section h3 {
    font-size: 1.6rem; /* match your other heading sizes */
    margin-bottom: 1rem;
  }
  .marquee-box {
    height: 400px;
    animation: none;
  }
   .tender-title {
    font-size: 1.2rem;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .tender-wrapper {
    padding: 30px 15px;  /* updated  here*/
  } 
  .tender-section {
    padding: 8px 1px;
    height: auto;
  }

   .tender-section h3 {
    font-size: 1.6rem;
    margin-bottom: 0.65rem;
  }
  .tender-title {
    font-size: 1.1rem;
  }
  .tender-meta {
    grid-template-columns: 1fr;
  }
  .marquee-box {
    height: 350px;
    animation: none;
  }
}

/* =========================================================
   AUTHORITY CAROUSEL
========================================================= */

@media (min-width: 577px) and (max-width: 992px) {
  .authority-carousel-section {
    padding: 40px 0;
  }

  .authority-carousel-header {
    padding:0 15px;
    text-align: left;
  }

  .authority-carousel-track {
    gap: 1.5rem;
    justify-content: center;
  }

  .authority-carousel-card {
    flex: 0 0 calc(33.333% - 1rem); /* 3 cards per row */
    box-sizing: border-box;
  }

  .authority-carousel-card img {
    width: 120px;
    height: 120px;
  }
}


/* Mobile (up to 576px) */
@media (max-width: 576px) {
  .authority-carousel-section {
    padding: 30px 0;
  }

  .authority-carousel-header {
    padding: 0 15px;
    text-align: left;
    margin: 0;
  }

  .authority-carousel-track {
    gap: 1rem;
    justify-content: flex-start;
  }

  .authority-carousel-card {
    flex: 0 0 calc(50% - 0.5rem); /* 2 cards per row */
    box-sizing: border-box;
  }

  .authority-carousel-card img {
    width: 100px;
    height: 100px;
  }

  .authority-carousel-header h2 {
    font-size: 1.6rem;
  }

  .authority-carousel-header p {
    font-size: 0.95rem;
  }
}



/* =========================================================
   BID STEPS
========================================================= */

/* Tablets (≤992px) */
@media (min-width: 577px) and (max-width: 992px) {
  .bid-steps {
    padding: 40px 20px;
  }

  .bid-steps .steps-grid {
    gap: 1rem;
    justify-content: center;
  }

  .bid-steps .step-card {
    flex: 0 0 calc(50% - 0.5rem); /* 2 cards per row */
    box-sizing: border-box;
    padding: 20px 10px;
    text-align: center;
  }

  .bid-steps .step-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
  }

  .bid-steps .step-card h4 {
    font-size: 1.2rem;
  }

  .bid-steps .step-card p {
    font-size: 0.85rem;
  }

  .bid-steps .arrow {
    display: none;
  }
}

@media (max-width: 576px) {
  .bid-steps {
    padding: 30px 15px;
  }

  .bid-steps .steps-grid {
    gap: 0.75rem;
    justify-content: center;
  }

  .bid-steps .step-card {
    flex: 0 0 calc(50% - 0.375rem); /* 2 cards per row */
    box-sizing: border-box;
    padding: 15px 8px;
text-align: left;
  }

  .bid-steps .step-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
  }

  .bid-steps .step-card h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
text-align: left;
  }

  .bid-steps .step-card p {
    font-size: 0.8rem;
text-align: left;
  }

  .bid-steps .arrow {
    display: none;
  }

  .bid-steps .section-title {
    font-size: 1.6rem;
    font-weight: 500;
text-align: left;
  }

    .bid-steps .section-title span{
      font-weight: 500;
    }

  .bid-steps .section-subheading {
    font-size: 1rem;
    padding-bottom: 20px;
text-align: left;
  }
}


/* =========================================================
   STATE SECTION
========================================================= */

/* Tablets */
@media (min-width: 577px) and (max-width: 992px){
 
    .state-explore {
    padding: 20px 30px;
    margin-bottom: -30px;
  }
  
  .state-text {
    max-width: 100%;
    text-align: center;
   
  }
    .state-explore {
    padding: 10px 15px;
    margin-bottom: -20px;
  }
  
  .state-text {
    max-width: 100%;
    text-align: center;
   
  }
  .state-text h2 {
    font-size: 2.5rem;
  }
  .state-text p {
    font-size: 1.10rem;
  }
  .state-map img {
    padding-top: 20px;
    width: 100%;
    margin: 0;

    display: block;
    margin-bottom: 0;
  }
} 
  
 

/* Mobile */
 @media (max-width: 576px) {
  .state-explore {
    padding: 20px 15px;
    margin-bottom: -40px;
  }
  
  .state-text {
    max-width: 100%;
    text-align:left;
   
  }

  .state-text h2 {
    font-size: 1.6rem;
  }
   .state-text .subtitle {
    margin-bottom: 0.35rem;
    font-size: 1rem;
  }
  .state-text p {
    margin-bottom: 0.45rem;
    margin-top: 0.25rem;
    font-size: 0.98rem !important;
  }

   .view-more {
    margin-top: 0.98rem;
    margin-left: 0;          /* Left align button */
    display: block;
    width: fit-content;
    font-size: 0.98rem;
  }
  .state-map img {
    padding-top: 20px;
    width: 100%;
    margin: 0;

    display: block;
    margin-bottom: 0;
  }
} 

  


/* =========================================================
   LATEST UPDATES
========================================================= */

/* Tablets */
@media (max-width: 992px) {
  .latest-updates {
    padding: 40px 25px;
  }

  .latest-updates-header h2 {
    font-size: 2rem;
  }

  .latest-updates-header p {
    font-size: 1rem;
  }

  .latest-updates-header .text-block {
    max-width: 100%;
  }

  .update-card {
    flex: 0 0 48%; /* 2 cards per row */
  }
}

/* Mobile */
@media (max-width: 576px) {
  .latest-updates {
    padding: 30px 15px;
 
  }

  


  .latest-updates-header {
    flex-direction: column;
    align-items: flex-start;
    /* gap: 15px; */
  }

  .latest-updates-controls {
    align-self: flex-start;
    margin-top: 10px;
   

  }

  .latest-updates-header h2 {
    font-size: 1.6rem;
  }

  .latest-updates-header p {
    font-size: 0.95rem;
  }

  .update-card {
    flex: 0 0 100%; /* 1 card per row */
  
  }

  .update-card img {
    height: 200px;
  }

  .update-card-body h5 {
    font-size: 1.1rem;
  }

  .update-card-body p {
    font-size: 0.9rem;
  }
}

/* animation */

/* step card */
.step-card, .arrow {
  opacity: 0;
  transform: translatex(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.visible {
  opacity: 1;
  transform: translatex(0);
}
/* ======================================================== BIG SCREEN / LARGE DESKTOP ======================================================== */



 /* Ultra-Large Screens (≥1400px) */
@media (min-width: 1400px) {
  .hero h1 { font-size: 3rem; }
  .hero p { font-size: 1.3rem; }
  .keywords-carousel-card { flex: 0 0 calc((99% - 4 * 42px) / 5); }
  .authority-carousel-card { min-width: calc((100% / 7) - 2rem); }

  .state-text h2 { font-size: 3rem; }
  .latest-updates-container { gap: 80px; }
  .update-card { flex: 0 0 calc(33.333% - 50px); }
}



/* =========================================================
   BID STEPS - LARGE DESKTOP / BIG DEVICES (≥1400px)
========================================================= */
@media (min-width: 1200px) {
  .bid-steps {
    padding: 80px 40px; /* more spacious padding for big screens */
  }

  .bid-steps .section-title {
    font-size: 3rem; /* bigger title */
    text-align: center;
  }

  .bid-steps .section-subheading {
    font-size: 1.5rem;
    text-align: center;
    padding-bottom: 50px;
  }

  .bid-steps .steps-grid {
    display: flex;
    flex-wrap: nowrap; /* show all steps in a row */
    justify-content: center;
    gap: 1px; /* space between step cards */
  }

  .bid-steps .step-card {
    flex: 0 0 200px; /* fixed width per card */
    padding: 30px 1px;
    text-align: center;
    border-radius: 12px;
  }

  .bid-steps .step-card img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
  }

  .bid-steps .step-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }

  .bid-steps .step-card p {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .bid-steps .arrow {
    display: block;
    width: 130px;
    height: auto;
    margin: 30px 0;
  }
}

@media (min-width: 1400px) {
  .bid-steps {
    padding: 80px 60px; /* more spacious padding for big screens */
  }

  .bid-steps .section-title {
    font-size: 3rem; /* bigger title */
    text-align: center;
  }

  .bid-steps .section-subheading {
    font-size: 1.5rem;
    text-align: center;
    padding-bottom: 50px;
  }

  .bid-steps .steps-grid {
    display: flex;
    flex-wrap: nowrap; /* show all steps in a row */
    justify-content: center;
    gap: 1px; /* space between step cards */
  }

  .bid-steps .step-card {
    flex: 0 0 250px; /* fixed width per card */
    padding: 30px 1px;
    text-align: center;
    border-radius: 12px;
  }

  .bid-steps .step-card img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
  }

  .bid-steps .step-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }

  .bid-steps .step-card p {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .bid-steps .arrow {
    display: block;
    width: 130px;
    height: auto;
    margin: 30px 0;
  }
}


/* =========================================================
   ULTRA-LARGE SCREENS (4K / ≥2400px)
========================================================= */
@media  (min-width: 2400px){
  /* HERO SECTION */
  .hero h1 { font-size: 4.5rem; }
  .hero p { font-size: 1.8rem; }

  /* KEYWORDS CAROUSEL */
  .keywords-carousel-card {
    flex: 0 0 calc((99% - 4 * 60px) / 6); /* 6 cards on row */
  }
  .keywords-carousel-card img { height: 250px; }

  /* AUTHORITY CAROUSEL */
  .authority-carousel-card { min-width: calc((100% / 9) - 2rem); } /* 9 cards per row */
  .authority-carousel-card img { height: 200px; }

  /* BID STEPS */
  .bid-steps {
    padding: 100px 80px;
  }
  .bid-steps .section-title { font-size: 4rem; }
  .bid-steps .section-subheading { font-size: 2rem; padding-bottom: 60px; }
  .bid-steps .step-card {
    flex: 0 0 450px;
    padding: 40px 10px;
  }
  .bid-steps .step-card img { width: 180px; height: 180px; }
  .bid-steps .step-card h4 { font-size: 1.8rem; }
  .bid-steps .step-card p { font-size: 1.3rem; }
  .bid-steps .arrow { width: 180px; margin: 40px 0; }

  /* LATEST UPDATES */
  .update-card { flex: 0 0 calc(33.333% - 80px); }
  .update-card img { height: 400px; }
  .update-card-body h5 { font-size: 1.8rem; }
  .update-card-body p { font-size: 1.3rem; }

  /* STATE SECTION */
  .state-text h2 { font-size: 3.8rem; }
  .state-text p { font-size: 1.5rem; }
  .state-map img { width: 80%; max-width: 80%; }
  .state-text {
 
  max-width: 1200px;
  
}

}
