
:root{
    --complaint-btn:#187c9a;
}

.profile-section .content-column .inner-column ,.course-overview .inner-box h4 {
	color: #187c9a;
}
.rs-team.inner-style .team-item .content-part{
	background: #187c9a;
}
.rs-team.inner-style .team-item .content-part .name a{
	color: #fff !important;
}
.rs-team.inner-style .team-item .content-part .designation{
	color: #fff !important;
}

.full-width-header .rs-header .menu-area .main-menu .rs-menu ul.sub-menu {
    margin: 0;
    padding: 20px 0;
    width: 350px;
    word-wrap: break-word;  /* Ensures long words break */
    white-space: normal;    /* Allows text to wrap */
    overflow-wrap: break-word; /* Ensures text wraps properly */
}

.full-width-header .rs-header .menu-area .main-menu .rs-menu ul.sub-menu li a{
	padding: 10px 10px !important;
}

.custom-division-image{
	min-height: 291px;
	max-height: 291px;
	min-width: 328px;
	max-width: 328px;
}

.rs-team.style1 .team-item .content-part .name{
  text-align: center;
  display: block;
  margin: auto;
  width: 150px;
  font-size: 19px;
  word-wrap: break-word;
  white-space: initial;
}

.customcolor{
	background-color: #21a7d0;
}

/* Subheader Styles */
.custom-subheader {
    background-color: #21a7d0;
    padding: 10px 0;
    font-family: 'Rubik', sans-serif;
}

.custom-subheader-links {
    text-align: center;
}

.custom-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-block;
}

.custom-nav-menu li {
    position: relative;
    display: inline-block;
    margin: 0 20px;
}

.custom-nav-menu li a {
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Rubik', sans-serif;
}

/* First-level submenu (renamed) */
.custom-sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    padding: 10px 10px;
    list-style: none;
    z-index: 999;
    border: 1px solid #ddd;
    min-width: 250px;
}

.custom-nav-menu li:hover > .custom-sub-menu {
    display: block; /* Show submenu on hover */
}

/* Styling for submenu links */
.custom-sub-menu li {
    display: block;
}

.custom-sub-menu li a {
    padding: 10px 10px;
    white-space: nowrap;
    color: #112958;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
}

.custom-sub-menu li a:hover {
    color: #21a7d0;
}

/* Second-level submenu (renamed nested submenu) */
.custom-nested-sub-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    border: 1px solid #ddd;
}

.custom-sub-menu li:hover > .custom-nested-sub-menu {
    display: block; /* Show nested child submenu on hover */
}

/* Styling for nested submenu links */
.custom-nested-sub-menu li a {
    padding: 10px 10px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
}

.custom-nested-sub-menu li a:hover {
    background-color: #f1f1f1;
    color: #007bff;
}

/* Responsive Styles - Hide subheader on smaller screens */
@media (max-width: 991px) {
    .custom-subheader {
        display: none;
    }
}
.rs-blog.home9-style .events-short-top{
    background: #21a7d0;
}
.rs-blog.home9-style .events-short-top .date-part .date{
    color: #db702e;
    min-width: 100px;
    text-align: center;
    padding: 22px 0 22px;
    font-size: 60px;
}
.rs-blog.home9-style .events-short-top .content-part .title a:hover{
    color: #fff;
}
.rs-blog.home9-style .events-short-top .content-part p{
    color: #fff;
    font-size: 16px;
}
.readon.register-btn:hover{
    background-color: #042a7b;
    border-color: #042a7b;
}
/* ------------------------------------
    15. Team Section CSS
---------------------------------------*/

