.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;
}

/* ===================================================================
   MODERN TRAINING CARDS DESIGN
   =================================================================== */

/* Section Styling */
.rs-featured-courses-modern {
  background: #f3f8f9;
  position: relative;
  overflow: hidden;
}

.rs-featured-courses-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: rgba(24, 124, 154, 0.03);
  z-index: 0;
}

.rs-featured-courses-modern .container {
  position: relative;
  z-index: 1;
}

/* Animated Badge */
.animated-badge {
  display: inline-block;
  padding: 8px 25px;
  background: #187c9a;
  color: #ffffff;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(24, 124, 154, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(24, 124, 154, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(24, 124, 154, 0.5);
  }
}

/* Modern Course Card */
.modern-course-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 15px;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.modern-course-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Image Wrapper */
.course-image-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 250px;
  overflow: hidden;
  background: #f3f8f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-course-card:hover .course-image {
  transform: scale(1.08);
}

/* Image Overlay */
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modern-course-card:hover .image-overlay {
  opacity: 1;
}

.quick-view-btn a {
  display: inline-block;
  padding: 12px 30px;
  background: #ffffff;
  color: #187c9a;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(20px);
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.modern-course-card:hover .quick-view-btn a {
  transform: translateY(0);
}

.quick-view-btn a:hover {
  background: #187c9a;
  color: #ffffff;
  transform: scale(1.05);
}

/* Course Badges */
.course-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

.course-badge .badge {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  letter-spacing: 0.5px;
}

.badge-staff {
  background: #187c9a;
}

.badge-external {
  background: #21a7d0;
}

.badge-both {
  background: #cbaa66;
}

.badge-default {
  background: #187c9a;
}

/* Free Badge */
.free-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #28a745;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
  z-index: 10;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Course Content */
.course-content {
  padding: 30px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Meta Top */
.course-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  gap: 6px;
}

.meta-item i {
  color: #187c9a;
  font-size: 16px;
}

/* Course Title */
.course-title {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 20px;
  min-height: 60px;
}

.course-title a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
}

.course-title a:hover {
  color: #187c9a;
  text-decoration: none;
}

/* Course Footer */
.course-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

/* Info Row */
.course-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

.info-item i {
  color: #187c9a;
  font-size: 16px;
}

.price-tag {
  font-weight: 700;
}

.price-amount {
  color: #187c9a;
  font-size: 16px;
  font-weight: 800;
}

.free-text {
  color: #28a745;
  font-weight: 700;
}

/* Action Button */
.action-button {
  width: 100%;
}

.btn-register,
.btn-view-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 25px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-register {
  background: #cbaa66;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(203, 170, 102, 0.4);
}

.btn-register:hover {
  background: #b89850;
  box-shadow: 0 8px 25px rgba(203, 170, 102, 0.6);
  transform: translateY(-2px);
  color: #ffffff;
  text-decoration: none;
}

.btn-view-details {
  background: #187c9a;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(24, 124, 154, 0.4);
}

.btn-view-details:hover {
  background: #15667d;
  box-shadow: 0 8px 25px rgba(24, 124, 154, 0.6);
  transform: translateY(-2px);
  color: #ffffff;
  text-decoration: none;
}

.btn-register i,
.btn-view-details i {
  transition: transform 0.3s ease;
}

.btn-register:hover i,
.btn-view-details:hover i {
  transform: translateX(5px);
}

/* Carousel Navigation Arrows */
.rs-featured-courses-modern .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  pointer-events: none;
}

.rs-featured-courses-modern .owl-nav button {
  position: absolute;
  width: 50px;
  height: 50px;
  background: #ffffff !important;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.rs-featured-courses-modern .owl-nav button:hover {
  background: #187c9a !important;
  box-shadow: 0 6px 30px rgba(24, 124, 154, 0.4);
  transform: scale(1.1);
}

.rs-featured-courses-modern .owl-nav button span {
  font-size: 24px;
  color: #187c9a;
  font-weight: 700;
}

.rs-featured-courses-modern .owl-nav button:hover span {
  color: #ffffff;
}

.rs-featured-courses-modern .owl-nav .owl-prev {
  left: -25px;
}

