/* ==========================================
   STRATEGIC ELECTRICAL
   Professional Website
========================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root{

    --primary:#061A40;
    --secondary:#FFC107;
    --dark:#021124;
    --light:#F4F7FA;
    --white:#ffffff;
    --grey:#6f7785;

    --shadow:0 10px 30px rgba(0,0,0,.12);

    --radius:14px;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Montserrat',sans-serif;
    background:var(--light);
    color:#333;
    line-height:1.7;

}

img{

    max-width:100%;
    display:block;

}

.container{

    width:90%;
    max-width:1200px;
    margin:auto;

}header{

    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:rgba(6,26,64,.96);
    backdrop-filter:blur(12px);
    z-index:9999;

}

.navbar{

    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;

}

.logo{

    font-size:28px;
    font-weight:800;
    color:var(--secondary);

}

nav ul{

    display:flex;
    list-style:none;
    gap:35px;

}

nav a{

    color:white;
    text-decoration:none;
    font-weight:600;
    transition:.3s;

}

nav a:hover{

    color:var(--secondary);

}

.menu-btn{

    display:none;
    color:white;
    font-size:30px;
    cursor:pointer;

}.hero{

padding:120px 0 60px;

background:#f5f7fa;

}
/*==============================
 HERO
==============================*/

.hero{

    background-image:
    linear-gradient(rgba(0,0,0,.60),rgba(0,0,0,.60)),
    url("../images/hero.jpg");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    min-height:70vh;

    display:flex;

    align-items:center;

}

.hero-overlay{

    width:100%;

    padding:120px 0 80px;

}

.hero-content{

    max-width:700px;

    color:white;

}

.hero-tag{

    display:inline-block;

    background:#F5B400;

    color:#0B2E59;

    padding:10px 18px;

    border-radius:30px;

    font-weight:700;

    margin-bottom:25px;

}

.hero h1{

    font-size:60px;

    line-height:1.1;

    margin-bottom:25px;

}

.hero p{

    font-size:20px;

    color:#f2f2f2;

    margin-bottom:35px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

.trust-bar{

background:#0B2E59;

color:white;

padding:20px 0;

}

.trust-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

text-align:center;

font-weight:600;

gap:20px;

}

@media(max-width:900px){

.hero-grid,
.trust-grid{

grid-template-columns:1fr;

}

.hero{

padding:100px 0 40px;

}

.hero-text h1{

font-size:40px;

}

}/* ===========================
   SECTION HEADINGS
=========================== */

.section-heading{

text-align:center;

margin-bottom:50px;

}

.section-heading h2{

font-size:42px;

color:#0B2E59;

margin-bottom:15px;

}

.section-heading p{

max-width:700px;

margin:auto;

color:#666;

}


/* SERVICES */

.services-home{

background:#ffffff;

}

.service-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:30px;

}

.service-card{

background:#f8f9fb;

padding:35px;

border-radius:18px;

text-align:center;

box-shadow:0 12px 30px rgba(0,0,0,.08);

transition:.3s;

}

.service-card:hover{

transform:translateY(-8px);

}

.service-icon{

font-size:46px;

margin-bottom:20px;

}

.center-btn{

text-align:center;

margin-top:50px;

}


/* WHY US */

.why-us{

background:#f5f7fa;

}

.why-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:25px;

}

.why-card{

background:white;

padding:35px;

border-radius:18px;

box-shadow:0 12px 30px rgba(0,0,0,.08);

text-align:center;

}


/* PROJECTS */

.featured-projects{

background:white;

}

.project-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:20px;

}

.project-grid img{

width:100%;

height:260px;

object-fit:cover;

border-radius:18px;

transition:.3s;

cursor:pointer;

}

.project-grid img:hover{

transform:scale(1.03);

}


/* MOBILE */

@media(max-width:900px){

.service-grid,
.why-grid,
.project-grid{

grid-template-columns:1fr;

}

}/* ==========================
   ABOUT
========================== */

.about-home{
    background:#f5f7fa;
}

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.about-image img{
    width:100%;
    border-radius:18px;
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

.about-text h2{
    font-size:42px;
    color:#0B2E59;
    margin-bottom:20px;
}

.about-text p{
    margin-bottom:20px;
    color:#555;
}

/* CTA */

.cta-banner{
    background:linear-gradient(135deg,#0B2E59,#163E75);
    color:white;
    padding:70px 0;
}

.cta-grid{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
    flex-wrap:wrap;
}

/* FOOTER */

footer{
    background:#081C36;
    color:white;
    padding:60px 0 20px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:40px;
}

.footer-grid h3{
    color:#F5B400;
    margin-bottom:20px;
}

.footer-grid ul{
    list-style:none;
}

.footer-grid li{
    margin-bottom:12px;
}

.footer-grid a{
    color:white;
    text-decoration:none;
}

.footer-grid a:hover{
    color:#F5B400;
}

.copyright{
    text-align:center;
    margin-top:40px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,.15);
}

/* RESPONSIVE */

@media (max-width:900px){

    .about-grid,
    .footer-grid{
        grid-template-columns:1fr;
    }

    .cta-grid{
        flex-direction:column;
        text-align:center;
    }

}

.btn{

    display:inline-block;
    padding:16px 38px;
    border-radius:40px;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
    margin-right:15px;

}

.btn-primary{

    background:var(--secondary);
    color:var(--primary);

}

.btn-primary:hover{

    transform:translateY(-5px);

}

.btn-outline{

    border:2px solid white;
    color:white;

}

.btn-outline:hover{

    background:white;
    color:var(--primary);

}section{

    padding:100px 0;

}

.section-title{

    text-align:center;
    margin-bottom:20px;
    color:var(--primary);
    font-size:42px;
    font-weight:800;

}

.section-sub{

    text-align:center;
    max-width:800px;
    margin:auto auto 60px;
    color:var(--grey);

}.grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;

}

