.header-top-1 {
    padding-left: 12px;
    padding-right: 12px; 
    padding-top: 14px;
    padding-bottom: 14px;
    background: #040C1F;
    color: #fff;
    display: flex;
    flex-direction: row;
    align-content: center;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 16px;
}

.header-phone-1 {
    padding-left: 60px;
    padding-right: 60px;
    border-right: 1px solid #fff;
}

.header-email-1 {
    padding-left: 60px;
    padding-right: 60px;
    border-right: 1px solid #fff;
}

.header-hours-1 {
    padding-left: 60px;
    padding-right: 60px;
    border-right: none;
}

.header-bottom-1 {
    padding-top: 24px;
    padding-bottom: 24px;
    padding-left: 12px;
    padding-right: 12px;
}

.header-logo-1 {
    display: block;
}

.header-logo-1 {
    max-height: 148px;
}

.header-logo-1 img {
    height: 100%;
    width: auto;
    object-fit: cover;
}

.header-bottom-1 .pr {
    position: relative;
}

.header-bottom-1 .header-40years {
    position: absolute;
    right: 60px;
    top: -16px;
    z-index: 1;
}

.header-bottom-1 .header-40years img {
    max-width: 80px;
    border-radius: 50%;
}

.header-menu-template-1 {
    display: flex;
    flex-direction: column;
    align-content: flex-end;
    flex-wrap: wrap;
    justify-content: center;
}

.header-menu-template-1 .nav-link {
    color: #040C1F !important;
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    line-height: 28px; /* 175% */
}

.header-menu-template-1 .nav-link:hover, .header-menu-template-1 .nav-link.active, .header-menu-template-1 .nav-link:focus {
    color: #1E69B8 !important;
}

.header-mobile-content {
    display: block;
    clear: both;
    padding: 4rem 0;
}

.header-mobile-content .mobile-content-icon {
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
}

.header-mobile-content .mobile-content-icon i {
    margin-right: 10px;
    display: inline-block;
}

.header-mobile-content .mobile-content-icon span {
    display: inline-block;
}

.header-custom-link {
    display: flex;
    flex-direction: column;
    align-content: flex-end;
    flex-wrap: wrap;
    height: 100%;
    justify-content: center;
}

.header-custom-link .header-btn-link-1 {
    display: inline-block;
    padding: 12px 20px;
    background: #1E69B8;
    border: 1px solid #1E69B8;
    text-decoration: none;
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px; /* 175% */
    transition: all 0.3s ease !important;
}

.header-custom-link .header-btn-link-1:hover {
    text-decoration: none;
    color: #FFF;
    background: #040C1F;
    transform: translateY(-5px);
    border: 1px solid #040C1F;
}

.header-menu-template-1 .dropdown-item:hover, .header-menu-template-1 .dropdown-item:focus {
    background: #1E69B8 !important;
    color: #FFF !important;
}

.header-menu-template-1 .dropdown-item.active, .header-menu-template-1 .dropdown-item:active {
    color: #fff !important;
}




@media (min-width: 576px) {
    

}

@media (min-width: 768px) {
    

 
}



