/* ==========================================================
   RESPONSIVE.CSS
   All breakpoint / media-query rules live here, separate
   from the base styles in style2.css.
   Breakpoints used: 1200px (large desktop), 991px (tablet),
   768px (small tablet / large phone), 576px (phone)
========================================================== */


/* ============ SITE-WIDE CONTAINER ============ */

@media (max-width: 768px) {
    .site-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 576px) {
    .site-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}


/* ============ NAVBAR ============ */

@media (max-width: 991px) {
    .navbar {
        background: #0c1c4e;
    }

    .navbar-logo,
    .navbar.scrolled .navbar-logo {
        width: 110px;
    }
}

@media (max-width: 576px) {
    .navbar-logo,
    .navbar.scrolled .navbar-logo {
        width: 95px;
    }
}


/* ============ HERO ============ */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-content {
        padding-top: 160px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 30px;
    }

    .hero-content .btn-pink,
    .hero-content .btn-outline-light {
        display: block;
        width: 100%;
        margin: 10px 0 0 0 !important;
    }
}


/* ============ OUR EXHIBITIONS ============ */

@media (max-width: 1200px) {
    .exhibitions-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .exhibitions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-badge {
        font-size: 16px;
        padding: 8px 22px;
    }
}


/* ============ ABOUT ============ */

@media (max-width: 991px) {
    .about-img-col img {
        min-height: 300px;
    }

    .about-text-inner {
        padding: 40px 30px;
    }

    .about-text-inner h2 {
        font-size: 26px;
    }
}


/* ============ INDUSTRY SECTORS ============ */

@media (max-width: 768px) {
    .sectors-heading {
        font-size: 24px;
    }
}


/* ============ GALLERY (Glimpses of Exhibitions) ============ */

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-heading {
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-heading {
        font-size: 22px;
    }

    .eyebrow-pink {
        font-size: 18px;
    }
}


/* ============ PARTNERS (We Work with) ============ */

