/* ===================================
   LARGE LAPTOPS
=================================== */

@media (max-width: 1200px) {

    .hero-left h1 {
        font-size: 60px;
    }

    .hero-left p {
        font-size: 18px;
    }

    .about-content h2,
    .why-us h2,
    .industries h2,
    .contact-left h2 {
        font-size: 40px;
    }

}


/* ===================================
   TABLETS
=================================== */

@media (max-width: 991px) {

    section {
        padding: 80px 5%;
    }

    /* NAVBAR */

    .navbar {
        flex-wrap: wrap;
        gap: 20px;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }


    /* ===================================
       HERO
    =================================== */

    .hero-container {

        flex-direction: row;

        text-align: center;

        padding-top: 50px;
    }

    .hero-left h1 {

        font-size: 50px;
    }

    .hero-left p {

        margin: auto;
        margin-bottom: 30px;
    }

    .hero-buttons {

        justify-content: center;
    }

    .stats {

        justify-content: center;
    }

    .hero-right img {

        max-width: 450px;
    }


    /* ===================================
       ABOUT
    =================================== */

    .about {

        flex-direction: column;
    }

    .about-content {

        text-align: center;
    }


    /* ===================================
       PRODUCTS
    =================================== */

    .products .section-header {

        flex-direction: column;

        text-align: center;
    }


    /* ===================================
       CONTACT
    =================================== */

    .contact-container {

        grid-template-columns: 1fr;
    }

    .contact-left {

        text-align: center;
    }


    /* ===================================
       FOOTER
    =================================== */

    .footer-container {

        grid-template-columns: repeat(2, 1fr);
    }

}


/* ===================================
   MOBILE DEVICES ONLY
   MAX WIDTH: 767px
=================================== */

@media (max-width: 767px) {

    /* ===================================
       GLOBAL MOBILE
    =================================== */

    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 32px;
    }

    p {
        font-size: 15px;
    }


    /* ===================================
       MOBILE NAVBAR
    =================================== */

    .navbar {

        position: relative;

        width: 100%;

        min-height: 75px;

        display: flex;

        flex-direction: row;

        align-items: center;

        justify-content: space-between;

        padding: 12px 20px;

        text-align: left;
    }


    /* ===================================
       MOBILE LOGO
    =================================== */

    .logo img {

        width: 150px;

        height: auto;
    }


    /* ===================================
       HAMBURGER BUTTON
    =================================== */

    .menu-btn {

        display: flex;

        width: 42px;

        height: 42px;

        flex-direction: column;

        justify-content: center;

        align-items: center;

        gap: 5px;

        cursor: pointer;

        z-index: 10001;
    }


    .menu-btn span {

        display: block;

        width: 27px;

        height: 3px;

        background: #ffffff;

        border-radius: 5px;

        transition: all 0.3s ease;
    }


    /* ===================================
       HAMBURGER → X
    =================================== */

    .menu-btn.active span:nth-child(1) {

        transform:
            translateY(8px)
            rotate(45deg);
    }

    .menu-btn.active span:nth-child(2) {

        opacity: 0;
    }

    .menu-btn.active span:nth-child(3) {

        transform:
            translateY(-8px)
            rotate(-45deg);
    }


    /* ===================================
       MOBILE NAV LINKS
    =================================== */

    .nav-links {

        position: absolute;

        top: 100%;

        left: 0;

        width: 100%;

        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 0;

        padding: 10px 0 20px;

        background:
            rgba(3, 11, 54, 0.98);

        backdrop-filter: blur(12px);

        opacity: 0;

        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease,
            transform 0.3s ease;

        z-index: 10000;
    }


    /* ===================================
       OPEN MOBILE MENU
    =================================== */

    .nav-links.active {

        opacity: 1;

        visibility: visible;

        transform: translateY(0);
    }


    /* ===================================
       MOBILE NAV ITEMS
    =================================== */

    .nav-links li {

        width: 100%;

        text-align: center;
    }


    .nav-links a {

        display: block;

        width: 100%;

        padding: 13px 20px;

        color: #ffffff;

        font-size: 15px;
    }


    /* ===================================
       HIDE GET QUOTE ON MOBILE
    =================================== */

    .quote-btn {

        display: none;
    }


    /* ===================================
       HERO SECTION
       HORSE LEFT + TEXT RIGHT
    =================================== */

    .hero {

        min-height: auto;

        overflow: hidden;
    }


    .hero-container {

        width: 100%;

        margin-left: 0;

        min-height: auto;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 10px;

        padding:
            35px 20px
            50px;
    }


    /* ===================================
       HORSE IMAGE
    =================================== */

    .hero-right {

        width: 100%;

        order: 1;

        display: flex;

        justify-content: center;

        align-items: center;

        margin-top: 15px;

        margin-bottom: 5px;
    }


    .hero-right img {

        width: 100%;

        max-width: 260px;

        height: auto;

        object-fit: contain;
    }


    /* ===================================
       HERO TEXT
    =================================== */

    .hero-left {

        width: 100%;

        order: 2;

        margin-top: 0;

        text-align: center;
    }


    .hero-left h1 {

        font-size: 42px;

        line-height: 1.08;

        margin-bottom: 18px;
    }


    .hero-left p {

        font-size: 16px;

        line-height: 1.6;

        max-width: 100%;

        margin: 0 auto 25px;
    }


    /* ===================================
       HERO BUTTONS
    =================================== */

    .hero-buttons {

        width: 100%;

        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 12px;

        margin-bottom: 30px;
    }


    .hero-buttons a {

        width: 100%;

        max-width: 320px;
    }


    /* ===================================
       STATS
    =================================== */

    .stats {

        width: 100%;

        justify-content: center;

        gap: 15px;
    }


    .stat-box {

        min-width: 120px;

        text-align: center;
    }


    /* ===================================
       ABOUT
    =================================== */

    .about-content h2 {

        font-size: 30px;
    }


    .about-features {

        grid-template-columns: 1fr;
    }


    /* ===================================
       WHY US
    =================================== */

    .why-grid {

        grid-template-columns: 1fr;
    }


    /* ===================================
       PRODUCTS
    =================================== */

    .product-slider {

        grid-template-columns: 1fr;
    }


    /* ===================================
       INDUSTRIES
    =================================== */

    .industry-grid {

        grid-template-columns: 1fr;
    }


    /* ===================================
       CONTACT
    =================================== */

    .contact-right {

        padding: 25px;
    }


    /* ===================================
       FOOTER
    =================================== */

    .footer-container {

        grid-template-columns: 1fr;

        text-align: center;
    }

    .social-icons {

        justify-content: center;
    }

    .footer-contact-item {

        justify-content: center;
    }

    .copyright {

        flex-direction: column;

        text-align: center;
    }

}


