/* ======================================================== */
/* Css Setting */
/* ======================================================== */
b {
    color: hsla(0, 0%, 0%, 0.246);
}

:root {
    --clr-primary: hsl(322, 81%, 35%);
    --clr-secondary: hsl(12, 89%, 54%);

    --clr-text-light: hsl(0, 0%, 100%);
    --clr-text-dark: hsl(0, 0%, 7%);
    --clr-text-primary: var(--clr-primary);
    --clr-text-secondary: var(--clr-secondary);
    --clr-tag-text-light: hsl(0, 0%, 100%, 0.2);
    --clr-tag-text-dark: hsl(220, 46%, 95%);

    --body-bg: hsl(0, 0%, 94%);
    --section-light-bg: hsl(0, 0%, 95%);
    --section-dark-bg: var(--clr-secondary);
    ;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    /* For WebKit browsers (Chrome, Safari) */
    -moz-osx-font-smoothing: grayscale;
    /* For Firefox on macOS */
    text-rendering: optimizeLegibility;
    /* Makes text easier to read */
}

html {
    scroll-padding-top: 50px;
}

body {
    background-color: var(--body-bg);
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;

    /* Add accessible line-height */
    line-height: 1.5;
    /* Improve text rendering */
    -webkit-font-smoothing: antialiased;
    color: hsl(0, 0%, 7%);
    overflow-x: hidden;
}

::selection {
    background-color: var(--clr-primary);
    color: var(--clr-text-light);
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--clr-primary);
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

/* Improve media defaults */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* Inherit fonts for form controls */
input,
button,
textarea,
select {
    font: inherit;
}

/* Avoid text overflows */
/* Improve line wrapping */
p {
    text-wrap: pretty;
    overflow-wrap: break-word;
    max-width: 70ch;

}

.max-threeline-paragraph {
    max-height: 3.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
    overflow-wrap: break-word;
}

.title-font {
    font-family: "Montserrat", sans-serif;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.fs-small {
    font-size: 12px;
}

.radius-full {
    border-radius: 100vw;
}

.w-max {
    width: max-content;
}

/* loading screen */
#loading-screen {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 99999999999;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 100px;
    aspect-ratio: 1;
    padding: 10px;
    box-sizing: border-box;
    display: grid;
    background: #fff;
    filter: blur(5px) contrast(10) hue-rotate(310deg);
    /* mix-blend-mode: darken; */
}

.table-of-contents li {
    padding-left: 2rem;
}

