.rmain{
    gap: 35px;
}
.rmain2{
    box-shadow: rgba(15, 197, 69, 0.24) 0px 3px 8px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 0px 30px 0px 30px;
    border: 2px solid #137bec;
}
.rmainicon{
    display: flex; 
    justify-content: center;
}
.rmainheading{
text-align: center; font-size: 18px;
color:#137bec;
}
.rmainp{
     font-size: 14px;
    text-align: center;
    font-weight: normal;
}
   .request-button {
      background-color:#137bec;
      color: white;
      border: none;
      padding: 14px 32px;
      font-size: 16px;
      font-weight: bold;
      border-radius: 999px;
      box-shadow: 0 8px 16px rgba(245, 81, 95, 0.2);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: Arial, sans-serif;
      border: 2px solid #137bec;
      transition: ease-in-out 1s;
    }
     .request-button span{
      color: #fff;
        transition: ease-in-out 1s;
     }
    .request-button:hover {
      background-color: #ffffff;
      color: #007bff;
     border: 2px solid #007bff; /* Corrected line */
    }
    .request-button:hover span{
      color: #007bff;
    }
    .mfter{
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    margin-top: 40px;
}
/* Base Dropdown Menu Styles */
.dropdown-menu.mega-dropdown {
  width: 950px;
  max-width: 100vw;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #fff;
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 40px;
  display: none;
  z-index: 9999;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  overflow-x: auto;
  box-sizing: border-box;
}

/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown Row Layout */
.dropdown-menu .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* Column Settings */
.dropdown-menu .col-md-4 {
  flex: 1 1 30%;
  min-width: 250px;
  box-sizing: border-box;
  padding: 0 15px;
}

/* Headers */
.dropdown-header {
    display: contents;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
  position: relative;
}

.dropdown-header::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: linear-gradient(to right, rgb(155 153 153) 1%, rgb(10 49 113) 24%, rgb(75 161 242) 67%, rgb(0, 116, 217) 100%);
  /* margin-top: 6px; */
   margin-top: -13px;
  border-radius: 2px;
}

/* Dropdown Items */
.dropdown-item {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 15px;
  color: #222 !important;
  padding: 8px 0;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  color: #007bff !important;
  padding-left: 8px;
}

.dropdown-item i {
  margin-right: 10px;
  font-size: 16px;
  color: #555;
  transition: color 0.3s ease;
}

.dropdown-item:hover i {
  color: #007bff;
}

/* -----------------------------------
   Media Queries for Responsiveness
------------------------------------ */

@media (max-width: 991px) {
  .dropdown-menu.mega-dropdown {
    width: 100vw;
    left: 0;
    right: 0;
    transform: translateY(0);
    padding: 20px;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    max-height: 90vh;
    overflow-y: auto;
    display: none;
    /* position: fixed; */
    top: 60px;
    z-index: 10000;
  }

  .nav-item.dropdown.show .dropdown-menu.mega-dropdown {
    display: block;
  }

  .dropdown-menu .row {
    flex-direction: column;
    gap: 10px;
  }

  .dropdown-menu .col-md-4 {
    flex: 1 1 100%;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  .dropdown-header {
           font-size: 16px;
        font-weight: bold;
        margin-bottom: 10px;
        cursor: pointer;
        display: flex;
        position: relative;
        justify-content: center;
  }

  .dropdown-header::after {
    content: "▼";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 12px;
    transition: transform 0.3s ease;
  }

  .dropdown-header.active::after {
    transform: rotate(180deg);
  }

  .dropdown-section {
    display: none;
    padding-top: 5px;
  }

  .dropdown-header.active + .dropdown-section {
    display: block;
  }

  .dropdown-item {
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
  }

  .dropdown-item:last-child {
    border-bottom: none;
  }
}

