/* ===== Base Styles ===== */
.foryoungpeople, .forschools {
    font-family: 'Nunito', sans-serif;
    color: #033f3f;
    background: white;
    min-height: 100vh;
}

.foryoungpeople {
    padding: 40px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Banner Section (For Young People) ===== */
.foryoungpeople .banner {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.foryoungpeople .banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.foryoungpeople .banner:hover img {
    transform: scale(1.05);
}

/* ===== Support Title ===== */
.support-title {
    text-align: center;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #007c7a;
    margin: 60px 0 40px 0;
    line-height: 1.2;
}

/* ===== Content Section (For Young People) ===== */
.foryoungpeople .content-section {
    background: white;
    border-radius: 25px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.foryoungpeople .content-section p {
    color: #33477d;
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.foryoungpeople .content-section p:last-child {
    margin-bottom: 0;
}

/* ===== Boxes Section (For Young People) ===== */
.foryoungpeople .boxes-section {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.foryoungpeople .box {
    flex: 1;
    background: #33477d;
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.foryoungpeople .box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.foryoungpeople .box h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.foryoungpeople .box p {
    color: white;
    font-size: 1.2rem;
    line-height: 1.7;
}

.for-young-people-img {
    text-align: center;
}

.foryoungpeople .content-section img {
    width: 50%;
    border-radius: 30px;
    text-align: center;
}

/* ===== For Schools Styles ===== */
.forschools {
    padding: 40px 20px;
}

.forschools .split-section {
    padding: 60px 0;
    background: white;
    border-radius: 25px;
    margin-bottom: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.forschools .split-content {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 0 40px;
}

.forschools .split-text {
    flex: 1;
}

.forschools .split-text h2 {
    margin-bottom: 25px;
    color: #33477d;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: capitalize;
}

.forschools .split-text p {
    font-weight: 400;
    font-size: 1.2rem;
    color: #33477d;
    line-height: 1.7;
    margin-bottom: 20px;
}

.forschools .split-text ol {
    padding-left: 20px;
    margin-top: 20px;
}

.forschools .split-text li {
    font-weight: 400;
    font-size: 1.2rem;
    color: #33477d;
    line-height: 1.7;
    margin-bottom: 12px;
    padding-left: 10px;
}

.forschools .split-image {
    flex: 1;
}

.forschools .split-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.forschools .split-image img:hover {
    transform: scale(1.02);
}

.forschools .text-section {
    padding: 50px 40px;
    background: white;
    border-radius: 25px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.forschools .text-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #33477d;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.forschools .text-section p {
    font-weight: 400;
    font-size: 1.1rem;
    color: #33477d;
    line-height: 1.7;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.blue-container {
    background-color: #33477d !important;
}

.blue-container p, .blue-container h2 {
    color: white !important;
}

/* ===== Tablet Responsive (768px - 1024px) ===== */
@media (max-width: 1024px) {
    .foryoungpeople .banner {
        height: 400px;
        border-radius: 0 0 20px 20px;
    }

    .support-title {
        font-size: 2.2rem;
        margin: 50px 0 35px 0;
    }

    .foryoungpeople .content-section {
        padding: 35px;
    }

    .foryoungpeople .boxes-section {
        gap: 20px;
    }

    .foryoungpeople .box {
        padding: 25px;
    }

    .foryoungpeople .box h2 {
        font-size: 1.6rem;
    }

    .forschools .split-section,
    .forschools .text-section {
        padding: 40px 30px;
        border-radius: 20px;
    }

    .forschools .split-content {
        gap: 40px;
        padding: 0 20px;
    }

    .foryoungpeople .content-section h2,
    .forschools .split-text h2,
    .forschools .text-section h2 {
        font-size: 2rem;
    }

    .forschools .split-image img {
        height: 300px;
    }

    .forschools {
        margin-bottom: 100px;
        margin-top: 50px;
    }
}

/* ===== Mobile Responsive (768px and below) ===== */
@media (max-width: 768px) {

    .container {
        padding: 0 15px;
    }

    /* Banner Mobile */
    .foryoungpeople .banner {
        height: 300px;
        border-radius: 0 0 15px 15px;
        margin-bottom: 30px;
    }

    /* Title Mobile */
    .support-title {
        font-size: 1.8rem;
        margin: 40px 0 30px 0;
    }

    /* Content Section Mobile */
    .foryoungpeople .content-section {
        padding: 25px;
        margin-bottom: 30px;
    }

    .foryoungpeople .content-section p {
        font-size: 1.1rem;
    }

    /* For Schools Mobile */
    .forschools {
        padding: 20px 10px;
    }

    .forschools .split-section {
        padding: 30px 20px;
        margin-bottom: 30px;
        border-radius: 20px;
    }

    .forschools .split-content {
        flex-direction: column;
        gap: 30px;
        padding: 0 10px;
        text-align: center;
    }

    .forschools .split-text h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .forschools .split-text p {
        font-size: 1.2rem;
        text-align: left;
        margin-bottom: 15px;
    }

    .forschools .split-text li {
        font-size: 1.2rem;
        text-align: left;
    }

    .forschools .split-image img {
        height: 250px;
        border-radius: 15px;
    }

    .forschools .text-section {
        padding: 30px 25px;
        margin-bottom: 30px;
        border-radius: 20px;
    }

    .forschools .text-section h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .forschools .text-section p {
        font-size: 1.2rem;
        text-align: left;
    }

    .foryoungpeople .boxes-section {
        flex-direction: column;
        gap: 20px;
    }

    .foryoungpeople .box {
        padding: 25px;
    }

    .foryoungpeople .box h2 {
        font-size: 1.6rem;
    }

    .foryoungpeople .box p {
        font-size: 1.1rem;
    }
}

/* ===== Small Mobile (480px and below) ===== */
@media (max-width: 480px) {
    .foryoungpeople, .forschools {
        padding: 0;
    }

    .container {
        padding: 0 10px;
    }

    .foryoungpeople .banner {
        height: 250px;
        border-radius: 0;
        margin-bottom: 20px;
    }

    .support-title {
        font-size: 1.6rem;
        margin: 30px 0 25px 0;
    }

    .foryoungpeople .content-section {
        padding: 20px;
        margin-bottom: 25px;
    }

    .foryoungpeople .content-section p {
        font-size: 1.2rem;
    }

    .foryoungpeople .boxes-section {
        flex-direction: column;
        gap: 20px;
    }

    .foryoungpeople .box {
        padding: 20px;
    }

    .foryoungpeople .box h2 {
        font-size: 1.4rem;
    }

    .foryoungpeople .box p {
        font-size: 1.2rem;
    }

    .forschools .split-section {
        padding: 20px 10px;
        margin-bottom: 30px;
        border-radius: 20px;
    }

    .forschools .split-content {
        padding: 0 5px;
    }

    .forschools .split-image img {
        height: 200px;
        border-radius: 12px;
    }
}

/* ===== Large Desktop Optimization for For Young People ===== */
@media (min-width: 1200px) {
    .container {
        max-width: 1300px;
        padding: 0 40px;
    }

    .foryoungpeople .banner {
        height: 600px;
        border-radius: 0 0 40px 40px;
    }

    .support-title {
        font-size: 2.8rem;
        margin: 80px 0 50px 0;
    }

    .foryoungpeople .content-section {
        padding: 60px;
        margin-bottom: 60px;
    }

    .foryoungpeople .content-section p {
        font-size: 1.3rem;
    }

    .foryoungpeople .boxes-section {
        gap: 40px;
        margin-bottom: 60px;
    }

    .foryoungpeople .box {
        padding: 40px;
    }

    .foryoungpeople .box h2 {
        font-size: 2rem;
    }

    .foryoungpeople .box p {
        font-size: 1.3rem;
    }

    .forschools {
        padding: 60px 40px;
    }

    .forschools .split-section,
    .forschools .text-section {
        padding: 80px 60px;
        margin-bottom: 60px;
    }

    .forschools .split-content {
        gap: 80px;
        padding: 0 40px;
    }

    .forschools .split-text h2,
    .forschools .text-section h2 {
        font-size: 2.5rem;
    }

    .forschools .split-text p,
    .forschools .text-section p,
    .forschools .split-text li {
        font-size: 1.2rem;
    }

    .forschools .split-image img {
        height: 400px;
    }
}

/* For Schools Page Specific Styles */
.forschools .content-section {
    background: white;
    border-radius: 25px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.forschools .content-section h2 {
    color: #33477d;
    font-size: 1.8rem;
    margin: 30px 0 20px;
    font-weight: 700;
}

.forschools .content-section p {
    color: #33477d;
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.forschools .offer-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.forschools .offer-list li {
    color: #33477d;
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.forschools .offer-list li:before {
    content: "•";
    color: #008080;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.forschools .cta-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #33477d;
    text-align: center;
    margin: 30px 0 20px;
}

.forschools .cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #33477d 0%, #008080 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.forschools .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.forschools .three-column-section {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.forschools .column {
    flex: 1;
    background: #33477d;
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.forschools .column p {
    color: white;
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.forschools .image-column {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.forschools .image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    transition: transform 0.3s ease;
}

.forschools .image-column img:hover {
    transform: scale(1.05);
}

/* Responsive Styles for For Schools Page */
@media (max-width: 1024px) {
    .forschools .three-column-section {
        gap: 20px;
    }
    
    .forschools .column {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .forschools .three-column-section {
        flex-direction: column;
        gap: 30px;
    }
    

    .foryoungpeople {
        margin-bottom: 100px !important;
    }

    .forschools .image-column {
        height: 300px;
    }
    
    .forschools .content-section,
    .forschools .column {
        padding: 25px;
    }
    
    .forschools .content-section h2 {
        font-size: 1.6rem;
    }
    
    .forschools .content-section p,
    .forschools .column p,
    .forschools .offer-list li {
        font-size: 1.2rem;
    }
    
    .forschools .cta-text {
        font-size: 1.2rem;
    }
    
    .forschools .cta-button {
        font-size: 1.2rem;
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .forschools .content-section,
    .forschools .column {
        padding: 20px;
    }
    
    .forschools .image-column {
        height: 250px;
    }
    
    .forschools .content-section h2 {
        font-size: 1.4rem;
    }
    
    .forschools .content-section p,
    .forschools .column p,
    .forschools .offer-list li {
        font-size: 1.2rem;
    }
    
    .forschools .cta-text {
        font-size: 1.2rem;
    }
    
    .forschools .cta-button {
        font-size: 1.2rem;
        padding: 10px 20px;
    }
}