@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poly:ital@0;1&display=swap');

:root{

    --primary-text-color: #000;
    --bg-color: #ffffff;

    --btn-color: #fdfdfd;/* button color*/
    --btn-bg: #000;/* button bg color*/

    
    --header-link-hover: #000000;
    --header-link-hover-bg: #bababa36;

    --input-hover-bd-color: #232323;
    
    --dropdown-bg: #f3f4f6;
    --dropdown-hover-bg: #dddddd84;

    --faq-h-text: #0e0e0e;
    --faq-content-text: #1e1e1e;

    --hr-color: #e5e7eb;

    --footer-link: #282828;
    --footer-link-hover: #000;

    --header-bg: #edececa5;
    /* color: #312f2f; */
    --hero-gradient: #fcfcfc;
    --hero-bg-img: url("../assets/images/background/dots-dark.svg");

}
  /* Agency additions: built on the template's existing card colours, radii and spacing */

        .ag-sec {
            position: relative;
            width: 100%;
            max-width: 100vw;
            padding: 90px 5%;
            display: flex;
            flex-direction: column;
            align-items: center;
            overflow: hidden
        }

        .ag-in {
            width: 100%;
            max-width: 1150px
        }

        .ag-head {
            text-align: center;
            max-width: 760px;
            margin: 0 auto 48px
        }

        .ag-head p,
        .ag-muted {
            color: #374151;
            line-height: 1.6
        }

        html.tw-dark .ag-head p,
        html.tw-dark .ag-muted {
            color: #d1d5db
        }

        .ag-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px
        }

        .ag-grid.two {
            grid-template-columns: repeat(2, 1fr)
        }

        .ag-card {
            background: #f6f7fb;
            border-radius: 1.5rem;
            padding: 2rem;
            transition: transform .3s;
            display: flex;
            flex-direction: column;
            gap: 12px
        }

        html.tw-dark .ag-card {
            background: #171717
        }

        .ag-card:hover {
            transform: scale(1.02)
        }

        .ag-card h3 {
            font-size: 1.5rem;
            font-weight: 500
        }

        .ag-card .bi {
            font-size: 2rem
        }

        .ag-card ul {
            list-style: none;
            padding: 0;
            margin: 4px 0 0;
            display: flex;
            flex-direction: column;
            gap: 6px;
            font-size: .95rem
        }

        .ag-card li:before {
            content: "→ ";
            opacity: .6
        }

        .ag-flat {
            border: 1px solid #e5e7eb;
            border-radius: .75rem;
            padding: 1.5rem
        }

        html.tw-dark .ag-flat {
            border-color: #1f2123;
            background: #141414
        }

        .ag-num {
            font-family: serif;
            font-size: 2.5rem;
            opacity: .5
        }

        .ag-flow {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px;
            align-items: center
        }

        .ag-chip {
            border: 1px solid currentColor;
            border-radius: 999px;
            padding: 6px 16px;
            font-size: .95rem;
            opacity: .85
        }

        .ag-arrow {
            opacity: .5
        }

        .ag-big {
            background: #f6f7fb;
            border-radius: 1.5rem;
            padding: 56px 32px;
            text-align: center
        }

        html.tw-dark .ag-big {
            background: #171717
        }

        .ag-form {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            text-align: left
        }

        .ag-form .full {
            grid-column: 1/-1
        }

        .ag-form label {
            display: flex;
            flex-direction: column;
            gap: 6px;
            font-size: .9rem
        }

        .ag-form input,
        .ag-form select,
        .ag-form textarea {
            padding: 12px;
            border-radius: .5rem;
            border: 1px solid #9ca3af;
            background: #fff;
            color: #000;
            font: inherit
        }

        html.tw-dark .ag-form input,
        html.tw-dark .ag-form select,
        html.tw-dark .ag-form textarea {
            background: #0b0b0b;
            color: #fff;
            border-color: #36393c
        }

        .ag-form [aria-invalid="true"] {
            border-color: #ef4444
        }

        .ag-err {
            color: #ef4444;
            font-size: .8rem;
            min-height: 1em
        }

        .ag-wf {
            display: flex;
            flex-direction: column;
            gap: 14px;
            padding: 28px;
            width: 100%;
            height: 100%;
            justify-content: center
        }

        .ag-wf-row {
            display: flex;
            gap: 14px;
            align-items: center;
            padding: 12px 16px;
            border-radius: .75rem;
            background: #f3f4f6
        }

        html.tw-dark .ag-wf-row {
            background: #171717
        }

        .ag-wf-row small {
            opacity: .7;
            margin-left: auto
        }

        .ag-stub {
            display: none !important
        }

        @media(max-width:1024px) {
            .ag-grid {
                grid-template-columns: repeat(2, 1fr)
            }
        }

        @media(max-width:640px) {

            .ag-grid,
            .ag-grid.two,
            .ag-form {
                grid-template-columns: 1fr
            }

            .ag-sec {
                padding: 64px 5%
            }

            .ag-wf {
                padding: 14px
            }
        }

        /* ===== Logo (outside navbar) ===== */
        .site-logo {
            position: fixed;
            top: 22px;
            left: 18px;
            z-index: 60;
            display: block;
            width: 60px;
            height: 48px;
            transition: transform .4s ease, opacity .4s ease
        }

        .site-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block
        }

        html.tw-dark .site-logo img {
            filter: invert(1)
        }

        .site-logo.nb-hide {
            transform: translateY(-120px);
            opacity: 0
        }

        /* ===== Navbar ===== */
        .nb {
          position: fixed;
            top: 26px;
            left: 52%;
            transform: translateX(-50%);
            z-index: 40;
            display: flex;
            align-items :center;
            width: min(1024px, calc(80vw - 80px));
            height: 40px;
            padding:  40px;
            border-radius: .375rem;
            background: #fff;
            color: #374151;
            box-shadow: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
            transition: transform .4s ease
        }

        html.tw-dark .nb {
            background: #17181b;
            color: #e5e7eb;
            box-shadow: 0 4px 6px -1px rgba(55, 65, 81, .6)
        }

        .nb.nb-hide {
            transform: translate(-50%, -160%)
        }

        .nb a {
            color: inherit;
            text-decoration: none
        }

        .nb a.btn {
            color: var(--btn-color);
            gap: 10px;
            white-space: nowrap
        }

        .nb-links {
            display: flex;
            align-items: center;
            flex: 1;
            min-width: 0
        }

        .nb-main {
            display: flex;
            align-items: center;
            gap: 50px;
            margin: 0 auto
        }

        .nb-actions {
            display: flex;
            align-items: center;
            gap: 18px
        }

        .nb-theme {
            background: none;
            border: 0;
            color: inherit;
            font-size: 1.1rem;
            cursor: pointer;
            padding: 8px
        }

        .nb-dd-toggle .bi {
            font-size: .75rem;
            margin-left: 6px;
            transition: transform .3s
        }

        .nb.dd-open .nb-dd-toggle .bi {
            transform: rotate(180deg)
        }

        .nb-menu {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            padding-top: 16px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-6px);
            transition: opacity .25s, transform .25s, visibility .25s
        }

        .nb.dd-open .nb-menu {
            opacity: 1;
            visibility: visible;
            transform: none
        }

        .nb-menu-in {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            padding: 16px;
            border-radius: .5rem;
            background: #fff;
            box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a
        }

        html.tw-dark .nb-menu-in {
            background: #17181b;
            box-shadow: 0 10px 15px -3px rgba(55, 65, 81, .6)
        }

        .nb-item {
            display: flex;
            gap: 14px;
            padding: 14px;
            border-radius: .5rem;
            transition: background-color .3s
        }

        .nb-item:hover {
            background: var(--header-link-hover-bg)
        }

        .nb-item i {
            font-size: 1.75rem;
            line-height: 1.2
        }

        .nb-item b {
            display: block;
            font-weight: 500;
            font-size: 1.05rem;
            color: #000;
            margin-bottom: 4px
        }

        html.tw-dark .nb-item b {
            color: #fff
        }

        .nb-item span {
            font-size: .9rem;
            opacity: .75
        }

        @media(min-width:821px) and (max-width:1099px) {
            .nb {
                width: calc(100vw - 160px);
                padding: 0 10px
            }

            .nb .header-links {
                padding: 8px 8px;
                font-size: 16px
            }

            .nb a.btn {
                padding: 8px 10px;
                font-size: 14px;
                gap: 20px
            }

            .nb-actions {
                gap: 6px
            }
        }

        /* small screens: every item stays visible on the bar (swipe sideways if it does not all fit) */
        @media(max-width:820px) {
            .nb {
                top: 0;
                left: 0;
                transform: none;
                width: 100%;
                border-radius: 0;
                padding: 0 8px 0 68px
            }

            .nb.nb-hide {
                transform: translateY(-110%)
            }

            .nb-menu {
                display: none
            }

            .nb-links {
                overflow-x: auto;
                scrollbar-width: none;
                gap: 8px
            }

            .nb-links::-webkit-scrollbar {
                display: none
            }

            .nb-main {
                margin: 0;
                gap: 0
            }

            .nb-main a,
            .nb-actions>* {
                flex-shrink: 0;
                white-space: nowrap
            }

            .nb .header-links {
                padding: 8px 11px;
                font-size: 15px
            }

            .nb a.btn {
                padding: 8px 12px;
                font-size: 14px
            }

            .site-logo {
                top: 8px;
                left: 12px;
                width: 44px;
                height: 44px
            }
        }

        .hp-field {
            position: absolute !important;
            left: -9999px !important;
            opacity: 0 !important;
            height: 0;
            width: 0
        }