/* ===================================
   SMALL MOBILE
   MAX WIDTH: 479px
=================================== */

@media (max-width: 479px) {

    section {

        padding: 70px 20px;
    }


    /* ===================================
       NAVBAR
    =================================== */

    .navbar {

        min-height: 70px;

        padding: 10px 16px;
    }


    .logo img {

        width: 140px;
    }


    .menu-btn {

        width: 40px;

        height: 40px;
    }


    .menu-btn span {

        width: 25px;

        height: 3px;
    }


    /* ===================================
       HERO
    =================================== */

    .hero-container {

        padding:
            25px 16px
            45px;

        gap: 5px;
    }


    .hero-right {

        margin-top: 10px;

        margin-bottom: 5px;
    }


    .hero-right img {

        max-width: 230px;
    }


    .hero-left h1 {

        font-size: 34px;

        line-height: 1.1;
    }


    .hero-left p {

        font-size: 14px;

        line-height: 1.6;
    }


    .hero-buttons a {

        width: 100%;

        max-width: 300px;
    }


    .stat-box {

        width: 100%;
    }


    /* ===================================
       BUTTONS
    =================================== */

    .primary-btn,
    .secondary-btn,
    .contact-btn {

        width: 100%;
    }


    /* ===================================
       CONTACT
    =================================== */

    .contact-right {

        padding: 20px;
    }


    /* ===================================
       PRODUCTS
    =================================== */

    .product-content h3 {

        font-size: 20px;
    }


    /* ===================================
       INDUSTRIES
    =================================== */

    .industry-card h3 {

        font-size: 20px;
    }


    /* ===================================
       FOOTER
    =================================== */

    .footer-company img {

        width: 160px;
    }

}


/* ===================================
   EXTRA SMALL DEVICES
   MAX WIDTH: 360px
=================================== */

@media (max-width: 360px) {

    .hero-container {

        padding:
            20px 14px
            40px;
    }


    .hero-right img {

        max-width: 200px;
    }


    .hero-left h1 {

        font-size: 28px;
    }


    h2 {

        font-size: 26px;
    }


    .nav-links a {

        font-size: 14px;
    }


    .stat-box h3 {

        font-size: 24px;
    }


    /* SMALL MOBILE NAVBAR */

    .logo img {

        width: 130px;
    }


    .navbar {

        padding-left: 14px;

        padding-right: 14px;
    }

}
