@import url('https://fonts.googleapis.com/css2?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&family=Space+Grotesk:wght@300..700&display=swap');

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

:root {
    --white: #ffffff;
    --black: #000000;
    --font-poppins: 'Poppins', sans-serif;
    --font-grotesk: 'Space Grotesk', sans-serif;
}

img {
    width: 100%;
}

input,
textarea,
select,
button {
    font-family: inherit;
    cursor: pointer;
}

button {
    background-color: #FDBF0C;
    color: var(--white);
    border: 2px solid #FDBF0C;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

button:hover {
    background-color: var(--white);
    color: #FDBF0C;
    border: 2px solid #FDBF0C;
}

h1,
h2,
h3,
h4,
h5,
h6,
label {
    font-family: var(--font-grotesk);
    color: var(--black);
}

li {
    list-style: decimal;
}

body {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    font-family: var(--font-poppins);
    font-size: 16px;
    padding: 20px;
    background-color: #fafafa;
}

.form-logo {
    width: 150px;
}

.main-form {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.form-title {
    font-weight: 900;
    font-size: 18px;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.form-group-cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.extra {
    width: 48%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-diff,
label {
    flex-direction: row;
    align-items: center;
    font-weight: 700;
    font-size: 16px;
}

.form-group label {
    font-weight: 700;
    font-size: 16px;
}

.form-group input,
textarea,
select {
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    width: 100%;
}

.terms-container {
    background: #fff;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    max-height: 200px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
}

.terms-container.expanded {
    max-height: none;
}

.terms-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.toggle-link {
    color: #FDBF0C;
    font-weight: bold;
    margin-top: 8px;
    display: inline-block;
    cursor: pointer;
}

/* 🔁 RESPONSIVE STYLES */
@media (max-width: 992px) {
    .main-form {
        width: 80%;
    }

    .extra {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .terms-container {
        font-size: 13px;
        padding: 12px;
    }
}


@media (max-width: 600px) {
    .main-form {
        width: 95%;
        padding: 15px;
    }

    button {
        width: 100%;
        padding: 14px;
        font-size: 15px;
    }

    .form-title {
        font-size: 16px;
        text-align: center;
    }

    .form-group label {
        font-size: 15px;
    }
}