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

:root{

    --btn-color: #fdfdfd;/* button color*/
    --btn-bg: #0d0d0d;/* button bg color*/

    --primary-text-color: #000;
    --link-hover: #6dbb00;
    --footer-link-hover: #6dbb00;
    --input-focus-bd-color: #0d0d0d;
}


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

.tw-hidden{
    display: none !important;
}

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


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: 10px;
    padding: 5px 10px;
    transition: background-color 0.5s, color 0.5s;
}


.header-links:hover {
    color: var(--link-hover);
}

.material-icons.md-40 { 
    font-size: 40px; 
}

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

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

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

.btn{
    padding: 10px 15px;
    width: max-content;
    border-radius: 25px;
    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: 25px;
    /* outline: none; */
    min-width: 100px;
    border: 2px solid #818080;
    transition: border 0.3s;
}

.input:active, .input:focus, .input:focus-within{
    border: 2px solid var(--input-focus-bd-color);
}

.input-error{
    border-bottom: 3px solid #ff1e1e;
}

.input-error:focus-within{
    border-bottom: 3px solid #fd0101;
}


/* Navigation dots styling */
.dots-container {
    text-align: center;
    margin-top: 20px;
}

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

.footer-link:hover{
    color: var(--footer-link-hover);
}

.hero-device-wrapper {
    justify-content: center;
    max-width: clamp(240px, 38vw, 420px);
    min-width: clamp(220px, 32vw, 320px);
    min-height: clamp(340px, 48vw, 520px);
}

.hero-device-img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

@media (max-width: 1024px) {
    .hero-device-wrapper {
        max-width: clamp(220px, 60vw, 360px);
        min-width: clamp(200px, 55vw, 320px);
        min-height: clamp(300px, 70vw, 440px);
    }
}

@media (max-width: 640px) {
    .hero-device-wrapper {
        max-width: clamp(200px, 80vw, 320px);
        min-width: clamp(180px, 75vw, 280px);
        min-height: clamp(260px, 95vw, 360px);
    }
}


.review-container {
    position: relative;
    max-width: 600px;
    margin: auto;
}

.review-card{
    box-shadow: 0px 2px 4px #757474a0;
    border-radius: 15px;
    /* width: 200px; */
    /* height: 550px; */
    padding: 10px;
}

/* --------- collapsible div ---------- */
.collapsible {
    background-color: #f3f0f0;
    color: #2b2929;
    /* cursor: pointer; */
    padding: 5px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    transition: 0.4s;
}

/* Style for the collapsible content */
.content {
    padding: 0 18px;
    /* display: none; */
    height: 0px;
    overflow: hidden;
    background-color: transparent;
    transition: height 0.5s;
    text-align: justify;
    margin-top: 10px;
}

.collapsible .active,
.collapsible:hover {
    /* background-color: #dedddd; */
}

/* Legal page layout */
.legal-page-wrapper {
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 4vw, 40px);
    background: #ffffff;
    border-radius: 28px;
    padding: clamp(32px, 5vw, 56px);
    box-shadow: 0px 15px 35px rgba(0, 31, 91, 0.08);
}

.contact-wrapper {
    gap: clamp(20px, 4vw, 32px);
}

.legal-card {
    background: #ffffff;
    border-radius: 22px;
    padding: clamp(24px, 4vw, 40px);
    box-shadow: 0px 18px 45px rgba(12, 27, 71, 0.08);
}

.legal-card--contact {
    padding: clamp(18px, 4vw, 32px);
}

.legal-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 36, 125, 0.08);
    color: #00247D;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.legal-chip::before {
    content: "•";
    font-size: 1.2rem;
}

.legal-updated {
    color: #1f2937;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.legal-article {
    display: flex;
    flex-direction: column;
    gap: 24px;
    line-height: 1.75;
    color: #1f2937;
}

.legal-article h2 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 600;
    color: #111827;
}

.legal-article ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.legal-article li {
    margin-bottom: 0.5rem;
}

.contact-layout {
    display: grid;
    gap: clamp(24px, 3vw, 40px);
}

.contact-hero {
    text-align: center;
    gap: 1.25rem;
}

.contact-hero h1 {
    font-size: clamp(2rem, 6vw, 2.5rem);
    line-height: 1.2;
}

.contact-hero p {
    font-size: clamp(1rem, 4.5vw, 1.125rem);
    line-height: 1.6;
    max-width: 540px;
    margin-inline: auto;
}

@media (min-width: 1024px) {
    .contact-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-detail {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0px 12px 28px rgba(12, 27, 71, 0.08);
}

.contact-detail__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    width: 44px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 36, 125, 0.16), rgba(207, 20, 43, 0.16));
    color: #CF142B;
    font-size: 1.25rem;
    box-shadow: 0px 12px 28px rgba(12, 27, 71, 0.12);
}

.contact-detail__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #1f2937;
}

.contact-detail__link {
    color: #00247D;
    font-weight: 600;
}

.contact-detail__link:hover {
    color: var(--link-hover);
}

.contact-detail__meta {
    color: #4b5563;
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form .input {
    border-radius: 18px;
}

.contact-status {
    font-weight: 500;
}

.contact-status.success {
    color: #047857;
}

.contact-status.error {
    color: #b91c1c;
}

@media (max-width: 640px) {
    .contact-wrapper {
        padding: clamp(16px, 6vw, 20px) !important;
        gap: 18px;
    }

    .legal-card--contact {
        padding: 16px;
        border-radius: 18px;
    }

    .contact-hero {
        text-align: left;
        gap: 1rem;
    }

    .contact-hero h1 {
        font-size: 1.75rem;
    }

    .contact-hero p {
        font-size: 0.95rem;
        margin-inline: 0;
    }

    .contact-details {
        gap: 12px;
    }

    .contact-detail {
        padding: 12px;
        gap: 10px;
        box-shadow: 0px 6px 16px rgba(12, 27, 71, 0.06);
    }

    .contact-detail__icon {
        height: 32px;
        width: 32px;
        font-size: 1rem;
    }

    .contact-detail__body {
        gap: 1px;
    }

    .contact-detail__body span,
    .contact-detail__meta,
    .contact-detail__link {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .contact-form {
        gap: 12px;
    }

    .contact-form label {
        font-size: 0.9rem;
        gap: 4px;
        display: flex;
        flex-direction: column;
    }

    .contact-form .input {
        padding: 11px;
        border-radius: 12px;
        font-size: 0.95rem;
    }

    .contact-form textarea {
        min-height: 110px;
    }

    .contact-form .btn {
        width: 100%;
        justify-content: center;
        padding: 11px;
        font-size: 0.95rem;
    }
}

@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: #ffffff;
        color: #000000;
        overflow-y: auto;
        box-shadow: 2px 0px 3px #000;
    }

    .header-links{
        color: black;
    }

}
