@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&family=Asap:ital,wght@0,100..900;1,100..900&family=Jost:ital,wght@0,100..900;1,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Archivo", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

:root {
    /* ----- Primary font family ------ */
    font-family: "Jost";
    font-family: "Poppins";
    font-family: "Lato";
    font-family: "Asap";
    font-family: "Archivo";
    /* ------Primary Backgrounds------- */
    --primary-bg: #ffffff;
    --secondary-bg: #eef3ff;

    /* ------Text Colors------- */
    --head-text: #1a56db;
    --text-primary: #040310;
    --text-secondary: #0d0b22;
    --text-accent: #004ec4;
    --text-muted: #707377;

    /* ------Accent Colors------- */
    --accent-blue: #0064fb;
    --accent-blue-dark: #0046af;
    --accent-green: #04aa6d;
    --accent-green-dark: #007a4d;
    --accent-red: #ef134d;
    --accent-red-dark: #c30538;
    --accent-yellow: #ffc107;

    /* ------UI/Surfaces------- */
    --divider: #393939;
    --border: #bbbcbc;
    --ui-primary: #040310;
    --ui-secondary: #0d0b22;
    
    /* ------Utility------- */
    --white: #ffffff;
    --black: #000000;

    /* ------Shadows--------- */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.10);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 6px 12px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.15);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-soft:
        0 10px 20px rgba(0, 0, 0, 0.05),
        0 6px 6px rgba(0, 0, 0, 0.05);

    /* ------Borders------- */
    --border-thin: 1px solid #d0d3d8;       /* Light Gray - For cards, input borders */
    --border-medium: 2px solid #b0b3b8;
    --border-black: 1px solid #040310; /* Deep Navy - For strong emphasis */

    /* ------Border Colors------- */
    --border-muted: #252542;
    --border-accent: #0064fb;
    --border-danger: #ef134d;
    --border-success: #04aa6d;
    --border-warning: #ffc107;

    /* -----Border Radius------ */
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* -------Font Sizes----------- */
    --font-xxs: 0.625rem;
    /* 10px - Micro text, badges, captions */
    --font-xs: 0.75rem;
    /* 12px - Labels, hints, small buttons */
    --font-sm: 0.875rem;
    /* 14px - Paragraphs, UI text (default) */
    --font-base: 1rem;
    /* 16px - Body text, default desktop base */
    --font-md: 1.125rem;
    /* 18px - Larger body, subtitles */
    --font-lg: 1.25rem;
    /* 20px - Section headers */
    --font-xl: 1.5rem;
    /* 24px - Card titles, h4 */
    --font-2xl: 1.875rem;
    /* 30px - h3, large titles */
    --font-3xl: 2.25rem;
    /* 36px - h2, section headings */
    --font-4xl: 3rem;
    /* 48px - h1, hero section heading */
    --font-5xl: 4rem;
    /* 64px - Large hero titles, main headings */
}

body {
    color: var(--text-primary);
    background-color: var(--secondary-bg);
    font-size: var(--font-base);
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}
.asapfont {
    font-family: "Asap", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
    font-optical-sizing: auto;
    font-style: normal;
}
.padcontainer{
    padding: 0 20px;
}

main{
    padding: 0px 20px;
}

:-webkit-any(a) {
    text-decoration: none;
    cursor: pointer;
    display: block;
}

:-webkit-any(li) {
    list-style: none;
    list-style-position: inside;
}
:-webkit-any(ul) {
    margin: 0;
    padding: 0;
}

.ctabtns {
    width: 100%;
    font-weight: 500;
    font-size: var(--font-base);
    text-align: center;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    background-color: var(--accent-blue);
    border-radius: 10px;
    color: var(--white);
    padding: 15px 35px;
    box-shadow: 0px 3px 10px -2px #0004;
    transition: all 0.2s ease-in-out;

    &:hover {
        background-color: var(--accent-blue-dark);
        scale: 0.98;
    }
    
    &:active {
        background-color: var(--accent-blue-dark);
        transform: translateY(2px);
        box-shadow: 0px 2px 5px -1px #0004;
    }
}

.ctalinks a {
    height: 35px;
    width: 35px;
    background-color: var(--primary-bg);
    border-radius: var(--radius-full);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--font-base);
    box-shadow: 0px 3px 10px -4px #0004;
    transition: all 0.3s ease-in-out;
    &:hover{
        scale: 1.2;
    }
}

