/* =========================================================
   ECOPARROT PRIPAC
   RESPONSIVE DESIGN
   ========================================================= */


/* =========================================================
   GLOBAL RESPONSIVE SAFETY
   ========================================================= */

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}


/* =========================================================
   MOBILE NAV
   Hidden on desktop
   ========================================================= */

.nav-links-mobile {
    display: none;
}


/* =========================================================
   TABLET
   769px - 1024px
   ========================================================= */

@media (max-width: 1024px) {

    :root {
        --fs-h1: 48px;
        --fs-h2: 36px;
        --fs-h3: 28px;
        --section-padding: 70px;
    }


    /* -----------------------------------------
       CONTAINER
       ----------------------------------------- */

    .container {
        width: 90%;
    }


    /* -----------------------------------------
       SECTION HEADERS
       ----------------------------------------- */

    .section-title {
        font-size: 40px;
    }

    .section-header {
        margin-bottom: 55px;
    }


    /* -----------------------------------------
       NAVBAR
       ----------------------------------------- */

    .nav-links {
        gap: 24px;
    }

    .nav-right {
        gap: 15px;
    }

    .logo img {
        height: 70px;
    }


    /* -----------------------------------------
       HERO
       ----------------------------------------- */

    .hero {
        padding: 130px 0 70px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 45px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-mini-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image {
        order: -1;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }


    /* -----------------------------------------
       GENERAL GRIDS
       ----------------------------------------- */

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

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

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


    /* -----------------------------------------
       ABOUT
       ----------------------------------------- */

    .about-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-image {
        max-width: 650px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .about-content {
        width: 100%;
    }


    /* -----------------------------------------
       ABOUT MISSION / VISION
       ----------------------------------------- */

    .about-mission-grid {
        grid-template-columns: 1fr 1fr;
    }


    /* -----------------------------------------
       PRODUCTS
       ----------------------------------------- */

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .product-detail-image {
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
    }


    /* -----------------------------------------
       CLIENTS
       ----------------------------------------- */

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


    /* -----------------------------------------
       STATS
       ----------------------------------------- */

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 40px 25px;
    }


    /* -----------------------------------------
       MANUFACTURING
       ----------------------------------------- */

    .strengths-list {
        grid-template-columns: 1fr 1fr;
    }


    /* -----------------------------------------
       GALLERY
       ----------------------------------------- */

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


    /* -----------------------------------------
       CONTACT
       ----------------------------------------- */

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }


    /* -----------------------------------------
       FOOTER
       ----------------------------------------- */

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

}


/* =========================================================
   MOBILE
   <= 768px
   ========================================================= */

