* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #0052cc;
    --color-primary-light: #0066ff;
    --color-primary-dark: #003a99;
    --color-secondary: #f0f4f8;
    --color-text-dark: #1a1a1a;
    --color-text-light: #666666;
    --color-white: #ffffff;
    --color-grey-100: #f5f5f5;
    --color-grey-200: #eeeeee;
    --color-grey-300: #e0e0e0;
    --color-bg-dark: #1f2937;
    --color-bg-darker: #111827;
    --gradient-primary: linear-gradient(135deg, #0052cc 0%, #0099ff 100%);
    --gradient-subtle: linear-gradient(180deg, #2a3f5f 0%, #1f2937 100%);
    --gradient-dark: linear-gradient(135deg, #003a99 0%, #0052cc 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--color-text-dark);
    background-color: var(--color-white);
    line-height: 1.6;
}

/* ===== HEADER & NAVBAR ===== */
header {
    background: linear-gradient(-20deg, #b721ff 0%, #21d4fd 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    /* width: 100vw; */
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-bar-brand img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-bar-nav {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
    transform: none;
}

.nav-item a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 12px;
    /* border-radius: 4px; */
}

.nav-item a:hover {
    color: var(--color-white);
    border-bottom: 2px solid white;
    /* background-color: rgba(0, 82, 204, 0.08); */
}

.nav-item.active a {
    color: var(--color-white);
    border-bottom: 2px solid white;
    border-radius: none;
}

.nav-item.dropdown {
    position: relative;
    color: var(--color-text-dark);
    cursor: pointer;
}

.dropdown a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-icon {
    font-size: 12px;
    transition: var(--transition);
}

.dropdown-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;

    padding: 10px 0;
    background-color: var(--color-white);
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin-top: 2px;
    overflow: hidden;
}

.dropdown-list a {
    display: block;
    padding: 12px 16px;
    color: var(--color-text-dark);
    transition: var(--transition);
    border-radius: 0;
}

.dropdown-list a:hover {
    background-color: rgba(0, 82, 204, 0.1);
    color: var(--color-primary);
    padding-left: 20px;
}
.nav-item.dropdown:hover .dropdown-list {
    display: block;
}

.dropdown-list a:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-list a:last-child {
    border-radius: 0 0 8px 8px;
}

.cta-button {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 82, 204, 0.4);
}

.hamburger {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: black;
    transition: background-color 300ms ease;
}
.bar {
    display: block;
    background-color: white;
    width: 25px;
    height: 4px;
    margin: 5px 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hamburger.menu-open .bar-top {
    transform: rotate(45deg) translate(6px, 6px);
    background-color: rgba(252, 251, 251, 0.921);
}
.hamburger.menu-open .bar-middle {
    opacity: 0;
}
.hamburger.menu-open .bar-bottom {
    transform: rotate(-45deg) translate(6px, -6px);
    background-color: rgba(255, 254, 254, 0.921);
}
@media (max-width: 1024px) {
    .nav-bar-nav {
        display: none !important;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--color-white);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        border-radius: 0 0 12px 12px;
        padding: 20px;
        gap: 12px;
        z-index: 999;
    }
    .nav-bar-nav.show {
        display: flex !important;
        align-items: center;
    }
    .hamburger {
        display: block;
    }
}
@media (max-width: 768px) {
    .nav-bar {
        padding: 12px 16px;
    }
    .nav-bar-nav {
        display: none !important;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--color-white);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        border-radius: 0 0 12px 12px;
        padding: 20px;
        gap: 12px;
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        overflow-x: hidden;
    }
    .nav-item.active a {
        color: blue;
    }

    .nav-bar-nav.show {
        display: flex !important;
        align-items: flex-start;
        transform: translateX(0);
    }

    .hamburger {
        display: block;
    }
}
/* ============================================ end of header ================================================= */


/* ===== FOOTER ===== */
footer {
    background: var(--color-text-dark);
    color: var(--color-white);
    text-align: center;
    padding: 20px 30px;
}

footer p {
    font-size: 15px;
    font-weight: 500;
    margin-top: 1rem;
}
@media (max-width: 600px) {
    footer {
        padding: 15px 10px;
    }

    footer p {
        font-size: 13px;
    }
}

/* ============================================ end of footer ================================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
