/*=============== FONT ================*/
@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Pacifico";
    src: url("../fonts/Pacifico-Regular.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/*=============== ANIMATION ================*/
@keyframes animate {
		0% {
		box-shadow: 0 0 0 0 rgba(37, 100, 79, 0.7);
	}

	40% {
		box-shadow: 0 0 0 50px rgba(37, 100, 79, 0);
	}

	80% {
		box-shadow: 0 0 0 50px rgba(37, 100, 79, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(37, 100, 79, 0);
	}
	
}

@keyframes pulseScale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes waveMove {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 3.5rem;

    /*========== Colors ==========*/
    --green: #25644F;
    --green-gray: #0F3D2E;
    --yellow: #D4AF37;
    --dark: #333333;
    --gray: #F8F9FA;
    --background: #F8F9FA;
    --light: #F7F7F8;



    /*========== Font and typography ==========*/
    --body-font: "Poppins", sans-serif;
    --secondary-font: "Pacifico", cursive;


    /*========== Font weight ==========*/
    --font-regular: 400;
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

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

html {
    scroll-behavior: smooth;
}

input,
button {
    outline: none;
    border: none;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

body {
    position: relative;
    font-family: var(--body-font);
    background-color: var(--background);
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
    width: 0.6rem;
    background-color: rgba(232, 234, 235, 0.364);
    border-radius: 0.2rem;
}

::-webkit-scrollbar-thumb {
    background-color: var(--green-gray);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--green);
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
    max-width: 1320px;
    margin: 0 auto;
}

.section {
    padding-block: 5rem 3rem;
    padding-inline: 7.3125rem;
    overflow: hidden;
}

/*=============== HEADER & NAV ===============*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-fixed);

    .nav {
		position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 64px;
        width: 100%;
        background-color: var(--green-gray);
        padding-inline: 117px;
		z-index: 101;

        .lang-wrapper {
            position: relative;
            display: inline-block;

            .lang-switcher {
                display: flex;
                align-items: center;
                gap: 8px;
                background: white;
                padding: 6px 14px;
                border-radius: 999px;
                cursor: pointer;
                transition: 0.3s;

                .icon {
                    font-size: 14px;
                    color: var(--yellow);
                }

                .text {
                    font-size: 14px;
                    color: var(--dark);
                    font-weight: var(--font-regular);
                }

                .arrow {
                    font-size: 12px;
                    transition: 0.3s;
                }

                &.active {
                    .arrow {
                        transform: rotate(180deg);
                    }
                }

                &:hover {
                    background: #e6ebe8;
                }
            }

            .lang-dropdown {
                position: absolute;
                top: 120%;
                left: 0;
                width: 100%;
                background: #fff;
                border-radius: 10px;
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
                max-height: 150px;
                overflow-y: auto;

                opacity: 0;
                pointer-events: none;
                transform: translateY(10px);
                transition: 0.3s;
				display: flex;
                flex-direction: column;


                &.show {
                    opacity: 1;
                    pointer-events: auto;
                    transform: translateY(0);
                }

                /* hide scrollbar */
                &::-webkit-scrollbar {
                    display: none;
                }

                scrollbar-width: none;

                .lang-option {
                    padding: 10px;
                    cursor: pointer;
                    transition: 0.2s;
                    font-size: 14px;
                    font-weight: var(--font-regular);
					color: #333333;

                    &:hover {
                        background: #f5f5f5;
                    }
                }
            }
        }

        .nav__menu {
            display: flex;
            justify-content: center;
            align-items: center;

            .nav__list {
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 32px;

                .nav__link {
                    font-size: 1rem;
                    font-weight: var(--font-medium);
                    color: white;
                    transition: color 0.3s ease;

                    &:hover {
                        color: var(--yellow);
                    }

                    &.active-link {
                        color: var(--yellow);
                    }
                }

                .nav__dropdown {
                    position: relative;
                    display: none;

                    .nav__link {
                        display: flex;
                        align-items: center;
                        gap: 6px;
                        cursor: pointer;
                        font-weight: var(--font-semi-bold);

                        i {
                            font-size: 12px;
                            transition: 0.3s ease;
                        }
                    }

                    button {
                        background: transparent;
                    }

                    .dropdown__menu {
                        position: absolute;
                        top: 130%;
                        left: 0;

                        min-width: 180px;
                        background: #fff;
                        border-radius: 10px;
                        box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);

                        display: flex;
                        flex-direction: column;

                        opacity: 0;
                        visibility: hidden;
                        transform: translateY(10px);
                        transition: 0.25s ease;

                        z-index: 999;

                        li {

                            a {
                                display: block;
                                padding: 12px 15px;
                                font-size: 16px;
                                font-weight: var(--font-medium);
                                color: var(--dark);
                                transition: 0.3s;

                                &:hover {
                                    color: var(--yellow);
                                }
                            }
                        }
                    }

                    /* hover state */
                    &:hover {

                        .dropdown__menu {
                            opacity: 1;
                            visibility: visible;
                            transform: translateY(0);
                        }

                        .nav__link i {
                            transform: rotate(180deg);
                        }
                    }
                }
            }
        }

        .btn,
        .mobile__btn {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            background-color: var(--yellow);
            color: white;
            font-size: 1rem;
            padding: 7px 18.5px;
            border-radius: 999px;
            font-weight: var(--font-semi-bold);
            transition: background-color 0.3s ease;
            border: 2px solid var(--light);

            &:hover {
                background-color: #c9a032;
            }
        }

        .nav__toggle,
        .nav__close,
        .mobile__btn {
            display: none;
            cursor: pointer;
        }

        .logo__mobile {
            display: none;
            filter: brightness(0) invert(1) drop-shadow(0px 2.77px 16.64px #FFFFFF40);
        }

        .nav__toggle {
            justify-content: center;
            align-items: center;
            gap: 12px;

            p {
                font-size: 16px;
                font-weight: var(--font-regular);
                color: white;
                font-family: var(--secondary-font);
            }
        }

    }

    .sub__header {
		position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid #DDE1E6;
        background: white;
        padding-inline: 117px;

        .countdown-container {
            display: flex;
            gap: 7px;
 
			h3{
				font-size: 22px;
				font-weight: var(--font-semi-bold);
				color: var(--green);
			}

            .time-box {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 8px;


                .number-card {
                    width: 40px;
                    height: 40px;
                    background-color: #f9fafc;
                    border: 1.77px solid #E4E4E4;
                    border-radius: 7px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    font-size: 14px;
                    font-weight: var(--font-semi-bold);
                    color: #1B2128;

                    &.highlight {
                        background-color: var(--yellow);
                        border-color: var(--yellow);
                        color: white;
                    }

                }

                .label {
                    font-size: 9.5px;
                    font-weight: var(--font-regular);
                    color: #666666;
                }
            }
        }

        .logo {
			position: absolute;
            display: flex;
            justify-content: center;
            align-items: center;
			top: 50%;
			left: 50%;
			transform: translate(-50% , -50%);

            img {
                width: 60px;
                height: auto;
            }
        }

        .discount {
            font-size: 22px;
            font-weight: var(--font-semi-bold);
            color: var(--green);

            span {
                color: var(--yellow);
            }
        }
    }
}

