/* ====================================
		   RESET & BASE STYLES
		   ==================================== */


.header-nav__menu,
.header-nav__submenu-group--level2 ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav__menu a{
    color:#2c2c2c;
    text-decoration: none;
}

.header-nav__menu-item--has-submenu > a,.mobile-nav__menu-item--has-children > a{
	position:relative;
}

.header-nav__menu-item--has-submenu >  a::before,
.mobile-nav__menu-item--has-children > a::before{
   content: '\f107';
   position:absolute;
  font-family: 'Font Awesome 6 Free';
  font-weight: 900; 
  right:0;
	transition:all 0.3s ease;
}

.mobile-nav__menu-item--has-children a::before{
	right:30px;
}

.mobile-nav__menu-item.mobile-nav__menu-item--has-children.open > a::before{
	transform:rotate(180deg);
}

/* ====================================
		   MAIN NAVIGATION CONTAINER
		   ==================================== */
.header-nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-nav .header-logo{
	max-width: 100px;
    display: block;
    height: auto;
    width: 100%;
}

.header-nav__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-nav__wrapper {
    background: beige;
    width: 100%;
}

.header-nav__wrapper--fixed {
    position: fixed;
    top: 0;
    z-index: 10000;
    background: red;
}

.header-nav .FreeSeoReport{
	margin:20px 0;
}

/* Navigation Animations */
.header-nav__wrapper--animate-in {
    animation: slideDown 0.4s ease forwards;
}

.header-nav__wrapper--animate-out {
    animation: slideUp 0.4s ease forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100%);
    }
}

/* ====================================
		   LEVEL 1 - MAIN MENU
		   ==================================== */
.header-nav__menu {
    display: flex;
    background: transparent;
    justify-content: center;
    align-items: center;
}

.header-nav__menu-item>a {
    display: block;
    padding: 15px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.header-nav__menu-item>a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}


/* ====================================
		   LEVEL 2 - SUBMENU CONTAINER
		   ==================================== */
.header-nav__submenu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    width: 100%;
    background: #fff;
    z-index: 999;
    border-radius: 5px;
    box-shadow: 0 -3px 20px 0 rgba(92, 92, 92, 0.22);
    transition: all 0.3s ease;
}

.header-nav__submenu--active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* Submenu Layout */
.header-nav__submenu-left {
    width: max-content;
    min-width: 300px;
    padding: 20px 24px 20px 48px;
    background: #fff;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.header-nav__submenu-right {
    flex: 1;
    padding: 20px 24px 20px 48px;
    background: rgba(248, 250, 252, 1);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* Submenu Header & Footer */
.header-nav__submenu-heading {
    font-size: 20px;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0;
}

.header-nav__submenu-description-text {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

.header-nav__submenu-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
}

.header-nav__submenu-footer-button {
    padding: 12px 20px;
    background: #e02b2f;
    color: white !important;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e02b2f;
    line-height: normal;
}

.header-nav__submenu-footer-button:hover {
    background: white !important;
    color: #e02b2f !important;
}

.header-nav__submenu-footer-button:focus{
	border:1px solid #e02b2f !important;
}

/* ====================================
		   LEVEL 3 - SUBMENU ITEMS (LEFT SIDE)
		   ==================================== */
.header-nav__submenu-left-list {
    display: grid;
    gap: 10px;
}

.header-nav__submenu-item--level1 {
    padding: 10px 12px;
    cursor: pointer;
    font-weight: 400;
    color: #2b2b2b !important;
    transition: all 0.3s ease;
    border-radius: 5px;
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
    line-height: 1.3;
	position:relative;
	padding-right:45px;
	max-width:300px;
}

.header-nav__submenu-item--level1.has-children::before{
	content: '\f105';
	font-family: 'Font Awesome 6 Free';
	position:absolute;
	font-weight:900;
	right:18px;
}

.header-nav__submenu-item--level1:hover,
.header-nav__submenu-item--current-page,
.header-nav__submenu-item--level1--current-page,
.header-nav__submenu-item--level1.header-nav__submenu-item--active{
    background: #e02b2f;
}

.header-nav__submenu-item--level1:hover,.header-nav__submenu-item--level1.header-nav__submenu-item--active {
	transform: translateX(4px);
}

.header-nav__submenu-item--current-page a,
.header-nav__submenu-item--level1--current-page a,
.header-nav__submenu-item--level1:hover a,
.header-nav__submenu-item--level1:hover::before,
.header-nav__submenu-item--level1--current-page::before,
.header-nav__submenu-item--level1.header-nav__submenu-item--active > a,
.header-nav__submenu-item--level1.header-nav__submenu-item--active::before{
    color: white !important;
}

/* Menu Icons */
.menu-icon {
    position: relative;
    display: inline-flex;
    width: 20px;
    height: 20px;
}

.menu-icon .icon {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
    width: 100%;
    height: 100%;
}

.menu-icon .icon--white {
    opacity: 0;
}

.header-nav__submenu-item--level1:hover .menu-icon .icon--black,
.header-nav__submenu-item--level1--current-page .menu-icon .icon--black {
    opacity: 0;
}

.header-nav__submenu-item--level1:hover .menu-icon .icon--white,
.header-nav__submenu-item--level1--current-page .menu-icon .icon--white {
    opacity: 1;
}

.header-nav__submenu-item--level1:hover .menu-icon img,
.header-nav__submenu-item--level1--current-page .menu-icon img,
.header-nav__submenu-item--level1.header-nav__submenu-item--active img{
    filter: brightness(0) invert(1);
}

/* ====================================
		   LEVEL 4 - DEEP SUBMENU (RIGHT SIDE)
		   ==================================== */
.header-nav__submenu-group--level2 {
    display: none;
    min-width: 200px;
}

.header-nav__submenu-group--level2--active {
    display: block;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Level 2 Column Layout */
.header-nav__submenu-group--level2--columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 30px;
}

.header-nav__submenu-group--level2--column {
    padding-bottom: 30px;
}

.header-nav__submenu-group--level2--column.odd-column {
    border-right: 1px solid #e2e8f0;
    padding-right: 30px;
}

/* Level 2 Headers */
.header-nav__submenu-group--level2--header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.header-nav__submenu-group--level2--header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
}

