/* header.css */

/* Header styles */

/* ExtraLight */
/* ExtraLight */
@font-face {
    font-family: 'AmpleSoftPro';
    src: url('../fonts/AmpleSoftPro-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

/* Thin */
@font-face {
    font-family: 'AmpleSoftPro';
    src: url('../fonts/AmpleSoftPro-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

/* Light */
@font-face {
    font-family: 'AmpleSoftPro';
    src: url('../fonts/AmpleSoftPro-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

/* Regular */
@font-face {
    font-family: 'AmpleSoftPro';
    src: url('../fonts/AmpleSoftPro-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Medium */
@font-face {
    font-family: 'AmpleSoftPro';
    src: url('../fonts/AmpleSoftPro-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* Bold */
@font-face {
    font-family: 'AmpleSoftPro';
    src: url('../fonts/AmpleSoftPro-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}



* {
    font-family: 'AmpleSoftPro', sans-serif;
}


body {
    margin: 0px;
}

.header {
    position: sticky;
    top: 0;
    max-width: 100%;
    background: #fff;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

button.header-cta {
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    background: linear-gradient(90deg, #6825fb, #cb498e) !important;
    box-shadow: 0 4px 4px #00000040;
    color: #fff;
    text-decoration: none;
    border: 1px solid #ffffff00;
    transition: transform 0.3s ease, opacity 0.3s ease;
    padding: 9px 10px;
    font-size: 18px;
    width: 145px;
    text-align: center;
    font-weight: 500;
    height: 45px;
    cursor: pointer;
}

button.header-cta:hover {
    transform: scale(1.05);
    opacity: 0.9;
    cursor: pointer;
}

/* Logo */
.header .logo img {
    max-height: 50px;
}

/* Menu */
.header .menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header .menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.menu li a.active {
    color: #6825FB;
    border-bottom: 2px solid #6825FB;
    padding-bottom: 4px;
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Toggle button styling */
.toggle-wrapper {
    position: relative;
    display: inline-flex;
    background: #DBDBDB;
    border-radius: 25px;
    padding: 4px;
    gap: 4px;
}

.toggle-wrapper button {
    padding: 10px 24px;
    border: none;
    border-radius: 20px;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    z-index: 1;
    color: #282828;
}

.toggle-wrapper button:hover {
    color: #6c3aed;
    font-weight: 500;
}

.toggle-wrapper button.active {
    background: #6c3aed;
    color: white;
    box-shadow: 0 2px 8px rgba(108, 58, 237, 0.3);
}

.toggle-wrapper button.activeTab {
    background: #6825FB;
    color: #FFF;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 768px) {
    button.header-cta {
        padding: 10px 18px;
        font-size: 16px;
        border: 1px solid #FFF;
    }

    .hamburger {
        display: flex;
    }

    .header .menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        align-items: center;
        background: #fff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
    }

    .header .menu.active {
        max-height: 300px;
        opacity: 1;
    }

    .header .menu li {
        width: 100%;
        text-align: center;

        border-bottom: 1px solid #f0f0f0;
    }

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

    .header .menu li a {
        display: block;
        width: 100%;
        padding: 15px 0;
    }

    /* Toggle wrapper responsive */
    .toggle-wrapper {
        padding: 3px;
    }

    .toggle-wrapper button {
        padding: 8px 16px;
        font-size: 12px;
    }

    .header-right {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    button.header-cta {
        padding: 8px 15px;
        font-size: 15px;
    }

    .header {
        padding: 10px 15px;
    }

    .header .logo img {
        max-height: 40px;
    }

    .toggle-wrapper button {
        padding: 6px 12px;
        font-size: 11px;
    }

    .hamburger {
        width: 26px;
        height: 20px;
    }

    .hamburger span {
        height: 2.5px;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8.75px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8.75px) rotate(-45deg);
    }

    .header-right {
        gap: 10px;
    }
}