.rs-team.style1 .team-item {
  position: relative;
  overflow: hidden;
}
.rs-team.style1 .team-item img {
  width: 100%;
}
.rs-team.style1 .team-item .content-part {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
  transition: all 0.3s ease;
  opacity: 0;
  width: 100%; /* Ensures the content spans the full width */
  padding: 10px; /* Adds spacing around the text */
  box-sizing: border-box; /* Ensures padding is included in width calculation */
}
.rs-team.style1 .team-item .content-part .name {
  margin-bottom: 8px;
  font-size: 22px;
  width: 100%; /* Makes sure the name spans the full width */
}
.rs-team.style1 .team-item .content-part .name a {
  color: #ffffff;
  display: block; /* Ensures the link spans the full width */
  width: 100%; /* Full width for clickable area */
}
.rs-team.style1 .team-item .content-part .name a:hover {
  color: #111111;
}
.rs-team.style1 .team-item .content-part .designation {
  color: #ffffff;
  margin-bottom: 16px;
  display: block;
  width: 100%; /* Ensures the designation spans the full width */
}
.rs-team.style1 .team-item .content-part .social-links li {
  display: inline;
  margin-right: 35px;
}
.rs-team.style1 .team-item .content-part .social-links li a {
  display: inline-block;
  color: #ffffff;
}
.rs-team.style1 .team-item .content-part .social-links li a:hover {
  color: #111111;
}
.rs-team.style1 .team-item .content-part .social-links li:last-child {
  margin: 0;
}
.rs-team.style1 .team-item:after {
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  transform: translate(-50%, 100%) scale(0.1);
  background: #cbaa66;
  opacity: 0;
  transition: all 0.3s ease;
}
.rs-team.style1 .team-item:hover .content-part {
  transform: translate(-50%, -50%);
  opacity: 1;
  width: 100%; /* Maintain full width on hover */
}
.rs-team.style1 .team-item:hover:after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.9;
}
.rs-team.style1 .owl-item.center .team-item .content-part {
  transform: translate(-50%, -50%);
  opacity: 1;
  width: 100%; /* Full width in the centered item */
}
.rs-team.inner-style .team-item .content-part {
  background: #171f32;
  border-radius: 0; /* Set to 0 for rectangular style */
  padding-top: 30px;
  opacity: 1 !important;
  width: 100%; /* Ensures full width */
}
.rs-team.inner-style .team-item:hover .content-part {
  background: transparent;
  border-radius: 0; /* Remove rounded corners */
  padding-top: 0;
  opacity: 1 !important;
}
.rs-team.home11-style .team-item .team-thumbnail .team-img {
  border-radius: 0; /* Remove rounded corners */
}
.rs-team.home11-style .team-item .team-thumbnail .team-img .team-social-link {
  border-radius: 0; /* Remove rounded corners */
}
.rs-team.home-style15 .team-item .team-wrap .team-img {
  border-radius: 0; /* Remove rounded corners */
}
.rs-team.home-style15 .team-item .team-wrap .team-img .team-social-link {
  border-radius: 0; /* Remove rounded corners */
}
.contact-page-section .rs-quick-contact .form-group .btn-send {
  background: #cbaa66;
}
.footerbackground {
  background: #171f32;
}
.rs-footer .footer-bottom .footer-social li a {
  background: #cbaa66;
}

/* Header Logo Enhanced Size - PC and Mobile */
.full-width-header.header-style2 .rs-header .menu-area .logo-cat-wrap .logo-part {
    max-width: none;
}

