﻿/* General reset for better mobile scaling */
* {
    box-sizing: border-box;
}

/* Banner */
.top-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 700px;
    margin-top: -20px;
}

    .top-banner img {
        width: 100%;
        height: auto;
        display: block;
    }

.banner-text {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    color: white;
    text-align: left;
    padding: 1rem;
    max-width: 90%;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
}

.top-banner h1 {
    font-size: 36px;
}

.top-banner p {
    font-size: 20px;
}

/* Mission */
.mission-statement {
    font-family: 'Nunito', sans-serif;
    text-align: center;
    margin-top: 50px;
    background-color: #33477d;
    color: white;
    padding: 30px;
    border-radius: 30px;
}

h2 {
    font-size: 36px;
}

p {
    font-size: 20px;
}

/* Support Section */
.who-we-support {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.support-item {
    flex: 1 1 300px;
    max-width: 400px;
    background-color: #008080;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    text-align: center;
}

    .support-item:hover {
        box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
    }

.support-header {
    font-size: 22px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

.support-item button {
    padding: 12px 20px;
    background-color: #33477d;
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

    .support-item button:hover {
        background-color: #556aa5;
    }

.support-item img {
    width: 100%;
    height: 230px;
    border-radius: 30px;
    margin-bottom: 15px;
}

.support-description {
    color: white;
    font-size: 18px;
    margin-bottom: 15px;
    height: 200px;
}

/* What We Do */
.what-we-do {
    margin-top: 30px;
    padding: 30px;
    text-align: center;
    position: relative;
}

    .what-we-do img {
        width: 100%;
        border-radius: 30px;
        display: block;
        height: auto;
        max-height: 1000px;
        object-fit: cover;

    }

.what-we-do-text {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    color: white;
    text-align: left;
    padding: 1rem;
    max-width: 50%;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
}

    .what-we-do-text .wed-header {
        font-weight: bold;
        font-size: 22px;
        margin-top: 20px;
    }

/* Responsive Adjustments */
/*@media (max-width: 1024px) {
    .top-banner h1 {
        font-size: 32px;
    }

    .top-banner p,
    .support-description,
    .what-we-do-text p {
        font-size: 18px;
    }

    .what-we-do-text {
        max-width: 80%;
    }
}*/

.input-section input {
    width: 35% !important;
    height: 40px;
    border-radius: 20px;
    font-size: 20px;
    text-align: center;
}

.input-section button {
    margin-top: 30px;
}

@media (max-width: 1200px) {
    .banner-text {
        max-width: 90%;
        font-size: 18px;
    }

    .what-we-do-text {
        position: static;
        transform: none;
        background-color: rgba(0, 0, 0, 0.7);
        margin-top: -10px;
        width: 100%;
    }

    .what-we-do img {
        max-height: 400px;
    }
}

@media (max-width: 1200px) {
    .top-banner h1 {
        font-size: 24px;
    }

    .top-banner p,
    .support-description,
    .what-we-do-text p {
        font-size: 16px;
    }

    .support-item {
        padding: 15px;
    }

    .support-header {
        font-size: 20px;
    }

    .support-item button {
        font-size: 16px;
        padding: 10px 16px;
    }

    .what-we-do-text {
        position: static;
        transform: none;
        background-color: rgba(0, 0, 0, 0.7);
        margin: 20px auto 0 auto;
        text-align: center !important;
        max-width: 100%;
    }

    .what-we-do-text {
        padding: 10px;
        margin-top: 20px;
        text-align: center !important;
    }

    
}

@media (max-width: 684px) {
    .top-banner img {
        height: 450px;
        width: 200%;
        margin-left: -450px;
    }
}

@media (max-width: 480px) {
    .top-banner img {
        height: 280px;
        width: 200%;
        margin-left: -320px;
    }
}

/* Newsletter Section */
.newsletter-section {
    font-family: 'Nunito', sans-serif;
    text-align: center;
    margin-top: 40px;
    background: linear-gradient(135deg, #33477d 0%, #008080 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 30px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
}

.newsletter-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
}

.newsletter-section > p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.benefit-item {
    flex: 1 1 250px;
    max-width: 300px;
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.benefit-item i {
    font-size: 24px;
    color: #ffffff;
    min-width: 30px;
}

.benefit-item p {
    font-size: 16px;
    margin: 0;
    text-align: left;
}

.newsletter-cta {
    font-size: 18px;
    font-style: italic;
    margin: 30px 0 20px 0;
    opacity: 0.9;
}

.newsletter-btn {
    padding: 15px 30px;
    background-color: #ffffff;
    color: #33477d;
    border: none;
    border-radius: 25px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Blog Section */
.blog-section {
    font-family: 'Nunito', sans-serif;
    text-align: center;
    margin-top: 40px;
    padding: 40px 30px;
    margin-bottom: 40px;
}

.blog-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #33477d;
}

.blog-section > p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #666;
}

.blog-posts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.blog-post {
    flex: 1 1 400px;
    max-width: 500px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: inherit;
}

.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.blog-post-content {
    padding: 25px;
    text-align: left;
}

.blog-post-title {
    font-size: 22px;
    font-weight: bold;
    color: #33477d;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-post-excerpt {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-post-date {
    font-size: 14px;
    color: #999;
    font-style: italic;
}

.blog-read-more {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #33477d;
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.blog-read-more:hover {
    background-color: #556aa5;
    text-decoration: none;
    color: white;
}

.see-more-blogs {
    text-align: center;
    margin-top: 30px;
}

.see-more-blogs button {
    padding: 15px 30px;
    background-color: #33477d;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(51, 71, 125, 0.3);
    position: relative;
    top: 0;
}

.see-more-blogs button:hover {
    background-color: #556aa5;
    transform: translateY(2px);
    box-shadow: 0 2px 10px rgba(51, 71, 125, 0.4);
}

.see-more-blogs button:active {
    transform: translateY(4px);
    box-shadow: 0 1px 5px rgba(51, 71, 125, 0.5);
    transition: all 0.1s ease;
}



/* Newsletter Responsive Design */
@media (max-width: 1200px) {
    .newsletter-section {
        padding: 30px 20px;
    }
    
    .newsletter-section h2 {
        font-size: 28px;
    }
    
    .newsletter-section > p {
        font-size: 18px;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .benefit-item p {
        text-align: center;
        font-size: 15px;
    }
    
    .newsletter-btn {
        font-size: 18px;
        padding: 12px 25px;
    }

    .blog-section {
        padding: 30px 20px;
    }
    
    .blog-section h2 {
        font-size: 28px;
    }
    
    .blog-section > p {
        font-size: 18px;
    }
    
    .blog-post {
        flex: 1 1 350px;
    }
    
    .blog-post-title {
        font-size: 20px;
    }
    
    .blog-post-excerpt {
        font-size: 15px;
    }
    
    .see-more-blogs button {
        font-size: 16px;
        padding: 12px 25px;
    }
}

@media (max-width: 768px) {
    .newsletter-benefits {
        gap: 15px;
    }
    
    .benefit-item {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 15px;
    }
    
    .newsletter-section h2 {
        font-size: 24px;
    }
    
    .newsletter-section > p {
        font-size: 16px;
    }
    
    .newsletter-cta {
        font-size: 16px;
    }

    .blog-posts {
        gap: 20px;
    }
    
    .blog-post {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .blog-section h2 {
        font-size: 24px;
    }
    
    .blog-section > p {
        font-size: 16px;
    }
    
    .blog-post-content {
        padding: 20px;
    }
    
    .blog-post-title {
        font-size: 18px;
    }
    
    .blog-post-excerpt {
        font-size: 14px;
    }
    
    .see-more-blogs button {
        font-size: 15px;
        padding: 10px 20px;
        margin-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .blog-post img {
        height: 150px;
    }
    
    .blog-post-content {
        padding: 15px;
    }
    
    .blog-post-title {
        font-size: 16px;
    }
    
    .blog-post-excerpt {
        font-size: 13px;
    }
    
    .blog-read-more {
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .see-more-blogs button {
        font-size: 14px;
        padding: 8px 16px;
    }
}
