* {
    margin: 0;
    padding: 0;
    font-family: "Lato", sans-serif;
    box-sizing: border-box;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.header-section {
    position: relative;
    overflow: visible;
    height: 100%;
    width: 100vw;
}

.header-section::before {
    border-radius: 100%;
    position: absolute;
    background: radial-gradient(76.53% 29.28% at 68.11% 81.16%, #FFFAFB 0%, #FFEDF0 100%);
    right: -150px;
    left: -180px;
    top: -300px;
    content: '';
    bottom: 0;
    z-index: 1;
}

.header {
    margin-top: 12%;
    position: relative;
    z-index: 2;
}

.header h1 {
    margin-bottom: 5%;
    color: #E21E5B;
    text-align: center;
    font-family: "Lato", sans-serif;
    font-weight: 800;
    font-size: 32px;
    line-height: 1.2;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.wave-svg {
    position: absolute;
    top: 40%;
    right: 0;
    z-index: 4;
}

/* Child Safety Policy Content Styling */
#content {
    background: #fff;
    position: relative;
    z-index: 3;
    padding: 60px 0;
}

.content-wrap {
    width: 100%;
    margin: 0 auto;
}

.container {
    padding: 0;
}

/* Policy Content Container */
.policy-content {
    padding: 30px 20px;
    margin: 0 auto;
    width: 80vw;
    line-height: 1.6;
    color: #333;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Typography */
.policy-content h3 {
    color: #000;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 25px 0 12px 0;
    font-family: "Lato", sans-serif;
    border-bottom: 2px solid #FFEDF0;
    padding-bottom: 8px;
}

.policy-content h3:first-of-type {
    margin-top: 0;
}

.policy-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #444;
    font-weight: 400;
}

.policy-content strong {
    color: #E21E5B;
    font-weight: 700;
}

/* Lists */
.policy-content ul {
    margin: 12px 0 25px 25px;
    padding-left: 0;
}

.policy-content li {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.policy-content li:before {
    content: "•";
    color: #E21E5B;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Links */
.policy-content a {
    color: #E21E5B;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.policy-content a:hover {
    color: #C41E4B;
    text-decoration: underline;
}

/* Contact Section */
.policy-content .contact-section {
    padding: 20px;
    margin: 25px 0;
}

.policy-content .contact-section p {
    margin-bottom: 10px;
}

.policy-content .contact-section strong {
    color: #E21E5B;
    font-weight: 700;
}

/* Last Updated */
.policy-content .last-updated {
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    color: #6C757D;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .header-section {
        min-height: 220px;
        overflow: hidden;
    }

    .header-section::before {
        right: -80px;
        left: -80px;
        top: -250px;
    }

    .header {
        margin-top: 12%;
        padding: 0 25px;
    }

    .header h1 {
        font-size: 26px;
        line-height: 1.3;
        max-width: 500px;
    }

    .policy-content {
        padding: 20px 15px;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }
    
    .policy-content h3 {
        font-size: 1.3rem;
        margin: 20px 0 10px 0;
    }
    
    .policy-content p,
    .policy-content li {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .policy-content ul {
        margin: 10px 0 25px 15px;
    }
    
    .policy-content li {
        padding-left: 15px;
        margin-bottom: 8px;
    }
}

@media screen and (max-width: 480px) {
    .wave-svg {
        display: none;
    }

    .header-section {
        padding-top: 65px; /* Adjusted for mobile navbar height */
        min-height: 180px; /* Reduced minimum height for mobile */
        overflow: hidden; /* Prevent overflow issues */
    }

    .header-section::before {
        right: -30px;
        left: -30px;
        top: -150px;
        border-radius: 50%;
    }

    .header {
        margin-top: 10%;
        padding: 0 20px;
        position: relative;
        z-index: 2;
    }

    .header h1 {
        font-size: 20px;
        margin-bottom: 5%;
        line-height: 1.2;
        word-wrap: break-word;
        max-width: 300px;
        padding: 0 10px;
    }

    #content {
        padding: 40px 0;
    }
    
    .policy-content {
        padding: 15px 10px;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }
    
    .policy-content h3 {
        font-size: 1.1rem;
        margin: 15px 0 8px 0;
    }
    
    .policy-content p,
    .policy-content li {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .policy-content ul {
        margin: 8px 0 20px 12px;
    }
    
    .policy-content li {
        padding-left: 12px;
        margin-bottom: 6px;
    }
    
    .policy-content .contact-section {
        padding: 20px;
        margin: 25px 0;
    }
    
    .policy-content .last-updated {
        padding: 12px 15px;
        margin-bottom: 25px;
        font-size: 14px;
    }
}