/* ===== Reset and Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: "Open Sans", sans-serif;
    color: #333333;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* ===== Main Container ===== */
.main-container {
    width: 100%;
    min-height: 100vh;
    background: white;
    overflow-x: hidden;
}

.content-wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 0;
}

.section-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== Hero Section ===== */
.hero-section {
    width: 100%;
    background: linear-gradient(0deg, #d3d3db 0.07%, #e5e6eb 61.19%, #EFF2FF 99.93%);
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    width: 98%;
    margin: 0 auto;
    padding: 0;
}

.hero-text {
    flex: 1 1 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 2rem;
    margin: 0;
}

.hero-text h1 {
    font-size: clamp(2rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1.3;
    word-break: break-word;
}

.hero-text h1 span {
    display: inline-block;
    opacity: 1;
    animation: slideIn 0.6s ease-out forwards;
}

.hero-text p {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    word-wrap: break-word;
}

/* ===== Highlights ===== */
.highlight-blue {
    color: #4285F4;
}

.highlight-yellow {
    color: #F8A401;
}

/* ===== Terms Section ===== */
.privacy-section {
    margin: 10rem 2.5rem;
    margin-bottom: 2.7rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

.privacy-section h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    word-break: break-word;
}

.privacy-section h2 {
    font-size: 1.5rem;
    margin-top: 25px;
    color: #F8A401;
    font-weight: 600;
    word-wrap: break-word;
}

.privacy-section p {
    margin-bottom: 16px;
    font-size: 1.2rem;
    color: #555555;
    line-height: 1.7;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.privacy-section a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-section a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* ===== Responsive Fixes ===== */

@media (max-width: 1200px) {

    .terms-section {
        margin: 8rem 2rem;
    }

    .terms-section h1 {
        font-size: 3rem;
    }

    .terms-section h2 {
        font-size: 1.4rem;
    }

    .terms-section p {
        font-size: 1.1rem;
    }

    .hero-text h1 {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }
}


/* Large Tablets & Small Laptops */
@media (max-width: 950px) {

    .privacy-section {
        margin: 2rem 1.5rem;
    }

    .privacy-section h1 {
        font-size: 2.5rem;
    }

    .privacy-section h2 {
        font-size: 1.3rem;
    }

    .privacy-section p {
        font-size: 1rem;
    }

    .privacy-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .hero-text {
        padding: 0 1rem;
    }

    .hero-text h1 {
        font-size: clamp(2rem, 5vw, 3rem);
    }
}

/* Tablets */
@media (max-width: 768px) {

    .privacy-section {
        margin: 2rem 1rem;
    }

    .privacy-section h1 {
        font-size: 2rem;
    }

    .privacy-section h2 {
        font-size: 1.1rem;
    }

    .privacy-section p {
        font-size: 0.95rem;
    }

    .hero-text p {
        font-size: 1rem;
    }
}

/* Mobiles */
@media (max-width: 576px) {

    .privacy-section {
        margin: 2rem 1rem;
    }

    .privacy-section h1 {
        font-size: 1.6rem;
    }

    .privacy-section h2 {
        font-size: 1rem;
    }

    .privacy-section p {
        font-size: 0.9rem;
    }

    .hero-text {
        padding: 0 0.5rem;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 0.95rem;
        line-height: 1.5;
    }


}

/* ===== Optional: Scroll Animation Support ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}