.full-width-header.header-style2 .rs-header .menu-area .logo-cat-wrap .logo-part img {
    max-height: 80px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Tablet Size (768px - 1199px) */
@media only screen and (max-width: 1199px) and (min-width: 768px) {
    .full-width-header.header-style2 .rs-header .menu-area .logo-cat-wrap .logo-part img {
        max-height: 70px;
        max-width: 150px;
    }
}

/* Mobile Size (Below 768px) */
@media only screen and (max-width: 767px) {
    .full-width-header.header-style2 .rs-header .menu-area .logo-cat-wrap .logo-part img {
        max-height: 60px;
        max-width: 130px;
    }
}

/* Small Mobile (Below 480px) */
@media only screen and (max-width: 480px) {
    .full-width-header.header-style2 .rs-header .menu-area .logo-cat-wrap .logo-part img {
        max-height: 50px;
        max-width: 110px;
    }
}

.rs-event.home8-style1 .event-item .event-short .content-part .title{
    font-size: 24px;
    height: auto;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1.6;
    text-overflow: ellipsis;
    overflow-wrap: break-word;
    margin-bottom: 1rem;
}
.custombg{
    background: #f3f8f9 !important;
}
.rs-featured-courses{
    background: #fff !important;
}

/* Navs */
.rs-breadcrumbs .breadcrumbs-text ul li,.rs-breadcrumbs .breadcrumbs-text ul li a{
    color: #fff;

}
.rs-breadcrumbs .breadcrumbs-text ul li a::after,.rs-breadcrumbs .breadcrumbs-text ul li a::before{
    background: #fff;
}
.news-title {

    white-space: nowrap;      /* Prevents text from wrapping */
    overflow: hidden;         /* Hides overflowing text */
    text-overflow: ellipsis;  /* Adds "..." at the end if text overflows */
    max-width: 20%;           /* Limits the width to prevent stretching */

}
.rs-inner-blog .widget-area .recent-posts-widget .show-featured .post-desc a{
    height: auto;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1.6;
    text-overflow: ellipsis;
    overflow-wrap: break-word;
    margin-bottom: 1rem;
}

.rs-footer .footer-top{
        padding: 90px 0 50px;
}

/* Footer Logo Enhanced Size - PC and Mobile */
.footer-bottom .footer-logo img {
    width: 100% !important;
    max-width: 250px !important;
    max-height: 120px !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Tablet Size (768px - 1199px) */
@media only screen and (max-width: 1199px) and (min-width: 768px) {
    .footer-bottom .footer-logo img {
        max-width: 200px !important;
        max-height: 100px !important;
    }
}

/* Mobile Size (Below 768px) */
@media only screen and (max-width: 767px) {
    .footer-bottom .footer-logo img {
        max-width: 180px !important;
        max-height: 90px !important;
    }
    
    .footer-bottom .footer-logo {
        text-align: center;
        margin-bottom: 20px;
    }
}

/* Small Mobile (Below 480px) */
@media only screen and (max-width: 480px) {
    .footer-bottom .footer-logo img {
        max-width: 150px !important;
        max-height: 75px !important;
    }
}



#external_complaint_menu{

    position: absolute;
    right: 0;
    top: 200%;
    transition: all 0.3s ease;
    width: 270px;
    opacity: 0;
    /*padding-top: 120px;*/
    visibility: hidden;
    overflow: hidden;
    z-index: 10;
    margin-top: 0;
    height: 50px !important;
    padding-top: 0 !important;
    display: block;
    /*pointer-events: none;*/

}

.menu-area {
    position: relative;
    z-index: 9;
}





#submit_complaint:hover  +#external_complaint_menu {
    visibility: visible;
    opacity: 1;
    top: 102%;
    overflow: visible;
    background-color: var(--complaint-btn) !important;
}


#external_complaint_menu:hover{
    visibility: visible;
    opacity: 1;
    top: 102%;
    overflow: visible;
/*pointer-events: auto;*/
    background-color: var(--complaint-btn) !important;
}

#external_complaint_menu li{
    padding: 0 !important;
}

/*#external_complaint_menu li .icon-cart{*/
/*   display: block !important;*/
/*    width: 30px;*/
/*    text-align: start;*/
/*}*/

/* 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: calc(100% - 5px);
  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: 1002;
  margin-left: 0;
}

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

/* Bridge the gap so hover doesn't break */
.custom-subheader .custom-sub-menu > li:has(> ul.custom-sub-menu)::after {
  content: '';
  position: absolute;
  top: 0;
  right: -5px;
  width: 10px;
  height: 100%;
  z-index: 1001;
}

/* 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;
}

