/* =========================================================
   SIFA BREED
   GLOBAL RESPONSIVE STYLES
   responsive.css
   ========================================================= */


/* =========================================================
   TABLETS — 1100px AND BELOW
   ========================================================= */

@media (max-width: 1100px) {

    /* -----------------------------------------
       CONTAINER
       ----------------------------------------- */

    .container {
        width: 92%;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }


    /* -----------------------------------------
       NAVIGATION
       ----------------------------------------- */

    .main-navigation {
        gap: 20px;
    }

    .navigation-menu {
        gap: 18px;
    }

    .navigation-menu a {
        font-size: 0.9rem;
    }


    /* -----------------------------------------
       ABOUT INTRODUCTION
       ----------------------------------------- */

    .about-introduction-grid {
        gap: 45px;
    }


    /* -----------------------------------------
       ABOUT PILLARS
       ----------------------------------------- */

    .about-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    /* -----------------------------------------
       VALUES
       ----------------------------------------- */

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    /* -----------------------------------------
       OPPORTUNITIES
       ----------------------------------------- */

    .about-opportunities-grid {
        gap: 45px;
    }

}


/* =========================================================
   TABLET / SMALL LAPTOP — 900px AND BELOW
   ========================================================= */

@media (max-width: 900px) {

    /* -----------------------------------------
       HEADER
       ----------------------------------------- */

    .main-navigation {
        position: relative;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: currentColor;
        transition: transform 0.25s ease;
    }

    .mobile-menu-toggle.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


    /* -----------------------------------------
       MOBILE NAVIGATION
       ----------------------------------------- */

    .navigation-menu {
        position: absolute;
        top: calc(100% + 15px);
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 15px;

        border-radius: 16px;

        background: #ffffff;

        box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.12);

        z-index: 1000;
    }

    .navigation-menu.is-open {
        display: flex;
    }

    .navigation-menu a {
        display: block;
        padding: 13px 15px;
        border-radius: 8px;
    }

    .navigation-menu a:hover,
    .navigation-menu a.active {
        background: #f1f7f3;
    }

    .navigation-menu .nav-donate-button {
        margin-top: 8px;
        text-align: center;
    }


    /* -----------------------------------------
       ABOUT HERO
       ----------------------------------------- */

    .about-hero {
        min-height: 560px;
    }

    .about-hero-content {
        max-width: 760px;
        padding-top: 90px;
        padding-bottom: 80px;
    }


    /* -----------------------------------------
       ABOUT INTRODUCTION
       ----------------------------------------- */

    .about-introduction-grid {
        grid-template-columns: 1fr;
    }

    .about-introduction-content {
        order: 1;
    }

    .about-introduction-image {
        order: 2;
    }

    .about-image-frame {
        min-height: 450px;
    }

    .about-image-frame img {
        min-height: 450px;
    }


    /* -----------------------------------------
       MISSION / VISION
       ----------------------------------------- */

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .mission-card,
    .vision-card {
        min-height: auto;
    }


    /* -----------------------------------------
       OPPORTUNITIES
       ----------------------------------------- */

    .about-opportunities-grid {
        grid-template-columns: 1fr;
    }


    /* -----------------------------------------
       INTERNSHIP BANNER
       ----------------------------------------- */

    .internship-banner {
        flex-direction: column;
        align-items: flex-start;
    }


    /* -----------------------------------------
       FOOTER
       ----------------------------------------- */

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE — 700px AND BELOW
   ========================================================= */

