@media(max-width:992px){

.desktop-menu{
    display:none;
}

.header-btn{
    display:none;
}

.menu-toggle{
    display:block;
}

}

/* Responsive Styles */
.mobile-brand{
    flex:1;
    display:flex;
    justify-content:center;
}

.mobile-brand img{
    max-height:55px;
    width:auto;
    display:block;
}
@media(max-width:992px){

    .hero-grid{

        grid-template-columns:1fr;

        gap:50px;
    }

    .hero-left{

        max-width:100%;
    }

    .hero-left h1{

        font-size:52px;
    }

    .hero-right{

        order:2;
    }
}

@media(max-width:768px){

    .hero-section{

        padding-top:110px;
    }

    .hero-left h1{

        font-size:40px;

        line-height:1.1;
    }

    .hero-left p{

        font-size:16px;
    }

    .hero-buttons{

        flex-direction:column;
    }

    .btn-primary,
    .btn-secondary{

        width:100%;
    }

    .hero-tag{

        font-size:12px;

        letter-spacing:3px;
    }
}

/* ===================================
   MOBILE MENU
=================================== */

.menu-toggle{
    display:none;
    background:none;
    border:none;
    cursor:pointer;
    padding:0;
    z-index:100001;
}

.menu-toggle span{
    display:block;
    width:28px;
    height:2px;
    background:#fff;
    margin:6px 0;
    transition:.3s;
}

.menu-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.78);
backdrop-filter:blur(4px);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:99998;
}

.menu-overlay.active{
    opacity:1;
    visibility:visible;
}
.mobile-menu{
    position:fixed;
    top:0;
    right:-100%;

    width:100%;
    max-width:420px;

    height:100vh;

    overflow-y:auto;

    background:#071425;

    padding:35px 35px 50px;

    transition:all .4s ease;

    z-index:99999;
}

.mobile-menu.active{
    right:0;
}
.mobile-nav{
    list-style:none;
    margin:0;
    padding:0;
}

.mobile-nav li{
    border-bottom:1px solid rgba(255,255,255,.08);
}

.mobile-nav a{

    display:block;

    color:#fff;

    font-size:18px;

    font-weight:500;

    padding:18px 0;

    transition:.3s;
}
.mobile-nav a:hover{
    color:var(--accent);
}
@media(max-width:992px){

    .desktop-menu{
        display:none;
    }

    .header-btn{
        display:none;
    }

    .menu-toggle{
        display:block;
    }
}
.mobile-nav .sub-menu{
    display:none;
    list-style:none;
    margin:0;
    padding:0 0 0 15px;
    
}

.mobile-nav .sub-menu.active{
    display:block;
}

.mobile-nav .menu-item-has-children > a{
    position:relative;
    padding-right:35px;
}

.mobile-nav .menu-item-has-children > a::after{

    content:'+';

    position:absolute;

    right:0;
    top:50%;

    transform:translateY(-50%);

    font-size:20px;
}

.mobile-nav .menu-item-has-children.open > a::after{
    content:'−';
}

.menu-toggle.active span:nth-child(1){
    transform:rotate(45deg) translate(5px,5px);
}

.menu-toggle.active span:nth-child(2){
    opacity:0;
}

.menu-toggle.active span:nth-child(3){
    transform:rotate(-45deg) translate(7px,-7px);
}

.mobile-menu-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
    padding-bottom:15px;
    border-bottom:1px solid rgba(255,255,255,.1);
}

.mobile-menu-header h3{
    color:#fff;
    margin:0;
    font-size:22px;
}

.mobile-close{
    position:absolute;
    right:25px;
    top:30px;

    width:40px;
    height:40px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:none;
    border:none;

    color:#fff;
    font-size:34px;
}
.mobile-menu-header{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding-bottom:20px;

    margin-bottom:20px;

    border-bottom:1px solid rgba(255,255,255,.08);
}

.mobile-menu-header h3{
    color:#fff;
    font-size:26px;
    margin:0;
    font-weight:700;
}

.mobile-close{
    width:40px;
    height:40px;

    border:none;
    background:none;

    color:#fff;

    font-size:34px;

    cursor:pointer;
}

/*sliderhero*/
@media (max-width:768px){

    .hero-slider{

            margin-top:calc(var(--header-height) * -1);


        height:70vh;

        min-height:500px;
    }

}
@media (max-width:768px){

    .heroSwiper .swiper-slide img{

        object-fit:cover;

        object-position:center center;
    }


    .swiper-button-next,
    .swiper-button-prev{

        display:none !important;
    }


}
@media (max-height:600px){

    .hero-slider{
        height:100vh;
    }

}
@media (min-width:769px) and (max-width:1024px){

    .hero-slider{

        height:80vh;
    }

}
/* ==================================
   company section
================================== */
/* ===================================
   OUR COMPANIES RESPONSIVE
=================================== */

