* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    line-height: 1.6;
    letter-spacing: 1px;
}

body {   
    background: linear-gradient(to bottom, #10244E, #B2DDF0, #ECFDFF);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
}

section {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.logo {
    height: 200px;
    width: auto;
    max-width: 100%;
}

.text-logo {
    height: 60px;
    width: auto;
    max-width: 100%;
}

.consent-container {
    background-color: white;
    padding: 50px 30px;
    width: 100%;
    max-width: 1100px;
    color: black;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.consent-header p {
    font-size: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.consent-text,
.consent-text2 {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    margin-bottom: 20px;
}

.consent-container p span {
    font-weight: bold;
}

ul {
    margin-left: 20px;
    margin-bottom: 20px;
    padding-left: 20px;
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
}

.consent-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 15px 0;
}

.consent-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.consent-checkbox label {
    font-size: clamp(0.8rem, 1.4vw, 0.875rem);
    color: black;
    cursor: pointer;
}

.consent-checkbox p {
    font-size: 0.85rem;
    text-align: center;
    margin: 0;
}

.button-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.button-container button {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    padding: 12px 20px;
    border: none;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: bold;
    cursor: pointer;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.button-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.decline-btn {
    background-color: #FF4C4C;
    color: white;
}

.decline-btn:hover {
    background-color: #E63939;
}

.agree-btn {
    background-color: #46C3D9;
    color: white;
}

.agree-btn:hover {
    background-color: #2FA8BE;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #10182F;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 90%;
    max-width: 400px;
    z-index: 1001;
    max-height: 90vh;
    overflow-y: auto;
}

.popup h2 {
    color: white;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 15px;
}

.popup button {
    display: block;
    width: 80%;
    margin: 15px auto;
    padding: 12px;
    border: none;
    background-color: #229ED9;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    transition: all 0.3s ease;
}

.popup button:hover {
    background-color: #007bb5;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* ---------- RESPONSIVE DESIGN ---------- */

/* Large Desktop (1440px and above) */
@media (min-width: 1440px) {
    section {
        padding: 60px 40px;
    }

    .consent-container {
        padding: 60px 50px;
    }

    .logo {
        height: 220px;
    }
}

/* Medium Desktop (1200px - 1439px) */
@media (max-width: 1439px) and (min-width: 1200px) {
    section {
        padding: 50px 30px;
    }

    .consent-container {
        padding: 55px 40px;
    }
}

/* Small Desktop (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    section {
        padding: 45px 25px;
    }

    .consent-container {
        padding: 50px 35px;
        max-width: 1000px;
    }

    .logo {
        height: 180px;
    }
}

/* Tablet Portrait (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) and (orientation: portrait) {
    section {
        padding: 40px 20px;
    }

    .consent-container {
        padding: 40px 25px;
        max-width: 90%;
    }

    .logo {
        height: 160px;
    }

    .text-logo {
        max-width: 75%;
    }

    .button-container {
        gap: 15px;
    }

    .button-container button {
        min-width: 140px;
        max-width: 180px;
    }
}

/* Tablet Landscape (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) and (orientation: landscape) {
    section {
        padding: 30px 20px;
    }

    .header {
        margin-bottom: 15px;
        gap: 15px;
    }

    .logo {
        height: 120px;
    }

    .text-logo {
        max-width: 65%;
    }

    .consent-container {
        padding: 30px 25px;
        margin-bottom: 20px;
    }

    .consent-header p {
        margin-bottom: 20px;
    }

    .consent-text,
    .consent-text2 {
        margin-bottom: 15px;
    }

    ul {
        margin-bottom: 15px;
    }

    .consent-checkbox {
        margin: 12px 0;
    }

    .button-container {
        margin-top: 15px;
        gap: 15px;
    }

    .button-container button {
        min-width: 130px;
        max-width: 160px;
        padding: 10px 18px;
    }
}

/* Small Tablet Portrait (600px - 767px) */
@media (max-width: 767px) and (min-width: 600px) and (orientation: portrait) {
    section {
        padding: 35px 15px;
    }

    .consent-container {
        padding: 35px 20px;
    }

    .logo {
        height: 140px;
    }

    .text-logo {
        max-width: 70%;
    }

    .button-container button {
        min-width: 135px;
        max-width: 170px;
    }
}

/* Small Tablet Landscape (600px - 767px) */
@media (max-width: 767px) and (min-width: 600px) and (orientation: landscape) {
    section {
        padding: 25px 15px;
    }

    .header {
        margin-bottom: 12px;
        gap: 12px;
    }

    .logo {
        height: 100px;
    }

    .text-logo {
        max-width: 60%;
    }

    .consent-container {
        padding: 25px 20px;
        margin-bottom: 15px;
    }

    .consent-header p {
        margin-bottom: 15px;
    }

    .consent-text,
    .consent-text2 {
        margin-bottom: 12px;
    }

    ul {
        margin-bottom: 12px;
    }

    .consent-checkbox {
        margin: 10px 0;
    }

    .button-container {
        margin-top: 12px;
        gap: 12px;
    }

    .button-container button {
        min-width: 120px;
        max-width: 150px;
        padding: 9px 16px;
    }
}

/* Mobile Portrait (481px - 599px) */
@media (max-width: 599px) and (min-width: 481px) and (orientation: portrait) {
    section {
        padding: 30px 15px;
    }

    .consent-container {
        padding: 30px 18px;
    }

    .logo {
        height: 130px;
    }

    .text-logo {
        max-width: 65%;
    }

    .consent-checkbox p {
        font-size: 0.8rem;
    }

    .button-container {
        gap: 15px;
    }

    .button-container button {
        min-width: 130px;
        max-width: 160px;
    }
}

/* Mobile Landscape (481px - 599px) */
@media (max-width: 599px) and (min-width: 481px) and (orientation: landscape) {
    section {
        padding: 20px 12px;
    }

    .header {
        margin-bottom: 10px;
        gap: 10px;
    }

    .logo {
        height: 80px;
    }

    .text-logo {
        max-width: 55%;
    }

    .consent-container {
        padding: 20px 15px;
        margin-bottom: 12px;
    }

    .consent-header p {
        margin-bottom: 12px;
    }

    .consent-text,
    .consent-text2 {
        margin-bottom: 10px;
    }

    ul {
        margin-left: 15px;
        padding-left: 15px;
        margin-bottom: 10px;
    }

    .consent-checkbox {
        margin: 8px 0;
    }

    .consent-checkbox input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }

    .button-container {
        margin-top: 10px;
        gap: 10px;
    }

    .button-container button {
        min-width: 110px;
        max-width: 140px;
        padding: 8px 14px;
    }
}

/* Small Mobile Portrait (up to 480px) */
@media (max-width: 480px) and (orientation: portrait) {
    section {
        padding: 25px 12px;
    }

    .consent-container {
        padding: 25px 15px;
    }

    .consent-header p {
        margin-bottom: 20px;
    }

    .logo {
        height: 120px;
    }

    .text-logo {
        max-width: 60%;
    }

    .consent-checkbox p {
        font-size: 0.75rem;
    }

    .button-container {
        gap: 12px;
    }

    .button-container button {
        min-width: 120px;
        max-width: 150px;
    }
}

/* Small Mobile Landscape (up to 480px) */
@media (max-width: 480px) and (orientation: landscape) {
    section {
        padding: 15px 10px;
    }

    .header {
        margin-bottom: 8px;
        gap: 8px;
    }

    .logo {
        height: 70px;
    }

    .text-logo {
        max-width: 50%;
    }

    .consent-container {
        padding: 18px 12px;
        margin-bottom: 10px;
    }

    .consent-header p {
        margin-bottom: 10px;
    }

    .consent-text,
    .consent-text2 {
        margin-bottom: 8px;
    }

    ul {
        margin-left: 12px;
        padding-left: 12px;
        margin-bottom: 8px;
    }

    .consent-checkbox {
        margin: 6px 0;
    }

    .consent-checkbox input[type="checkbox"] {
        width: 14px;
        height: 14px;
    }

    .button-container {
        margin-top: 8px;
        gap: 8px;
    }

    .button-container button {
        min-width: 100px;
        max-width: 130px;
        padding: 7px 12px;
    }

    .popup {
        padding: 20px 15px;
        max-width: 350px;
    }

    .popup h2 {
        margin-bottom: 12px;
    }

    .popup button {
        margin: 10px auto;
        padding: 10px;
    }
}

/* Extra Small Mobile Portrait (up to 360px) */
@media (max-width: 360px) and (orientation: portrait) {
    section {
        padding: 20px 10px;
    }

    .header {
        gap: 12px;
    }

    .consent-container {
        padding: 20px 12px;
    }

    .logo {
        height: 100px;
    }

    .text-logo {
        max-width: 55%;
    }

    .consent-checkbox p {
        font-size: 0.7rem;
    }

    .button-container {
        gap: 10px;
    }

    .button-container button {
        min-width: 110px;
        max-width: 140px;
        padding: 10px 16px;
    }
}

/* Extra Small Mobile Landscape (up to 360px) */
@media (max-width: 360px) and (orientation: landscape) {
    section {
        padding: 12px 8px;
    }

    .header {
        margin-bottom: 6px;
        gap: 6px;
    }

    .logo {
        height: 60px;
    }

    .text-logo {
        max-width: 45%;
    }

    .consent-container {
        padding: 15px 10px;
        margin-bottom: 8px;
    }

    .consent-header p {
        margin-bottom: 8px;
    }

    .consent-text,
    .consent-text2 {
        margin-bottom: 6px;
    }

    ul {
        margin-left: 10px;
        padding-left: 10px;
        margin-bottom: 6px;
    }

    .consent-checkbox {
        margin: 5px 0;
    }

    .consent-checkbox input[type="checkbox"] {
        width: 12px;
        height: 12px;
    }

    .button-container {
        margin-top: 6px;
        gap: 6px;
    }

    .button-container button {
        min-width: 95px;
        max-width: 120px;
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .popup {
        padding: 18px 12px;
        max-width: 300px;
    }

    .popup h2 {
        margin-bottom: 10px;
    }

    .popup button {
        margin: 8px auto;
        padding: 8px;
    }
}