/* Colorize Social Icons */
.social-icons li.social-icons-facebook a {
    color: #3b5998 !important;
}

.social-icons li.social-icons-x a {
    color: #000000 !important;
}

.social-icons li.social-icons-instagram a {
    color: #C13584 !important;
}

.social-icons li.social-icons-linkedin a {
    color: #0077b5 !important;
}

/* Hover effects */
.social-icons li.social-icons-facebook a:hover {
    color: #2d4373 !important;
}

.social-icons li.social-icons-x a:hover {
    color: #333333 !important;
}

.social-icons li.social-icons-instagram a:hover {
    color: #833AB4 !important;
}

.social-icons li.social-icons-youtube a {
    color: #c4302b !important;
}

.social-icons li.social-icons-youtube a:hover {
    color: #ff0000 !important;
}

/* Resize Logo without layout shift */
html #header .header-logo .logo {
    transform: scale(1.7);
    transform-origin: center center;
}

/* Custom Header Logo Background - White with Black Border */
html #header .header-logo.custom-header-logo:before {
    background-color: #FFF !important;
    border: 10px solid #6a005e;
    box-sizing: border-box;
    /* Ensure border doesn't expand the element */
}

/* Prevent Header Social Icons Wrapping */
html #header .header-social-icons {
    flex-wrap: nowrap !important;
    display: flex !important;
    white-space: nowrap !important;
    min-width: max-content;
    /* Ensure it takes necessary width */
}

/* Fix Logo Container Width to prevent shifting */
html #header .header-logo {
    flex-shrink: 0 !important;
    margin-left: 35px !important;
    /* Slightly reduced from 45px */
    margin-right: 5px !important;
    /* Aggressively reduced from 15px */
    width: auto !important;
    max-width: none !important;
}

/* Reduce Navigation Padding to prevent wrapping */
@media (min-width: 1200px) {
    html #header .header-nav-main nav>ul>li>a {
        padding: 0 0.5rem !important;
        /* Aggressively reduced from 0.8rem */
        font-size: 13px !important;
        /* Slightly smaller font */
    }
}