@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');

/* Prevent initial flash of open mobile nav until JS marks the page ready */
html:not(.nav-ready) #mobile-nav {
    opacity: 0 !important;
    transform: translateY(-12px) scale(.98) !important;
    pointer-events: none !important;
}


:root{

    --bg-color: #000;

    --btn-color: #fdfdfd;/* button color*/
    --btn-bg: #9d00ff;/* button bg color*/

    --primary-text-color: #0A8DD3;
    --header-link-hover: #0A8DD3;
    --input-hover-bd-color: #0A8DD3;
}


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

header{
    /* background-color: #fff;
    color: #000; */
    color: #b1b1b1;
}


header > .collapsible-header{
    display: flex;
    gap: 1rem;
    width: 100%;
    background-color: inherit;
    place-content: center;
    overflow: hidden;
    transition: width 0.3s ease;
}

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


.header-links {
    display: flex;
    align-items: center;
    min-width: fit-content;
    border-radius: 5px;
    padding: 5px 10px;
    transition: background-color 0.5s, color 0.5s;
}


.header-links:hover {
    color: #ffffff;
    /* background-color: var(--header-link-hover); */
}

.primary-text-color{
    color: var(--primary-text-color);
}

.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;
}

.signup-img-section{
    background-image: url("../assets/images/home/darkbg.png");
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover;
}

.hero-img-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;
}

.border-gradient{
    background: rgb(219,215,213);
    background: linear-gradient(180deg, rgba(219,215,213,1) 35%, rgba(214,211,233,0) 71%);
    /* background-image: linear-gradient(90deg, #7e22ce91 8%, #625aafae 31%, #7badbbbc 76%, #54d2d0ca 89%); */
    padding: 2px;
    border-radius: 10px;
}
.border-gradient>div{
    /* background-color: var(--bg-color); */
    background-color: var(--bg-color);
    border-radius: inherit;
}

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

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

.btn{
    padding: 10px 15px;
    width: max-content;
    border-radius: 5px;
    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 #818080;
    /* transition: border 0.3s; */
}

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

.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%);
    }
}

.footer-link{
    color: #c7c6c6;
    transition: color 0.3s;
}

.footer-link:hover{
    color: #fff;
}


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

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

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

.faq.open .content {
    max-height: 400px;          /* reasonable default max height */
    overflow-y: auto;           /* vertical scroll only */
    overflow-x: hidden;         /* prevent horizontal scroll */
    padding: 12px 18px 16px;    /* add vertical padding when open */
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
}

/* Larger screens can show more content */
@media (min-height: 700px) {
    .faq.open .content {
        max-height: 500px;
    }
}

@media (min-height: 900px) {
    .faq.open .content {
        max-height: 600px;
    }
}

.faq-accordion .active,
.faq-accordion:hover {
    /* background-color: #2e2c2c; */
}

@media not all and (min-width: 1024px) {
    header .collapsible-header {
        position: fixed;
        right: 0px;
        flex-direction: column;
        opacity: 0;
        height: 100vh;
        min-height: 100vh;
        height: 100dvh;
        width: 0vw;
        justify-content: space-between;
        padding: 5px;
        padding-top: 5%;
        padding-bottom: 5%;
        place-items: end;
        background-color: #040404;
        color: #ffffff;
        overflow-y: auto;
        box-shadow: 3px 0px 3px 2px #9f9f9f;
    }

    .header-links{
        color: rgb(255, 255, 255);
    }

}

:root{
    --extra-top-gap: 56px;         /* base phones/tablets */
}
@media (min-width:768px){
    :root{ --extra-top-gap: 72px; } /* tablets / small laptops */
}
@media (min-width:1024px){
    :root{ --extra-top-gap: 88px; } /* desktops, matches the home “feel” better */
}

/* Use this where you want “like the home hero” spacing */
.pad-like-hero {
    padding-top: calc(var(--header-h, 100px) + var(--extra-top-gap));
}

/* Apply to both desktop <nav> and the mobile #mobile-nav */
nav a.menu-item,
#mobile-nav a.menu-item {
    font-weight: 400;
    color: rgba(255,255,255,0.8);
    transition: color 0.2s ease;
}

/* Hover */
nav a.menu-item:hover,
#mobile-nav a.menu-item:hover {
    color: #ffffff;
}

/* Active state — beat Tailwind’s tw-text-white/80 */
nav a.menu-item[data-active="true"],
#mobile-nav a.menu-item[data-active="true"] {
    font-weight: 600;
    color: #ffffff !important;
}

/* Mobile nav closed = rendered but non-interactive */
#mobile-nav {
    transform: translateY(-12px) scale(.98);
    opacity: 0;
    pointer-events: none;
    transition: transform .45s cubic-bezier(.22,.61,.36,1), opacity .35s ease;
    will-change: transform, opacity;
}
/* Open state */
#mobile-nav.is-open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

/* Optional: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    #mobile-nav { transition: none; }
}

.brand-color {
    color: #9d00ff;
}

/* full-bleed element whose inner padding aligns to the container edges */
.site-rail{
    /* take the bigger of the fixed gutter or the leftover space to align with 1200px centerline */
    padding-inline: max(var(--content-gutter), calc((100% - var(--content-max)) / 2));
}

/* header strip only */
/*#site-header > div {*/
/*    padding-inline: clamp(16px, 5vw, 80px); !* symmetric insets *!*/
/*}*/

/*!* optional: on ultra-wide screens tighten the link gaps a bit *!*/
/*@media (min-width:1400px){*/
/*    nav { gap: 2.5rem; }*/
/*}*/

/* Contact form: keep current look, just refine focus */
#form-wrapper input,
#form-wrapper textarea,
#form-wrapper button {
    outline: none !important;
    -webkit-tap-highlight-color: transparent; /* iOS tap ripple off */
    transition: border-color .2s ease, box-shadow .2s ease; /* smooth change */
}

/* Inputs/textarea: subtle lift on focus (no color/shape change) */
#form-wrapper input:focus,
#form-wrapper input:focus-visible,
#form-wrapper textarea:focus,
#form-wrapper textarea:focus-visible {
    border-color: rgba(255, 255, 255, .30); /* brighten border */
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); /* faint white halo */
}

/* Maintain dark theme on Chrome autofill */
#form-wrapper input:-webkit-autofill,
#form-wrapper textarea:-webkit-autofill {
    -webkit-text-fill-color: #eaeaea;
    -webkit-box-shadow: 0 0 0 1000px #000 inset !important; /* keep black bg */
    transition: background-color 5000s ease-in-out 0s;
}

/* Button: remove blue ring, add a gentle focus hint */
#form-wrapper #submit-button:focus,
#form-wrapper #submit-button:focus-visible {
    box-shadow: 0 0 0 2px rgba(255,255,255,.18);
}