/*=============== FOOTER ===============*/
.footer {
    position: relative;
    padding: 83px 25px 16.5px 25px;
    background-image: url(../image/bg\ footer.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 5rem;

    .group__footer {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        border: 2px solid #2C343729;

        .footer__content {
            display: flex;
            justify-content: start;
            align-items: start;
            width: 100%;

            .left__footer {
                display: flex;
                justify-content: center;
                align-items: start;
                flex-direction: column;
                gap: 68px;
                padding: 75.5px 26px 41px 29px;
                max-width: 485px;
                width: 100%;

                .footer__text {
                    display: flex;
                    justify-content: center;
                    align-items: start;
                    flex-direction: column;
                    gap: 6px;

                    h2 {
                        font-size: 24px;
                        font-weight: var(--font-semi-bold);
                        color: #000000CC;
                    }

                    p {
                        font-size: 20px;
                        font-weight: var(--font-regular);
                        color: #666666;
                    }
                }

                .social {
                    display: flex;
                    justify-content: center;
                    align-items: start;
                    gap: 26.5px;

                    a {
                        width: 49px;
                        height: 49px;
                        background-color: var(--green-gray);
                        color: white;
                        border-radius: 50%;
                        font-size: 30px;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        transition: all 0.3s ease-in-out;

                        &:hover {
                            background-color: var(--yellow);
                        }
                    }
                }
            }

            .right__footer {
                display: flex;
                justify-content: space-between;
                align-items: start;
                flex-direction: column;
                height: 100%;
                width: 100%;
                border-left: 2px solid #2C343729;

                .footer__logo {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    border-bottom: 2px solid #2C343729;
                    width: 100%;
                    max-width: 100%;
                    padding-block: 35px 59px;


                    img {
                        width: 100%;
                        max-width: 736.5676879882812px;
                        height: auto;
                        object-fit: cover;
                    }
                }

                .links {
                    display: flex;
                    justify-content: start;
                    align-items: center;
                    width: 100%;

                    .link {
                        position: relative;
                        display: flex;
                        justify-content: center;
                        align-items: start;
                        flex-direction: column;
                        padding: 43px 74.5px 44.5px 44.5px;
                        width: 50%;
                        max-width: 100%;

                        span {
                            font-size: 34px;
                            font-weight: var(--font-regular);
                            color: var(--dark);
                            font-family: var(--secondary-font);
                        }

                        a {
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            gap: 10px;
                            font-size: 22px;
                            font-weight: var(--font-regular);
                            color: #666666;

                            i {
                                color: var(--yellow);
                                transform: rotate(-35deg);
                                font-size: 18px;
                            }
                        }

                        .icon {
                            position: absolute;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            top: 11px;
                            right: 11px;
                            width: 54px;
                            height: 54px;
                            background-color: #FFFFFF;
                            border: 1px solid #F2E6C1;
                            border-radius: 50%;
                            color: var(--yellow);
                            font-size: 24px;
                        }

                        &:nth-child(1) {
                            border-right: 2px solid #2C343729;
                        }
                    }
                }
            }
        }

        .copy__right {
			position: relative;
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            padding: 20px 25px;
            border-top: 2px solid #2C343729;

            p {
                font-size: 16px;
                font-weight: 300;
                color: #666666;
            }

            .foursw {
                display:flex;
				justify-content: center;
				align-items: center;
				gap: 9px;
				
				span{
					font-size: 16px;
					font-weight: 400;
					color: #666666;
				}
				
				a{
					font-size: 16px;
					font-weight: 600;
					color: #328AF1;
				}

                img {
                    width: 25px;
                    height: 25px;
                    object-fit: cover;
                }
            }

            .page__termss {
                font-size: 16px;
                font-weight: 300;
                color: #666666;
                text-decoration: underline;
            }
        }
    }

    &::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 33px;
        background-color: var(--green-gray);
        z-index: 0;
    }
}

/* Dashboard Specific Styles */
.main-wrapper {
    margin-top: 150px;
    min-height: 70vh;
}

/* Responsive Overrides */
@media (max-width: 1200px) { ... }
@media (max-width: 991px) { ... }
@media (max-width: 768px) { ... }
@media (max-width: 576px) { ... }
