/* Navigation Styles */
/* Dropdown Menu Styles */
.mainmenu .cr-dropdown ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scaleY(0) scale(0.9);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 9999;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(52, 152, 219, 0.1);
    overflow: hidden;
}

/* Dropdown Menu Gradient Background */
.mainmenu .cr-dropdown ul:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #9b59b6, #e74c3c);
    border-radius: 16px 16px 0 0;
}

/* Dropdown Menu Arrow */
.mainmenu .cr-dropdown ul:before {
    content: '';
    position: absolute;
    top: -16px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-bottom: 16px solid rgba(255, 255, 255, 0.98);
    box-shadow: 0 -8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    transform: rotate(0deg);
}

/* Show Dropdown Menu */
.mainmenu .cr-dropdown:hover ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(15px) scaleY(1) scale(1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), 0 0 20px rgba(52, 152, 219, 0.3);
}

/* Dropdown Menu Arrow Animation */
.mainmenu .cr-dropdown:hover ul:before {
    transform: rotate(360deg);
    transition: transform 0.5s ease;
}

/* Dropdown Menu Items */
.mainmenu .cr-dropdown ul li {
    position: relative;
    transition: all 0.4s ease;
    display: block;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: left;
    padding: 0 !important;
}

/* Dropdown Menu Item Animation Delay */
.mainmenu .cr-dropdown:hover ul li {
    opacity: 1;
    transform: translateY(0);
}

.mainmenu .cr-dropdown ul li:nth-child(1) {
    transition-delay: 0.1s;
}

.mainmenu .cr-dropdown ul li:nth-child(2) {
    transition-delay: 0.15s;
}

.mainmenu .cr-dropdown ul li:nth-child(3) {
    transition-delay: 0.2s;
}

.mainmenu .cr-dropdown ul li:nth-child(4) {
    transition-delay: 0.25s;
}

.mainmenu .cr-dropdown ul li:nth-child(5) {
    transition-delay: 0.3s;
}

.mainmenu .cr-dropdown ul li:nth-child(6) {
    transition-delay: 0.35s;
}

/* Dropdown Menu Items Border Effect */
.mainmenu .cr-dropdown ul li:not(:last-child) {
    border-bottom: 1px solid rgba(52, 152, 219, 0.05);
    margin: 0 20px;
}

/* Dropdown Menu Item Links */
.mainmenu .cr-dropdown ul li a {
    display: flex;
    align-items: center;
    padding: 16px 30px 16px 60px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 12px;
    margin: 0 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
    word-wrap: normal;
    line-height: 1.5;
    min-height: 48px;
    text-align: left;
    justify-content: flex-start;
}

/* Dropdown Menu Items Hover Effect */
.mainmenu .cr-dropdown ul li a:hover {
    color: #fff;
    background: linear-gradient(135deg, #3498db, #2980b9);
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    font-weight: 500;
    line-height: 1.5;
    display: flex;
    align-items: center;
    padding-left: 60px !important;
}

/* Dropdown Menu Items Hover Icon Effect */
.mainmenu .cr-dropdown ul li a:before {
    font-family: 'FontAwesome';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 16px;
    font-weight: normal;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
    z-index: 999;
    height: auto;
    background: none;
    width: 20px;
    text-align: center;
}

/* Dropdown Menu Item Icons */
.mainmenu .cr-dropdown ul li:nth-child(1) a:before {
    content: '\f085';
}

.mainmenu .cr-dropdown ul li:nth-child(2) a:before {
    content: '\f1b9';
}

.mainmenu .cr-dropdown ul li:nth-child(3) a:before {
    content: '\f1b6';
}

.mainmenu .cr-dropdown ul li:nth-child(4) a:before {
    content: '\f06e';
}

.mainmenu .cr-dropdown ul li:nth-child(5) a:before {
    content: '\f1b8';
}

.mainmenu .cr-dropdown ul li:nth-child(6) a:before {
    content: '\f0e4';
}

.mainmenu .cr-dropdown ul li a:hover:before {
    left: 30px;
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    color: #fff;
    z-index: 2;
}

/* Dropdown Menu Items Background Effect */
.mainmenu .cr-dropdown ul li a:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.mainmenu .cr-dropdown ul li a:hover:after {
    width: 300px;
    height: 300px;
}

/* Dropdown Menu Item Hover Scale Effect */
.mainmenu .cr-dropdown ul li {
    transform-origin: left center;
}

.mainmenu .cr-dropdown ul li:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
