/* ===== GLOBAL HEADER STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: #f5f7fa;
}

/* ===== MAIN FRAME CONTAINER ===== */
.page-frame {
    max-width: 2350px;
    margin: 5px auto;
    background: #fff;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
    border-radius: 0px;
    overflow: hidden;
}

/* ===== TOP BAR WITH DIAGONAL CUT ===== */
.top-bar-diagonal {
    position: relative;
    height: 50px;
    overflow: hidden;
    z-index: 101;
}

.top-bar-orange {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #FFA500 0%, #FFB84D 100%);
    clip-path: polygon(0 0, 75% 0, 72% 100%, 0 100%);
}

.top-bar-blue {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #1E88E5 0%, #42A5F5 100%);
    clip-path: polygon(72% 0, 100% 0, 100% 100%, 75% 100%);
}

.top-bar-content {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.contact-info-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-info-item:hover {
    transform: translateY(-1px);
    opacity: 0;
}

.contact-info-item i {
    font-size: 15px;
    opacity: .95;
}

.contact-info-item a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.social-media-wrapper {
    display: flex;
    gap: 14px;
    align-items: center;
}

.social-media-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-media-link:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #1E88E5 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
}

.social-media-link i {
    color: #ffffff !important;
    font-size: 15px;
}

/* ===== NAVIGATION BAR ===== */
.main-navigation {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 10px;
    z-index: 999999;
    border-bottom: 1px solid #f0f0f0;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 95px;
}

/* ===== LOGO SECTION ===== */
.logo-section {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-section:hover {
    transform: scale(1.02);
}

.logo-one {
    width: 180px;
    height: 75px;
    position: relative;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-one img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
}

.logo-title .hygiene {
    color: #00B8D4;
}

.logo-title .xperts {
    color: #FFA726;
}

.logo-subtitle {
    font-size: 12px;
    color: #78909C;
    font-weight: 500;
    letter-spacing: 0.8px;
    line-height: 1;
    text-transform: uppercase;
}

/* ===== NAVIGATION MENU ===== */
.nav-menu {
    display: flex;
    gap: 50px;
    list-style: none;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 10px 0;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

/* HOME button - always orange */
.nav-menu li:first-child a {
    color: #FFA726 !important;
}

.nav-menu li:first-child a:hover {
    color: #FFB84D !important;
}

/* Other menu buttons - blue color */
.nav-menu li:not(:first-child) > a {
    color: #42A5F5;
}

/* Hover effect for other menu items */
.nav-menu li:not(:first-child):hover > a {
    color: #FFA726;
}

/* ===== DROPDOWN MENU ===== */
.dropdown {
    position: relative;
}

.dropdown > a::after {
    content: '';
    margin-left: 5px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid currentColor;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.dropdown:hover > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 300px;
    padding: 20px 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    list-style: none;
    z-index: 9999999;
    margin-top: 10px;
    border: 1px solid #e2e8f0;
}

/* Enhanced dropdown functionality */
.dropdown.active .dropdown-menu,
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown.active > a::after,
.dropdown:hover > a::after {
    transform: rotate(180deg);
}

/* Ensure dropdown stays visible when hovering over menu */
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
}

/* Prevent dropdown from closing when hovering over menu items */
.dropdown:hover,
.dropdown:focus-within {
    position: relative;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #f1f5f9;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    display: block;
    padding: 15px 25px;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #ffffff;
    border-radius: 0;
    position: relative;
    text-transform: none;
    font-family: 'Inter', sans-serif;
}

.dropdown-menu li a:hover {
    background: linear-gradient(135deg, #FFA726 0%, #FFB84D 100%);
    color: #ffffff;
    padding-left: 35px;
    transform: translateX(8px);
}

.dropdown-menu li a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(135deg, #FFA726 0%, #FFB84D 100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover:before {
    opacity: 1;
}

.dropdown-menu li a::after {
    content: '\2192';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    color: #ffffff;
}

.dropdown-menu li a:hover::after {
    opacity: 1;
    right: 15px;
}

/* ===== GET A QUOTE BUTTON ===== */
.quote-button {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #fff;
    padding: 16px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.35);
    text-transform: uppercase;
    border: 2px solid transparent;
    white-space: nowrap;
}

.quote-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(252, 180, 1, 0.5);
    background: #fcb401;
    border-color: #fcb401;
}

.quote-button .double-arrow {
    font-size: 16px;
    font-weight: 900;
    transition: transform 0.3s ease;
    color: #fff;
}

