/*
Template: QuanTech
Author: Modina Theme
Author URI: https://themeforest.net/user/modinatheme/
Description: IT Solution & Technology HTML  Template
Version: 1.2.0
*/

/*
=================================
|***    Table of contents:   ***|
=================================

Main Style file-> assets/css/style.css 

All the SCSS File in SCSS Folder of Assets Folder. You can read the doc file also for better understand.

// BASIC
@import 'basic';

// MIXIN
@import 'variables';

// TYPOGRAPHY
@import 'typography';

// MIX
@import 'mix';

// HELPER
@import 'helper';

// ICON FONTS
@import 'icon';

// ANIMATION
@import 'animation';

// Button 
@import 'btn';

// Colors 
@import 'colors';

// Preloader 
@import 'preloader';

/* ----------------------------------
    Template Section Styles
 ------------------------------------*/

 /* // Menu - Header Section 
 @import 'header';
 
 // Hero Slide - Section 
 @import 'hero';
 
 // Section Title - Heading 
 @import 'section';
 
 // About - Section 
 @import 'about';
 
 // Features - Section 
 @import 'features';
 
 // services - Section 
 @import 'services';
 
 // testimonial - Section 
 @import 'testimonial';
 
 // Portfolio - Cases - Section 
 @import 'project';
 
 // Price Table - Section 
 @import 'price';
 
 // Call To Action - Section 
 @import 'cta';
 
 // Content Block - Section 
 @import 'contentblock';
 
 // team - Section 
 @import 'team';
 
 // funfact - Section 
 @import 'funfact';
 
 // FAQ - Section 
 @import 'faq';
 
 // Blog - Section 
 @import 'blog';
 
 // Contact Us - Section 
 @import 'contact';
 
 // footer - Section 
 @import 'footer';n facts */

/* ===================================================================
    Small Screen Responsive Overrides for Home Banner
    (Targets screens < 992px only)
=================================================================== */

@media (max-width: 991px) {
    :root {
        --hero-h1-size-small: clamp(2.2rem, 9vw, 3.8rem);
        --hero-p-size-small: clamp(0.95rem, 3vw, 1.15rem);
    }

    .hero-1 .single-slide {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 80vh;
        height: auto !important;
        padding: 80px 0 !important;
    }

    .hero-1 .single-slide .hero-contents {
        padding: 20px !important;
        text-align: center;
        margin: 0 auto;
    }

    .hero-1 .single-slide .hero-contents h2,
    .hero-1 .single-slide .hero-contents h1 {
        font-size: var(--hero-h1-size-small) !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
        padding: 0 10px;
    }

    .hero-1 .single-slide .hero-contents p {
        font-size: var(--hero-p-size-small) !important;
        max-width: 500px;
        margin: 0 auto 30px !important;
        line-height: 1.5 !important;
    }

    .hero-1 .single-slide .slide-bg {
        background-position: center !important; /* Ensure focus on mobile */
    }

    /* Adjusting animations for small screens to prevent layout shifts */
    .hero-1 .single-slide [data-animation-in] {
        animation-duration: 0.8s !important;
    }

    .hero-1 .single-slide .hero-contents a.theme-btn {
        padding: 14px 30px !important;
        font-size: 15px !important;
        margin-top: 5px !important;
    }
}

/* Very Small Mobile Adjustments */
@media (max-width: 480px) {
    .hero-1 .single-slide {
        min-height: 100vh; /* Better visual impact for phone users */
        padding: 60px 15px !important;
    }
    
    .hero-1 .single-slide .hero-contents h2,
    .hero-1 .single-slide .hero-contents h1 {
        font-size: calc(var(--hero-h1-size-small) * 0.9) !important;
    }
    
    .hero-1 .single-slide .hero-contents a.theme-btn {
        width: 100%;
        max-width: 250px;
        margin: 10px auto !important;
        display: block;
    }
}

/* ===================================================================
    Projects Page: High-Impact Intro Redesign
=================================================================== */
.projects-intro-premium {
    background: #fbfbfc;
    overflow: hidden;
}

.impact-tag {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(237, 28, 36, 0.1);
    color: #ed1c24;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    margin-bottom: 20px;
    /* border-left: 3px solid #ed1c24; */
}

.projects-narrative h2 span {
    color: #ed1c24;
}

.projects-narrative p {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-top: 20px;
}

.impact-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.impact-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.impact-card.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: #ed1c24;
}

.impact-card.active:hover {
    background: #ed1c24;
    border-color: #ed1c24;
}

.impact-num {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.impact-card:not(.active) .impact-num {
    color: #ed1c24;
}

.impact-label {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.impact-card:not(.active) .impact-label {
    color: #111;
}

@media (max-width: 991px) {
    .projects-intro-premium {
        text-align: center;
    }
    .projects-narrative {
        margin-bottom: 40px;
    }
    .impact-num {
        font-size: 36px;
    }
}

@media (max-width: 575px) {
    .impact-bento-grid {
        grid-template-columns: 1fr;
    }
    .impact-card {
        padding: 20px;
    }
}


