/* ==============================
CSS CUSTOM PROPERTIES
============================== */

:root {
    /* Typography */
    --font-family-primary: "Plus Jakarta Sans", sans-serif;

    /* Colors */
    --color-text-black: #111111;
    --color-text-white: #ffffff;
    --color-primary: #1A69FD;
    --color-primary-hover: #0c4fcb;
    --color-bg-dark: #000000;
    --color-yellow: #FFFF37;

    /* Spacing */
    --section-padding-fluid: clamp(24px, 5vw + 4px, 75px);
    /* Container */
    --container-max-width: clamp(320px, 83.33vw, 1600px);
    --container-sm-max-width: 790px;
    --container-padding-inline: clamp(1rem, 4vw, 3rem);
}

/* ==============================
            RESPONSIVE TYPOGRAPHY SCALE
            ============================== */
/* Desktop Typography (640px and up) */
@media (min-width: 640px) {
    :root {
        --fs-xs: 12px;
        /* 12px */
        --fs-sm: clamp(0.7rem, 0.7rem + 0.146vw, 0.875rem);
        /* ~14px */
        --fs-para: clamp(0.8rem, 0.8rem + 0.167vw, 1rem);
        /* ~16px */
        --fs-base: clamp(1rem, 1rem + 0.104vw, 1.125rem);
        /* ~18px */
        --fs-md20: clamp(1rem, 1rem + 0.3125vw, 1.25rem);
        /* ~20px */
        --fs-md: clamp(1rem, 1rem + 0.3125vw, 1.375rem);
        /* ~22px */
        --fs-subtitle: clamp(1.125rem, 1rem + 0.625vw, 1.5rem);
        /* ~24px */
        --fs-lg: clamp(1.125rem, 1rem + 0.625vw, 1.75rem);
        /* ~28px */
        --fs-h4: clamp(1.25rem, 1rem + 0.7292vw, 1.875rem);
        /* Max ~30px at 1920px */
        --fs-h3: clamp(1.25rem, 1rem + 1.0417vw, 2.25rem);
        /* ~36px */
        --fs-h2: clamp(1.5rem, 1rem + 1.6667vw, 3rem);
        /* ~48px */
        --fs-sp-title: clamp(3rem, 3rem + 1.25vw, 3.75rem);
        /* ~60px */
        --fs-h1: clamp(3rem, 3rem + 1.875vw, 4.5rem);
        /* ~72px */
    }
}



.subtitle {
    font-size: var(--fs-subtitle);
    font-weight: 700;
    line-height: 1.6;
}

.fs-md {
    font-size: var(--fs-md);
    font-weight: 700;
    line-height: 1.6;
}

.fs-md20 {
    font-size: var(--fs-md20);
    line-height: 1.60;
}

.fs-base {
    font-size: var(--fs-base);
    line-height: 1.6;
}

.fs-para {
    font-size: var(--fs-para);
    font-weight: 500;
    line-height: 1.6;
}

.weight400 {
    font-weight: 400;
}

.weight500 {
    font-weight: 500;
}

.weight600 {
    font-weight: 600;
}

button {
    font-family: var(--font-family-primary);
}

.block {
    display: block;
}

.wht-link-line,
.blk-link-line {
    position: relative;
    display: inline;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size 0.35s ease;
}

.wht-link-line {
    color: var(--color-text-white);
    background-image: linear-gradient(var(--color-text-white), var(--color-text-white));
    background-size: 100% 1px;
}

.blk-link-line {
    color: var(--color-text-black);
    background-image: linear-gradient(var(--color-text-black), var(--color-text-black));
    background-size: 100% 1px;
}

.wht-link-line:hover,
.blk-link-line:hover {
    background-size: 0% 1px;
}

.text-uppercase {
    text-transform: uppercase;
}

.flex-center {
    align-items: center;
}

/* ==============================
            LAYOUT COMPONENTS
            ============================== */

.section {
    padding-top: var(--section-padding-fluid);
    padding-bottom: var(--section-padding-fluid);
    position: relative;
}

.layout-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}


/* ==============================
            UTILITY CLASSES
            ============================== */

.wht-text {
    color: var(--color-text-white);
}

.dark-bg {
    background-color: var(--color-bg-dark);
}

.gap8 {
    gap: 8px;
}

.gap12 {
    gap: 12px;
}

.gap16 {
    gap: 16px;
}

.gap18 {
    gap:18px;
}

.gap24 {
    gap: 24px;
}

.gap32 {
    gap: 32px;
}

.gap36 {
    gap: 36px;
}

.gap64 {
    gap: 64px;
}

.mt36 {
    margin-top: 36px;
}

.gap40 {
    gap: 40px;
}

.gap48 {
    gap: 48px;
}

.gap64 {
    gap: 64px;
}

.dp-flex {
    display: flex;
}

.justify-space-between {
    justify-content: space-between;
}

.fdc {
    display: flex;
    flex-direction: column;
}


/* ==============================
            BUTTON COMPONENTS
            ============================== */

/* Common btn */
.swap-text-button {
    font-size: var(--fs-para);
    font-weight: 600;
    color: white;
    border-radius: 3rem;
    cursor: pointer;
    padding: 20px 32px;
    line-height: 1.26;
    border: none;
    background-color: var(--color-primary);
    font-family: var(--font-family-primary);
    border-top: 2px solid #5E96FE;
    border-bottom: 2px solid transparent;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
}

.text-original {
    display: flex;
    overflow: hidden;
}

.swap-text-button:hover .text-original span {
    transform: translateY(1.3em);
}

