@media (min-width: 1400px) {
    .carousel-control-prev {
        left: 80px !important;
    }

    .carousel-control-next {
        right: 80px !important;
    }
}





@media (max-width: 992px) {

    .hero-banner .carousel,
    .hero-banner .carousel-inner,
    .hero-banner .carousel-item {
        height: 95vh;
    }

    .hero-banner h1 {
        font-size: 36px;
    }

    .hero-banner p {
        font-size: 14px;
    }

    .cta-volunteer-section {
        padding: 70px 0;
    }

    .cta-form {
        padding: 30px;
    }


    .blog-hero-content h1 {
        font-size: 42px;
    }

    .cause-button-flex {
        flex-direction: column;
        align-items: start !important;
    }

    .causes-hero-diagonal {
        height: 65vh;
    }

    .causes-hero-content h1 {
        font-size: 42px;
    }

    .values-shape {
        display: none;
    }

    .values-img-small {
        position: relative;
        top: 25px;
        right: 0;
        margin-top: 20px;
        width: 70%;
    }

    .values-title {
        font-size: 34px;
    }

    .about-hero-diagonal {
        height: 65vh;
    }

    .about-hero-content h1 {
        font-size: 40px;
    }

    .event-featured {
        flex-direction: column;
    }

    .event-date-box {
        min-width: 200px !important;
    }

    .hero-slide {
        height: 50vh;
    }

    .event-btn {
        width: 100%;
    }

    .second-row {
        flex-direction: column-reverse !important;
        margin-top: 15px !important;
    }

    .testimonial-card {
        min-width: 360px;
        height: auto;
    }

    .contact-hero {
        height: 65vh;
    }

    .contact-hero-content h1 {
        font-size: 42px;
    }

    .team-management .team-box {
        height: 450px !important;
    }

}

@media (max-width: 768px) {

    .hero-banner .carousel,
    .hero-banner .carousel-inner,
    .hero-banner .carousel-item {
        height: 95vh;
    }


    .carousel-caption {
        left: 3%;
    }

    .hero-banner h1 {
        font-size: 28px;
    }

    .hero-banner p {
        font-size: 14px;
    }


    .cta-form {
        margin-top: 30px;
    }

    .causes-overlay-left,
    .causes-overlay-right {
        width: 100%;
        clip-path: none;
        opacity: 0.75;
    }

    .causes-hero-content h1 {
        font-size: 28px;
    }

    .causes-hero-content p {
        font-size: 14px;
    }

    .donation-card {
        flex-direction: column;
        text-align: center;
    }

    .hero-overlay-left,
    .hero-overlay-right {
        width: 100%;
        clip-path: none;
        opacity: 0.7;
    }

    .about-hero-content h1 {
        font-size: 28px;
    }

    .about-hero-content p {
        font-size: 14px;
    }

    .cta-box {
        padding: 40px 25px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 14px;
    }

    .blog-img img {
        height: 220px;
    }

    .blog-content {
        margin-top: -40px;
        padding: 20px;
    }

    .banner-content h1 {
        font-size: 30px;
    }

    .banner-content p {
        font-size: 14px;
    }

    .event-img img {
        height: 200px;
    }

    .hero-arrow {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .mobile-hero-controls {
        position: absolute;
        bottom: 60px;
        /* moved upward */
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 30px;
        /* proper spacing */
        z-index: 10;
    }

    .mobile-hero-controls .carousel-control-prev,
    .mobile-hero-controls .carousel-control-next {
        position: static !important;
        width: auto;
        height: auto;
        opacity: 1;
    }

    .hero-arrow {
        width: 55px;
        height: 55px;
        background: #ff7a00;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-size: 18px;
        color: #000;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }

    .featured-event-content h2 {
        font-size: 26px;
    }

    .normal-countdown {
        margin-top: 40px;
        justify-content: center;
    }

    .time-box {
        width: 70px;
        height: 70px;
    }

    .time-box h3 {
        font-size: 18px;
    }

    .featured-countdown-section .row {
        text-align: center !important;
    }


    .featured-event-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }


    .featured-date {
        margin: 0 auto 20px auto !important;
    }


    .event-meta {
        justify-content: center !important;
        gap: 20px;
    }

    .featured-event-content .btn-primary-theme {
        margin: 25px auto 0 auto !important;
        display: inline-block !important;
    }


    .normal-countdown {
        margin-top: 40px;
        justify-content: center !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 15px;
    }


    .time-box {
        width: 80px !important;
        padding: 15px 10px !important;
    }


    .gallery-card img {
        height: 200px;
    }

    .testimonial-card {
        min-width: 300px;
        padding: 30px;
    }




}







@media (max-width: 576px) {


    .blog-hero-content h1 {
        font-size: 32px;
    }

    .core-values-section {
        padding: 90px 0;
    }

    .values-title {
        font-size: 28px;
    }

    .main-title {
        font-size: 25px !important;
    }

    .event-mini {
        flex-direction: column;
        text-align: center;
    }

    .carousel-caption {
        padding-right: 10px !important;
    }

    .hero-banner p {
        line-height: 20px !important;
    }

    .blog-hero-content h1 {
        font-size: 35px !important;
    }

    .donate-banner .donate-bg-content {
        padding: 103px 0px !important;
    }

    .contact-hero {
        height: 55vh;
    }

    .contact-hero-content h1 {
        font-size: 32px;
    }

    .hero-subtext {
        font-size: 14px;
        padding: 0 15px;
    }

}


@media(max-width:436px) {

    .donate-banner .donate-bg-content h1 {
        font-size: 40px !important;
    }

    .top-header {
        display: none;
    }

    .main-header {
        top: 0 !important;
    }

    .contact-info .info-item {
        flex-direction: column;
        align-items: center !important;
        text-align: center !important;
        gap: 12px;
        padding: 0px 12px;

    }

    body {
        padding-top: 80px !important;

    }

    .causes-hero-content h1 {
        font-size: 45px !important;
    }

    .about-hero-content-new h1 {
        font-size: 35px !important;
    }

    .contact-hero-content h1 {
        font-size: 35px !important;
    }



}