/* Universal Styles for All Pages */

/* Header and Navigation */
.header-center-row {
    background: #0a2342 !important;
    padding: 5px 0 !important;
    min-height: 120px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.logo-circle {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 24px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo-circle img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 8px;
}

.company-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
    flex-shrink: 0;
}

.company-name .varadom {
    font-family: 'Airelon', 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 3px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.company-name .technologies {
    font-family: 'Airelon', 'Open Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 6px;
    opacity: 0.95;
    text-transform: uppercase;
}

/* Main Navigation */
.main-nav.ats-style {
    background: #0a2342 !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
}

.nav-center {
    position: relative !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

.nav-links {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 5px 0 !important;
    width: 100% !important;
}

.nav-links li {
    margin: 0 !important;
    padding: 5px 0 !important;
    white-space: nowrap !important;
}

.nav-links li a {
    display: block !important;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 15px 18px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    border-bottom: 3px solid transparent !important;
    text-shadow: 0 0 10px rgba(255,255,255,0.5) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #ffffff !important;
    text-shadow: 0 0 15px rgba(255,255,255,0.8), 0 0 25px rgba(255,255,255,0.6), 0 0 35px rgba(255,255,255,0.4) !important;
    border-bottom: 3px solid #ffffff !important;
}

/* Dropdown Menus */
.dropdown-menu {
    background: #0a2342 !important;
    color: #fff !important;
}

.dropdown-menu a {
    color: #fff !important;
}

.dropdown-submenu {
    background: #0a2342 !important;
}

.dropdown-submenu a {
    color: #fff !important;
}

.dropdown-menu a:hover,
.dropdown-submenu a:hover {
    background: #009fe3 !important;
}

/* Mobile Navigation */
@media screen and (max-width: 768px) {
    .header-center-row {
        min-height: 100px !important;
    }

    .logo-circle {
        width: 80px !important;
        height: 80px !important;
        margin-right: 16px !important;
    }

    .logo-circle img {
        width: 70px !important;
        height: 70px !important;
    }

    .company-name .varadom {
        font-size: 2.4rem !important;
    }

    .company-name .technologies {
        font-size: 1.2rem !important;
    }

    .mobile-menu {
        display: block !important;
        background: none !important;
        border: none !important;
        font-size: 28px !important;
        color: #fff !important;
        cursor: pointer !important;
        padding: 10px 15px !important;
        position: absolute !important;
        left: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 1001 !important;
    }

    .nav-links {
        display: none !important;
        position: fixed !important;
        top: 120px !important;
        left: 0 !important;
        width: 100% !important;
        background: #0a2342 !important;
        flex-direction: column !important;
        padding: 0 !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
        z-index: 999 !important;
        max-height: calc(100vh - 120px) !important;
        overflow-y: auto !important;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links li {
        margin: 0 !important;
        width: 100% !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        white-space: normal !important;
    }

    .nav-links li a {
        padding: 15px 20px !important;
        width: 100% !important;
        text-align: left !important;
        border-bottom: none !important;
        display: block !important;
        font-size: 14px !important;
    }

    .dropdown-toggle {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    .dropdown-toggle::after {
        content: '\f078' !important;
        font-family: 'Font Awesome 6 Free' !important;
        font-weight: 900 !important;
        font-size: 0.7rem !important;
        transition: transform 0.3s !important;
        margin-left: auto !important;
    }

    .dropdown.active > .dropdown-toggle::after {
        transform: rotate(180deg) !important;
    }

    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: #0a2342 !important;
        border-radius: 0 !important;
        padding: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease !important;
        list-style: none !important;
        margin: 0 !important;
    }

    .dropdown.active .dropdown-menu {
        max-height: 800px !important;
    }

    .dropdown-menu li {
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .dropdown-menu a {
        padding: 12px 30px !important;
        font-size: 0.9rem !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        color: #fff !important;
        text-decoration: none !important;
        width: 100% !important;
    }

    .dropdown-nested > a {
        padding: 12px 30px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .dropdown-nested > a::after {
        content: '\f078' !important;
        font-family: 'Font Awesome 6 Free' !important;
        font-weight: 900 !important;
        font-size: 0.7rem !important;
        transition: transform 0.3s !important;
        margin-left: auto !important;
    }

    .dropdown-nested.active > a::after {
        transform: rotate(180deg) !important;
    }

    .dropdown-submenu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: #063864 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .dropdown-nested.active .dropdown-submenu {
        max-height: 500px !important;
    }

    .dropdown-submenu li {
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .dropdown-submenu a {
        padding: 10px 50px !important;
        font-size: 0.85rem !important;
        display: block !important;
        color: #fff !important;
        text-decoration: none !important;
        width: 100% !important;
    }
}

@media screen and (max-width: 576px) {
    .company-name .varadom {
        font-size: 2rem !important;
    }

    .company-name .technologies {
        font-size: 1rem !important;
    }

    .nav-links li a {
        padding: 12px 15px !important;
        font-size: 12px !important;
    }
}
