@import url('https://fonts.googleapis.com/css2?family=Martel+Sans:wght@200;400;700;800;900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: black;
}

.main {
    background-image: url("Assets/Images/bgi.jpg");
    height: 644px;
    position: relative;
    background-position: center center;
    background-size: max(1200px, 100vw);
    background-repeat: no-repeat;
}

.main .box {
    height: 644px;
    width: 100%;
    opacity: 0.71;
    background-color: black;
    position: absolute;
    top: 0;
}

nav {
    max-width: 76vw;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    padding: 0 20px;
}

nav img {
    color: red;
    width: 144px;
    position: relative;
    z-index: 10;
}

nav .flex {
    display: flex;
    gap: 10px;
    align-items: center;
}

nav button {
    position: relative;
    z-index: 10;
}

.hero {
    height: calc(100% - 100px);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    font-family: "Martel Sans", sans-serif;
    gap: 23px;
    padding: 0 30px;
}

.hero> :nth-child(1) {
    font-family: "Martel Sans", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 56px;
    color: rgb(255, 255, 255);
    line-height: 70px;
    text-align: center;
}

.hero> :nth-child(2) {
    font-family: "Martel Sans", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
    color: rgb(255, 255, 255);
    text-align: center;
}

.hero> :nth-child(3) {
    font-family: "Martel Sans", sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 15px;
    color: rgb(255, 255, 255);
    text-align: center;
}

.line {
    height: 7px;
    background-color: rgb(46, 44, 44);
    position: relative;
    z-index: 20;
}

.btn {
    background-color: rgba(23, 23, 23, 0.8);
    color: white;
    cursor: pointer;
    padding: 6px 23px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    border: 1px solid rgba(23, 23, 23, 0.8);
    border-color: rgb(130, 128, 128);
    transition: all 1s ease-out;
}

.btn:hover {
    background: rgb(49, 48, 48);
}

.btn-red-sm {
    background-color: red;
    color: white;
    cursor: pointer;
    margin: 8px;
    transition: all 1s ease-out;
}

.btn-red-sm:hover {
    background: rgb(150, 6, 13);
}

.btn-red-sm a {
    text-decoration: none;
    color: white;
}

.btn-red {
    background-color: red;
    color: white;
    padding: 14px 34px;
    font-size: 23px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: 700;
}

.btn-red:hover {
    background: rgb(150, 6, 13);
}

.main input {
    color: white;
    background-color: rgba(23, 23, 23, 0.8);
    padding: 14px 150px 16px 16px;
    font-size: 17px;
    font-weight: 500;
    border-radius: 4px;
    border: 1px solid rgba(23, 23, 23, 0.8);
    border-color: rgb(130, 128, 128);
}

