/*======================================================
    INTERCOM
    style.css
======================================================*/


/*======================================================
    RESET
======================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    font-size:16px;
    line-height:1.7;

    color:#5E6B79;

    background:#ffffff;

}

img{

    max-width:100%;
    display:block;

}

a{

    color:inherit;

    text-decoration:none;

}

ul{

    list-style:none;

}


/*======================================================
    ZMIENNE
======================================================*/

:root{

    --primary:#1565C0;
    --primary-dark:#0D47A1;

    --secondary:#42A5F5;

    --heading:#12263F;

    --text:#5E6B79;

    --light:#F5F8FC;

    --white:#ffffff;

    --shadow:
        0 15px 40px rgba(0,0,0,.08);

    --radius:18px;

    --transition:.35s;

}


/*======================================================
    UKŁAD
======================================================*/

.container{

    width:min(1180px,92%);
    margin:auto;

}

section{

    padding:100px 0;

}

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title span{

    display:inline-block;

    color:var(--primary);

    font-weight:700;

    letter-spacing:2px;

    margin-bottom:15px;

    text-transform:uppercase;

}

.section-title h2{

    font-size:42px;

    color:var(--heading);

    margin-bottom:20px;

}

.section-title p{

    max-width:760px;

    margin:auto;

}


/*======================================================
    PRZYCISKI
======================================================*/

.button{

    display:inline-block;

    padding:16px 34px;

    border-radius:50px;

    background:var(--primary);

    color:#fff;

    font-weight:600;

    transition:.35s;

}

.button:hover{

    background:var(--primary-dark);

    transform:translateY(-3px);

}

.button-outline{

    background:transparent;

    color:#fff;

    border:2px solid rgba(255,255,255,.85);

}

.button-outline:hover{

    background:#fff;

    color:var(--primary);

}

.button,
.button i{
    color:#fff;
}

/*======================================================
    HEADER
======================================================*/

.header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    z-index:999;

    background:rgba(255,255,255,.96);

    backdrop-filter:blur(10px);

    box-shadow:0 3px 15px rgba(0,0,0,.08);

}

.header .container{

    height:88px;

    display:flex;

    align-items:center;

    justify-content:space-between;

}

.logo img{

    height:62px;

}

.navigation ul{

    display:flex;

    gap:35px;

}

.navigation a{

    position:relative;

    font-weight:600;

    color:var(--heading);

    transition:.3s;

}

.navigation a:hover{

    color:var(--primary);

}

.navigation a::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-8px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:.3s;

}

.navigation a:hover::after,
.navigation a.active::after{

    width:100%;

}

.navigation a.active{

    color:var(--primary);

}

.mobile-menu{

    display:none;

    font-size:32px;

    color:var(--primary);

    cursor:pointer;

}


/*======================================================
    HERO
======================================================*/

.hero{

    position:relative;

    margin-top:88px;

    height:620px;

    overflow:hidden;

}

.hero img{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center center;

}

.hero-overlay{

    position:absolute;

    inset:0;

    display:flex;

    align-items:center;

    background:linear-gradient(
        90deg,
        rgba(13,71,161,.82) 0%,
        rgba(13,71,161,.60) 40%,
        rgba(13,71,161,.20) 100%
    );

}

.hero .container{

    position:relative;

    z-index:2;

}

.hero-top{

    display:flex;

    gap:14px;

    flex-wrap:wrap;

    margin-bottom:28px;

}

.hero-top span{

    background:rgba(255,255,255,.18);

    color:#fff;

    padding:8px 18px;

    border-radius:30px;

    font-size:14px;

    backdrop-filter:blur(6px);

}

.hero h1{

    max-width:650px;

    font-size:60px;

    line-height:1.1;

    color:#fff;

    margin-bottom:25px;

}

.hero p{

    max-width:620px;

    color:#fff;

    font-size:20px;

    margin-bottom:40px;

}

.hero-buttons{

    display:flex;

    gap:20px;

}

/*======================================================
    O NAS
======================================================*/

.about{

    background:#ffffff;

}

.about-content{

    max-width:980px;

    margin:auto;

    text-align:center;

}

.about-text p{

    margin-bottom:22px;

    font-size:17px;

    color:var(--text);

}

.about-text .button{

    margin-top:15px;

}



/*======================================================
    USŁUGI
======================================================*/

.services{

    background:var(--light);

}

.services-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

}

.service-card{

    background:#fff;

    padding:45px 35px;

    border-radius:var(--radius);

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

    border-top:5px solid transparent;

}

