@import "tailwindcss";

/* marquee style */
@keyframes scroll-marquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee {
    white-space: nowrap;
    display: inline-block;
    animation: scroll-marquee 20s linear infinite;
}

/* marquee style ends */

/* contact us */

.contact-us {
    display: flex;
    margin: auto;
    width: 1200px;
    max-width: 1400px;
    justify-content: space-between;
}

.contact-us .heading {
    color: #6A51A2;
    font-size: 32px;
    font-weight: bold;

}

.contact-us form {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: 500px;
    padding-left: 20px;
}

.contact-us form input {
    padding: 15px;
    border: 1px solid #6A51A2;
    border-radius: 10px;
    color: #6A51A2;
    margin: 10px;
}

input:focus {
    outline: none;
}

input::placeholder {
    color: #6A51A2;
}

.contact-submit {
    width: 100px;
    /* height: 50px; */
    background: linear-gradient(to left, #6A51A2, #44002D);
    color: #FFFF66 !important;
    cursor: pointer;
}

.contact-message {
    height: 70px !important;
}

@media (max-width:768px) {
    .contact-us form {
        width: 320px;
        padding-left: 0px;
    }
}

body.overlay-active::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    /* semi-transparent black */
    z-index: 998;
    transition: opacity 0.3s ease;
}

/* Optional smooth appearance */
body::before {
    opacity: 0;
    pointer-events: none;
}

body.overlay-active::before {
    opacity: 1;
    pointer-events: all;
}

/* Overlay background on popup open */
body.overlay-active::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    /* dark semi-transparent */
    z-index: 98;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: all;
}

/* Hidden by default */
body::before {
    opacity: 0;
    pointer-events: none;
}

/* Popup form */
.form-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #adadad;
    z-index: 99;
    background-color: white;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    animation: fadeInUp 0.3s ease-out;
    border-radius: 10px;
    width: 65%;
    max-width: 350px;
}

/* Form container */
.form-container {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

/* Input fields */
.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="number"] {
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

/* Submit button */
.form-container .btn {
    background-color: #990066;
    color: white;
    padding: 10px;
    margin-top: 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

/* Cancel/Close button */
.btn.cancel {
    position: absolute !important;
    top: -15px;
    right: -1px;
    background: red;
    border: none;
    font-size: 20px;
    color: #ffffff;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50px;
}

/* Close "X" symbol */
.close-x {
    font-weight: bold;
    font-size: 15px;
    position: absolute;
    top: 4px;
    left: 10px;
}

.h-50 {
    height: 50px;
}