.main ::placeholder {
    color: rgb(173, 169, 169);
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.first {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 70vw;
    margin: auto;
    color: white;
    padding: 40px;
}

.secImg {
    position: relative;
    width: 380px;
}

.secImg img {
    width: 380px;
    position: relative;
    z-index: 10;
}

.secImg video {
    position: absolute;
    top: 51px;
    right: 0;
    width: 329px;
}

section.first>div {
    display: flex;
    flex-direction: column;
}

section.first>div :nth-child(1) {
    font-family: "Martel Sans", sans-serif;
    font-size: 40px;
    font-weight: bolder;
}

section.first>div :nth-child(2) {
    font-family: "Martel Sans", sans-serif;
    font-size: 16px;
}

.faq h2 {
    margin-left: 108px;
    padding: 3px;
    font-family: "Martel Sans", sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: rgb(255, 255, 255);
}

.faq {
    background-color: black;
    color: rgb(255, 255, 255);
    padding: 34px;
    font-family: "Martel Sans", sans-serif;
    font-size: 19px;
    font-weight: 200;
}

.faqbox {
    display: flex;
    background-color: #2d2d2d;
    padding: 24px;
    max-width: 72vw;
    margin: 8px auto;
    justify-content: space-between;
    cursor: pointer;
    transition: all 1s ease-out;
}

.faqbox:hover {
    background-color: #414141;
}

.hero-faq {
    height: calc(100% - 100px);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    font-family: "Martel Sans", sans-serif;
    gap: 23px;
    padding: 0 30px;
    margin: 70px;
}

.hero-faq> :nth-child(1) {
    font-family: "Martel Sans", sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 15px;
    color: rgb(255, 255, 255);
    text-align: center;
}

.faq input {
    color: white;
    background-color: rgba(23, 23, 23, 0.8);
    padding: 14px 350px 16px 16px;
    font-size: 17px;
    font-weight: 500;
    border-radius: 4px;
    border: 1px solid rgba(23, 23, 23, 0.8);
    border-color: rgb(130, 128, 128);
}

.faq ::placeholder {
    color: rgb(173, 169, 169);
}

footer {
    color: rgba(255, 255, 255, 0.7);
    max-width: 70vw;
    margin: auto;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 14px;
}

footer .questions {
    padding: 34px 0;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    color: white;
}

.footer-item {
    display: flex;
    flex-direction: column;
    gap: 23px;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.footer-btn {
    margin-top: 50px;
}

.footer-item span {
    margin-top: 40px;
}

.last div {
    margin: 40px 0 140px 0;
    font-size: 13px;
    color: rgb(173, 169, 169);
}

.last div a {
    font-size: 13px;
    color: rgb(68, 142, 244);
}

/* Sign-In page */
.login {
    background-color: rgb(22, 22, 22);
}

.main_signin {
    background-image: url("Assets/Images/bgi_login.jpg");
    height: 865px;
    position: relative;
    background-position: center center;
    background-size: max(1200px, 161vw);
    background-repeat: no-repeat;
}

.main_signin .signin_container {
    height: 865px;
    width: 100%;
    opacity: 0.5;
    background-color: black;
    position: absolute;
    top: 0;
}

.container-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.login_box {
    height: 720px;
    width: 500px;
    background-color: #000000c7;
    border-radius: 3px;
}

.login_box h1 {
    font-family: "Martel Sans", sans-serif;
    font-size: 32px;
    font-weight: bolder;
    color: white;
    position: absolute;
    padding: 50px;
}

.login_box input {
    color: white;
    background-color: rgba(23, 23, 23, 0.8);
    padding: 14px 150px 16px 16px;
    font-size: 17px;
    font-weight: 500;
    border-radius: 4px;
    border: 1px solid rgba(23, 23, 23, 0.8);
    border-color: rgb(130, 128, 128);
}

.login_box input::placeholder {
    color: rgb(173, 169, 169);
}

.inp {
    padding-top: 125px;
    margin-left: 52px;
}

.input2 {
    margin-top: 25px;
}

button {
    font-size: 16px;
    font-weight: 500;
}

.si1 {
    background-color: red;
    color: white;
    cursor: pointer;
    margin-top: 25px;
    margin-left: 52px;
    padding: 13px 163px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    border-color: rgb(130, 128, 128);
    transition: all 1s ease-out;
}

.si1:hover {
    background: rgb(150, 6, 13);
}

.or span {
    color: rgba(255, 255, 255, 0.7);
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px;
}

.si2 {
    background-color: #4646469e;
    color: white;
    cursor: pointer;
    margin-left: 52px;
    padding: 13px 122px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    border-color: rgb(130, 128, 128);
    transition: all 1s ease-out;
    margin-bottom: 20px;
}

.si2:hover {
    background: rgba(128, 128, 128, 0.205);
}

.fp a {
    color: white;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin: 180px;
    transition: all 1s ease-out;
}

.fp a:hover {
    color: #e5e2e2be;
}

/* Fixed Remember Me Checkbox Styles */
.cb {
    margin-top: 20px;
    color: white;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 58px;
}

input[type="checkbox"] {
    height: 16px;
    width: 16px;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}

#user {
    margin: 0;
}

#lb {
    margin: 0;
    line-height: 1.4;
}

.sp {
    color: rgb(143, 140, 140);
    font-family: sans-serif;
    font-size: 17px;
    font-weight: 400;
    margin-left: 58px;
    margin-top: 20px;
}

.sp a {
    color: white;
    text-decoration: none;
}

.sp a:hover {
    text-decoration: underline;
}

.lst {
    font-family: sans-serif;
    margin-left: 58px;
}