.ctalinks a:nth-child(1) {
    color: var(--accent-blue);
    
    &:hover {
        background-color: var(--accent-blue);
        color: var(--white);
    }
}
.ctalinks a:nth-child(2) {
    color: var(--accent-green);

    &:hover {
        background-color: var(--accent-green);
        color: var(--white);
    }
}

.ctalinks a:nth-child(3) {
    color: var(--accent-red);

    &:hover {
        background-color: var(--accent-red);
        color: var(--white);
    }
}

.ctalinks a:nth-child(4) {
    color: var(--border-muted);

    &:hover {
        background-color: var(--border-muted);
        color: var(--white);
    }
}

.nonbtncta{
    color: var(--accent-blue);
    margin-right: 30px;
    font-weight: 500;
    font-size: var(--font-base);
    padding: 5px 10px;
    border-radius: var(--radius-md);
    &:hover{
        color: var(--accent-blue-dark);
        text-decoration: underline;
        background-color: var(--secondary-bg);
    }
}

input, textarea {
    border: none !important;
    outline: none !important;
    color: var(--text-primary) !important;
    background-color: var(--secondary-bg) !important;
    padding: 0.75rem 1rem;
    border: var(--border-thin) !important;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    font-size: var(--font-base);
    transition: box-shadow 0.3s ease-in-out;
    resize: vertical;
    max-height: 300px !important;

    &:focus {
    border: var(--border-black) !important;
    box-shadow: 0px 3px 5px rgba(0, 47, 255, 0.366);
    }

    &::placeholder {
        color: var(--text-muted);
    }
}

.flexbox {
    display: flex;
    align-items: center;
    justify-content: center;
}

section{
    width: 100%;
    margin: 60px auto;
}
.section-heading{
    padding: 20px 0;
    flex-direction: column;
}
.heading {
    font-family: "Asap", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
    font-size: var(--font-3xl);
    color: var(--text-secondary);
    position: relative;
    text-align: center;
}
.heading::before {
    content: '';
    position: absolute;
    width: 70%;
    bottom: -7px;
    height: 2px;
    background-color: var(--accent-yellow);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease-in-out;
}
.section-tagline{
    width: 100%;
    margin-top: 10px;
    font-size: var(--font-sm);
    color: var(--text-muted);
    text-align: center;
}
.container{
    gap: 30px 20px;
    align-items: flex-start;
    justify-content: space-evenly;
}

/* SPINNER IS HERE */
.spinner-container{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    backdrop-filter: blur(3px);
    overflow: hidden;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for Internet Explorer and Edge */
}
.spinnerbox{
    width: 70px;
    height: 70px;
    background-color: var(--primary-bg);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    animation: spinner 3s infinite;
}
.spinnerbox i {
    font-size: var(--font-3xl);
    color: var(--accent-blue);
}
@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(720deg);
    }
}

/* POPUPS ARE HERE */
.popupcontainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 70px 0;
    background-color: rgba(0, 0, 0, 0.04);
    z-index: 1100;
    backdrop-filter: blur(2px);
    align-items: flex-start;
    overflow: scroll;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for Internet Explorer and Edge */
}
.popupwrapper{
    width: 90%;
    max-width: 600px;
    background-color: var(--primary-bg);
    border-radius: 10px;
    border: solid 1px var(--border);
    box-shadow: 0px 10px 40px 3px #0004;
    position: relative;
}
.popupwrapper .closebtn {
    font-weight: 1000;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: var(--font-md);
    padding: 10px;
    cursor: pointer;
    background-color: transparent;
    border: var(--border-black);
    border-color: var(--white);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    &:hover {
        border: var(--border-black);
        border-style: dashed;
        scale: 1.05;
    }
}
.closebtnc{
    width: fit-content !important;
    margin: 20px auto;
}
.popupwrapper h2 {
    font-size: var(--font-xl);
    color: var(--ui-secondary);
    width: 100%;
    padding: 20px 25px;
    border-start-start-radius: 10px;
    border-bottom: var(--border-thin);
}
.popupheaderc{
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.popupcontent{
    padding: 10px 25px;
    padding-bottom: 30px;
    flex-direction: column;
}
#popupStatusText, #PopupText {
    font-size: var(--font-md);
    color: var(--text-muted);
    margin-bottom: 20px;
}
.popupdoodle{
    width: 70%;
    display: block;
    margin: 20px auto;
}
.popupdoodlec{
    width: 70%;
    max-width: 200px;
    margin: 10px auto;
}
.popupactionbtns{
    display: block;
    width: fit-content;
    margin: 0 auto;
}
/* POPUPS END */
/* ------Responsive theme------ */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
}
@media (max-width: 426px) {
    html {
        font-size: 14px;
    }
}