@media (max-width: 991px) {
    
    /* ========== OFFCANVAS MOBILE MENU ========= */
    .offcanvas-menu {
        position: fixed;
        top: 0;
        right: -350px;
        width: 350px;
        height: 100vh;
        background: #fff;
        box-shadow: -2px 0 10px rgba(0,0,0,0.15);
        transition: right .35s ease;
        z-index: 99999;
        padding: 24px;
    }
    
    .offcanvas-menu.active {
        right: 0;
    }
    
    .offcanvas-menu-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.45);
        z-index: 99998;
    }
    
    .offcanvas-menu-overlay.active {
        display: block;
    }
    
    /* Close button */
    .close-offcanvas {
        font-size: 18px;
        background: none;
        border: none;
        float: right;
        cursor: pointer;
        width: 48px;
        height: 40px;
        background: #1E69B8;
        color: #fff;
        padding: 0 !important;
        position: relative;
        z-index: 9;
    }
    
    /* Mobile toggle button */
    .custom-mobile-toggle {
        display: none;
        background: none;
        border: none;
        font-size: 32px;
        margin-left: auto;
    }
    
    .custom-mobile-toggle {
        display: block;
    }

    .header-menu-template-1  .navbar-nav {
        flex-direction: column;
        padding-left: 0;
    }
    
    .header-menu-template-1 .nav-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.24); 
    }
    
    .header-menu-template-1 .dropdown-menu.show {
        border: none;
        padding: 0;
        margin-bottom: 25px;
    }
    
    .header-menu-template-1 .dropdown-menu .dropdown-item {
        padding: 0;
        color: #040C1F;
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: 150%; /* 30px */
    }
    
    .header-menu-template-1 .dropdown-menu .dropdown-item.active {
        background: var(--Gradient, linear-gradient(180deg, #3C9BCA 0%, #262E66 100%));
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .header-menu-template-1 .nav-link {
        color: #040C1F;
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: 150%; /* 30px */
        padding: 12px 0;
        position: relative;
    }
    
    .header-menu-template-1 .dropdown-menu .nav-item.dropdown-submenu {
        border-bottom: none;
        padding: 8px 0;
    }
    
    .header-menu-template-1 .header-menu-template-1 {
        height: 100%;
    }
    
    .header-menu-template-1 .custom-mobile-toggle {
        border: 1px solid #040C1F !important;
        border-radius: 99px !important;
        padding: 12px !important;
        color: #040C1F;
    }
    
    .header-menu-template-1 .navbar.main-navbar {
        padding: 0;
    }
    
    .header-custom-link {
        height: auto;
        margin-top: 20px;
        width: 100%;

    }
    
    .header-custom-link .header-btn-link-1 {
        width: 100%;
        text-align: center;
    }
    
    
    /*mobile logo design*/
    
    .offcanvas-menu.active .menu-main-menu-container {
        position: relative;
        z-index: 2;
    } 
    
    .offcanvas-menu.active .menu-main-menu-container:before {
        content: url('/wp-content/uploads/2026/01/mobile-menu-logo.svg');
    }
    
    .offcanvas-menu.active .navbar-nav {
        margin-top: 40px;
        border-top: 1px solid rgba(0, 0, 0, 0.24);
        background: #fff;
    }
    
    .header-menu-template-1 .nav-link:hover, .header-menu-template-1 .nav-link.active, .header-menu-template-1 .nav-link:focus {
        background: var(--Gradient, linear-gradient(180deg, #3C9BCA 0%, #262E66 100%));
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .offcanvas-menu.active .menu-main-menu-container .dropdown-toggle::after {
        position: absolute;
        right: 0;
        top: 20px;
    }
    
}

/* Desktop dropdown hover */
@media (min-width: 992px) {
    .header-menu-template-1 .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .header-menu-template-1 .close-offcanvas {
        display: none;
    }
    
    .header-menu-template-1 .custom-mobile-toggle {
        display: none;
    }
    
    .header-menu-template-1 .header-mobile-content {
        display: none;
    }
}



@media (min-width: 992px) {
    
    .header-menu-template-1 .navbar-expand-lg .navbar-nav .dropdown-menu {
        position: absolute;
        z-index: 9;
        top: 42px;
    }
    
    .header-menu-template-1 .navbar-expand-lg .navbar-nav .dropdown-menu {
        padding-top: 28px;
    }
    
    .header-menu-template-1 .navbar-expand-lg .navbar-nav .dropdown-menu li:first-child {
        border-top: 3px solid #040C1F;
    }
    
    header.sticky .header-menu-template-1 .navbar-expand-lg .navbar-nav .dropdown-menu {
        padding-top: 16px;
    }
    
    header.sticky .header-menu-template-1 .navbar-expand-lg .navbar-nav .dropdown-menu li:first-child {
        border-top: 3px solid #040C1F;
    }
    
    .header-menu-template-1 .navbar-expand-lg .navbar-nav {
        gap: 20px;
    }
    
    .header-menu-template-1 .header-top-1 {
        padding-left: 0;
        padding-right: 0;
    }
    
    .header-menu-template-1 .header-bottom-1 {
        padding-left: 0;
        padding-right: 0;
    }
    
    .header-menu-template-1 {
        align-content: center;
    }
    
    .header-menu-template-1 .dropdown-menu {
        border: none;
    }
    
    .header-menu-template-1 .dropdown-item {
        color: #040C1F !important;
        font-size: 16px;
        font-style: normal;
        font-weight: normal;
        line-height: 28px;
    }
    
    .header-custom-link .header-btn-link-1 {
        font-size: 14px;
        padding: 6px;
    }
    
    .navbar-nav .dropdown-menu {
        display: block;

        opacity: 0;
        transform: translateY(-15px); /* start ABOVE */
        visibility: hidden;
        pointer-events: none;

        transition: opacity 0.35s ease, transform 0.35s ease;
        margin-top: 0;
    }

    .navbar-nav .dropdown:hover > .dropdown-menu {
        opacity: 1;
        transform: translateY(0); /* slide DOWN */
        visibility: visible;
        pointer-events: auto;
    }

    /* Caret rotation */
    .navbar-nav .dropdown-toggle::after {
        transition: transform 0.3s ease;
    }

    .navbar-nav .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }
	
    .header-bottom-1 .header-40years {
		display: none;	
	}

}


@media (max-width: 991px) {
    .header-bottom-1 .header-40years {
        right: auto;
        left: 100%;
		top: -4px;
    }
	
	.header-wrapper header.sticky .header-40years {
		top: -4px !important;
	}
	
	.header-bottom-1 .header-40years img {
		max-width: 60px;
	}
}

@media (max-width: 420px) {
	.header-bottom-1 .header-40years {
		left: 110%;
	}
}

@media (min-width: 1200px) {
	
    .header-bottom-1 .header-40years {
		display: block;	
	}
    
    .header-bottom-1 .header-40years img {
        max-width: 90px;
    }
    
    .header-bottom-1 .header-40years {
        right: 0;
        top: -14px;
    }
    
    .header-bottom-1 .header-40years img {
        max-width: 90px;
        border-radius: 50%;
    }
 
}

@media (min-width: 1400px) {
    
    .header-custom-link .header-btn-link-1 {
        padding: 12px 40px;
        font-size: 16px;
    }
 
}

@media (min-width: 1600px) {
    
    .header-bottom-1 .header-40years {
        right: 60px;
        top: -12px;
    }
    
    .header-bottom-1 .header-40years img {
        max-width: 90px;
    }
    
}