.bt {
    margin-bottom: 50px;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        max-width: 95%;
        padding: 0 20px;
        height: 80px;
        justify-content: space-between;
    }

    nav img {
        width: 100px;
        flex-shrink: 0;
    }

    nav .flex {
        gap: 8px;
        flex-shrink: 0;
    }

    nav button {
        font-size: 12px;
        padding: 6px 12px;
        min-width: 60px;
    }

    .main {
        height: 100vh;
        min-height: 500px;
        background-size: cover;
    }

    .main .box {
        height: 100%;
    }

    .hero {
        height: calc(100vh - 80px);
        padding: 0 20px;
        gap: 20px;
    }

    .hero> :nth-child(1) {
        font-size: clamp(32px, 8vw, 56px);
        line-height: 1.25;
    }

    .hero> :nth-child(2) {
        font-size: clamp(16px, 4vw, 20px);
    }

    .hero> :nth-child(3) {
        font-size: clamp(14px, 3vw, 15px);
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        max-width: 400px;
    }

    .main input {
        padding: 14px 16px;
        width: 100%;
        max-width: 100%;
    }

    .btn-red {
        width: 100%;
        font-size: clamp(16px, 3vw, 23px);
        padding: 14px 24px;
    }

    .first {
        flex-direction: column;
        text-align: center;
        max-width: 90%;
        padding: 40px 15px;
        gap: 30px;
    }

    .second {
        flex-direction: column;
    }

    .third {
        flex-direction: column;
    }

    .secImg {
        width: 100%;
        max-width: 300px;
    }

    .secImg img {
        width: 100%;
    }

    .secImg video {
        width: 86.5%;
        top: 13.5%;
    }

    section.first>div :nth-child(1) {
        font-size: clamp(28px, 5vw, 40px);
        margin-bottom: 16px;
    }

    section.first>div :nth-child(2) {
        font-size: clamp(14px, 3vw, 16px);
    }

    .faq {
        padding: 20px 15px;
    }

    .faq h2 {
        text-align: center;
        margin-left: 0;
        font-size: clamp(20px, 4vw, 24px);
    }

    .faqbox {
        padding: 20px 15px;
        max-width: 95%;
        align-items: center;
    }

    .faqbox span {
        font-size: 16px;
    }

    .hero-faq {
        padding: 40px 20px;
        margin: 40px 0;
    }

    .hero-faq .hero-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 400px;
    }

    .faq input {
        padding: 14px 16px;
        width: 100%;
        max-width: 100%;
    }

    .footer {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        row-gap: 15px;
    }

    .footer-item {
        gap: 15px;
    }

    .footer-item a {
        font-size: 14px;
        line-height: 1.4;
    }

    footer {
        max-width: 90%;
        padding: 14px 15px;
    }

    /* Login page responsive styles */
    .main_signin {
        height: auto;
        min-height: 100vh;
        background-size: cover;
    }

    .main_signin .signin_container {
        height: 100%;
        min-height: 100vh;
    }

    .container-box {
        padding: 20px;
        min-height: calc(100vh - 80px);
    }

    .login_box {
        width: 90%;
        max-width: 450px;
        height: auto;
        padding: 20px 15px;
        margin: 20px 0;
    }

    .login_box h1 {
        position: static;
        padding: 0;
        margin-bottom: 30px;
        font-size: clamp(24px, 5vw, 32px);
    }

    .inp {
        padding-top: 0;
        margin-left: 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }

    .login_box input {
        padding: 14px 16px;
        width: 100%;
    }

    .si1 {
        margin-left: 0;
        padding: 13px;
        width: 100%;
    }

    .si2 {
        margin-left: 0;
        padding: 13px;
        width: 100%;
    }

    .fp {
        text-align: center;
        margin: 20px 0;
    }

    .fp a {
        margin: 0;
    }

    /* Fixed Remember Me Mobile Styles */
    .cb {
        margin-left: 0;
        margin-top: 15px;
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 14px;
        padding: 0 5px;
    }

    input[type="checkbox"] {
        height: 18px;
        width: 18px;
        margin-top: 2px;
        flex-shrink: 0;
    }

    #user {
        margin: 0;
        flex-shrink: 0;
    }

    #lb {
        margin: 0;
        font-size: 14px;
        line-height: 1.4;
        flex: 1;
    }

    .sp {
        margin-left: 0;
        margin-top: 15px;
        text-align: center;
        font-size: 15px;
        line-height: 1.4;
    }

    .lst {
        margin-left: 0;
        text-align: center;
        margin-top: 15px;
        font-size: 13px;
        line-height: 1.5;
        color: rgb(143, 140, 140);
    }
}

