:root{
    --mainColor: #ee6730;
    --whiteColor: #ffffff;
    --textColor: #333333;
    --greenColor: #008000;
}

*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

@keyframes scroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes blink {
    0% {
        opacity: 100%;
    }
    50%{
        opacity: 10%;
    }
    100% {
        opacity: 100%;
    }
}

.blink {
    animation: blink 1s infinite;
}

label.error{
    color: red;
    font-size: 0.9rem;
}

body{
    font-family: system-ui, sans-serif;
    font-size: 18px;
    color: var(--textColor);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body::-webkit-scrollbar{
    display: none;
}

main{
    display: flex;
    flex-direction: column;
    gap: 50px;
}

main:not(#home){
    padding: 50px 6vw;
}

picture, picture img{
    width: 100%;
}

img{
    max-width: 100%;
    max-height: 80vh;
}

h1{
    margin-bottom: 20px;
    text-transform: capitalize;
}

main:not(#home) h1{
    text-align: center;
    margin-bottom: 50px;
}

h2{
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

h3{
    text-align: center;
    margin-bottom: 10px;
}

a{
    color: inherit;
    text-decoration: none;
}

i{
    margin-right: 10px;
}

li{
    margin-bottom: 10px;
}

li li{
    margin-left: 30px;
}

button, a.btn{
    background-color: var(--greenColor);
    padding: 6px 12px;
    color: var(--whiteColor);
    letter-spacing: .4px;
    border-radius: 4px;
    appearance: button;
    align-content: center;
    display: block;
    justify-self: center;
    cursor: pointer;
}

div:has(> table){
    overflow: auto;
}

section#payment table{
    text-align: center;
}

table{
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0px 20px 0px;
}

thead{
    background-color: var(--mainColor);
    color: var(--whiteColor);
}

td, th{
    padding: 8px 10px;
    font-weight: 400;
    border: 1px solid #333333;
}

form {
   flex: 1;
   display: flex;
   flex-direction: column;
}

label {
    display: inline-block;
    padding: 0px 10px 0px 0px;
    margin-bottom: 5px;
    font-size: 1rem;
}

input[type='text'],
input[type='file'],
input[type='date'],
input[type='number'],
input[type='email'],
textarea, select {
   min-height: 40px;
   padding: 10px;
   border-radius: 4px;
   outline: 1px solid #c3c3c3;
   border: none;
   width: 100%;
   min-width: 150px;
   margin-bottom: 4px;
   font-size: 1rem;
   height: 40px;
}

textarea{
    height: unset;
}

input:focus, textarea:focus, select:focus{
    border: 2px solid var(--mainColor);
}

form div:has(>div>input){
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
}

form div:has(> input, > select) {
    flex: 1;
    margin-bottom: 4px;
    min-width: 200px;
}

form button{
    font-size: 1.1rem;
    align-self: center;
    min-width: 180px;
    margin-top: 12px;
}

#kycForm{
    justify-self: center;
    max-width: min(650px, 100%);
    padding: 20px;
    border: 2px solid #f7f3d8;
    border-radius: 10px;
    background: #fffef8;
}

header{
    background-color: var(--mainColor);
}

header img{
    max-width: 250px;
}

header div#logo{
    background-color: var(--whiteColor);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0px 20px;
    justify-content: space-between;
}

header div#marquee{
    white-space: nowrap;
    overflow: hidden;
}

header div#marquee p{
    color: var(--whiteColor);
    font-weight: 500;
    padding: 6px 0px;
    display: inline-block;
    padding-left: 100%;
    letter-spacing: .6px;
    animation: scroll 20s linear infinite;
}

nav{
    display: flex;
    justify-self: center;
    flex-wrap: wrap;
    justify-content: center;
}

header nav  a{
    text-transform: uppercase;
    color: var(--whiteColor);
    padding: 10px 12px;
}

header #navIcon{
    display: None;
    justify-self: end;
    padding: 4px;
    color: #ffffff;
    font-size: 1.6rem;
    margin: 0px;
    cursor: pointer;
}

section:not(#heroSec){
    padding: 20px 6vw;
}

section#heroSec{
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 1.4rem;
    align-items: center;
    text-align: center;
}

/* section#heroSec img{
    width: 100%;
    max-height: none;
} */

section#about{
    display: flex;
    gap: 20px;
}

section#about div:has(img){
    width: min(100%, 500px);
    flex-shrink: 0;
    height: 500px;
    overflow: scroll;
}

section#about img{
    width: 100%;
}

section#locationBenefits ul{
    list-style: none;
    margin: 50px 0px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}

section#locationBenefits p{
   margin-bottom: 20px;
}

section#location, section#project-plan{
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

section#amenities > div{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

section#amenities > div div{
    background-color: #eeeeee;
    width: min(280px, 100%);
    padding: 10px;
    text-align: center;
}

section#amenities img{
    width: 100%;
    height: 250px;
}

section#amenities p{
    font-size: 1rem;
    font-weight: 500;
    padding: 6px 10px 0px 10px;
}

section#payment table tr td:last-child{
    background-color: var(--greenColor);
    color: var(--whiteColor);
    font-style: italic;
    font-size: .9rem;
}

section#contact > div{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

section#contact > div > div{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

p#reraNum, p.green{
    background-color: var(--greenColor);
    padding: 6px 12px;
    color: var(--whiteColor);
    margin: 10px 10px 20px 10px;
    text-align: center;
    justify-self: center;
}

div#fixedDiv{
    background: grey;
    position: fixed;
    right: calc(0px - 50px);
    top: 48%;
    transform: rotate(90deg);
}

footer{
    background-color: #dcdcdc;
    padding: 20px 6vw;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
    font-size: 1.1rem;
}

footer nav a{
    color: #0568BD;
    padding: 0px 12px;
    margin-top: 6px;
    white-space: nowrap;
}

footer nav a:not(:last-child){
    border-right: 2px solid #333333;
}

footer #disclaimer{
    font-size: .8rem;
}

/*Faq*/
div:has(>details){
    width: min(100%, 750px);
    justify-self: center;
}

details{
    padding: 16px;
    background: #fff6f3;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 16px;
    box-shadow: 1px 2px #ffd8c8;
}

summary{
    font-weight: 500;
    list-style: none;
    position: relative;
    cursor: pointer;
    padding-right: 20px;
    transition: all .2s ease-in;
}

summary::after {
    content: "⮟";
    position: absolute;
    right: 0;
    height: 20px;
    top: calc(50% - 10px);
    font-size: 1.2em;
    transition: all .4s ease-in;
}

details[open] summary::after{
    transform: rotate(180deg);
    top: 50%;
}

details[open] summary{
    color: #ee6730;
    margin-bottom: 12px;
    font-size: 18px;
}

details[open] p{
    background: #ffffff;
    padding: 10px;
    border-radius: 10px;
}

@media screen and (max-width: 650px) {
    main:not(#home) {
        padding: 50px 0vw;
    }

    header div#logo{
        justify-content: center;
        padding: 10px;
    }

    section#about{
        flex-wrap: wrap;
    }

    header nav  a{
        width: 100%;
    }

    header nav, #reraNum{
        display: none;
    }

    header #navIcon, header nav.active{
        display: flex;
    }
}