.btn-gradient-red {
  background: linear-gradient(14deg, #f1646c 0%, rgba(241, 100, 108, 0.7));
  color: #ffffff;
  -webkit-box-shadow: 0 7px 14px 0 rgba(241, 100, 108, 0.5);
          box-shadow: 0 7px 14px 0 rgba(241, 100, 108, 0.5);
  border: none;
}


.btn-gradient-red:hover, .btn-gradient-red:focus, .btn-gradient-red:active, .btn-gradient-red.active,
.btn-gradient-red.focus, .btn-gradient-red:active, .btn-gradient-red:focus, .btn-gradient-red:hover,
.open > .dropdown-toggle.btn-gradient-red, .btn-gradient-red.active,
.btn-gradient-red:active, .show > .btn-gradient-red.dropdown-toggle {
  background: linear-gradient(14deg, #f1646c 0%, rgba(241, 100, 108, 0.7));
  color: #ffffff;
}

.btn-gradient-red:not(:disabled):not(.disabled):active:focus, .show > .btn-gradient-red.dropdown-toggle:focus,
.btn-gradient-red.focus, .btn-gradient-red:focus {
  -webkit-box-shadow: 0 0 0 2px rgba(241, 100, 108, 0.3);
  box-shadow: 0 0 0 2px rgba(241, 100, 108, 0.3);
}
.red-text{
  color: #f1646c !important;
}
.table-bordered thead{
  background-color: #5488f8;
}
.table-bordered thead tr th{
  color: white;
  font-weight: bold;
  font-size: 15px;
}

.table-bordered tbody tr td{
  font-size: 14px;
}
.left-sidenav-menu li > a .cutom-li{
  color: #083eb6;
}

.left-sidenav-menu li > a .cutom-li:active{
  color: white;
}
.border-cutom{
  border: 2px solid;
  border-color: #083eb6;
}
.thead-primary{
  background-color: #083eb6;
  color: #fff;
}

.single-pro-detail .pro-features li{
  color: black;
}

/* News Gallery - Original Image Sizes with Spacing */
.rs-gallery .news-gallery-container {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  padding: 20px 0 !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  width: 100% !important;
}

.rs-gallery .news-gallery-item {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  margin: 0 !important;
  padding: 0 !important;
}

.rs-gallery .news-gallery-item .gallery-img {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  width: auto;
  height: auto;
}

.rs-gallery .news-gallery-item .gallery-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.rs-gallery .news-gallery-item .gallery-img img {
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: 400px !important;
  display: block !important;
  object-fit: contain !important;
}

.rs-gallery .news-gallery-item .gallery-img a {
  display: inline-block;
  line-height: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .news-gallery-container {
    gap: 15px;
  }
  
  .news-gallery-item .gallery-img img {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .news-gallery-container {
    gap: 10px;
  }
}

/* Nested Submenu Styling for Conferences & Events */
.custom-subheader .custom-nav-menu > li {
  position: relative;
}

.custom-subheader .custom-nav-menu > li > ul.custom-sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
  padding: 15px 0;
  display: none;
  z-index: 1000;
}

.custom-subheader .custom-nav-menu > li:hover > ul.custom-sub-menu {
  display: block;
}

/* Level 2 Submenu (Conferences, Events items) */
.custom-subheader .custom-sub-menu > li {
  position: relative;
  padding: 0;
  margin: 0;
}

.custom-subheader .custom-sub-menu > li > a {
  display: block;
  padding: 12px 25px;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.custom-subheader .custom-sub-menu > li > a:hover {
  background: #f8f9fa;
  color: #007bff;
  padding-left: 30px;
}

/* Arrow only for items that have submenu */
.custom-subheader .custom-sub-menu > li:has(> ul.custom-sub-menu) > a::after {
  content: '▶';
  float: right;
  font-size: 10px;
  margin-left: 15px;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.custom-subheader .custom-sub-menu > li:has(> ul.custom-sub-menu):hover > a::after {
  opacity: 1;
  transform: translateX(3px);
}

/* Level 3 Submenu (Conference/Event list items) */
.custom-subheader .custom-sub-menu > li > ul.custom-sub-menu {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 300px;
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
  padding: 15px 0;
  display: none;
  z-index: 1001;
  margin-left: 5px;
}

.custom-subheader .custom-sub-menu > li:hover > ul.custom-sub-menu {
  display: block;
}

/* Level 3 items styling */
.custom-subheader .custom-sub-menu .custom-sub-menu > li > a {
  padding: 10px 25px;
  font-size: 14px;
  font-weight: 400;
  color: #555;
}

.custom-subheader .custom-sub-menu .custom-sub-menu > li > a::after {
  content: none;
}

.custom-subheader .custom-sub-menu .custom-sub-menu > li > a:hover {
  background: #f0f8ff;
  color: #007bff;
  padding-left: 30px;
}

/* Separator lines */
.custom-subheader .custom-sub-menu hr {
  margin: 5px 15px;
  border: none;
  border-top: 1px solid #e9ecef;
}

/* Hover indicator for items with submenu */
.custom-subheader .custom-sub-menu > li > a[href="#"] {
  font-weight: 600;
  color: #2c3e50;
}

/* Active/hover state */
.custom-subheader .custom-sub-menu > li.active > a,
.custom-subheader .custom-sub-menu > li > a:active {
  background: #e3f2fd;
  color: #1976d2;
}

/* Smooth animations */
.custom-subheader .custom-sub-menu {
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RTL Support for Arabic */
[dir="rtl"] .custom-subheader .custom-sub-menu > li > ul.custom-sub-menu {
  left: auto;
  right: 100%;
  margin-left: 0;
  margin-right: 5px;
}

[dir="rtl"] .custom-subheader .custom-sub-menu > li:has(> ul.custom-sub-menu) > a::after {
  content: '◀';
  float: left;
  margin-left: 0;
  margin-right: 15px;
}


