header {
    width: 95%;
    max-width: 1600px;
    height: 65px;
    background-color: #02104d;
    padding: 5px 10px;
    margin: 0px auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    transition: all 0.3s linear;
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(255, 255, 255, 0.15);
}

header.scrolled {
    width: 100%;
    max-width: 100%;
    height: 60px;
    top: 0px;
    left: 0px;
    transform: none;
    margin: 0px;
    border-radius: 0px;
}

.header-nav {
    flex-grow: 1;
    width: fit-content;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 10px;
}

.header-nav .nav-widget {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.header-nav .widget {
    background: none;
    border: none;
    padding: 5px 10px;
    position: relative;
    cursor: pointer;
    color: #f1f1f1;
    overflow: hidden;
    font-size: 1em;
    align-items: center;
}

.header-nav form {
    flex-grow: 1;
    display: flex;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}

.header-nav form .form-group {
    height: 100%;
    width: 100%;
    min-width: 100px;
    max-width: 600px;
    overflow: hidden;
    border: 1px solid #dae1ed;
    border-radius: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

form .form-group .input-group {
    height: 100%;
    width: 100%;
    padding: 0px 3px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

form .form-group .input-group input {
    background-color: transparent;
    outline: none;
    border: none;
    box-shadow: none;
    color: #f1f1f1;
}

form .form-group .input-group input::placeholder {
    color: #f1f1f1;
}

form .form-group .input-group button {
    background-color: #f2f5fa;
    color: #02104d;
    border-radius: 50px;
    height: 35px;
    width: 35px;
    margin: 5px 3px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-nav .nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.header-nav .nav-menu .dropdown button {
    color: #f1f1f1;
}

.header-nav .nav-menu .dropdown-menu {
    padding: 5px;
    border-radius: 10px;
}

.header-nav .nav-menu .dropdown-menu a {
    border-radius: 5px;
    margin: 3px 0px;
}

.header-nav .nav-menu .dropdown-menu a:hover {
    background-color: #02104d;
    color: #ffffff;
}

.avatar {
    position: relative;
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 100%;
    text-transform: uppercase;
    background-color: #f2f5fa;
    color: #333333;
}

.avatar img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
}

.mobile-menu-toggle {
    margin-left: auto;
    width: 25px;
    height: 25px;
    border-radius: 5px;
    border: 1px solid #dae1ed;
    align-items: center;
    justify-content: center;
    display: none;
}

.mobile-menu {
    display: none;
}

.tab-button::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 5px;
    background-color: #f1f1f1;
    transform: translateY(-100%);
    transition: all 0.3s ease;
    opacity: 0;
}

.tab-button.active::after {
    transform: translateY(0);
    opacity: 1;
}

.tab-button:hover::after {
    transform: translateY(0);
    opacity: 1;
}

.mobile-tab-button {
    background: none;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.3s ease;
    color: #666;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.mobile-tab-button:hover {
    background-color: #f4f4f4;
    color: #333;
}

.tab-content-container {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
}

.tab-content {
    display: none;
    width: 100%;
    animation: fadeIn 0.3s ease-in;
}

.tab-content.active {
    display: block;
}

.tab-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.tab-placeholder h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 24px;
}

.tab-placeholder p {
    font-size: 16px;
    line-height: 1.6;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    header {
        padding: 8px 15px;
        height: 70px;
        width: 95%;
        border-radius: 8px;
    }

    header.scrolled {
        width: 100%;
        height: 60px;
        border-radius: 0px;
        padding: 5px 15px;
    }

    .header-logo {
        flex-shrink: 0;
    }

    .header-nav .nav-widget {
        display: none;
    }

    .header-nav .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        background-color: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle:hover {
        background-color: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.5);
        transform: scale(1.05);
    }

    .mobile-menu-toggle #menu-btn {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        font-size: 18px;
        cursor: pointer;
        position: relative;
    }

    .mobile-menu-toggle .fa-bars,
    .mobile-menu-toggle .fa-times {
        transition: all 0.3s ease;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .mobile-menu-toggle .fa-bars {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(0deg);
    }

    .mobile-menu-toggle .fa-times {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .mobile-menu-toggle .active .fa-bars {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(-90deg);
    }

    .mobile-menu-toggle .active .fa-times {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(0deg);
    }

    .mobile-menu {
        width: 95%;
        height: fit-content;
        position: fixed;
        top: 60px;
        left: 50%;
        z-index: 99;
        transform: translateX(-50%);
        background-color: #ffffff;
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
        border-radius: 0px 0px 10px 10px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        display: flex;
        flex-direction: column;
        padding: 20px 10px;
        gap: 5px;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-50%) translateY(-20px);
        transition: all 0.3s ease;
    }

    .mobile-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .mobile-tab-button {
        background: none;
        border: none;
        padding: 10px 10px;
        cursor: pointer;
        border-radius: 5px;
        transition: all 0.3s ease;
        color: #212529;
        font-size: 1em;
        width: 100%;
        text-align: left;
        display: flex;
        align-items: center;
    }

    .mobile-tab-button:hover {
        background-color: #02104d;
        color: #f1f1f1;
    }

    .mobile-tab-button.active {
        background-color: #02104d;
        color: #f1f1f1;
    }

    .mobile-menu .dropdown button {
        width: 100%;
    }

    .mobile-menu .dropdown button:hover {
        background-color: #02104d;
        color: #f1f1f1;
    }

    .mobile-menu .dropdown-menu {
        margin-top: 8px;
        padding: 8px;
        border-radius: 10px;
        background-color: rgba(255, 255, 255, 0.9);
        border: 1px solid rgb(241, 241, 241);
    }

    .mobile-menu .dropdown-menu a {
        border-radius: 8px;
        margin: 4px 0px;
        padding: 12px 16px;
        transition: all 0.3s ease;
    }

    .mobile-menu .dropdown-menu a:hover {
        color: #ffffff;
        background-color: #02104d;
    }

    .nav-widget {
        flex-wrap: wrap;
        gap: 5px;
    }

    .tab-button {
        padding: 8px 12px;
        font-size: 12px;
    }

    .tab-placeholder {
        padding: 40px 15px;
    }

    .tab-placeholder h3 {
        font-size: 20px;
    }

    .tab-placeholder p {
        font-size: 14px;
    }
}