/* Large Tablet */
@media (max-width:1200px){

    .section-heading h2{
        font-size:52px;
    }

    .companies-grid{
        gap:20px;
    }

    .company-content{
        left:25px;
        right:25px;
        bottom:25px;
    }

    .company-content h3{
        font-size:24px;
    }

}

/* Tablet */
@media (max-width:1024px){

    .companies-section{
        padding:90px 0;
    }

    .section-heading{
        margin-bottom:50px;
    }

    .section-heading h2{
        font-size:42px;
    }

    /* Masonry remove */

    .companies-grid{

        display:grid;

        grid-template-columns:repeat(2,1fr);

        gap:20px;

        grid-auto-rows:auto;
    }

    .company-card{

        min-height:350px;

        grid-column:auto !important;
        grid-row:auto !important;
    }

}

/* Mobile */
@media (max-width:768px){

    .companies-section{
        padding:70px 0;
    }

    .section-heading{

        margin-bottom:40px;
    }

    .section-heading span{

        font-size:12px;

        letter-spacing:3px;
    }

    .section-heading h2{

        font-size:34px;

        line-height:1.3;
    }

    .companies-grid{

        display:grid;

        grid-template-columns:1fr;

        gap:18px;

        grid-auto-rows:auto;
    }

    .company-card{

        min-height:320px;

        grid-column:auto !important;
        grid-row:auto !important;
    }

    .company-content{

        left:20px;
        right:20px;
        bottom:20px;
    }

    .company-content h3{

        font-size:22px;

        margin-bottom:10px;
    }

    .company-content p{

        font-size:14px;

        line-height:1.7;

        margin-bottom:12px;
    }

    .company-content a{

        font-size:14px;
    }

}

/* Small Mobile */
@media (max-width:480px){

    .companies-section{
        padding:60px 0;
    }

    .section-heading h2{

        font-size:28px;
    }

    .company-card{

        min-height:280px;
    }

    .company-content{

        left:16px;
        right:16px;
        bottom:16px;
    }

    .company-content h3{

        font-size:20px;
    }

    .company-content p{

        font-size:13px;
    }

}

/* ===================================
   ABOUT COMPANY RESPONSIVE
=================================== */

@media(max-width:1024px){

    .about-grid{

        grid-template-columns:1fr;

        gap:60px;
    }

    .about-content h2{

        font-size:42px;
    }

}

@media(max-width:768px){

    .about-company{

        padding:70px 0;
    }

    .about-top{

        grid-template-columns:1fr;
    }

    .about-top img{

        height:250px;
    }

    .about-bottom img{

        height:280px;
    }

    .experience-box{

        left:15px;
        bottom:15px;

        padding:20px;

        min-width:170px;
    }

    .exp-number{

        font-size:36px;
    }

    .about-content h2{

        font-size:32px;
    }

    .about-features{

        grid-template-columns:1fr;
    }

    .about-footer{

        grid-template-columns:1fr;
    }

}

/* ===================================
   WHY CHOOSE US RESPONSIVE
=================================== */

@media(max-width:1200px){

    .why-grid{

        grid-template-columns:
        repeat(2,1fr);
    }
}

@media(max-width:768px){

    .why-us-section{

        padding:70px 0;
    }

    .why-grid{

        grid-template-columns:1fr;

        gap:20px;

        margin-top:40px;
    }

    .why-card{

        padding:30px 25px;
    }

    .why-number{

        font-size:48px;
    }

    .why-card h3{

        font-size:24px;
    }
}
/* ===================================
   STATS RESPONSIVE
=================================== */

@media(max-width:1024px){

    .stats-grid{

        grid-template-columns:
        repeat(2,1fr);
    }

    .stat-box:nth-child(2){
        border-right:none;
    }

    .stat-box{

        border-bottom:
        1px solid rgba(255,255,255,.08);
    }
}

@media(max-width:768px){

    .stats-section{

        padding:70px 0;
    }

    .stats-grid{

        grid-template-columns:1fr;
    }

    .stat-box{

        border-right:none;
    }

    .stat-box h3{

        font-size:42px;
    }
}

/* ===================================
   TESTIMONIALS RESPONSIVE
=================================== */

@media(max-width:1024px){

    .testimonials-grid{

        grid-template-columns:
        repeat(2,1fr);
    }
}