.rs-featured-courses-modern .owl-nav .owl-next {
  right: -25px;
}

/* Carousel Dots */
.rs-featured-courses-modern .owl-dots {
  text-align: center;
  margin-top: 40px;
}

.rs-featured-courses-modern .owl-dots .owl-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #cbd5e0;
  border-radius: 50%;
  margin: 0 6px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.rs-featured-courses-modern .owl-dots .owl-dot:hover {
  background: #187c9a;
  transform: scale(1.2);
}

.rs-featured-courses-modern .owl-dots .owl-dot.active {
  width: 35px;
  border-radius: 20px;
  background: #187c9a;
}

/* View All Button */
.view-all-btn {
  padding: 18px 45px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  box-shadow: 0 8px 25px rgba(24, 124, 154, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.view-all-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(24, 124, 154, 0.5) !important;
}

.view-all-btn i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.view-all-btn:hover i {
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 991px) {
  .modern-course-card {
    margin: 10px;
  }
  
  .course-image-wrapper {
    height: 240px;
  }
  
  .course-title {
    font-size: 18px;
    min-height: auto;
  }
  
  .rs-featured-courses-modern .owl-nav .owl-prev {
    left: 10px;
  }
  
  .rs-featured-courses-modern .owl-nav .owl-next {
    right: 10px;
  }
}

@media (max-width: 767px) {
  .rs-featured-courses-modern {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
  
  .modern-course-card {
    margin: 5px;
  }
  
  .course-image-wrapper {
    height: 220px;
  }
  
  .course-content {
    padding: 20px 18px;
  }
  
  .course-title {
    font-size: 17px;
    margin-bottom: 15px;
  }
  
  .meta-item {
    font-size: 12px;
  }
  
  .info-item {
    font-size: 12px;
  }
  
  .btn-register,
  .btn-view-details {
    padding: 12px 20px;
    font-size: 13px;
  }
  
  .course-badge .badge {
    padding: 8px 14px;
    font-size: 11px;
  }
  
  .free-badge {
    padding: 6px 12px;
    font-size: 11px;
  }
  
  .rs-featured-courses-modern .owl-nav button {
    width: 40px;
    height: 40px;
  }
  
  .rs-featured-courses-modern .owl-nav button span {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .course-info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .animated-badge {
    padding: 6px 18px;
    font-size: 11px;
  }
  
  .view-all-btn {
    padding: 14px 30px !important;
    font-size: 14px !important;
  }
}

/* RTL Support */
[dir="rtl"] .course-badge {
  left: auto;
  right: 20px;
}

[dir="rtl"] .free-badge {
  right: auto;
  left: 20px;
}

[dir="rtl"] .course-meta-top,
[dir="rtl"] .course-info-row {
  direction: rtl;
}

[dir="rtl"] .meta-item,
[dir="rtl"] .info-item {
  flex-direction: row-reverse;
}

[dir="rtl"] .btn-register i,
[dir="rtl"] .btn-view-details i {
  transform: scaleX(-1);
}

[dir="rtl"] .btn-register:hover i,
[dir="rtl"] .btn-view-details:hover i {
  transform: scaleX(-1) translateX(5px);
}

[dir="rtl"] .rs-featured-courses-modern .owl-nav .owl-prev {
  left: auto;
  right: -25px;
}

[dir="rtl"] .rs-featured-courses-modern .owl-nav .owl-next {
  right: auto;
  left: -25px;
}

@media (max-width: 991px) {
  [dir="rtl"] .rs-featured-courses-modern .owl-nav .owl-prev {
    right: 10px;
  }
  
  [dir="rtl"] .rs-featured-courses-modern .owl-nav .owl-next {
    left: 10px;
  }
}

/* No Courses Card */
.no-courses-card {
  max-width: 600px;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: none;
}

.no-courses-card .card-body {
  padding: 60px 40px;
}

.no-courses-card i {
  color: #187c9a;
  opacity: 0.5;
}

.no-courses-card h3 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 15px;
}

.no-courses-card p {
  color: #666;
  font-size: 16px;
}

/* ===================================================================
   TRAINING REGISTRATION PAGE MODERN DESIGN
   =================================================================== */

/* Registration Type Cards */
.registration-type-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  background: #ffffff;
  border: 2px solid #e9ecef !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
  height: 100%;
}

.registration-type-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(24, 124, 154, 0.15) !important;
  border-color: #187c9a !important;
}

