/*======================================================
 Blue Arc Electrical Website
 Main Stylesheet
======================================================*/

/* ---------- GOOGLE FONT ---------- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---------- VARIABLES ---------- */

:root{

    --background:#08111d;
    --background2:#101c2b;
    --card:#162333;

    --blue:#1E90FF;
    --darkBlue:#0C2B6B;

    --text:#ffffff;
    --lightText:#c9d4df;

    --border:#22364d;

    --container:1200px;

}

/* ---------- RESET ---------- */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Inter',sans-serif;

    background:var(--background);

    color:var(--text);

    line-height:1.7;

}

img{

    max-width:100%;
    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

/* ---------- CONTAINER ---------- */

.container{

    width:90%;
    max-width:var(--container);

    margin:auto;

}

/* ---------- HEADER ---------- */

header{

    position:fixed;

    width:100%;

    top:0;

    left:0;

    z-index:1000;

    background:rgba(8,17,29,.92);

    backdrop-filter:blur(10px);

    border-bottom:1px solid rgba(255,255,255,.05);

}

.nav-container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:105px;

}

.logo img{

.logo{

    position:relative;

}

.logo::before{

    content:"";

    position:absolute;

    width:120px;
    height:120px;

    left:50%;
    top:50%;

    transform:translate(-50%,-50%);

    background:radial-gradient(circle,
        rgba(30,144,255,.15),
        transparent 70%);

    z-index:-1;

}

    height:78px;
    width:auto;
    transition:all .3s ease;

}

.logo img:hover{

    transform:scale(1.05);

}

nav ul{

    display:flex;

    gap:40px;

}

nav a{

    color:white;

    font-weight:500;

    transition:.3s;

}

nav a:hover{

    color:var(--blue);

}

.phone-button{

    color:white;

    border:2px solid var(--blue);

    padding:12px 22px;

    border-radius:6px;

    transition:.3s;

}

.phone-button:hover{

    background:var(--blue);

}

/* ---------- HERO ---------- */