.service-card:hover{

    transform:translateY(-10px);

    border-top:5px solid var(--primary);

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

.service-card i{

    font-size:56px;

    color:var(--primary);

    margin-bottom:25px;

    transition:var(--transition);

}

.service-card:hover i{

    transform:scale(1.15);

}

.service-card h3{

    color:var(--heading);

    font-size:24px;

    margin-bottom:18px;

}

.service-card p{

    color:var(--text);

    font-size:15px;

}



/*======================================================
    SPRZĘT POLEASINGOWY
======================================================*/

.leasing{

    background:#ffffff;

}

.leasing .services-grid{

    margin-top:20px;

}

.leasing .service-card{

    background:linear-gradient(
        180deg,
        #ffffff,
        #f9fbfd
    );

}

.leasing .service-card i{

    color:#1E88E5;

}



/*======================================================
    DLA SZKÓŁ
======================================================*/

.schools{

    background:linear-gradient(
        180deg,
        #F7FAFD,
        #EEF5FC
    );

}

.features-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:35px;

}

.feature-card{

    background:#fff;

    padding:40px 30px;

    border-radius:var(--radius);

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.feature-card:hover{

    transform:translateY(-8px);

}

.feature-card i{

    width:90px;

    height:90px;

    margin:0 auto 25px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#EAF4FF;

    color:var(--primary);

    font-size:38px;

    transition:var(--transition);

}

.feature-card:hover i{

    background:var(--primary);

    color:#fff;

}

.feature-card h3{

    color:var(--heading);

    font-size:24px;

    margin-bottom:15px;

}

.feature-card p{

    color:var(--text);

}



/*======================================================
    DLACZEGO MY
======================================================*/

.features{

    background:#ffffff;

}

.features .feature-card{

    border-bottom:4px solid transparent;

}

.features .feature-card:hover{

    border-bottom:4px solid var(--primary);

}

/*======================================================
    KONTAKT
======================================================*/

.contact{

    background:var(--light);

}

.contact-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(360px,1fr));

    gap:40px;

}

.contact-box{

    background:#ffffff;

    padding:45px;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.contact-box:hover{

    transform:translateY(-6px);

}

.contact-box h3{

    color:var(--heading);

    font-size:28px;

    margin-bottom:25px;

}

.contact-box p{

    margin-bottom:18px;

    color:var(--text);

}

.contact-box i{

    width:28px;

    color:var(--primary);

}

.contact-box a{

    color:var(--primary-dark);

    font-weight:600;

}

.contact-box a:hover{

    color:var(--primary);

}

.contact-box .button{

    margin-top:20px;

}


.contact-box .button i{
    color:#fff;
}

/*======================================================
    STOPKA
======================================================*/

.footer{

    background:#0F172A;

    color:#CBD5E1;

    padding:60px 0 30px;

}

.footer-content{

    text-align:center;

}

.footer-logo{

    height:70px;

    margin:0 auto 25px;

}

.footer p{

    margin-bottom:12px;

}

.footer a{

    color:#ffffff;

}

.footer a:hover{

    color:#42A5F5;

}



/*======================================================
    RESPONSYWNOŚĆ
======================================================*/

@media (max-width:992px){

    section{

        padding:80px 0;

    }

    .hero{

        height:560px;

    }

    .hero h1{

        font-size:48px;

    }

    .hero p{

        font-size:18px;

    }

}



@media (max-width:768px){

    .header .container{

        height:75px;

    }

    .logo img{

        height:52px;

    }

    .mobile-menu{

        display:block;

    }

    .navigation{

        position:absolute;

        top:75px;

        left:0;

        width:100%;

        display:none;

        background:#ffffff;

        box-shadow:0 12px 25px rgba(0,0,0,.10);

    }

    .navigation.active{

        display:block;

    }

    .navigation ul{

        flex-direction:column;

        gap:0;

    }

    .navigation li{

        border-bottom:1px solid #eeeeee;

    }

    .navigation a{

        display:block;

        padding:18px 25px;

    }

    .hero{

        margin-top:75px;

        height:460px;

    }

    .hero h1{

        font-size:36px;

    }

    .hero p{

        font-size:17px;

    }

    .hero-buttons{

        flex-direction:column;

        align-items:flex-start;

    }

    .section-title h2{

        font-size:34px;

    }

}



@media (max-width:576px){

    section{

        padding:70px 0;

    }

    .hero{

        height:420px;

    }

    .hero-top{

        display:none;

    }

    .hero h1{

        font-size:30px;

    }

    .hero p{

        font-size:16px;

    }

    .button{

        width:100%;

        text-align:center;

    }

    .services-grid,
    .features-grid,
    .contact-grid{

        grid-template-columns:1fr;

    }

    .contact-box{

        padding:30px;

    }

}



/*======================================================
    SCROLLBAR
======================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

::selection{

    background:var(--primary);

    color:#ffffff;

}