/* ==========================================
   SIGN ELECTRICALS - PREMIUM WEBSITE
========================================== */

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

/* Reset */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f8f9fb;
    color:#222;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ==========================
LOADER
========================== */

#loader{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#071b3b;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

.loader-content{
    text-align:center;
}

.loader-content img{
    width:120px;
    margin:auto;
    animation:rotate 2s linear infinite;
}

.loader-content h2{
    color:#fff;
    margin-top:20px;
}

@keyframes rotate{

0%{
transform:rotate(0deg);
}

100%{
transform:rotate(360deg);
}

}

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

header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:999;
    background:#fff;
    transition:.4s;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo img{
    width:70px;
}

.logo h2{
    color:#0056b3;
    font-size:30px;
}

.logo p{
    color:#666;
    font-size:14px;
}

.nav-links{
    display:flex;
    gap:35px;
}

.nav-links a{
    color:#222;
    font-weight:600;
    transition:.3s;
}

.nav-links a:hover,
.nav-links a.active{
    color:#FFC107;
}

.call-btn{
    background:#0056b3;
    color:#fff;
    padding:14px 28px;
    border-radius:50px;
    font-weight:600;
    transition:.3s;
}

.call-btn:hover{
    background:#003d82;
}

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

.hero{

padding-top:130px;
padding-bottom:80px;
background:linear-gradient(135deg,#071b3b,#0b3d91);
color:#fff;

}

.hero-container{

display:flex;
align-items:center;
justify-content:space-between;
gap:60px;

}

.hero-left{

flex:1;

}

.hero-badge{

display:inline-block;
padding:10px 18px;
background:rgba(255,255,255,.12);
border-radius:30px;
margin-bottom:25px;

}

.hero h1{

font-size:62px;
line-height:1.2;
margin-bottom:25px;

}

.hero h1 span{

color:#FFC107;

}

.hero p{

font-size:19px;
line-height:1.8;
margin-bottom:35px;
color:#eee;

}

.hero-buttons{

display:flex;
gap:20px;

}

.btn{

padding:16px 34px;
border-radius:50px;
background:#FFC107;
color:#000;
font-weight:700;
transition:.3s;

}

.btn:hover{

transform:translateY(-5px);

}

.whatsapp-btn{

background:#25D366;
color:#fff;

}

/* ==========================
SLIDER
========================== */

.hero-right{

flex:1;

}

.slider{

position:relative;
height:500px;
border-radius:20px;
overflow:hidden;
box-shadow:0 20px 50px rgba(0,0,0,.4);

}

.slide{

position:absolute;
width:100%;
height:100%;
object-fit:cover;
opacity:0;
transition:1s;

}

.slide.active{

opacity:1;

}

.slider-dots{

position:absolute;
bottom:20px;
left:50%;
transform:translateX(-50%);
display:flex;
gap:10px;

}

.dot{

width:12px;
height:12px;
background:#fff;
border-radius:50%;
opacity:.5;

}

.dot.active{

opacity:1;
background:#FFC107;

}
/* ==========================================
   SECTION TITLE
========================================== */

section{
    padding:100px 0;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:42px;
    color:#0056b3;
    margin-bottom:15px;
}

.section-title p{
    color:#666;
    font-size:18px;
}

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

.about-wrapper{
    display:grid;
    grid-template-columns:1fr 1.2fr;
    gap:60px;
    align-items:center;
}

.about-image img{
    width:100%;
    max-width:380px;
    margin:auto;
}

.about-content h3{
    font-size:34px;
    color:#0056b3;
    margin-bottom:20px;
}

.about-content p{
    color:#555;
    line-height:1.9;
    margin-bottom:35px;
}

.about-info{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.info-box{
    background:#fff;
    padding:25px;
    border-radius:15px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.info-box h4{
    color:#0056b3;
    margin-bottom:8px;
}

/* ==========================================
COUNTER
========================================== */

.counter{
    background:#0056b3;
    color:#fff;
}

.counter-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.counter-box{
    text-align:center;
}

.counter-box h2{
    font-size:52px;
    color:#FFC107;
}

.counter-box p{
    margin-top:10px;
}

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

.services{
    background:#eef5ff;
}

.service-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.service-card{
    background:#fff;
    padding:40px 30px;
    text-align:center;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.35s;
}

.service-card:hover{
    transform:translateY(-10px);
}

.service-card i{
    font-size:55px;
    color:#FFC107;
    margin-bottom:20px;
}

.service-card h3{
    color:#0056b3;
    margin-bottom:15px;
}

.service-card p{
    color:#666;
}

/* ==========================================
WHY CHOOSE US
========================================== */

.why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

.why-card{
    background:#fff;
    text-align:center;
    padding:35px;
    border-radius:18px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.why-card:hover{
    transform:translateY(-8px);
}

.why-card i{
    font-size:50px;
    color:#FFC107;
    margin-bottom:18px;
}

.why-card h3{
    color:#0056b3;
    margin-bottom:12px;
}

.why-card p{
    color:#666;
}

/* ==========================================
WORK PROCESS
========================================== */

.process{
    background:#eef5ff;
}

.process-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.process-box{
    background:#fff;
    text-align:center;
    padding:35px;
    border-radius:20px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.process-box span{
    width:70px;
    height:70px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto;
    margin-bottom:20px;
    border-radius:50%;
    background:#FFC107;
    color:#000;
    font-size:28px;
    font-weight:bold;
}

.process-box h3{
    color:#0056b3;
    margin-bottom:12px;
}

/* ==========================================
PROJECTS
========================================== */

.project-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.project-card{
    overflow:hidden;
    border-radius:18px;
    box-shadow:0 12px 25px rgba(0,0,0,.15);
}

.project-card img{
    width:100%;
    height:260px;
    object-fit:cover;
    transition:.5s;
}

.project-card:hover img{
    transform:scale(1.08);
}

/* ==========================================
TESTIMONIALS
========================================== */

.testimonials{
    background:#eef5ff;
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.testimonial-card{
    background:#fff;
    padding:35px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.testimonial-card p{
    margin:20px 0;
    color:#555;
}
/* ==========================================
   FAQ
========================================== */

.faq{
    background:#fff;
}

.faq-container{
    max-width:900px;
    margin:auto;
}

.faq-item{
    background:#f8f9fb;
    margin-bottom:20px;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.faq-question{
    width:100%;
    background:none;
    border:none;
    padding:22px;
    text-align:left;
    font-size:18px;
    font-weight:600;
    cursor:pointer;
}

.faq-answer{
    display:none;
    padding:0 22px 22px;
    color:#555;
}

.faq-item.active .faq-answer{
    display:block;
}

/* ==========================================
   CONTACT
========================================== */

.contact{
    background:#eef5ff;
}

.contact-wrapper{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    margin-bottom:50px;
}

.contact-info{
    background:#fff;
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.contact-info h3{
    color:#0056b3;
    margin-bottom:20px;
}

.contact-info p{
    margin-bottom:18px;
}

.contact-info a{
    color:#0056b3;
}

.contact-form{
    background:#fff;
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:16px;
    margin-bottom:18px;
    border:1px solid #ddd;
    border-radius:10px;
    font-family:Poppins,sans-serif;
    font-size:16px;
}

.contact-form button{
    border:none;
    cursor:pointer;
}

.map iframe{
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

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

footer{
    background:#071b3b;
    color:#fff;
    padding:70px 0 25px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:50px;
    align-items:start;
}

@media (max-width:900px){
    .footer-grid{
        grid-template-columns:1fr;
        gap:30px;
    }
}

.footer-logo{
    width:130px;
    margin-bottom:20px;
    transition:.4s;
}

.footer-logo:hover{
    transform:scale(1.08) rotate(-3deg);
}

footer h3,
footer h4{
    margin-bottom:20px;
}

footer ul{
    list-style:none;
    padding:0;
}

footer ul li{
    margin:15px 0;
}

footer ul li a{
    color:#fff;
    text-decoration:none;
    transition:.3s;
    font-size:17px;
}

footer ul li a:hover{
    color:#FFC107;
    padding-left:8px;
}

footer a{
    color:#fff;
    transition:.3s;
}

footer a:hover{
    color:#FFC107;
}

.copyright{
    text-align:center;
    border-top:1px solid rgba(255,255,255,.15);
    margin-top:40px;
    padding-top:20px;
}
.footer-company h3{
    font-size:30px;
    color:#fff;
    margin-bottom:15px;
}

.footer-company h3 i{
    color:#FFC107;
    margin-right:8px;
}

.footer-company p{
    color:#d8d8d8;
    line-height:1.8;
    font-size:16px;
    margin-bottom:10px;
}

.footer-contact{
    margin-top:20px;
}

.footer-contact p{
    display:flex;
    align-items:center;
    gap:10px;
    margin:10px 0;
    font-size:15px;
}

.footer-contact i{
    color:#FFC107;
    width:20px;
    text-align:center;
}
/* ==========================================
   FLOATING BUTTONS
========================================== */

.whatsapp{
    position:fixed;
    right:25px;
    bottom:25px;
    width:60px;
    height:60px;
    border-radius:50%;
    background:#25D366;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    box-shadow:0 8px 20px rgba(0,0,0,.3);
    z-index:999;
}

#topBtn{
    position:fixed;
    right:25px;
    bottom:100px;
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:#0056b3;
    color:#fff;
    font-size:22px;
    cursor:pointer;
    display:none;
    z-index:999;
}

/* ==========================================
   ANIMATIONS
========================================== */

.hidden{
    opacity:0;
    transform:translateY(50px);
    transition:all .8s ease;
}

.show{
    opacity:1;
    transform:translateY(0);
}

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

@media(max-width:992px){

.hero-container,
.about-wrapper,
.contact-wrapper{
    grid-template-columns:1fr;
    display:grid;
}

.counter-grid,
.process-grid{
    grid-template-columns:repeat(2,1fr);
}

.footer-grid{
    grid-template-columns:1fr;
}

.hero h1{
    font-size:46px;
}

.navbar{
    flex-direction:column;
    gap:20px;
}

.nav-links{
    flex-wrap:wrap;
    justify-content:center;
}

}

@media(max-width:768px){

.hero{
    text-align:center;
}

.hero-buttons{
    flex-direction:column;
    align-items:center;
}

.hero h1{
    font-size:36px;
}

.counter-grid,
.process-grid{
    grid-template-columns:1fr;
}

.about-info{
    grid-template-columns:1fr;
}

.section-title h2{
    font-size:32px;
}

.slider{
    height:320px;
}

.logo h2{
    font-size:24px;
}

.logo img{
    width:55px;
}

.call-btn{
    display:none;
}

}

@media(max-width:480px){

.hero h1{
    font-size:30px;
}

.hero p{
    font-size:16px;
}

.btn{
    width:100%;
    text-align:center;
}

.nav-links{
    gap:15px;
}

.nav-links a{
    font-size:15px;
}

}
