@charset "utf-8";

/* Header Styles */
.homenav { 
    width: 100%; 
    background: #fff; 
    height: 80px; 
    position: fixed; 
    top: 0; 
    left: 0; 
    z-index: 999; 
    box-shadow: 0 0 10px rgba(0,0,0,0.1); 
}

.xnav { 
    width: 100%; 
    height: 80px; 
}

.xlogo { 
    float: left; 
    margin-top: 20px; 
}

.xlogo img { 
    height: 40px; 
}

.xtel { 
    float: right; 
    line-height: 80px; 
    font-size: 18px; 
    color: #0166ce; 
    font-weight: bold; 
    margin-left: 30px; 
}

/* Search Box */
.xsearch {
    float: right;
    margin-top: 25px;
    margin-left: 20px;
}
.xsearch form {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
    width: 200px;
    height: 30px;
}
.xsearch input {
    border: none;
    height: 30px;
    width: 160px;
    padding-left: 15px;
    outline: none;
    font-size: 12px;
    float: left;
}
.xsearch button {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 30px;
    border: none;
    background: #fff;
    cursor: pointer;
    color: #666;
    outline: none;
}
.xsearch button:hover {
    color: #0166ce;
}

.xnavls { 
    float: right; 
    list-style: none; 
    margin: 0; 
    padding-right: 50px; 
}

.xnavls li { 
    float: left; 
    height: 80px; 
    line-height: 80px; 
    position: relative; 
}

.xnavls li a { 
    display: block; 
    padding: 0 15px; 
    font-size: 16px; 
    color: #333; 
    text-decoration: none; 
    transition: all 0.3s; 
}

.xnavls li.on > a, 
.xnavls li a:hover { 
    color: #0166ce; 
    background-color: #f9f9f9;
}

/* Dropdown Menu */
.xnavls .sub-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    min-width: 160px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 0;
}

.xnavls li:hover .sub-menu {
    display: block;
}

.xnavls .sub-menu li {
    float: none;
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #f5f5f5;
    background: #fff;
}

.xnavls .sub-menu li a {
    display: block;
    padding: 0 20px;
    font-size: 14px;
    color: #666;
    text-align: left;
    white-space: nowrap;
}

.xnavls .sub-menu li a:hover {
    background: #f9f9f9;
    color: #0166ce;
}

/* Inner Banner */
.inner-banner {
    height: 350px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    margin-bottom: 40px;
}

.inner-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.inner-banner .container { 
    position: relative; 
    z-index: 1; 
}

.inner-banner h1 { 
    font-size: 42px; 
    margin-bottom: 15px; 
    font-weight: bold; 
    letter-spacing: 2px;
}

.inner-banner p { 
    font-size: 18px; 
    opacity: 0.9; 
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .inner-banner { 
        height: 200px; 
        margin-bottom: 20px;
    }
    .inner-banner h1 { 
        font-size: 24px; 
    }
    .inner-banner p { 
        font-size: 14px; 
    }
    /* Mobile Menu Styles */
    .mobile-dropdown-menu {
        display: none;
    }
    .mobile-nav-toggle {
        cursor: pointer;
        padding-left: 15px;
        padding-right: 15px;
        min-width: 44px; /* Ensure touch target size */
        text-align: center;
        border-left: 1px solid #f0f0f0;
    }
    .mobile-nav-toggle:hover, .mobile-nav-toggle:active {
        background-color: #f8f9fa;
        color: #0166ce !important;
    }
}
