:root {
    --primary-blue: #3661bd;
    --primary-default-blue: #265ECA;
    --text-black: #1F2124;
    --bg-gray: #f2f4f6;
    --header-height: 90px;
    --font-family: 'Poppins', sans-serif;
    --text-black-default: #000000;
    --text-footer-gray: #333333;
    --font-size-default: 17px;
    --font-size-small: 14px;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    --font-black: 900;
}

/* layout */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: #fff;
    color: var(--text-black);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

/* header */
.header-menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: center;
    z-index: 1000;
}

.sub-menu {
    width: 100%;
    max-width: 1440px;
    padding: 0 30px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    width: 125px;
    height: 60px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-black);
    font-size: 19px;
    font-weight: var(--font-bold);
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    padding: 10px 0;
    text-transform: uppercase;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-gray);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: #000;
}

.search-btn:hover {
    background-color: #e0e0e0;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 15px; 
    z-index: 1001;
}

.hamburger-btn .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-black);
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    
    :root {
        --header-height: 70px; 
    }

    .hamburger-btn {
        display: flex;
    }

    .main-nav {
        position: absolute;
        /* position: fixed; */
        top: var(--header-height); 
        left: -100%; 
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: #ffffff;
        
        flex-direction: column;
        align-items: flex-start; 
        justify-content: flex-start;
        
        padding-top: 0; 
        transition: left 0.3s ease-in-out;
        border-top: 1px solid #e5e5e5;
        overflow-y: auto; 
        z-index: 999;
    }

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

    .nav-list {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0; 
        padding: 0;
        margin: 0;
    }

    .nav-item {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #eee; 
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between; 
        
        width: 100%;
        padding: 20px 30px; 
        
        font-size: 16px; 
        font-weight: 600; 
        color: #333;
        
        background-color: transparent;
        transition: all 0.2s ease;
    }

    .nav-link:hover, .nav-link:active {
        background-color: #f9f9f9;
        color: var(--primary-blue);
        padding-left: 35px; 
    }

    .hamburger-btn.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger-btn.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-btn.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.main {
    padding-top: var(--header-height);
    min-height: 300px;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

/* footer */
.footer {
    background-color: var(--bg-gray);
    padding: 70px 0 0 0;
    width: 100%;
    margin-top: auto;
    margin-bottom: 0 !important;
    top: 20px;
}

.footer-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    gap: 30px;
    padding-bottom: 50px;
}

.footer-heading {
    width: 150px;
    height: 33.5px;
    font-size: 24px;
    font-weight: var(--font-bold);
    color: var(--text-black-default);
    text-transform: capitalize;
    margin-bottom: 25px;
    line-height: inherit;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: var(--font-size-small);
    color: var(--text-footer-gray);
    font-weight: var(--font-normal);
    transition: color 0.2s ease;
    width: 72px;
    height: 28px;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-footer-gray);
}

.contact-info i {
    color: var(--primary-blue);
    width: 20px;
    font-size: 16px;
}

.social-row {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-btn {
    width: 36px;
    height: 36px;
    background-color: #999;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-size: var(--font-size-small);
}

.social-btn:hover {
    background-color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid #dcdcdc;
    background-color: var(--bg-gray);
    padding: 20px 0;
    width: 100%;
}

.footer-bottom p {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    font-size: 13px;
    color: var(--text-footer-gray);
    font-weight: var(--font-semibold);
}

.floating-buttons {
    position: fixed;
    bottom: 40px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1001;
}

.float-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.float-btn:hover {
    transform: translateY(-3px);
}

.email-float {
    background-color: var(--primary-blue);
    color: #fff;
}

.top-float {
    background-color: #fff;
    color: #666;
    border: 1px solid #eee;
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-container, .footer-bottom p {
        padding: 0 20px;
    }
}