.quote-button:hover .double-arrow {
    transform: translateX(5px);
}

/* ===== MOBILE MENU TOGGLE ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: transparent;
    border: none;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: #00B8D4;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ===== DECORATIVE ELEMENTS ===== */
.nav-decoration {
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #00B8D4 0%, #FFA726 100%);
    opacity: 0.1;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1400px) {
    .page-frame {
        margin: 8px;
    }

    .nav-menu {
        gap: 40px;
    }

    .nav-container,
    .top-bar-content {
        padding: 0 30px;
    }
}

@media (max-width: 1200px) {
    .nav-menu {
        gap: 35px;
    }

    .contact-info-wrapper {
        gap: 30px;
    }

    .top-bar-orange {
        clip-path: polygon(0 0, 73% 0, 70% 100%, 0 100%);
    }

    .top-bar-blue {
        clip-path: polygon(70% 0, 100% 0, 100% 100%, 73% 100%);
    }
}

@media (max-width: 992px) {
    .page-frame {
        margin: 5px;
    }

    .nav-menu {
        gap: 28px;
    }

    .nav-menu li a {
        font-size: 15px;
    }

    .quote-button {
        padding: 14px 28px;
        font-size: 13px;
    }

    .contact-info-wrapper {
        gap: 25px;
    }

    .contact-info-item {
        font-size: 13px;
    }

    .nav-container,
    .top-bar-content {
        padding: 0 25px;
    }
}

@media (max-width: 768px) {
    .page-frame {
        margin: 0;
        border-radius: 0;
    }

    /* Top Bar Mobile */
    .top-bar-diagonal {
        height: 45px;
    }

    .top-bar-content {
        padding: 0 20px;
    }

    .contact-info-wrapper {
        gap: 12px;
    }

    .contact-info-item span,
    .contact-info-item a {
        display: none;
    }

    .contact-info-item i {
        font-size: 16px;
    }

    .social-media-wrapper {
        gap: 10px;
    }

    .social-media-link {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .top-bar-orange {
        clip-path: polygon(0 0, 65% 0, 62% 100%, 0 100%);
    }

    .top-bar-blue {
        clip-path: polygon(62% 0, 100% 0, 100% 100%, 65% 100%);
    }

    /* Navigation Mobile */
    .nav-container {
        padding: 0 20px;
        height: 80px;
    }

    .logo-one {
        width: 65px;
        height: 65px;
    }

    .logo-title {
        font-size: 24px;
    }

    .logo-subtitle {
        font-size: 9px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 125px;
        left: -100%;
        width: 300px;
        height: calc(100vh - 125px);
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 30px 25px;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        align-items: flex-start;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu > li > a {
        display: block;
        padding: 20px 0;
        font-size: 16px;
    }

    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        display: none;
        background: #f8f9fa;
        border: none;
        border-radius: 0;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li {
        border-bottom: 1px solid #e9ecef;
    }

    .dropdown-menu li a {
        padding: 12px 20px;
        font-size: 13px;
        color: #333;
        font-weight: 400;
    }

    .dropdown-menu li a:hover {
        background: #e9ecef;
        color: #000;
    }

    .dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .quote-button {
        width: 100%;
        justify-content: center;
        margin-top: 25px;
    }

    .mobile-overlay {
        position: fixed;
        top: 125px;
        left: 0;
        width: 100%;
        height: calc(100vh - 125px);
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 99;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .main-navigation {
        top: 0;
    }
}

@media (max-width: 576px) {
    .top-bar-diagonal {
        height: 40px;
    }

    .top-bar-content {
        padding: 0 15px;
    }

    .contact-info-wrapper {
        gap: 10px;
    }

    .social-media-wrapper {
        gap: 8px;
    }

    .social-media-link {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .top-bar-orange {
        clip-path: polygon(0 0, 60% 0, 57% 100%, 0 100%);
    }

    .top-bar-blue {
        clip-path: polygon(57% 0, 100% 0, 100% 100%, 60% 100%);
    }

    .nav-container {
        padding: 0 15px;
        height: 75px;
    }

    .logo-one {
        width: 60px;
        height: 60px;
    }

    .logo-title {
        font-size: 22px;
    }

    .logo-subtitle {
        font-size: 8px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.page-frame {
    animation: fadeIn 0.6s ease;
}

.top-bar-diagonal {
    animation: slideDown 0.6s ease;
}

.main-navigation {
    animation: slideDown 0.6s ease 0.2s backwards;
}

.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}