.footer {
    width: 100%;
    background: linear-gradient(to bottom, #02104dc2 0%, #02104d 100%);
    color: #f1f1f1;
    padding: 50px 20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    max-width: 1600px;
    margin: 0 auto;
    align-items: start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.company-info h4 {
    font-size: 1.3em;
    margin-bottom: 5px;
}

.company-info p {
    font-size: 1em;
    margin-bottom: 0px;
}

.footer-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.footer-links h4,
.footer-support h4 {
    font-size: 1.2em;
}

.link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-list a {
    text-decoration: none;
    color: #f1f1f1;
    font-size: 1em;
    display: block;
    padding: 5px 0;
}

@media (max-width: 1024px) {
    .footer {
        padding: 30px 20px;
    }

    .footer-container {
        grid-template-rows: 1fr 1fr;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
        width: 100%;
        padding: 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        align-items: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-brand-name {
        font-size: 1.5em;
    }

    .footer-column-title {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 30px 15px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        gap: 35px;
        width: 100%;
        padding: 0;
    }

    .footer-brand {
        grid-column: 1;
        text-align: center;
        align-items: center;
        gap: 12px;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-logo-img {
        max-width: 80px;
    }

    .footer-brand-name {
        font-size: 1.4em;
        margin: 0;
    }

    .footer-column {
        gap: 12px;
        text-align: center;
    }

    .footer-column-title {
        font-size: 1.1em;
        margin-bottom: 12px;
    }

    .footer-column article {
        font-size: 0.9em;
        margin-top: 8px;
    }

    .social-links {
        justify-content: center;
        gap: 15px;
        margin-top: 5px;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }

    .social-link svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 25px 12px;
    }

    .footer-container {
        gap: 30px;
    }

    .footer-logo-img {
        max-width: 70px;
    }

    .footer-brand-name {
        font-size: 1.2em;
    }

    .footer-column-title {
        font-size: 1em;
        margin-bottom: 10px;
    }

    .footer-column article {
        font-size: 0.85em;
        margin-top: 6px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    max-width: 100px;
    height: auto;
    object-fit: contain;
}

.footer-brand-name {
    font-size: 1.8em;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column-title {
    font-size: 1.2em;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.footer-column article {
    color: #ffffff;
    text-decoration: none;
    display: block;
    font-size: 0.95em;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.footer-column article a {
    color: #d0d0d0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column article a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #ffffff;
    color: #02104d;
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}