.tw-dark {
    --primary-text-color: #fff;
    --bg-color: #000000;

    --btn-color: #000000;/* button color*/
    --btn-bg: #ffffff;/* button bg color*/

    --header-link-hover: #ffffff;
    --header-link-hover-bg: #8a8a8a5e;

    --input-hover-bd-color: #f8f8f8;

    --dropdown-bg: #171717;
    --dropdown-hover-bg: #2d2d2ddb;

    --faq-h-text: #efefef;
    --faq-content-text: #d4d4d4;

    --hr-color: #e1e1e195;

    --footer-link: #cfcfcf;
    --footer-link-hover: #ffffff;

    --header-bg: #232323a5;

    --hero-gradient: #000;
    --hero-bg-img: url("../assets/images/background/dots.svg");

  }


html {
    scroll-behavior: smooth;
    /* font-family: "Ubuntu", sans-serif; */
}

body.modal-open {
    overflow: hidden;
}

header > .collapsible-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
    background-color: inherit;
    overflow: hidden;
    transition: width 0.3s ease, height 0.3s ease;
}
/* ================================
   ARDAON BRAND
   ================================ */

.ardaon-brand {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    gap: 10px;

    height: 40px;
    z-index: 10;
}

.ardaon-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    flex-shrink: 0;
}