@media (max-width: 700px) {

    /* -----------------------------------------
       CONTAINER
       ----------------------------------------- */

    .container {
        width: calc(100% - 32px);
    }


    /* -----------------------------------------
       HEADER
       ----------------------------------------- */

    .site-header {
        padding-left: 0;
        padding-right: 0;
    }

    .site-logo-mark {
        width: 38px;
        height: 38px;
    }

    .site-logo-text strong {
        font-size: 1rem;
    }

    .site-logo-text small {
        font-size: 0.62rem;
    }


    /* -----------------------------------------
       ABOUT HERO
       ----------------------------------------- */

    .about-hero {
        min-height: auto;
    }

    .about-hero-content {
        padding-top: 75px;
        padding-bottom: 70px;
    }

    .about-hero h1 {
        font-size: clamp(2.35rem, 10vw, 3.5rem);
        line-height: 1.05;
    }

    .about-hero p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .about-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .about-hero-actions .btn {
        width: 100%;
        text-align: center;
    }


    /* -----------------------------------------
       SECTION SPACING
       ----------------------------------------- */

    .section-padding {
        padding-top: 70px;
        padding-bottom: 70px;
    }


    /* -----------------------------------------
       SECTION HEADINGS
       ----------------------------------------- */

    .section-heading.centered {
        margin-bottom: 40px;
    }

    .section-heading.centered h2 {
        font-size: 2rem;
    }


    /* -----------------------------------------
       ABOUT INTRODUCTION
       ----------------------------------------- */

    .about-image-frame {
        min-height: 340px;
    }

    .about-image-frame img {
        min-height: 340px;
    }

    .about-introduction-content h2 {
        font-size: 2rem;
    }


    /* -----------------------------------------
       ABOUT PILLARS
       ----------------------------------------- */

    .about-pillars-grid {
        grid-template-columns: 1fr;
    }

    .about-pillar-card {
        padding: 25px;
    }


    /* -----------------------------------------
       VALUES
       ----------------------------------------- */

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        padding: 25px;
    }


    /* -----------------------------------------
       MISSION / VISION
       ----------------------------------------- */

    .mission-card,
    .vision-card {
        padding: 35px 28px;
    }

    .mission-card h2,
    .vision-card h2 {
        font-size: 2rem;
    }

    .mission-number {
        font-size: 3rem;
    }


    /* -----------------------------------------
       OPPORTUNITIES
       ----------------------------------------- */

    .about-opportunities-content h2 {
        font-size: 2rem;
    }

    .about-opportunities-panel {
        min-height: 380px;
        padding: 30px;
    }

    .opportunity-panel-inner strong {
        font-size: 1.3rem;
    }


    /* -----------------------------------------
       INTERNSHIP
       ----------------------------------------- */

    .internship-banner {
        padding: 35px 28px;
    }

    .internship-content h2 {
        font-size: 2rem;
    }


    /* -----------------------------------------
       FINAL CTA
       ----------------------------------------- */

    .final-cta-content h2 {
        font-size: 2.3rem;
    }

    .final-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .final-cta-actions .btn {
        width: 100%;
        text-align: center;
    }


    /* -----------------------------------------
       FOOTER
       ----------------------------------------- */

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }


    /* -----------------------------------------
       BACK TO TOP
       ----------------------------------------- */

    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 42px;
        height: 42px;
    }

}


/* =========================================================
   SMALL PHONES — 500px AND BELOW
   ========================================================= */

@media (max-width: 500px) {

    /* -----------------------------------------
       CONTAINER
       ----------------------------------------- */

    .container {
        width: calc(100% - 24px);
    }


    /* -----------------------------------------
       HERO
       ----------------------------------------- */

    .about-hero-content {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .about-hero h1 {
        font-size: 2.35rem;
    }


    /* -----------------------------------------
       LOCATION CARD
       ----------------------------------------- */

    .about-location-card {
        padding: 15px;
    }


    /* -----------------------------------------
       PILLAR CARDS
       ----------------------------------------- */

    .about-pillar-card {
        padding: 22px;
    }


    /* -----------------------------------------
       MISSION / VISION
       ----------------------------------------- */

    .mission-card,
    .vision-card {
        padding: 30px 22px;
    }

    .mission-card h2,
    .vision-card h2 {
        font-size: 1.8rem;
    }


    /* -----------------------------------------
       OPPORTUNITY PANEL
       ----------------------------------------- */

    .about-opportunities-panel {
        min-height: 350px;
        padding: 25px;
    }


    /* -----------------------------------------
       INTERNSHIP
       ----------------------------------------- */

    .internship-banner {
        padding: 30px 22px;
    }


    /* -----------------------------------------
       BUTTONS
       ----------------------------------------- */

    .btn {
        width: 100%;
    }

}


/* =========================================================
   VERY SMALL PHONES — 380px AND BELOW
   ========================================================= */

@media (max-width: 380px) {

    .about-hero h1 {
        font-size: 2.05rem;
    }

    .about-hero p {
        font-size: 0.95rem;
    }

    .about-introduction-content h2,
    .about-opportunities-content h2 {
        font-size: 1.8rem;
    }

    .section-heading.centered h2 {
        font-size: 1.8rem;
    }

    .mission-card h2,
    .vision-card h2 {
        font-size: 1.65rem;
    }

}