/* Responsive Design for Legal Disclosure Page */

/* Laptop and Large Tablet (769px - 1240px) */
@media (max-width: 1240px) and (min-width: 769px) {
    
    /* Header Styles */
    .header {
        width: 100%;
        height: 80px;
        position: fixed;
        display: flex;
        padding-left: 1.50rem;
        padding-right: 1.50rem;
        align-items: center;
        justify-content: space-between;
        z-index: 999;
        background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
        backdrop-filter: blur(4px);
    }

    .header-menu .header-button{
        display: none;
    }

    .text-heading img {
        width: 31px;
        height: 32px;
        position: absolute;
    }
    
    /* Main Content */
    .main-section {
        padding-left: 1.50rem;
        padding-right: 1.50rem;
    }
    
    .page-title h1 {
        font-size: 48px;
        line-height: 56px;
    }
    
    .page-subtitle p {
        font-size: 18px;
        line-height: 26px;
    }
    
    .terms-section h2 {
        font-size: 22px;
        line-height: 30px;
    }
    
    .terms-section p {
        font-size: 17px;
        line-height: 26px;
    }
    
    .cta-content h2 {
        font-size: 32px;
        line-height: 40px;
    }
    
    .cta-content p {
        font-size: 18px;
        line-height: 26px;
    }

    /* Footer Styles */
    .footer {
        background: #272727;
        padding-left: 1.50rem;
        padding-right: 1.50rem;
        padding-top: 72px;
    }
}

/* Small Tablet (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
    
    /* Header Styles */
    .header {
        width: 100%;
        height: 80px;
        position: fixed;
        display: flex;
        padding-left: 1.50rem;
        padding-right: 1.50rem;
        align-items: center;
        justify-content: space-between;
        z-index: 999;
        background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
        backdrop-filter: blur(4px);
    }

    .back-to-top button{
        display: none;
    }
    
    /* Main Content */
    .main-section {
        padding-left: 1.50rem;
        padding-right: 1.50rem;
    }
    
    .page-title h1 {
        font-size: 42px;
        line-height: 50px;
    }
    
    .page-subtitle p {
        font-size: 17px;
        line-height: 25px;
    }
    
    .terms-content {
        margin-bottom: 12px;
    }
    
    .terms-section {
        margin-bottom: 6px;
    }
    
    .terms-section h2 {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 14px;
    }
    
    .terms-section p {
        font-size: 16px;
        line-height: 25px;
        text-align: left;
    }
    
    .terms-cta {
        padding: 50px 30px;
        margin-bottom: 30px;
    }
    
    .cta-content h2 {
        font-size: 28px;
        line-height: 36px;
    }
    
    .cta-content p {
        font-size: 17px;
        line-height: 25px;
        margin-bottom: 28px;
    }
    
    .cta-button button {
        padding: 14px 28px;
        font-size: 15px;
    }

    /* Footer Styles */
    .footer {
        padding-left: 1.50rem;
        padding-right: 1.50rem;
        display: flex;
        flex-direction: column;
    }

    .footer .footer-row {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 30px;
        padding-bottom: 30px;
        height: auto;
    }

    .rows{
        padding-bottom: 24px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        justify-content: center;
        align-items: center;
    }
}

/* Mobile (up to 480px) */
@media (max-width: 480px) {
    
    html, body {
        margin: 0;
        padding: 0;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Header Styles */
    .header {
        width: 100%;
        height: 80px;
        position: fixed;
        display: flex;
        padding-left: 14px;
        padding-right: 14px;
        align-items: center;
        justify-content: space-between;
        z-index: 999;
        background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
        backdrop-filter: blur(4px);
    }

    .header-button{
        display: none;
    }

    .header-menu .header-button{
        display: block !important;
    }

    .header-logo img {
        width: 70px;
        height: 34px;
    }

    .header-menu {
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        display: flex;
        justify-content: flex-end;
        position: relative;
        gap: 24px;
        width: -webkit-fill-available;
    }
    
    /* Main Content */
    .main-section {
        padding-left: 14px;
        padding-right: 14px;
    }
    
    .page-title h1 {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 20px;
    }
    
    .page-subtitle p {
        font-size: 16px;
        line-height: 24px;
    }
    
    .terms-content {
        margin-bottom: 12px;
    }
    
    .terms-section {
        margin-bottom: 6px;
    }
    
    .terms-section h2 {
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 12px;
    }
    
    .terms-section p {
        font-size: 15px;
        line-height: 24px;
        text-align: left;
    }
    
    .terms-cta {
        padding: 40px 20px;
        margin-bottom: 20px;
        border-radius: 8px;
    }
    
    .cta-content h2 {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 14px;
    }
    
    .cta-content p {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 24px;
    }
    
    .cta-button button {
        padding: 12px 24px;
        font-size: 14px;
        line-height: 20px;
    }

    /* Footer Styles */
    .footer {
        background: #272727;
        padding-left: 1.50rem;
        padding-right: 1.50rem;
        padding-top: 72px;
    }

    .footer .footer-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        height: auto;
        gap: 30px;
        padding-bottom: 30px;
    }

    .location p br {
        display: none;
    }

    .rows{
        padding-top: 24px;
        padding-bottom: 24px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        justify-content: center;
        align-items: center;
    }
}

/* Extra Small Mobile (up to 320px) */
@media (max-width: 320px) {
    
    .main-section {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .page-title h1 {
        font-size: 28px;
        line-height: 36px;
    }
    
    .page-subtitle p {
        font-size: 15px;
        line-height: 22px;
    }
    
    .terms-section {
        margin-bottom: 30px;
    }
    
    .terms-section h2 {
        font-size: 16px;
        line-height: 24px;
    }
    
    .terms-section p {
        font-size: 14px;
        line-height: 22px;
    }
    
    .terms-cta {
        padding: 30px 15px;
    }
    
    .cta-content h2 {
        font-size: 20px;
        line-height: 28px;
    }
    
    .cta-content p {
        font-size: 15px;
        line-height: 22px;
    }
    
    .cta-button button {
        padding: 10px 20px;
        font-size: 13px;
        width: 100%;
        max-width: 250px;
    }
}

/* Additional responsive improvements */
@media (max-width: 768px) {
    /* Remove hover effects on touch devices */
    .terms-section:hover {
        transform: none;
    }
    
    .terms-section h2:hover {
        color: #272727;
    }
    
    .cta-button button:hover {
        transform: none;
        box-shadow: none;
    }
    
    /* Improve touch targets on mobile */
    .cta-button button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Ensure text remains readable on all screen sizes */
@media (max-width: 480px) {
    .terms-section p {
        word-wrap: break-word;
        hyphens: auto;
    }
}

.company-name{
    display: flex;
    gap: 12px;
    padding-bottom: 8px;
}

.company-name img{
    width: 20px;
    height: 20px;
}

.company-name p{
    color: #fff;
    font-size: 16px;
    margin-bottom: 0;
}
