* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    line-height: 20px;
    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%;
}

.terms-container {
    background-color: white;
    padding: 50px 30px;
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 10px; 
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.terms-text-header {
    color: black;
    text-align: center;
    margin-bottom: 30px;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.6;
}

.terms-text-header span,
.terms-text span {
    font-weight: 800;
}

.terms-text2 {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.terms-text2 p {
    color: black;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.6;
}

.button-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.button-container a {
    padding: 12px 24px;
    border: none;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: bold;
    cursor: pointer;
    border-radius: 20px;
    width: 175px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.button-container a: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;
}

/* ---------- RESPONSIVE DESIGN ---------- */

/* Large Desktop (1440px and above) */
@media (min-width: 1440px) {
    section {
        padding: 60px 40px;
    }

    .terms-container {
        padding: 60px 50px;
    }

    .logo {
        height: 220px;
    }

    .text-logo {
        height: 70px;
    }
}

/* Medium Desktop (1200px - 1439px) */
@media (max-width: 1439px) and (min-width: 1200px) {
    section {
        padding: 50px 30px;
    }

    .terms-container {
        padding: 55px 40px;
    }
}

/* Small Desktop (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    section {
        padding: 45px 25px;
    }

    .terms-container {
        padding: 50px 35px;
        max-width: 1000px;
    }

    .logo {
        height: 180px;
    }

    .text-logo {
        height: 55px;
    }
}

/* Tablet Portrait (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) and (orientation: portrait) {
    section {
        padding: 40px 20px;
    }

    .terms-container {
        padding: 40px 25px;
        max-width: 90%;
    }

    .terms-text2 {
        padding: 0 15px;
    }

    .logo {
        height: 160px;
    }

    .text-logo {
        height: 50px;
    }

    .button-container {
        gap: 15px;
    }

    .button-container a {
        width: 160px;
    }
}

/* 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 {
        height: 40px;
    }

    .terms-container {
        padding: 30px 25px;
        margin-bottom: 20px;
    }

    .terms-text-header {
        margin-bottom: 20px;
    }

    .terms-text2 p {
        margin-bottom: 15px;
    }

    .button-container {
        margin-top: 15px;
        gap: 15px;
    }

    .button-container a {
        width: 150px;
        padding: 10px 20px;
    }
}

/* Small Tablet Portrait (600px - 767px) */
@media (max-width: 767px) and (min-width: 600px) and (orientation: portrait) {
    section {
        padding: 35px 15px;
    }

    .terms-container {
        padding: 35px 20px;
    }

    .terms-text2 {
        padding: 0 10px;
    }

    .logo {
        height: 140px;
    }

    .text-logo {
        height: 45px;
    }

    .button-container a {
        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 {
        height: 35px;
    }

    .terms-container {
        padding: 25px 20px;
        margin-bottom: 15px;
    }

    .terms-text-header {
        margin-bottom: 15px;
    }

    .terms-text2 {
        padding: 0 10px;
    }

    .terms-text2 p {
        margin-bottom: 12px;
    }

    .button-container {
        margin-top: 12px;
        gap: 12px;
    }

    .button-container a {
        width: 140px;
        padding: 9px 18px;
    }
}

/* Mobile Portrait (481px - 599px) */
@media (max-width: 599px) and (min-width: 481px) and (orientation: portrait) {
    section {
        padding: 30px 15px;
    }

    .terms-container {
        padding: 30px 18px;
    }

    .terms-text2 {
        padding: 0 10px;
    }

    .logo {
        height: 130px;
    }

    .text-logo {
        height: 42px;
    }

    .button-container {
        gap: 15px;
    }

    .button-container a {
        width: 150px;
    }
}

/* 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 {
        height: 30px;
    }

    .terms-container {
        padding: 20px 15px;
        margin-bottom: 12px;
    }

    .terms-text-header {
        margin-bottom: 12px;
    }

    .terms-text2 {
        padding: 0 8px;
    }

    .terms-text2 p {
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .button-container {
        margin-top: 10px;
        gap: 10px;
    }

    .button-container a {
        width: 130px;
        padding: 8px 16px;
    }
}

/* Small Mobile Portrait (up to 480px) */
@media (max-width: 480px) and (orientation: portrait) {
    section {
        padding: 25px 12px;
    }

    .terms-container {
        padding: 25px 15px;
    }

    .terms-text-header {
        margin-bottom: 20px;
    }

    .terms-text2 {
        padding: 0 8px;
    }

    .terms-text2 p {
        margin-bottom: 15px;
    }

    .button-container {
        gap: 12px;
    }

    .button-container a {
        width: 140px;
        padding: 10px 16px;
    }

    .logo {
        height: 120px;
    }

    .text-logo {
        height: 40px;
    }
}

/* 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 {
        height: 28px;
    }

    .terms-container {
        padding: 18px 12px;
        margin-bottom: 10px;
    }

    .terms-text-header {
        margin-bottom: 10px;
    }

    .terms-text2 {
        padding: 0 6px;
    }

    .terms-text2 p {
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .button-container {
        margin-top: 8px;
        gap: 8px;
    }

    .button-container a {
        width: 120px;
        padding: 7px 14px;
        font-size: 0.8rem;
    }
}

/* Extra Small Mobile Portrait (up to 360px) */
@media (max-width: 360px) and (orientation: portrait) {
    section {
        padding: 20px 10px;
    }

    .header {
        gap: 12px;
    }

    .terms-container {
        padding: 20px 12px;
    }

    .terms-text2 {
        padding: 0 6px;
    }

    .logo {
        height: 100px;
    }

    .text-logo {
        height: 35px;
    }

    .button-container {
        gap: 10px;
    }

    .button-container a {
        width: 130px;
        padding: 9px 14px;
    }
}

/* 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 {
        height: 25px;
    }

    .terms-container {
        padding: 15px 10px;
        margin-bottom: 8px;
    }

    .terms-text-header {
        margin-bottom: 8px;
    }

    .terms-text2 {
        padding: 0 5px;
    }

    .terms-text2 p {
        margin-bottom: 6px;
        line-height: 1.2;
    }

    .button-container {
        margin-top: 6px;
        gap: 6px;
    }

    .button-container a {
        width: 110px;
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}