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

:root{

    --bg-color: #fff;

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

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

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


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

header{
    /* background-color: #fff;
    color: #000; */
    color: #4b4b4b;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    /* semi-opaque background so header remains readable over content */
    background-color: rgba(255,255,255,0.95);
    /* optional subtle blur for nicer separation */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}


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: #620012;
    /* background-color: var(--header-link-hover); */
}

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


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

.edge-gradient{
    background: rgb(28, 28, 28);
    background: linear-gradient(83deg, #ffffff 0%, #ffffff00 20%, #ffffff00 80%, rgb(255, 255, 255) 100%);
}

.scroller{
    /* width: max-content;
    flex-wrap: nowrap; */
    animation: scroll 40s forwards linear infinite;
  }
  
  .scroller[data-direction="right"] {
      animation-direction: reverse;
  }
  
  .scroller[data-direction="left"] {
      animation-direction: forwards;
  }
  
  .scroller[data-direction="left"] {
      animation-direction: forwards;
  }
  
  .scroller[data-speed="fast"]{
      animation-duration: 30s;
  }
  
  .scroller[data-speed="slow"]{
      animation-duration: 80s;
  }

.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: #434242;
    transition: color 0.3s;
}

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

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 10;
}

/* Position the "next button" to the right */
.next {
    right: 0px;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}



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

.faq{
    background-color: #fff;
    color: #000000;
    border: 1px solid #000;
}

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

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

.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: #620012;
        color: #ffffff;
        overflow-y: auto;
        box-shadow: 3px 0px 3px 2px #9f9f9f;
    }

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

/* Mockup pair: phone (left) and desktop (right) same height, no distortion */
.mockup-pair {
    display: flex;
    gap: 12px;
    align-items: center; /* vertical center */
    justify-content: center;
    /* limit max-height so images fit inside the phone frame area */
    max-height: 420px;
    width: 100%;
    box-sizing: border-box;
}

.mockup-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* enforce same height while preserving aspect ratio */
.mockup-img {
    height: 360px; /* primary uniform height */
    width: auto;
    object-fit: contain;
    display: block;
    max-width: 100%;
}

/* make images slightly smaller on tablets */
@media (max-width: 1024px) {
    .mockup-img {
        height: 300px;
    }
}

/* stack vertically on small screens so layout remains usable */
@media (max-width: 640px) {
    .mockup-pair {
        flex-direction: column;
        gap: 10px;
    }
    .mockup-img {
        height: 220px;
    }
}

.hero-left {
    flex: 1;
}
/* Slightly move the hero right column down on desktop so it sits lower than the left column */
.hero-right {
    flex: 1.3;
    transform: translateY(20px);
    transition: transform 0.2s ease;
}

/* Remove the offset on small screens so stacked layout looks normal */
@media (max-width: 768px) {
    .hero-right {
        transform: none;
    }
}

@media (max-width: 768px) {
    /* apply the small-screen positioning only to the recap dialog, not all dialogs */
    #demoDialog {
        margin: 10px;
        top: 30%;
    }

    #recapDialog {
        margin: 10px;
        top: 5%;
    }
}

/* Add this rule to the bottom of your existing index.css */

.open-bar-btn:hover {
    /* Slightly lighter shade of #620012 (wine red) for the hover effect */
    background-color: #791a2b !important; 
    /* Ensures the hover color is applied */
}

/* small footer logo sizing */
.footer-logo-wrap {
    width: 125px;
    height: 50px;
    box-sizing: border-box;
}
.footer-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
