/* =========================
   LARGE DESKTOP
========================= */

@media (max-width: 1399px) {
    .hero-section {
        height: 420px;
    }

    .hero-bg-carousel .carousel-item,
    .hero-bg-carousel .carousel-item img {
        height: 420px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .about-content h2 {
        font-size: 30px;
    }

    .sections-heading h2 {
        font-size: 34px;
    }

    .video-section {
        padding: 50px 0;
    }

    .info-content h3 {
        font-size: 32px;
    }

    .top-donors-section .section-header h2 {
        font-size: 32px;
    }

    .csr-content h2 {
        font-size: 34px;
    }

    .csr-image-wrapper {
        padding-left: 0px;
    }
}

/* =========================
   LAPTOP
========================= */

@media (max-width: 1199px) {

    .hero-section {
        height: 440px;
    }

    .hero-bg-carousel .carousel-item,
    .hero-bg-carousel .carousel-item img {
        height: 440px;
    }

    .hero-content h1 {
        font-size: 38px;
        line-height: 1.4;
    }

    .about-content h2 {
        font-size: 28px;
    }

    .sections-heading h2 {
        font-size: 32px;
    }

    .video-section {
        padding: 40px 0;
    }

    .info-content h3 {
        font-size: 30px;
    }

    .top-donors-section .section-header h2 {
        font-size: 30px;
    }

    .csr-content h2 {
        font-size: 29px;
    }
}


/* =========================
   TABLET
========================= */

@media (max-width: 991px) {

    .hero-section {
        height: 400px;
        text-align: center;
        padding-top: 20px;
    }

    .hero-bg-carousel .carousel-item,
    .hero-bg-carousel .carousel-item img {
        height: 400px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content p {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
        margin-bottom: 20px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-carousel-controls {
        right: 15px;
    }

    .hero-overlay {
        background: rgba(11, 44, 138, 0.75);
    }

    .about-content h2 {
        font-size: 26px;
    }

    .current-project-section {
        padding: 40px 0;
    }

    .sections-heading h2 {
        font-size: 30px;
    }

    .video-section {
        padding: 30px 0;
    }

    .info-content h3 {
        font-size: 28px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-card iframe {
        height: 300px;
    }

    .top-donors-section .section-header h2 {
        font-size: 28px;
    }

    .top-donors-section .view-btn {
        position: static;
        display: inline-block;
        margin-top: 15px;
    }

    .top-donors-section .donor-card {
        min-height: auto;
    }

    .top-donors-section {
        padding: 40px 0;
    }

    .donation-content {
        margin-bottom: 60px;
    }

    .donation-content h2 {
        font-size: 38px;
    }

    .donation-section {
        padding: 30px 0;
    }

    .csr-section {
        padding: 30px 0;
    }

    .csr-image-wrapper {
        padding-right: 0;
        margin-bottom: 70px;
    }

    .csr-content {
        text-align: center;
    }

    .csr-content h2 {
        font-size: 38px;
    }

    .csr-feature-item {
        text-align: left;
    }

}

/* =========================
   MOBILE LANDSCAPE
========================= */

@media (max-width: 767px) {

    .hero-section {
        min-height: 85vh;
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 30px;
        line-height: 1.5;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .hero-carousel-controls {
        display: none;
    }

    .hero-tag {
        font-size: 13px;
        padding: 10px 18px;
    }

    .about-content h2 {
        font-size: 24px;
    }

    .current-project-section {
        padding: 30px 0;
    }

    .sections-heading h2 {
        font-size: 28px;
    }

    .top-donors-section {
        padding: 50px 0;
    }

    .top-donors-section .section-header h2 {
        font-size: 24px;
    }

    .top-donors-section .section-header p {
        font-size: 14px;
    }

    .top-donors-section .donor-card {
        padding: 35px 15px 15px;
    }

    .top-donors-section .badge {
        width: 55px;
        height: 55px;
        left: 10px;
    }

    .top-donors-section .donor-card>img {
        width: 80px;
        height: 80px;
    }

    .top-donors-section .donor-card h4 {
        font-size: 16px;
    }

    .top-donors-section .location {
        font-size: 12px;
    }

    .top-donors-section .donor-card p {
        font-size: 13px;
        min-height: auto;
    }

    .top-donors-section .impact {
        font-size: 13px;
        padding: 10px;
    }

    .top-donors-section {
        padding: 30px 0;
    }

    .donation-content {
        margin-bottom: 60px;
    }

    .donation-content h2 {
        font-size: 38px;
    }

    .csr-content h2 {
        font-size: 32px;
        line-height: 1.6;
    }

    .csr-content p {
        font-size: 16px;
    }

}

/* =========================
   MOBILE
========================= */

@media (max-width: 575px) {

    .hero-section {
        height: 450px;
    }

    .hero-bg-carousel .carousel-item,
    .hero-bg-carousel .carousel-item img {
        height: 450px;

    }

    .hero-content h1 {
        font-size: 24px;
        line-height: 1.6;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.8;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 14px 20px;
        font-size: 14px;
    }

    .hero-tag {
        font-size: 12px;
        padding: 8px 16px;
    }

    .about-content h2 {
        font-size: 22px;
    }

    .about-section {
        padding: 20px 0;
    }

    .current-project-section {
        padding: 20px 0;
    }

    .sections-heading h2 {
        font-size: 26px;
    }

    .info-content {
        padding: 20px 10px;
    }

    .tag {
        font-size: 12px;
    }

    .info-content h3 {
        font-size: 23px;
        line-height: 1.5;
    }

    .top-donors-section .section-header h2 {
        font-size: 22px;
    }

    .top-donors-section {
        padding: 20px 0;
    }

    .top-donors-section .view-btn {
        padding: 7px 24px;
        font-size: 13px;
    }

    .donation-card {
        padding: 30px 25px;
    }

    .donation-content h2 {
        font-size: 28px;
    }

    .donation-buttons {
        flex-direction: column;
    }

    .donate-btn,
    .csr-btn {
        width: 100%;
        text-align: center;
    }

    .donation-section {
        padding: 20px 0;
    }

    .donation-card h4 {
        font-size: 22px;
    }

    .csr-section {
        padding: 20px 0;
    }

    .csr-content h2 {
        font-size: 28px;
    }

    .csr-buttons {
        flex-direction: column;
    }

    .csr-primary-btn,
    .csr-secondary-btn {
        width: 100%;
        text-align: center;
    }

    .csr-floating-card {
        position: relative;
        margin-top: 20px;
        bottom: auto;
    }
}