.table-of-contents li::before {
    content: "";
    background-image: url(https://api.iconify.design/mdi:hand-pointing-right.svg?color=%23ff9934);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    width: 1rem;
    height: 1rem;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.loader:before,
.loader:after {
    content: "";
    grid-area: 1/1;
    width: 40px;
    height: 40px;
    background: var(--clr-primary);
    animation: loader-ani 2s infinite;
    border-radius: 5px;
}


.loader:after {
    animation-delay: -1s;
}

@keyframes loader-ani {
    0% {
        transform: translate(0, 0)
    }

    25% {
        transform: translate(100%, 0)
    }

    50% {
        transform: translate(100%, 100%)
    }

    75% {
        transform: translate(0, 100%)
    }

    100% {
        transform: translate(0, 0)
    }
}

/* ======================================================== */
/* Custom classes */
/* ======================================================== */

/* ================================ */
/* Image Background Section  */
/* ================================ */

.img-bg {
    background-image: linear-gradient(to right, hsla(0, 0%, 0%, 0.5), hsla(0, 0%, 0%, 0.5)), var(--bg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* ================================ */
/* Custom Color Classes */
/* ================================ */



.clr-text-primary {
    color: var(--clr-text-primary);
}

.clr-text-secondary {
    color: var(--clr-text-secondary);
}

.clr-text-light {
    color: var(--clr-text-light);
}

.clr-text-dark {
    color: var(--clr-text-dark);
}

.clr-tag {
    color: var(--clr-text-dark);
}

.clr-tag::before {
    display: inline-block;
    content: "";
    width: 3rem;
    height: 3px;
    background-color: var(--clr-text-dark);
}

.clr-tag-center {
    color: var(--clr-text-dark);
    text-transform: uppercase;
}

.clr-tag-center::before,
.clr-tag-center::after {
    display: inline-block;
    content: "";
    width: 2rem;
    height: 3px;
    background-color: currentColor;
}

.clr-tag-light,
.clr-tag-dark {
    width: fit-content;
    padding: 0.1em 0.5em;
    border-radius: 100vw;
    font-size: clamp(10px, 10vw, 14px);
    display: block;
    text-align: center;
    text-wrap: balance;
}

.clr-tag-light {
    color: var(--clr-text-light);
    border: 1px solid var(--clr-tag-text-light);
}

.clr-tag-dark {
    color: var(--clr-text-dark);
    border: 1px solid var(--clr-text-dark);
}

.clr-tag-primary {
    color: var(--clr-text-light);
    background-color: var(--clr-primary);
    border-radius: 100vw;
    padding: 0.5em 1em;
}

.section-light-bg {
    background-color: var(--section-light-bg);
}

.section-dark-bg {
    background-color: var(--section-dark-bg);
}

.section-primary-bg {
    background-color: var(--clr-primary);
}

.section-secondary-bg {
    background-color: var(--clr-secondary);
}

/* ================================ */
/* Custom Button */
/* ================================ */


.primary-btn,
.secondary-btn,
.primary-btn-dark {
    color: var(--clr-text-light);
    border: 0;
    outline: 0;
    padding: 0.5em 1em;
    border-radius: 100vw;
    width: max-content;
    transition: 0.3s;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.primary-btn,
.primary-btn-dark {
    background-color: var(--clr-primary);
}

.secondary-btn {
    background-color: var(--clr-secondary);
}

.primary-btn:where(:hover, :focus) {
    color: var(--clr-text-light);
    background-color: var(--clr-secondary);
}

.primary-btn-dark:where(:hover, :focus) {
    color: var(--clr-text-dark);
    background-color: var(--clr-text-light);
}

.secondary-btn:where(:hover, :focus) {
    color: var(--clr-text-light);
    background-color: var(--clr-primary);
}

.bottom-line-primary {
    position: relative;
}

.bottom-line-primary::after {
    content: "";
    position: absolute;
    left: 20px;
    top: calc(100% + 3px);
    background-color: var(--clr-primary);
    height: 3px;
    width: 30%;
    max-width: 50px;
    border-radius: 100vw;
}

:where(.primary-btn,
    .secondary-btn)>span {
    display: block;
}

:where(.primary-btn,
    .secondary-btn):where(:hover, :focus) span {
    animation: text-up 0.6s forwards;
}

@keyframes text-up {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2em);
    }

    51% {
        transform: translateY(2em);
    }

    100% {
        transform: translateY(0);
    }
}

form {
    /* outline: 1px solid var(--clr-secondary); */
}

form input.form-control {
    background-color: hsl(0, 0%, 99.5%);
}

form textarea.form-control {
    background-color: hsl(0, 0%, 99.5%);
    height: 100px !important;
}

form .form-control:focus {
    box-shadow: 0 0 0 .1rem hsl(223, 49%, 39%, 0.5);
}

footer .form-control:focus {
    box-shadow: 0 0 0 2px hsl(30, 100%, 60%, 1);
}

form .country-box {
    position: relative;
}

form .country-box select {
    cursor: pointer;
}

form .country-box span {
    width: 25px;
    height: 25px;
    background-color: var(--clr-primary);
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    pointer-events: none;
    -webkit-mask-image: url(https://api.iconify.design/ic:round-keyboard-arrow-down.svg);
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: url(https://api.iconify.design/ic:round-keyboard-arrow-down.svg);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.gradient-text {
    background: linear-gradient(to top, white, whitesmoke);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-floating input {
    border: none !important;
    border: 1px solid var(--clr-primary) !important;
    transition: 0.3s;
}

.form-floating input:focus {
    box-shadow: none !important;
    border: 1px solid var(--clr-primary) !important;
}

select {
    background-color: var(--clr-text-light);
    color: var(--clr-text-dark);
    accent-color: var(--clr-primary) !important;

}

select:focus {
    box-shadow: none !important;
    border: 1px solid var(--clr-primary) !important;
}

select {
    background-color: var(--clr-text-light);
    color: var(--clr-text-dark);
    accent-color: var(--clr-primary) !important;

}

select option:is(:hover, :focus) {
    background: var(--clr-primary) !important;
    color: var(--clr-text-dark) !important;
}

.text-justify {
    text-align: justify;
}

.line-clip {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.line-clip-1 {
    -webkit-line-clamp: 1;
}

.line-clip-2 {
    -webkit-line-clamp: 2;
}

.line-clip-3 {
    -webkit-line-clamp: 3;
}

.line-clip-4 {
    -webkit-line-clamp: 3;
}

.line-clip-5 {
    -webkit-line-clamp: 3;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.fs-vsmall {
    font-size: 10px;
}

aside {
    position: sticky;
    top: 0;
}

.form-popup {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    clip-path: circle(0% at 50% 50%);
    transition: 2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    isolation: isolate;
}

.form-popup form {
    min-width: 500px;
}

.form-popup.active {
    clip-path: circle(150% at 50% 50%);
}

.close-form {
    background-color: hsl(0, 0%, 0%, 0.75);
    position: absolute;
    inset: 0;
    z-index: -1;
}