@media (max-width: 1399.98px) {}

@media screen and (min-width: 992px) and (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
        grid-auto-rows: 130px;
    }
}

@media (max-width: 1200px) {
    .equipment-content {
        margin-right: 40px;
    }

    .nav-search-contact .search-form .form-control {
        width: 130px;
    }

    .card-content {
        padding: 25px;
    }

    .chevron-left-top {
        left: 30px;
    }

    .chevron-right-bottom {
        right: 30px;
    }

    .gold-circle {
        right: 50px;
        width: 350px;
        height: 350px;
    }

    .dots-left {
        left: 20px;
    }

    .dots-right {
        right: 80px;
    }

    .nav-arrow-left {
        left: 5%;
    }

    .nav-arrow-right {
        right: 5%;
    }
}

@media (max-width: 991.98px) {
    .info-icon { 
        margin: 0 auto 25px; 
        margin-top: -10px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        grid-auto-rows: 150px;
    }

    .gallery-item.large {
        grid-row: span 1;
    }

    .gallery-item.meddile {
        grid-column: span 1;
        grid-row: span 1;
    }

    .footer-section {
        margin-bottom: 30px;
    }

    .news-section .section-title {
        font-size: 2.2rem;
    }

    .news-card {
        margin-bottom: 30px;
    }

    .equipment-content {
        margin-right: 30px;
        padding: 40px 30px;
        max-width: 480px;
    }

    .section-header {
        flex-direction: column;
        gap: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .product-card {
        margin-bottom: 30px;
    }

    .equipment-card {
        margin-bottom: 30px;
    }

    .equipment-section.section-title {
        font-size: 2rem;
    }

    .card-content {
        padding: 30px 20px;
    }

    .content-box {
        padding: 25px 20px;
    }

    .nav-search-contact .search-form .form-control {
        width: 200px;
    }

    .main-image {
    width: 100%;
    height: 301px;
}

    .badge-container {
        margin-right: 0px;
    }

    .main-nav-wrapper .navbar {
        border-radius: 0px;
        box-shadow: none;
        margin-top: 0px;
        padding: 0px;
    }

    .main-nav-wrapper {
        position: static;
    }

    .carousel-inner {
        height: 900px;
    }

    .carousel-item {
        height: 900px;
    }

    .hero-form-card {
        margin-top: 30px;
    }

   


    /* Simplify top bar */
    .top-bar-left::before {
        display: none;
        /* Remove angled background */
    }

    .top-bar-left {
        background-color: #fecb00;
        /* Use solid yellow bg */
        justify-content: center;
        padding: 0.5rem;
        min-height: auto;
    }

    .top-bar-right {
        justify-content: center;
        padding: 0.5rem;
        min-height: auto;
    }

    .contact-item {
        margin: 0.25rem 0.5rem;
        /* Space out items */
    }

    .social-follow {
        color: #333;
    }

    /* Main navbar adjustments */
    .navbar {
        margin-top: 0;
        /* Remove floating effect */
        border-radius: 0;
    }

    /* Style the collapsed menu */
    .main-nav-wrapper .navbar-collapse {
        padding: 1rem 0;
        border-top: 1px solid #eee;
        margin-top: 0.5rem;
    }

    .main-nav-wrapper .navbar-nav .nav-link {
        padding: 0.5rem 0;
        /* Vertical padding */
    }

    .main-nav-wrapper .search-form {
        margin-top: 1rem;
    }

    .btn-quote {
        margin-top: 0.75rem;
        width: 100%;
        /* Make button full-width */
    }

    .navbar-nav .dropdown-menu {
        position: relative !important;
        transform: translate3d(0px, 0px, 0px) !important;
    }
}

@media (max-width: 575.98px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 130px;
    }

    .footer {
        padding: 30px 0 0;
    }

    .logo-section .logo {
        font-size: 1.8rem;
    }

    .news-section .section-title {
        font-size: 1.8rem;
    }

    .news-date {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .testimonial-section .section-title {
        font-size: 1.5rem;
    }

    .nav-arrow-left {
        left: 10px;
    }

    .nav-arrow-right {
        right: 10px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-description {
        font-size: 14px;
    }

    .product-content {
        padding: 20px;
    }

    .product-title {
        font-size: 1.2rem;
    }

    .equipment-section .section-title {
        font-size: 1.6rem;
    }

    .equipment-section .section-subtitle {
        font-size: 14px;
    }

    .top-bar-right {
        flex-direction: column;
        /* Stack contact items vertically */
        align-items: center;
    }

    .contact-item {
        margin: 0.25rem 0;
        font-size: 0.8rem;
    }

    .social-follow {
        font-size: 0.9rem;
    }


    .logo {
        font-size: 2rem;
    }

    .equipment-content {
        padding: 30px 20px;
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .contact-bg {
        border: 0px;
        border-radius: 0px;
    }

    .contact-section {
        padding: 0px;
        box-shadow: none;
    }

    .contact-image {
        margin-top: 20px;
    }

    .ec300d-product-main-slider img {
        height: 300px;
    }

    .ec300d-product-details-sidebar {
    margin-top: 20px;
    position: relative;
    padding: 0;
}
.ec300d-tab-navigation-button {
    font-size: 13px;
}

    .inventory-header {
        flex-direction: column;
        gap: 15px;
    }

    .view-controls {
        width: 100%;
        justify-content: space-between;
    }

    .sort-dropdown {
        flex: 1;
    }

    .team-header h2 {
        font-size: 36px;
    }

    .team-member-name {
        font-size: 24px;
    }

    .footer {
        padding: 40px 0 0;
    }

    .footer-title {
        font-size: 1.2rem;
    }

    .news-section {
        padding: 60px 0;
    }

    .news-section .section-title {
        font-size: 2rem;
    }

    .news-section .section-description {
        font-size: 1rem;
    }

    .news-content {
        padding: 15px;
        padding-top: 0px;
    }

    .equipment-hero {
        background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
            url('https://images.unsplash.com/photo-1621905252507-b35492cc74b4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
        text-align: center;
    }

    .equipment-content {
        margin: 0 auto;
        max-width: 85%;
        padding: 35px 25px;
    }

    .equipment-description {
        font-size: 1rem;
    }

    .logo {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .slick-prev {
        left: -20px;
    }

    .slick-next {
        right: -20px;
    }

    .Featured-tit-des {
        width: 100%;
    }

    .testimonial-section .section-title {
        font-size: 1.8rem;
        top: 40px;
    }

    .testimonial-section {
        min-height: 500px;
        padding: 60px 0;
    }

    .testimonial-card {
        padding: 45px 25px 30px;
    }

    .client-image {
        width: 100px;
        height: 100px;
        top: -50px;
    }

    .client-name {
        font-size: 1.3rem;
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    .nav-arrow {
        width: 50px;
        height: 50px;
    }

    .nav-arrow svg {
        width: 20px;
        height: 20px;
    }

    .chevron-decoration,
    .gold-circle,
    .dots-decoration {
        display: none;
    }

    .success-badge {
        top: 5px;
        right: 10px;
        padding: 10px 15px;
        font-size: 11px;
    }

    .success-badge .years {
        font-size: 20px;
    }

    .content-wrapper h1 {
        font-size: 1.8rem;
    }

    .circle-image {
        width: 120px;
        height: 120px;
        bottom: 0px;
        right: 0px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .carousel-inner {
        height: 950px;
    }

    .carousel-item {
        height: 950px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-form-card h2 {
        font-size: 1.5rem;
    }

    .hero-form-card {
        padding: 20px;
    }
}

@media (min-width: 767.98px) {
    .dropdown:hover>.dropdown-menu {
        display: block;
    }

    .navbar-nav li>a:hover::after {
        width: 100% !important;
    }
}