.swap-text-button .text-original span:nth-child(1) {
    transition: 0.2s;
}


.swap-text-button .text-hover {
    display: flex;
    position: absolute;
    overflow: hidden;
}

.swap-text-button .text-hover span {
    transform: translateY(-1.3em);
}

.swap-text-button:hover .text-hover span {
    transform: translateY(0);
}

.swap-text-button .text-hover span {
    transition: 0.2s;
}


.button__icon-wrapper {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    position: relative;
    background-color: transparent;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.button__icon-svg,
.button__icon-svg--copy {
    position: absolute;
    transition: transform 0.3s ease-in-out;
}

.button__icon-svg {
    transform: translate(0, 0);
}

.button__icon-svg--copy {
    transform: translate(-150%, 150%);
}

/* Hover Animations */
.swap-text-button:hover .button__icon-svg {
    transform: translate(150%, -150%);
}

.swap-text-button:hover .button__icon-svg--copy {
    transform: translate(0, 0);
    transition-delay: 0.1s;
}

/* Common btn ends*/


/* transparent btn */

.mb0 {
    margin-bottom: 0;
}

.m0 {
    margin: 0;
}


@media (max-width: 1550px) {
    :root {
        --fs-xs: 8px;
        --fs-sm: clamp(0.75rem, 0.75rem + 0vw, 0.75rem);
        /* 12px */
        --fs-para: clamp(0.75rem, 0.75rem + 0vw, 0.75rem);
        /* 12px */
        --fs-base: clamp(0.875rem, 0.875rem + 0vw, 0.875rem);
        /* 14px */
        --fs-md20: clamp(1rem, 1rem + 0vw, 1rem);
        /* 16px */
        --fs-md: clamp(1rem, 1rem + 0vw, 1rem);
        /* 16px */
        --fs-subtitle: clamp(1.125rem, 0.9rem + 0.25vw, 1.25rem);
        /* ~20px */
        --fs-lg: clamp(1.25rem, 1rem + 0.35vw, 1.5rem);
        /* 24px */
        --fs-h4: clamp(1.375rem, 1rem + 0.55vw, 1.75rem);
        /* 28px */
        --fs-h3: clamp(1.5rem, 1rem + 0.65vw, 1.75rem);
        /* ~28px */
        --fs-h2: clamp(2rem, 1rem + 1.25vw, 2.25rem);
        /* 36px */
        --fs-h1: clamp(3.5rem, 3rem + 1.25vw, 3.5rem);
        /* 56px */
    }

    .swap-text-button {
        padding: 14px 32px;
    }

    .swap-text-button.second-icon svg {
        max-height: 10px;
    }


}

@media (max-width: 1440px) {
    .swap-text-button {
        padding: 20px 30px;
    }
}


@media (max-width: 1366px) {
    .swap-text-button {
        gap: 6px;
    }

    .swap-text-button {
        padding: 12px 20px;
    }

}


/* XS: Mobile Phones (< 640px) */
@media (max-width: 639px) {
    .layout-container {
        max-width: 100%;
        padding: 0 15px;
    }

    .section {
        padding: 3.125rem 0;
    }

    br {
        display: none;
    }
}


@media (min-width: 640px) and (max-width: 767px) {
    .layout-container {
        max-width: clamp(72rem, 85vw, var(--container-max-width));
        padding: 0 15px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .layout-container {
        max-width: clamp(72rem, 90vw, var(--container-max-width));
        padding: 0 15px;
    }

}

@media (min-width: 1024px) and (max-width: 1279px) {
    .layout-container {
        max-width: var(--container-max-width);
    }
}



@media (max-width: 767px) {


    /* Mobile Typography (below 768px) */
    :root {
        --fs-xs: 0.625rem;
        /* 10px fixed */

        --fs-sm: clamp(0.75rem, calc(0.75rem + 0.492vw), 0.875rem);
        /* 12px-14px */

        --fs-para: clamp(0.8125rem, calc(0.8125rem + 0.492vw), 0.9375rem);
        /* 13px-15px */

        --fs-base: clamp(0.875rem, calc(0.875rem + (16 - 14) * ((100vw - 375px) / (1440 - 375))), 1rem);
        /* 14px-16px */

        --fs-md: clamp(1rem, calc(1rem + 0.984vw), 1.25rem);
        /* 16px-20px */

        --fs-subtitle: clamp(1rem, calc(1rem + 0.208vw), 1.25rem);
        /* 18px-22px */

        --fs-lg: clamp(1.25rem, calc(1.25rem + 0.492vw), 1.5rem);
        /* 20px-24px */

        --fs-h4: clamp(1.5rem, calc(1.5rem + (28 - 24) * ((100vw - 375px) / (1440 - 375))), 1.75rem);
        /* 24px-28px */

        --fs-h3: clamp(1.75rem, calc(1.75rem + (32 - 28) * ((100vw - 375px) / (1440 - 375))), 2rem);
        /* 28px-32px */

        --fs-h2: clamp(1.875rem, calc(1.875rem + (34 - 30) * ((100vw - 375px) / (1440 - 375))), 2.125rem);
        /* 30px-34px */

        --fs-h1: clamp(1.5rem, calc(1.5rem + (28 - 24) * ((100vw - 375px) / (1440 - 375))), 1.75rem);
        /* 24px-28px */


    }

    .flex-dir-col {
        flex-direction: column;
    }

    .button__icon-wrapper {
        width: 16px;
        height: 16px;
    }

    .swap-text-button {
        padding: 16px 24px;
        font-size: 12px;
    }

    br {
        display: none;
    }

    .layout-container {
        padding: 0 15px;
    }

}