@media (max-width: 480px) {
    .hero> :nth-child(1) {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero> :nth-child(2) {
        font-size: 16px;
    }

    .hero> :nth-child(3) {
        font-size: 14px;
    }

    .first {
        padding: 30px 10px;
    }

    .secImg {
        max-width: 250px;
    }

    .faqbox {
        padding: 15px 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .faqbox svg {
        align-self: flex-end;
    }

    .footer {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        row-gap: 12px;
    }

    .footer-item {
        gap: 12px;
    }

    .footer-item a {
        font-size: 13px;
        line-height: 1.3;
    }

    /* Mobile login form fixes */
    .login_box {
        padding: 15px 12px;
        margin: 5px;
        width: calc(100% - 10px);
        height: 600px;
        border-radius: 4px;
        min-height: auto;
    }

    .login_box h1 {
        margin-bottom: 20px;
        padding: 0;
        position: static;
        font-size: 24px;
        text-align: left;
    }

    .inp {
        gap: 15px;
        margin-bottom: 15px;
        padding-top: 0;
        margin-left: 0;
        display: flex;
        flex-direction: column;
    }

    .login_box input {
        padding: 12px;
        width: 100%;
        font-size: 16px;
    }

    .si1 {
        margin-left: 0;
        margin-top: 15px;
        padding: 12px;
        width: 100%;
        font-size: 14px;
    }

    .or span {
        font-size: 13px;
        margin: 15px 0;
        text-align: center;
    }

    .si2 {
        margin-left: 0;
        padding: 12px;
        width: 100%;
        font-size: 14px;
        margin-bottom: 15px;
    }

    .fp {
        text-align: center;
        margin: 15px 0;
    }

    .fp a {
        margin-left: 6px;
        font-size: 13px;
    }

    /* Fixed Remember Me Mobile 480px */
    .cb {
        margin-left: 0;
        margin-top: 12px;
        display: flex;
        align-items: flex-start;
        gap: 12px;
        font-size: 14px;
        padding: 0 5px;
    }

    input[type="checkbox"] {
        height: 20px;
        width: 20px;
        margin-top: 0;
        flex-shrink: 0;
    }

    #user {
        margin: 0;
        flex-shrink: 0;
    }

    #lb {
        margin: 0;
        font-size: 14px;
        line-height: 1.5;
        flex: 1;
    }

    .sp {
        margin-left: 0;
        margin-top: 12px;
        text-align: center;
        font-size: 13px;
        line-height: 1.4;
    }

    .lst {
        margin-left: 0;
        text-align: center;
        margin-top: 10px;
        font-size: 11px;
        line-height: 1.4;
        color: rgb(143, 140, 140);
        padding: 0 5px;
    }
}

/* Very small screens */
@media (max-width: 320px) {
    nav {
        max-width: 95%;
        padding: 0 15px;
        justify-content: space-between;
    }

    nav img {
        width: 80px;
        flex-shrink: 0;
    }

    nav .flex {
        gap: 6px;
        flex-shrink: 0;
    }

    nav button {
        font-size: 10px;
        padding: 4px 8px;
        min-width: 50px;
    }

    .hero {
        gap: 15px;
    }

    .first {
        padding: 20px 5px;
    }

    .faq {
        padding: 20px 10px;
    }

    .login_box {
        padding: 15px 10px;
        width: calc(100% - 20px);
    }

    .hero-buttons, .hero-faq .hero-buttons {
        max-width: 280px;
    }

    /* Fixed Remember Me Mobile 320px */
    .cb {
        gap: 10px;
        font-size: 13px;
        margin-top: 10px;
    }

    input[type="checkbox"] {
        height: 18px;
        width: 18px;
    }

    #lb {
        font-size: 13px;
        line-height: 1.4;
    }
}