.card{

    background:white;
    padding:35px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    transition:.35s;

}

.card:hover{

    transform:translateY(-10px);

}

.card h3{

    color:var(--primary);
    margin-bottom:15px;

}/* ==========================
   PROJECT GALLERY
========================== */

.gallery{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

gap:30px;

margin-top:50px;

}

.gallery-item{

overflow:hidden;

border-radius:15px;

background:#fff;

box-shadow:0 15px 35px rgba(0,0,0,.12);

cursor:pointer;

transition:.35s;

}

.gallery-item:hover{

transform:translateY(-8px);

}

.gallery-item img{

width:100%;

height:280px;

object-fit:cover;

transition:.4s;

}

.gallery-item:hover img{

transform:scale(1.08);

}/* PAGE HEADER */

.page-header{

margin-top:80px;

padding:120px 20px;

text-align:center;

color:white;

background:

linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,.7)),

url("../images/hero.jpg");

background-size:cover;

background-position:center;

}

.page-header h1{

font-size:56px;

margin-bottom:15px;

}

.page-header p{

font-size:22px;

}

.card ul{

margin-top:20px;

padding-left:20px;

}

.card li{

margin-bottom:10px;

}

.cta{

background:var(--primary);

color:white;

text-align:center;

}

.cta h2{

font-size:42px;

margin-bottom:20px;

}

.cta p{

max-width:700px;

margin:auto auto 35px;

}/* CONTACT PAGE */

.contact-section{

padding:90px 0;

}

.contact-grid{

display:grid;

grid-template-columns:1fr 1fr;

gap:40px;

}

.contact-card{

background:white;

padding:40px;

border-radius:15px;

box-shadow:var(--shadow);

}

.contact-card h2{

color:var(--primary);

margin-bottom:25px;

}

.contact-card p{

margin-bottom:20px;

}

.contact-card a{

color:var(--primary);

text-decoration:none;

font-weight:600;

}

input,
select,
textarea{

width:100%;

padding:15px;

margin-bottom:18px;

border:1px solid #ddd;

border-radius:10px;

font-family:inherit;

font-size:16px;

}

textarea{

height:170px;

resize:vertical;

}

.map{

padding:80px 0;

text-align:center;

}

footer{

background:#021124;

color:white;

padding:40px 20px;

text-align:center;

}

@media(max-width:900px){

.contact-grid{

grid-template-columns:1fr;

}

}/* ==========================================
   ANIMATIONS
========================================== */

.card,
.gallery-item{

opacity:0;

transform:translateY(40px);

transition:.7s;

}

.visible{

opacity:1;

transform:translateY(0);

}


/* LIGHTBOX */

#lightbox{

position:fixed;

top:0;

left:0;

width:100%;

height:100%;

background:rgba(0,0,0,.92);

display:none;

justify-content:center;

align-items:center;

z-index:99999;

}

#lightbox.active{

display:flex;

}

#lightbox img{

max-width:90%;

max-height:90%;

border-radius:12px;

}


/* SCROLL BUTTON */

#topBtn{

position:fixed;

right:30px;

bottom:100px;

width:55px;

height:55px;

border:none;

border-radius:50%;

background:#061A40;

color:white;

font-size:22px;

cursor:pointer;

display:none;

z-index:999;

box-shadow:0 10px 20px rgba(0,0,0,.25);

}

#topBtn.show{

display:block;

}


/* WHATSAPP */

.floating-whatsapp{

position:fixed;

right:30px;

bottom:30px;

width:65px;

height:65px;

background:#25D366;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

text-decoration:none;

font-size:34px;

color:white;

box-shadow:0 10px 25px rgba(0,0,0,.3);

transition:.3s;

z-index:9999;

}

.floating-whatsapp:hover{

transform:scale(1.1);

}


/* MOBILE */

@media(max-width:900px){

.menu-btn{

display:block;

}

nav ul{

display:none;

position:absolute;

top:75px;

left:0;

width:100%;

background:#061A40;

flex-direction:column;

padding:25px;

gap:20px;

}

nav ul.show{

display:flex;

}

.hero h1{

font-size:46px;

}

.section-title{

font-size:34px;

}

}