.ardaon-logo {
    display: block !important;

    width: 32px !important;
    height: 32px !important;

    min-width: 32px !important;
    min-height: 32px !important;

    max-width: 32px !important;
    max-height: 32px !important;

    object-fit: contain !important;
}

.ardaon-name {
    display: block;

    color: var(--primary-text-color);
    text-decoration: none;

    white-space: nowrap;

    font-size: 17px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.ardaon-name:hover {
    color: var(--primary-text-color);
}
hr{
    border-color:var(--hr-color); 
    border-style: solid;
}

.animated-collapse{
    transition: width 0.3s ease;
}


.header-links {
    position: relative;
    display: flex;
    align-items: center;
    min-width: fit-content;
    padding: 8px 15px;
    z-index: 2; 
    cursor: pointer;
    transition: background-color 0.5s, color 0.3s;
}

.header-links::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; 
    width: 100%;
    height: 100%;
    /* color: var(--header-link-hover); */
    background-color: var(--header-link-hover-bg);
    transform: scale(40%);
    opacity: 0;
    border-radius: 8px;
    transition: all 300ms;
}

.header-links:hover{
    color: var(--header-link-hover);
}

.header-links:hover::after {
    transform: scale(100%);
    opacity: 1;
}

.hero-section{
    background-image: var(--hero-bg-img);
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover;
}

.hero-bg-gradient{
    /* background: linear-gradient(180deg, var(--hero-gradient) 13%, rgba(0,0,0,0.258140756302521) 87%); */
    background: linear-gradient(180deg, var(--hero-gradient) 23%, rgba(0,0,0,0) 87%, var(--hero-gradient) 97%);
}


