/* ==========================
   SPS SOLAR - STYLE.CSS
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Montserrat',sans-serif;
    background:#ffffff;
    color:#222;
    line-height:1.6;

}

/* ==========================
   HEADER
========================== */

header{

    position:center;
    top:0;
    left:0;

    width:100%;

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:center;

    padding:25px 0;

    background:rgba(11,44,93,.90);

    backdrop-filter:blur(10px);

    z-index:1000;

}

.logo{

    color:white;

    font-size:42px;

    font-weight:800;

    letter-spacing:2px;

    text-transform:uppercase;

    margin-bottom:15px;

}

nav{

    display:flex;

    justify-content:center;
    align-items:center;

    gap:40px;

}


nav a{

    color:white;

    text-decoration:none;

    font-size:17px;

    font-weight:500;

    transition:.3s;

}

nav a:hover{

    color:#FFD54F;

}

/* ==========================
   HERO
========================== */

.hero{

    height:100vh;

    background:
    linear-gradient(rgba(6,26,54,.65),rgba(6,26,54,.65)),
    url("../images/solar.jpg");

    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;

    color:white;

    padding:0 20px;

}

.hero-content{

    max-width:900px;

}

.hero h1{

    font-size:72px;
    font-weight:800;

    line-height:1.1;

    margin-bottom:25px;

}

.hero p{

    font-size:23px;

    color:#F3F3F3;

    margin-bottom:45px;

}

/* ==========================
   BUTTON
========================== */

.btn{

    display:inline-block;

    padding:18px 42px;

    background:#FFD54F;

    color:#0B2C5D;

    border-radius:50px;

    text-decoration:none;

    font-size:18px;
    font-weight:700;

    transition:.35s;

}

.btn:hover{

    background:white;

    transform:translateY(-4px);

    box-shadow:0 15px 40px rgba(0,0,0,.25);

}

/* ==========================
   SERVICES
========================== */

.services{

    padding:120px 8%;

    text-align:center;

}

.services h2{

    font-size:48px;

    color:#0B2C5D;

    margin-bottom:60px;

}

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:35px;

}

.card{

    background:white;

    border-radius:20px;

    padding:45px 35px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    transition:.35s;

}

.card:hover{

    transform:translateY(-12px);

    box-shadow:0 20px 50px rgba(0,0,0,.15);

}

.card h3{

    color:#0B2C5D;

    margin-bottom:18px;

    font-size:25px;

}

.card p{

    color:#555;

}

/* ==========================
   ABOUT
========================== */

.about{

    background:#F5F8FC;

    text-align:center;

    padding:120px 10%;

}

.about h2{

    font-size:48px;

    color:#0B2C5D;

    margin-bottom:35px;

}

.about p{

    max-width:900px;

    margin:auto;

    font-size:20px;

    color:#444;

}

/* ==========================
   CTA
========================== */

.cta{

    background:#0B2C5D;

    color:white;

    text-align:center;

    padding:120px 20px;

}

.cta h2{

    font-size:48px;

    margin-bottom:35px;

}

/* ==========================
   FOOTER
========================== */

footer{

    background:#071B3A;

    color:white;

    text-align:center;

    padding:35px;

    font-size:15px;

}

/* ==========================
   MOBILE
========================== */

@media(max-width:900px){

.hero h1{

    font-size:48px;

}

.hero p{

    font-size:18px;

}

header{

    flex-direction:column;

    gap:15px;

}

nav{

    flex-wrap:wrap;

    justify-content:center;

    gap:20px;

}

.services h2,
.about h2,
.cta h2{

    font-size:36px;

}

}