/* Level 2 Lists */
.header-nav__submenu-group--level2--list {
    padding-left: 0px !important;
    list-style: none !important;
}

.header-nav__submenu-group--level2--list li {
    padding: 6px 0;
    color: #2c2c2c;
    font-size: 14px;
    line-height: 1.4;
	text-align:left;
	display:flex;
	align-items:center;
	margin:5px 0;
}

.header-nav__submenu-group--level2--list li img {
    max-width:18px;
	height:auto;
	margin-right:10px;
}

.header-nav__submenu-group--level2 ul li a {
    position: relative;
    transition: color 0.3s ease;
}

.header-nav__submenu-group--level2 ul li a:hover {
    color: #e02b2f !important;
}

.header-nav__submenu-footer--button{
	transition:all 0.3s ease;
	line-height:1;
	padding:16px 20px;
	cursor:pointer;
}

.header-nav__submenu-footer--button:focus{
	    background: white !important;
    color: #E02B2F !important;
    border: 1px solid;
}

/* ====================================
		   LINK HOVER EFFECTS
		   ==================================== */

.header-nav__submenu-footer--button:hover{
    background: white !important;
    color: #E02B2F !important;
    border: 1px solid !important;
}

.header-nav__submenu-group--level2 ul li a::before,
.header-nav__submenu-group--level2 ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: #e02b2f;
    left: 0;
    pointer-events: none;
    transform: scale3d(0, 1, 1);
    transform-origin: 100% 50%;
    transition: transform 0.3s cubic-bezier(0.2, 1, 0.8, 1);
}

.header-nav__submenu-group--level2 ul li a::before {
    top: calc(100% + 2px);
}

.header-nav__submenu-group--level2 ul li a::after {
    top: calc(100% + 6px);
    transition: transform 0.4s 0.1s cubic-bezier(0.2, 1, 0.8, 1);
}

.header-nav__submenu-group--level2 ul li a:hover::before {
    transform-origin: 0% 50%;
    transform: scale3d(1, 1.5, 1);
}

.header-nav__submenu-group--level2 ul li a:hover::after {
    transform: scale3d(1, 1, 1);
    transform-origin: 0% 50%;
}

/* ====================================
		   RESPONSIVE DESIGN
		   ==================================== */
@media (max-width: 1024px) {
    .mobile-nav__menu {
        display: block;
    }

    .desktop-nav__menu {
        display: none;
    }

    .desktop-only {
        display: none;
    }
}

@media (min-width: 1025px) {
    .mobile-only {
        display: none;
    }

    .mobile-nav__menu {
        display: none;
    }
}





@media (max-width: 1024px) {
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        position: relative;
		min-width:unset;
		z-index:9999;
    }
    .menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background-color: #2c2c2c;
        margin: 4px 0;
        transition: all 0.3s ease-in-out;
		
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .mobile-nav__menu {
        display: block;
        flex-direction: column;
        background-color: white;
        position: absolute;
        top: 100%;
        right: -100%;
        height: 100vh;
        width: 100%;
        padding-top: 20px;
        box-shadow: 0 0 12px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
        z-index: 9998;
    }
	
	.mobile-nav__menu a{
		text-decoration:none;
	}

    .mobile-nav__menu-item {
        width: 100%;
    }
	
    .mobile-nav__menu-item > a {
        color: #000 !important;
        padding: 15px 20px;
        font-size: 16px;
        display: block;
		border-bottom: 1px solid #eee;
    }

    .mobile-nav__submenu-level-1,.mobile-nav__submenu-level-2 {
        display: block;
        background: #f9f9f9;
        margin-left: 10px;
		overflow:hidden;
		max-height:0;
		transition:max-height 0.3s ease;
    }

	.mobile-nav__menu-item--has-children{
		transition:all 0.3s ease;
	}
	
	.mobile-nav__menu-item--has-children.open > .mobile-nav__submenu-level-1,.mobile-nav__menu-item--has-children.open > .mobile-nav__submenu-level-2 {
        max-height:4000px;
    }

    .mobile-nav__submenu-item > a {
        padding: 12px 25px;
        font-size: 15px;
        color: #333 !important;
        display: block;
    }
	
	.mobile-nav__submenu-level-2 .mobile-nav__menu-item{
		display:flex;
		margin-left:20px;
		border-bottom: 1px solid #eee;
	}
	
	.header-nav {
		padding:15px 0;
		position:static;
	}
	
	.header-nav__wrapper{
		position:relative;
	}
}