.gradient-text{
    background: rgb(215,215,215);
    background: linear-gradient(90deg, rgba(215,215,215,1) 18%, rgba(136,136,136,1) 71%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.purple-bg-grad{
    background: rgb(126,34,206);
    background: linear-gradient(90deg, #7e22ce91 8%, #625aafae 31%, #7badbbbc 76%, #54d2d0ca 89%);
    filter: blur(50px);
    opacity: 0.5;
}

#dashboard {
    /* transform-origin: bottom center; */
    transform: perspective(1200px) translateX(0px) translateY(12px) scale(0.8)
        rotate(0deg) rotateX(70deg);
    transition: transform 0.5;
}

.opacity-0{
    opacity: 0 !important;
}

.opacity-100{
    opacity: 100 !important;
}

.btn{
    padding: 10px 15px;
    width: max-content;
    border-radius: 10px;
    color: var(--btn-color);
    background-color: var(--btn-bg);
    justify-content: center;
    align-items: center;
    display: flex;
    cursor: pointer;
}

.btn:hover{

}

.btn:disabled{
    cursor: default;
}

.input{
    padding: 10px;
    background-color: transparent;
    border-radius: 5px;
    outline: none;
    min-width: 100px;
    border: 1px solid #979797;
    transition: border 0.3s;
}

.input:active, .input:focus, .input:focus-within{
    border: 1px solid var(--input-hover-bd-color) !important;
}

/* ------------------- scrollbar ------------- */
.scrollbar::-webkit-scrollbar {
    width: 5px;
    height: 20px;
}

.scrollbar::-webkit-scrollbar-track {
    border-radius: 25px;
/* background: #f7f4ed; */
}

.scrollbar::-webkit-scrollbar-thumb {
    background: #d7d7d7;
    border-radius: 25px;
}


/* ---------------- dropdown --------------------- */
.dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.dropdown-toggle {
    width: 100%;
    outline: none;
    /* background-color: #000; */
    /* border: 1px solid #ccc; */
}

.dropdown-menu {
    display: none;
    position: absolute;
    z-index: 1;
    background-color: var(--dropdown-bg);
    /* border: 1px solid #c9c9c9; */
    list-style-type: none;
    padding: 0;
    width: 100%;
    left: 0px;
    /* top: 105%; */
    border-radius: 10px;
    overflow: hidden;
}

.dropdown-menu li {
    padding: 8px 12px;
    cursor: pointer;
}

.dropdown-menu li:hover {
    background-color: var(--dropdown-hover-bg);
}

/* -------------- carousel ------------------*/
.carousel-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    max-width: 800px;
}
  
.carousel {
    display: inline-block;
    animation: scroll 10s linear infinite;
}
  
.carousel-img {
    display: inline-block;
    margin: 0 20px;
}
  
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* ------ animated border ------- */

.animated-border {
    position: relative;
    overflow: visible;
}


.animated-border::after{
    content: '';
    position: absolute;
    top: 0px; 
    left: -100%; 
    width: 30%;
    height: 100%;
    border-radius: inherit; 
    /* background: linear-gradient(#6366f1 23%, rgba(124,190,255,0) 87%); */
    background-color: #6366f1;
    background-repeat: no-repeat;
    /* background-size: 200% 200%; */
    background-position: 0% 0%;
    filter: blur(1.5rem);
    opacity: 0.8;
    box-shadow: inset 0px 0px 20px 5px #6366f1;
    /* transform: rotate(90deg); */
    z-index: -2;
    pointer-events: none;
    animation: slide 10s ease-in-out infinite;
   
}

.animated-border::before{
    filter: blur(1.5rem);
    opacity: 0.3;
    will-change: transform;
}

@keyframes slide{
    0% {
        left: -100%; /* Start completely outside the left edge */
        right: 100%; /* End completely outside the right edge */
    }
   
    100% {
        left: 100%; /* Move completely outside the right edge */
        right: -100%; /* End completely outside the left edge */
    }
}

.footer-link{
    width: -moz-fit-content;
    width: fit-content;
    color: var(--footer-link);
    transition: color 0.3s;
}

.footer-link:hover{
    color: var(--footer-link-hover);
}


/* Style for the collapsible content such as faq commonly known as: accordion */

.faq-accordion {
    background-color: inherit;
    color: var(--faq-h-text);
    cursor: pointer;
    padding: 15px 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    transition: height 0.4s;
}

.faq .content {
    padding: 0px 18px;
    color: var(--faq-content-text);
    height: max-content;
    overflow: hidden;
    background-color: transparent;
    text-align: justify;
    max-height: 0px;
    transition: max-height 0.4s, padding 0.4s;
}


@media not all and (min-width: 1024px) {
    header .collapsible-header {
        position: fixed;
        top: 60px;
        left: 0px;
        flex-direction: column;
        opacity: 0;
        height: 0vh;
        min-height: 0vh;
        /* height: 100dvh; */
        width: 100vw;
        justify-content: space-between;
        padding: 5px;
        padding-top: 5%;
        padding-bottom: 5%;
        place-items: center;
        text-align: center;
        background-color: var(--header-bg);
        /* color: #373636; */
        overflow-y: auto;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        box-shadow: 0px 2px 3px 2px #9f9f9f7c;
    }

    /* .header-links{
        color: var(--he);
    } */
    
}