@media(max-width:768px){

    .testimonials-section{

        padding:70px 0;
    }

    .testimonials-grid{

        grid-template-columns:1fr;

        gap:20px;
    }

    .testimonial-card{

        padding:30px;
    }

    .quote-icon{

        font-size:50px;
    }
}
/* ===================================
   news RESPONSIVE
=================================== */
/* ===================================
   NEWS RESPONSIVE
=================================== */

@media(max-width:1024px){

    .news-grid{

        grid-template-columns:1fr;
    }
}

@media(max-width:768px){

    .news-section{

        padding:70px 0;
    }

    .news-image img{

        height:260px;
    }

    .news-content{

        padding:25px;
    }

    .news-content h3{

        font-size:26px;
    }

    .small-news{

        flex-direction:column;
    }

    .small-news img{

        width:100%;

        height:180px;
    }

}

/* ===================================
   FOOTER RESPONSIVE
=================================== */

@media(max-width:1024px){

    .footer-top{

        grid-template-columns:
        repeat(2,1fr);
    }
}

@media(max-width:768px){

    .site-footer{

        padding-top:60px;
    }

    .footer-top{

        grid-template-columns:1fr;

        gap:35px;
    }

    .footer-social{

        margin:40px 0 30px;
    }
}
@media(max-width:768px){

    .top-bar{
        display:none;
    }

    .site-header{
        top:0;
    }

}
/* ===================================
   FOOTER CTA RESPONSIVE
=================================== */

@media(max-width:1024px){

    .footer-cta h2{

        font-size:48px;
    }

}

@media(max-width:768px){

    .footer-cta{

        padding:80px 0;
    }

    .footer-cta h2{

        font-size:34px;
    }

    .footer-cta p{

        font-size:16px;
    }

    .cta-buttons{

        flex-direction:column;
    }

    .cta-btn{

        width:100%;
    }

}

/* ===================================
   single post RESPONSIVE
=================================== */
@media(max-width:768px){

    .section {
        padding:70px 0 !important;
    }

   

    .single-post-hero{

        height:60vh;
    }

    .single-hero-content{

        bottom:100px;
    }

    .single-hero-content h1{
        
        font-size:24px;
    }

    .single-post-content{

        padding:20px 0;
    }

    .post-meta{

        flex-direction:column;

        gap:10px;
    }

}

/* ===================================
   PAGE RESPONSIVE
=================================== */

@media(max-width:768px){

    .page-hero{
    height:80vh;


    }
   
.page-hero-image img{

    
    overflow:hidden;
   
}

    .page-hero-content{

        bottom:30px;
    }

    .page-hero-content h1{

        font-size:34px;
    }

    .page-content-section{

        padding:70px 0;
    }

}

/* ===================================
   ARCHIVE RESPONSIVE
=================================== */

@media(max-width:1024px){

    .archive-grid{

        grid-template-columns:
        repeat(2,1fr);
    }

    .archive-hero-content h1{

        font-size:54px;
    }

}

@media(max-width:768px){

    .archive-hero{

        padding:160px 0 80px;
    }

    .archive-grid{

        grid-template-columns:1fr;
    }

    .archive-hero-content h1{

        font-size:36px;
    }

    .archive-posts{

        padding:70px 0;
    }

}

/* ===================================
   404 RESPONSIVE
=================================== */

@media(max-width:768px){

    .error-page{

        padding:150px 0 80px;
    }

    .error-code{

        font-size:100px;
    }

    .error-content h1{

        font-size:36px;
    }

    .error-buttons{

        flex-direction:column;
    }

    .error-btn{

        width:100%;
    }

    .site-search-form{

        flex-direction:column;
    }

}
/* ===================================
   SEARCH RESPONSIVE
=================================== */

@media(max-width:768px){

    .search-empty h2{

        font-size:32px;
    }

}
@media(max-width:768px){

    .company-hero{

        height:50vh;

        min-height:350px;
    }

    .company-hero-content{

        bottom:40px;
    }

    .company-hero-content h1{

        font-size:38px;
    }

    .company-content-section{

        padding:70px 0;
    }

    .company-cta{

        padding:70px 0;
    }

    .company-cta h2{

        font-size:32px;
    }

    .related-grid{

        grid-template-columns:1fr;
    }

}
@media(max-width:768px){

    .contact-section{

        padding:70px 0;
    }
    .contact-page-hero{

        height:50vh;

        min-height:350px;
    }   
    
    .contact-grid{

        grid-template-columns:1fr;

        gap:40px;
    }

    .contact-info h2{

        font-size:34px;
    }

    .contact-form-wrap{

        padding:25px;
    }

    .contact-map iframe{

        height:350px;
    }

}

@media(max-width:768px){

    .portfolio-showcase{

        padding:80px 0;
    }

    .portfolioSwiper .swiper-slide{

        height:240px;
    }

}