.registration-type-card .icon-container {
  background: linear-gradient(135deg, #187c9a 0%, #15a2cc 100%);
  border-radius: 50%;
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(24, 124, 154, 0.3);
  transition: all 0.3s ease;
}

.registration-type-card:hover .icon-container {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(24, 124, 154, 0.5);
}

.registration-type-card .btn {
  border-radius: 25px;
  font-weight: 600;
  padding: 12px 25px;
  transition: all 0.3s ease;
}

.registration-type-card .btn-warning {
  background: #cbaa66;
  border-color: #cbaa66;
}

.registration-type-card .btn-warning:hover {
  background: #b89850;
  border-color: #b89850;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(203, 170, 102, 0.4);
}

.registration-type-card .btn-primary {
  background: #187c9a;
  border-color: #187c9a;
}

.registration-type-card .btn-primary:hover {
  background: #15667d;
  border-color: #15667d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24, 124, 154, 0.4);
}

/* Form Sections */
.form-section {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 25px;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.form-section:hover {
  border-color: #187c9a;
  box-shadow: 0 4px 15px rgba(24, 124, 154, 0.1);
}

.section-title {
  color: #2c3e50;
  border-bottom: 3px solid #187c9a;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 18px;
}

/* Enhanced Input Groups */
.input-group-text {
  background-color: #187c9a;
  border-color: #187c9a;
  color: #ffffff;
  min-width: 45px;
  justify-content: center;
  transition: all 0.3s ease;
}

.input-group-text i {
  font-size: 16px;
}

.input-group .form-control {
  border-left: 0;
  border-color: #ced4da;
  transition: all 0.3s ease;
}

.input-group .form-control:focus {
  border-color: #187c9a;
  box-shadow: 0 0 0 0.2rem rgba(24, 124, 154, 0.25);
}

.input-group:focus-within .input-group-text {
  background-color: #15667d;
  border-color: #15667d;
}

/* Form Validation */
.is-invalid ~ .input-group-text {
  background-color: #dc3545;
  border-color: #dc3545;
}

.text-danger {
  font-size: 0.875em;
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Payment Options */
.payment-option {
  position: relative;
  margin-bottom: 15px;
}

.payment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.payment-label {
  display: block;
  padding: 18px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  background: #fff;
  margin-bottom: 0;
}

.payment-label:hover {
  border-color: #187c9a;
  background-color: #f8f9fa;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(24, 124, 154, 0.15);
}

.payment-option input[type="radio"]:checked + .payment-label {
  border-color: #187c9a;
  background: linear-gradient(135deg, #f8f9fa 0%, #e7f5f8 100%);
  color: #187c9a;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(24, 124, 154, 0.2);
}

.payment-label i {
  display: block;
  font-size: 28px;
  margin-bottom: 10px;
}

.payment-label span {
  font-size: 14px;
  font-weight: 500;
}

/* Action Buttons */
.registration-section .btn-lg {
  padding: 14px 35px;
  font-size: 16px;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.registration-section .btn-warning {
  background: #cbaa66;
  border-color: #cbaa66;
  box-shadow: 0 4px 15px rgba(203, 170, 102, 0.3);
}

.registration-section .btn-warning:hover {
  background: #b89850;
  border-color: #b89850;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(203, 170, 102, 0.5);
}

.registration-section .btn-primary {
  background: #187c9a;
  border-color: #187c9a;
  box-shadow: 0 4px 15px rgba(24, 124, 154, 0.3);
}

.registration-section .btn-primary:hover {
  background: #15667d;
  border-color: #15667d;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(24, 124, 154, 0.5);
}

.registration-section .btn-secondary {
  background: #6c757d;
  border-color: #6c757d;
}

.registration-section .btn-secondary:hover {
  background: #5a6268;
  border-color: #545b62;
  transform: translateY(-2px);
}

/* Course Info Card */
.registration-section .card {
  border-radius: 15px;
  border: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.registration-section .card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.registration-section .card-title {
  color: #187c9a;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 20px;
  border-bottom: 3px solid #cbaa66;
  padding-bottom: 10px;
}

/* Badge Styles */
.registration-section .badge-primary {
  background: #187c9a;
}

.registration-section .badge-warning {
  background: #cbaa66;
}

.registration-section .badge-success {
  background: #28a745;
}

/* Alert Styles */
.registration-section .alert-info {
  background: linear-gradient(135deg, #e7f5f8 0%, #d4e8ed 100%);
  border-color: #187c9a;
  color: #0c5460;
}

.registration-section .alert-success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border-color: #28a745;
}

.registration-section .alert-warning {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border-color: #cbaa66;
}

/* Responsive Design */
@media (max-width: 768px) {
  .registration-type-card .icon-container {
    width: 70px;
    height: 70px;
  }
  
  .registration-type-card h5 {
    font-size: 16px;
  }
  
  .form-section {
    padding: 20px 15px;
  }
  
  .section-title {
    font-size: 16px;
  }
  
  .registration-section .btn-lg {
    padding: 12px 25px;
    font-size: 14px;
  }
}

/* ===================================================================
   MODERN CONTACT CARDS DESIGN
   =================================================================== */

.modern-contact-card {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.modern-contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(24, 124, 154, 0.15);
  border-color: #187c9a;
}

/* Contact Card Header */
.contact-card-header {
  background: linear-gradient(135deg, #187c9a 0%, #21a7d0 100%);
  padding: 25px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-card-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.modern-contact-card:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.contact-icon i {
  font-size: 32px;
  color: #ffffff;
}

.contact-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

/* Contact Card Body */
.contact-card-body {
  padding: 25px 20px;
  flex: 1;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  padding: 15px;
  margin-bottom: 12px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.contact-info-item:hover {
  background: #e7f5f8;
  border-left-color: #187c9a;
  transform: translateX(5px);
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

[dir="rtl"] .contact-info-icon {
  margin-right: 0;
  margin-left: 15px;
}

.email-icon {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

.phone-icon {
  background: linear-gradient(135deg, #28a745 0%, #218838 100%);
}

.contact-info-item:hover .contact-info-icon {
  transform: scale(1.1) rotate(-5deg);
}

.contact-info-icon i {
  font-size: 20px;
  color: #ffffff;
}

.contact-info-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 12px;
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
  display: block;
}

.contact-link {
  font-size: 15px;
  color: #2c3e50;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  word-break: break-word;
}

.contact-link:hover {
  color: #187c9a;
  text-decoration: none;
}

/* Contact Card Footer */
.contact-card-footer {
  padding: 15px 20px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.contact-btn {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.contact-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.contact-btn:hover::before {
  width: 100%;
  height: 100%;
}

.contact-btn i {
  font-size: 20px;
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.email-btn {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
  box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

.email-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(23, 162, 184, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.phone-btn {
  background: linear-gradient(135deg, #28a745 0%, #218838 100%);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.phone-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Animation */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Responsive Design for Contact Cards */
@media (max-width: 768px) {
  .modern-contact-card {
    margin-bottom: 20px;
  }
  
  .contact-card-header {
    padding: 20px 15px;
  }
  
  .contact-icon {
    width: 60px;
    height: 60px;
  }
  
  .contact-icon i {
    font-size: 28px;
  }
  
  .contact-name {
    font-size: 16px;
  }
  
  .contact-card-body {
    padding: 20px 15px;
  }
  
  .contact-info-item {
    padding: 12px;
  }
  
  .contact-info-icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
  }
  
  [dir="rtl"] .contact-info-icon {
    margin-right: 0;
    margin-left: 12px;
  }
  
  .contact-info-icon i {
    font-size: 18px;
  }
  
  .contact-link {
    font-size: 14px;
  }
  
  .contact-btn {
    width: 45px;
    height: 45px;
  }
  
  .contact-btn i {
    font-size: 18px;
  }
}