.hero-logo{

    width:340px;

    max-width:90%;

    margin-bottom:40px;

    filter:drop-shadow(0 0 20px rgba(30,144,255,.15));

}

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    position:relative;

    overflow:hidden;

    background:

    radial-gradient(circle at top right,#133a73 0%,transparent 35%),

    radial-gradient(circle at bottom left,#0c2b6b 0%,transparent 40%),

    linear-gradient(135deg,#08111d,#0d1828,#08111d);

}

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    position:relative;

    overflow:hidden;

    background:

    radial-gradient(circle at top right,#133a73 0%,transparent 35%),

    radial-gradient(circle at bottom left,#0c2b6b 0%,transparent 40%),

    linear-gradient(135deg,#08111d,#0d1828,#08111d);

}

/* ---------- BUTTONS ---------- */

.btn-primary{

    display:inline-block;

    background:var(--blue);

    color:white;

    padding:16px 34px;

    border-radius:6px;

    margin-right:15px;

    transition:.3s;

}

.btn-primary:hover{

    transform:translateY(-3px);

    box-shadow:0 10px 25px rgba(30,144,255,.35);

}

.btn-secondary{

    display:inline-block;

    color:white;

    border:2px solid var(--blue);

    padding:16px 34px;

    border-radius:6px;

}

.btn-secondary:hover{

    background:var(--blue);

}

/* ---------- FEATURES ---------- */

.features{

    background:#0c1623;

    padding:70px 0;

}

.feature-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:40px;

}

.feature{

    text-align:center;

}

.feature h3{

    color:white;

    margin-bottom:10px;

}

.feature p{

    color:var(--lightText);

}

/* ---------- GENERAL SECTIONS ---------- */

section{

    padding:110px 0;

}

h2{

    font-size:2.6rem;

    margin-bottom:35px;

}

p{

    color:var(--lightText);

}

/* ---------- ABOUT ---------- */

.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

/* ---------- SERVICES ---------- */

.services-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.service-card{

    background:var(--card);

    border:1px solid var(--border);

    padding:35px;

    border-radius:10px;

    transition:.3s;

}

.service-card:hover{

    transform:translateY(-8px);

    border-color:var(--blue);

}

.service-card h3{

    margin-bottom:15px;

}

/* ---------- INDUSTRIES ---------- */

.industry-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.industry-grid div{

    background:var(--card);

    text-align:center;

    padding:30px;

    border-radius:8px;

}

/* ---------- CONTACT ---------- */

.contact-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

}

/* ---------- FOOTER ---------- */

footer{

    border-top:1px solid var(--border);

    padding:35px 0;

    text-align:center;

}

/*=========================================
 Scroll Header
=========================================*/

header.scrolled{

    background:#08111d;

    box-shadow:0 10px 30px rgba(0,0,0,.35);

}

/*=========================================
 Fade Animation
=========================================*/

.hidden{

    opacity:0;

    transform:translateY(60px);

    transition:all .8s ease;

}

.show{

    opacity:1;

    transform:translateY(0);

}

/*=========================================
 Smooth Hover
=========================================*/

.service-card,
.feature,
.btn-primary,
.btn-secondary{

    transition:all .35s ease;

}

/*=========================================
 About Card
=========================================*/

.about-card{

    background:linear-gradient(145deg,#132131,#1a2a3d);

    border:1px solid var(--border);

    border-radius:12px;

    padding:50px;

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

}

.about-card h3{

    margin-bottom:30px;

    color:var(--blue);

    font-size:2rem;

}

.about-list{

    list-style:none;

}

.about-list li{

    padding:16px 0;

    font-size:1.1rem;

    border-bottom:1px solid rgba(255,255,255,.06);

    color:var(--lightText);

}

.about-list li:last-child{

    border-bottom:none;

}

/*=========================================
 Contact Links
=========================================*/

#contact a{

    color:var(--lightText);

    transition:.3s;

}

#contact a:hover{

    color:var(--blue);

}

#contact h4{

    margin-top:25px;

    margin-bottom:8px;

    color:white;

}

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

@media screen and (max-width:1000px){

    .hero h1{

        font-size:3rem;

    }

    .about-grid{

        grid-template-columns:1fr;

    }

    .services-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .industry-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .contact-grid{

        grid-template-columns:1fr;

    }

}

@media screen and (max-width:768px){

    /* Navigation */

    nav{

        display:none;

    }

    .phone-button{

        display:none;

    }

    .nav-container{

        justify-content:center;

        height:90px;

    }

    .logo img{

        height:70px;

    }

    /* Hero */

    .hero{

        text-align:center;

        padding:140px 0 80px;

    }

    .hero h1{

        font-size:2.3rem;

    }

    .hero-text{

        font-size:1rem;

    }

    .hero-services{

        justify-content:center;

        gap:12px;

    }

    .hero-buttons{

        display:flex;

        flex-direction:column;

        gap:15px;

    }

    .btn-primary,
    .btn-secondary{

        width:100%;

        margin:0;

    }

    /* Sections */

    section{

        padding:80px 0;

    }

    h2{

        font-size:2rem;

        text-align:center;

    }

    /* Services */

    .services-grid{

        grid-template-columns:1fr;

    }

    /* Industries */

    .industry-grid{

        grid-template-columns:1fr;

    }

    /* Features */

    .feature-grid{

        grid-template-columns:1fr;

        gap:30px;

    }

    /* About */

    .about-card{

        margin-top:40px;

    }

}

@media screen and (max-width:480px){

    .container{

        width:92%;

    }

    .hero-logo{

        width:260px;

    }

    .hero h1{

        font-size:2rem;

    }

    .hero-text{

        font-size:.95rem;

    }

    .service-card{

        padding:25px;

    }

}