@media (max-width: 768px) {

    :root {
        --fs-h1: 36px;
        --fs-h2: 28px;
        --fs-h3: 22px;
        --section-padding: 60px;
    }


    /* -----------------------------------------
       GLOBAL
       ----------------------------------------- */

    body {
        font-size: 15px;
        line-height: 1.6;
    }

    .container {
        width: calc(100% - 32px);
        max-width: none;
    }

    section {
        padding: var(--section-padding) 0;
    }


    /* -----------------------------------------
       TYPOGRAPHY
       ----------------------------------------- */

    h1 {
        font-size: 36px;
        line-height: 1.15;
    }

    h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    h3 {
        font-size: 22px;
        line-height: 1.25;
    }


    /* -----------------------------------------
       SECTION HEADER
       ----------------------------------------- */

    .section-header {
        margin-bottom: 40px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .section-subtitle {
        font-size: 12px;
        letter-spacing: 1.5px;
        margin-bottom: 10px;
    }

    .section-title {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 14px;
    }

    .section-description {
        width: 100%;
        max-width: 100%;
        font-size: 14px;
        line-height: 1.65;
    }


    /* -----------------------------------------
       NAVBAR
       ----------------------------------------- */

    .navbar {
        padding: 10px 0;
    }

    .navbar.scrolled {
        padding: 8px 0;
    }

    .nav-links {
        display: none;
    }

    .nav-right {
        gap: 10px;
    }

    .nav-right .btn {
        display: none;
    }

    .logo img {
        height: 58px;
        width: auto;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger span {
        width: 26px;
        height: 3px;
        margin: 5px;
    }


    /* -----------------------------------------
       MOBILE MENU
       ----------------------------------------- */

    .nav-links-mobile {
        display: flex;

        flex-direction: column;

        gap: 0;

        max-height: 0;

        opacity: 0;

        overflow: hidden;

        pointer-events: none;

        background: var(--bg-dark);

        transition:
            max-height .4s ease,
            opacity .3s ease;
    }

    .navbar.menu-open .nav-links-mobile {
        max-height: 600px;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links-mobile li {
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .nav-links-mobile a {
        display: block;

        padding: 14px 20px;

        color: white;

        font-size: 15px;
    }

    .nav-links-mobile .btn {
        margin: 14px 20px;
    }


    /* -----------------------------------------
       HERO
       ----------------------------------------- */

    .hero {
        min-height: auto;

        padding: 120px 0 70px;

        display: flex;

        align-items: center;
    }

    .hero-container {
        grid-template-columns: 1fr;

        gap: 32px;

        text-align: center;
    }

    .hero-content {
        width: 100%;
        min-width: 0;
    }

    .hero-badge {
        padding: 8px 16px;

        font-size: 12px;

        margin-bottom: 18px;
    }

    .hero-title {
        font-size: 36px;

        line-height: 1.15;

        margin-bottom: 18px;
    }

    .hero-title span {
        display: block;
    }

    .hero-description {
        max-width: 100%;

        font-size: 15px;

        line-height: 1.65;

        margin-left: auto;
        margin-right: auto;

        margin-bottom: 28px;
    }

    .hero-buttons {
        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 12px;

        margin-bottom: 32px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-mini-stats {
        display: flex;

        justify-content: center;

        align-items: center;

        flex-wrap: wrap;

        gap: 20px;
    }

    .hero-mini-stats strong {
        font-size: 22px;
    }

    .hero-mini-stats span {
        font-size: 12px;
    }

    .hero-image {
        order: -1;

        width: 100%;

        max-width: 340px;

        margin-left: auto;
        margin-right: auto;
    }

    .scroll-indicator {
        display: none;
    }


    /* -----------------------------------------
       BUTTONS
       ----------------------------------------- */

    .btn {
        padding: 13px 24px;

        font-size: 14px;
    }


    /* -----------------------------------------
       GENERAL GRIDS
       ----------------------------------------- */

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }


    /* -----------------------------------------
       ABOUT
       ----------------------------------------- */

    .about-container {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .about-image {
        width: 100%;

        max-width: 100%;
    }

    .about-badge {
        bottom: 12px;
        left: 12px;

        padding: 12px 16px;
    }

    .about-badge strong {
        font-size: 18px;
    }

    .about-badge span {
        font-size: 11px;
    }

    .about-content p {
        margin-bottom: 14px;
    }


    /* -----------------------------------------
       MISSION / VISION
       ----------------------------------------- */

    .about-mission-grid {
        grid-template-columns: 1fr;

        gap: 14px;

        margin: 24px 0 28px;
    }

    .mission-card {
        padding: 20px;
    }

    .mission-icon {
        font-size: 25px;
    }

    .mission-card h4 {
        font-size: 17px;
    }

    .mission-card p {
        font-size: 13px;
    }


    /* -----------------------------------------
       FEATURE CARDS
       ----------------------------------------- */

    .feature-card {
        width: 100%;
    }

    .feature-card h3 {
        font-size: 19px;
    }

    .feature-card p {
        font-size: 14px;
    }


    /* -----------------------------------------
       CARDS
       ----------------------------------------- */

    .card {
        padding: 25px 20px;
    }


    /* -----------------------------------------
       PRODUCTS
       ----------------------------------------- */

    .products {
        overflow: hidden;
    }

    .product-card {
        width: 100%;
    }

    .product-image {
        height: 210px;
    }

    .product-card img {
        height: 210px;
    }

    .product-content {
        padding: 20px;
    }

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

    .product-content p {
        font-size: 13px;
    }


    /* -----------------------------------------
       PRODUCT DETAIL
       ----------------------------------------- */

    .product-detail {
        padding-top: 50px;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .product-detail-image {
        width: 100%;
    }

    .product-detail-content h1 {
        font-size: 30px;

        margin: 12px 0;
    }

    .product-detail-desc {
        font-size: 14px;
    }

    .product-detail-features {
        margin-bottom: 24px;
    }


    /* -----------------------------------------
       CTA
       ----------------------------------------- */

    .cta-banner-inner h2 {
        font-size: 27px;
    }

    .cta-banner-inner p {
        font-size: 14px;
    }


    /* -----------------------------------------
       STATS
       ----------------------------------------- */

    .stats-bar {
        grid-template-columns: 1fr 1fr;

        gap: 20px;

        padding: 30px 15px;

        border-radius: var(--radius-md);
    }

    .stat-item h3 {
        font-size: 32px;
    }

    .stat-item p {
        font-size: 12px;
    }


    /* -----------------------------------------
       MANUFACTURING
       ----------------------------------------- */

    .capabilities-grid {
        margin-bottom: 30px;
    }

    .capability-card {
        padding: 22px 16px;
    }

    .capability-icon {
        font-size: 28px;
    }

    .factory-photos {
        margin-top: 40px;
    }

    .photo-item {
        height: 210px;
    }

    .strengths-box {
        margin-top: 40px;

        padding: 25px 20px;
    }

    .strengths-box h3 {
        font-size: 22px;

        margin-bottom: 20px;
    }

    .strengths-list {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .strengths-list li {
        font-size: 14px;
    }


    /* -----------------------------------------
       CLIENTS
       ----------------------------------------- */

    .clients-grid-page {
        grid-template-columns: repeat(2, 1fr);

        gap: 14px;
    }

    .client-logo {
        width: 100%;

        min-width: 0;
    }


    /* -----------------------------------------
       CLIENT MARQUEE
       ----------------------------------------- */

    .client-logo {
        flex-shrink: 0;
    }


    /* -----------------------------------------
       GALLERY
       ----------------------------------------- */

    .gallery-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .gallery-item {
        height: 230px;
    }

    .gallery-overlay {
        transform: translateY(0);
    }


    /* -----------------------------------------
       CONTACT
       ----------------------------------------- */

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .contact-info {
        gap: 14px;
    }

    .contact-info-item {
        gap: 14px;

        padding: 20px;
    }

    .contact-icon {
        font-size: 23px;
    }

    .contact-info-item h4 {
        font-size: 15px;
    }

    .contact-info-item p {
        font-size: 13px;

        overflow-wrap: anywhere;
    }

    .contact-form {
        padding: 22px 18px;

        gap: 15px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        width: 100%;

        font-size: 14px;

        padding: 13px 14px;
    }

    .contact-form button {
        width: 100%;
    }


    /* -----------------------------------------
       PAGE HEADER
       ----------------------------------------- */

    .page-header {
        padding: 130px 0 60px;
    }

    .page-header h1 {
        font-size: 34px;

        line-height: 1.15;

        margin: 15px 0 12px;
    }


    /* -----------------------------------------
       PAGE CONTENT
       ----------------------------------------- */

    .products-page,
    .gallery-page,
    .quote-page {
        padding-top: 45px;
    }


    /* -----------------------------------------
       FOOTER
       ----------------------------------------- */

    .footer {
        padding-top: 55px;
    }

    .footer-container {
        grid-template-columns: 1fr;

        gap: 30px;

        padding-bottom: 40px;
    }

    .footer-brand .logo img {
        height: 55px;
    }

    .footer-col h4 {
        margin-bottom: 14px;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .footer-bottom-inner {
        flex-direction: column;

        text-align: center;

        gap: 10px;
    }

}


/* =========================================================
   SMALL PHONES
   <= 480px
   ========================================================= */

@media (max-width: 480px) {

    :root {
        --fs-h1: 30px;
        --fs-h2: 25px;
        --fs-h3: 20px;
        --section-padding: 50px;
    }


    /* -----------------------------------------
       CONTAINER
       ----------------------------------------- */

    .container {
        width: calc(100% - 24px);
    }


    /* -----------------------------------------
       TYPOGRAPHY
       ----------------------------------------- */

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 25px;
    }

    h3 {
        font-size: 20px;
    }

    p {
        font-size: 14px;
    }


    /* -----------------------------------------
       NAVBAR
       ----------------------------------------- */

    .navbar {
        padding: 8px 0;
    }

    .navbar.scrolled {
        padding: 6px 0;
    }

    .logo img {
        height: 52px;
    }

    .hamburger span {
        width: 24px;
        height: 3px;

        margin: 4px;
    }


    /* -----------------------------------------
       HERO
       ----------------------------------------- */

    .hero {
        padding: 105px 0 55px;
    }

    .hero-container {
        gap: 25px;
    }

    .hero-badge {
        font-size: 11px;

        padding: 7px 13px;

        margin-bottom: 15px;
    }

    .hero-title {
        font-size: 30px;

        line-height: 1.15;
    }

    .hero-description {
        font-size: 14px;

        margin-bottom: 22px;
    }

    .hero-buttons {
        margin-bottom: 26px;
    }

    .hero-buttons .btn {
        max-width: 260px;
    }

    .hero-image {
        max-width: 290px;
    }

    .hero-mini-stats {
        gap: 15px;
    }

    .hero-mini-stats strong {
        font-size: 20px;
    }

    .hero-mini-stats span {
        font-size: 11px;
    }


    /* -----------------------------------------
       SECTION HEADER
       ----------------------------------------- */

    .section-header {
        margin-bottom: 32px;
    }

    .section-title {
        font-size: 25px;
    }

    .section-description {
        font-size: 13px;
    }


    /* -----------------------------------------
       ABOUT
       ----------------------------------------- */

    .about-badge {
        padding: 10px 13px;

        bottom: 10px;
        left: 10px;
    }

    .about-badge strong {
        font-size: 16px;
    }

    .about-badge span {
        font-size: 10px;
    }


    /* -----------------------------------------
       MISSION CARDS
       ----------------------------------------- */

    .mission-card {
        padding: 18px;
    }


    /* -----------------------------------------
       PRODUCTS
       ----------------------------------------- */

    .product-image {
        height: 190px;
    }

    .product-card img {
        height: 190px;
    }

    .product-content {
        padding: 18px;
    }


    /* -----------------------------------------
       STATS
       ----------------------------------------- */

    .stats-bar {
        grid-template-columns: 1fr 1fr;

        padding: 25px 10px;

        gap: 15px;
    }

    .stat-item h3 {
        font-size: 27px;
    }

    .stat-item p {
        font-size: 11px;
    }


    /* -----------------------------------------
       MANUFACTURING
       ----------------------------------------- */

    .photo-item {
        height: 190px;
    }

    .strengths-box {
        padding: 22px 16px;
    }


    /* -----------------------------------------
       CLIENTS
       ----------------------------------------- */

    .clients-grid-page {
        gap: 10px;
    }


    /* -----------------------------------------
       GALLERY
       ----------------------------------------- */

    .gallery-item {
        height: 210px;
    }


    /* -----------------------------------------
       CONTACT
       ----------------------------------------- */

    .contact-info-item {
        padding: 17px;
    }

    .contact-form {
        padding: 20px 15px;
    }


    /* -----------------------------------------
       PAGE HEADER
       ----------------------------------------- */

    .page-header {
        padding: 110px 0 50px;
    }

    .page-header h1 {
        font-size: 29px;
    }


    /* -----------------------------------------
       FOOTER
       ----------------------------------------- */

    .footer {
        padding-top: 45px;
    }

    .footer-container {
        gap: 25px;
    }

}


/* =========================================================
   VERY SMALL PHONES
   <= 380px
   ========================================================= */

@media (max-width: 380px) {

    :root {
        --fs-h1: 28px;
        --fs-h2: 23px;
        --fs-h3: 19px;
    }


    .container {
        width: calc(100% - 20px);
    }


    /* -----------------------------------------
       NAVBAR
       ----------------------------------------- */

    .logo img {
        height: 48px;
    }


    /* -----------------------------------------
       HERO
       ----------------------------------------- */

    .hero {
        padding-top: 98px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-image {
        max-width: 260px;
    }

    .hero-buttons .btn {
        max-width: 240px;
    }


    /* -----------------------------------------
       SECTION HEADER
       ----------------------------------------- */

    .section-title {
        font-size: 23px;
    }


    /* -----------------------------------------
       STATS
       ----------------------------------------- */

    .stats-bar {
        padding: 22px 8px;
    }

    .stat-item h3 {
        font-size: 24px;
    }


    /* -----------------------------------------
       PRODUCTS
       ----------------------------------------- */

    .product-image,
    .product-card img {
        height: 175px;
    }


    /* -----------------------------------------
       GALLERY
       ----------------------------------------- */

    .gallery-item {
        height: 190px;
    }


    /* -----------------------------------------
       PAGE HEADER
       ----------------------------------------- */

    .page-header {
        padding: 100px 0 45px;
    }

    .page-header h1 {
        font-size: 27px;
    }

}