@media (max-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .partners-heading {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ============ LATEST NEWS ============ */

@media (max-width: 768px) {
    .news-heading {
        font-size: 26px;
    }

    .news-card img {
        height: 160px;
    }
}


/* ============ PARC WINNERS ============ */

@media (max-width: 768px) {
    .parc-heading {
        font-size: 26px;
    }

    .parc-card img {
        height: 160px;
    }
}


/* ============ FOOTER ============ */

@media (max-width: 991px) {
    .footer-links-left,
    .footer-links-right {
        align-items: center;
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-address {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .footer-logo {
        width: 170px;
    }

    .footer-address h4 {
        font-size: 18px;
    }

    .footer-address p {
        font-size: 13px;
    }
}


/* ============ ABOUT PAGE (about.php) ============ */

@media (max-width: 991px) {
    .about-banner {
        height: 45vh;
        min-height: 320px;
    }

    .about-banner-content h1 {
        font-size: 32px;
    }

    .about-intro-section {
        padding: 55px 0;
    }

    .objectives-heading,
    .leadership-heading,
    .core-values-heading,
    .vision-heading {
        font-size: 26px;
    }

    .life-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .core-values-wedge {
        margin: 0 -24px;
        clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%);
        padding: 70px 0 60px;
    }

    .core-values-wedge .site-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 576px) {
    .about-banner-content h1 {
        font-size: 26px;
    }

    .about-breadcrumb {
        font-size: 12px;
    }

    .about-intro-gallery {
        gap: 12px;
    }

    .img-bottom {
        aspect-ratio: 16 / 9;
    }

    .join-cta-heading {
        font-size: 24px;
    }

    .life-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .parc-bar {
        height: 52px;
    }

    .bar-letter {
        font-size: 26px;
    }

    .bar-label {
        font-size: 15px;
        margin-left: 10px;
    }

    .bar-p .bar-fill { width: 92%; }
    .bar-a .bar-fill { width: 82%; }
    .bar-r .bar-fill { width: 72%; }
    .bar-c .bar-fill { width: 62%; }

    .core-values-wedge {
        margin: 0 -16px;
    }

    .core-values-wedge .site-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .objective-card,
    .core-value-card {
        padding: 28px 18px;
    }
}

/* ============ LIFE AT FME PAGE (life-fme.php) ============ */

@media (max-width: 991px) {
    .life-features-section {
        padding: 55px 0 40px;
    }
}

@media (max-width: 576px) {
    .about-banner-content p {
        font-size: 14.5px;
    }

    .life-feature-icon {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }

    .join-cta-email {
        font-size: 15px;
    }
}

/* ============ MEDIA / LATEST NEWS PAGE (media.php) ============ */

@media (max-width: 991px) {
    .news-banner {
        padding: 120px 0 45px;
    }

    .news-banner h1 {
        font-size: 32px;
    }

    .news-item {
        gap: 20px;
    }

    .news-thumb {
        width: 220px;
    }

    .news-content h3 a {
        font-size: 19px;
    }

    .news-sidebar {
        position: static;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .news-item {
        flex-direction: column;
    }

    .news-thumb {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .news-banner h1 {
        font-size: 26px;
    }

    .news-content h3 a {
        font-size: 18px;
    }

    .news-badge {
        font-size: 11px;
        padding: 6px 12px;
    }

    .btn-loadmore {
        width: 100%;
    }
}


/* ============ EVENTS PAGE (events.php) ============ */

@media (max-width: 991px) {
    .events-tabs {
        flex-wrap: wrap;
    }

    .events-tabs .nav-item {
        flex: 1 1 50%;
    }

    .event-row {
        flex-direction: column;
    }

    .event-actions {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: unset;
        width: 100%;
    }

    .event-btn {
        flex: 1 1 47%;
    }
}

@media (max-width: 576px) {
    .events-tab-btn {
        font-size: 12px;
        padding: 12px 5px;
    }

    .industry-filters-wrap {
        padding: 20px;
    }

    .industry-filters {
        gap: 8px;
    }

    .industry-pill {
        font-size: 12px;
        padding: 8px 16px;
    }

    .event-info {
        flex-direction: column;
    }

    .event-logo {
        width: 70px;
        height: 70px;
    }

    .event-details h3 a {
        font-size: 20px;
    }

    .event-actions {
        flex-direction: column;
    }

    .event-btn {
        flex: 1 1 100%;
    }
}

/* ============ GET INVOLVED PAGE ============ */

@media (max-width: 991px) {
    .get-involved-banner {
        height: 60vh;
        min-height: 420px;
    }

    .gi-banner-content h1 {
        font-size: 36px;
    }

    .collaborate-form-card {
        padding: 40px 28px 45px;
    }
}

@media (max-width: 576px) {
    .get-involved-banner {
        min-height: 360px;
    }

    .gi-banner-content h1 {
        font-size: 28px;
    }

    .gi-banner-content p {
        font-size: 14.5px;
    }

    .collaborate-heading {
        font-size: 26px;
    }

    .collaborate-subtext {
        font-size: 14.5px;
    }

    .collaborate-form-card {
        padding: 32px 18px 36px;
        border-radius: 20px 20px 0 0;
    }

    .gi-submit-btn {
        font-size: 15.5px;
        padding: 14px 18px;
    }
}

/* ============ SECTORS PAGE (sectors.php) ============ */

@media (max-width: 991px) {
    .core-sectors-topbar {
        margin-bottom: -40px;
    }

    .core-sectors-tabs {
        flex-direction: row !important;
        flex-wrap: wrap;
        background: #ff1493;
    }

    .core-sector-tab {
        width: auto;
        flex: 1 1 auto;
        justify-content: center;
        padding: 14px 16px;
        font-size: 14px;
        text-align: center;
    }

    .core-sectors-content {
        padding: 35px 24px 30px;
    }

    .core-sector-body {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .core-sector-icon {
        width: 110px;
        height: 110px;
        font-size: 44px;
    }

    .core-sector-shows {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .core-sectors-topbar h2 {
        font-size: 24px;
    }

    .core-sector-tab {
        font-size: 13px;
        padding: 12px;
    }

    .core-sector-tab i {
        display: none;
    }

    .core-sector-text h3 {
        font-size: 22px;
    }

    .core-sector-text p {
        font-size: 14.5px;
    }

    .core-sector-shows-heading {
        font-size: 18px;
    }

    .show-logo-card {
        height: 100px;
        padding: 14px;
    }
}
