/*==============================
PREMIUM CSS - PART 1
===============================*/

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Poppins',sans-serif;
background:#071523;
color:#fff;
overflow-x:hidden;
line-height:1.7;
}

img{
max-width:100%;
display:block;
}

a{
text-decoration:none;
}

ul{
list-style:none;
}

section{
padding:100px 8%;
}

:root{

--primary:#0D47A1;
--secondary:#1976D2;
--gold:#FFC107;
--white:#fff;
--dark:#071523;

}

/*==============================
HEADER
===============================*/

header{

position:fixed;
top:0;
left:0;
width:100%;
z-index:9999;

background:rgba(8,18,35,.78);

backdrop-filter:blur(20px);

border-bottom:1px solid rgba(255,255,255,.08);

transition:.4s;

}

.navbar{

max-width:1400px;
margin:auto;

display:flex;
align-items:center;
justify-content:space-between;

padding:18px 30px;

}

.logo img{

width:70px;

}

.quote-btn{

padding:14px 28px;

background:linear-gradient(45deg,#FFC107,#ff9800);

border-radius:50px;

font-weight:700;

color:#111;

transition:.35s;

}

.quote-btn:hover{

transform:translateY(-4px);

box-shadow:0 15px 35px rgba(255,193,7,.35);

}

/*==============================
HAMBURGER
===============================*/

.hamburger{

display:none;

width:35px;

cursor:pointer;

}

.hamburger span{

display:block;

height:3px;

background:#fff;

margin:7px 0;

border-radius:10px;

transition:.4s;

}

.hamburger.active span:nth-child(1){

transform:rotate(45deg) translateY(10px);

}

.hamburger.active span:nth-child(2){

opacity:0;

}

.hamburger.active span:nth-child(3){

transform:rotate(-45deg) translateY(-10px);

}

/*==============================
NAV LINKS
===============================*/

.nav-links{

display:flex;
gap:35px;

}

.nav-links a{

color:#fff;

font-weight:600;

position:relative;

transition:.3s;

}

.nav-links a:hover{

color:#FFC107;

}

.nav-links a::after{

content:"";

position:absolute;

left:0;
bottom:-8px;

height:2px;

width:0;

background:#FFC107;

transition:.3s;

}

.nav-links a:hover::after{

width:100%;

}

/*==============================
HERO
===============================*/

.hero{

min-height:100vh;

padding-top:170px;

display:grid;

grid-template-columns:1fr 1fr;

align-items:center;

gap:70px;

background:

linear-gradient(rgba(4,15,30,.82),rgba(4,15,30,.92)),

url(images/hero-bg.jpg);

background-size:cover;

background-position:center;

}

.hero-content h5{

color:#FFC107;

letter-spacing:2px;

margin-bottom:18px;

}

.hero-content h1{

font-size:72px;

font-weight:800;

line-height:1.08;

margin-bottom:25px;

}

.hero-content h1 span{

color:#FFC107;

}

.hero-content p{

font-size:18px;

color:#d5d5d5;

margin-bottom:40px;

max-width:620px;

}

.hero-buttons{

display:flex;

gap:20px;

margin-bottom:50px;

flex-wrap:wrap;

}

.btn-primary{

background:#FFC107;

padding:16px 34px;

border-radius:50px;

color:#111;

font-weight:700;

transition:.35s;

}

.btn-primary:hover{

transform:translateY(-6px);

box-shadow:0 15px 35px rgba(255,193,7,.4);

}

.btn-secondary{

border:2px solid #fff;

padding:16px 34px;

border-radius:50px;

color:#fff;

transition:.35s;

}

.btn-secondary:hover{

background:#fff;

color:#0D47A1;

}

.hero-stats{

display:flex;

gap:25px;

flex-wrap:wrap;

}

.hero-stats div{

background:rgba(255,255,255,.08);

padding:22px 28px;

border-radius:18px;

backdrop-filter:blur(12px);

}

.hero-stats h2{

font-size:36px;

color:#FFC107;

}

.hero-image{

display:flex;

justify-content:center;

}

.hero-image img{

width:600px;

animation:float 5s ease-in-out infinite;

filter:drop-shadow(0 25px 45px rgba(0,0,0,.45));

}

@keyframes float{

0%{transform:translateY(0);}
50%{transform:translateY(-18px);}
100%{transform:translateY(0);}

}

/*==================================
ABOUT SECTION
==================================*/

.about{

display:grid;
grid-template-columns:1fr 1fr;
gap:70px;
align-items:center;

background:#fff;
color:#222;

}

.about-image img{

width:100%;
border-radius:20px;

box-shadow:0 20px 45px rgba(0,0,0,.12);

transition:.4s;

}

.about-image img:hover{

transform:scale(1.04);

}

.about-content h5{

color:#FFC107;

letter-spacing:2px;

margin-bottom:15px;

}

.about-content h2{

font-size:48px;

color:#0D47A1;

margin-bottom:25px;

}

.about-content p{

color:#555;

font-size:17px;

margin-bottom:20px;

}

.about-features{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:18px;

margin:35px 0;

}

.about-features div{

background:#f4f7fb;

padding:16px 20px;

border-left:5px solid #FFC107;

border-radius:10px;

font-weight:600;

transition:.3s;

}

.about-features div:hover{

background:#fff7dd;

transform:translateX(8px);

}

/*==================================
SECTION TITLE
==================================*/

.section-title{

text-align:center;

margin-bottom:70px;

}

.section-title h5{

color:#FFC107;

letter-spacing:2px;

margin-bottom:15px;

}

.section-title h2{

font-size:48px;

color:#0D47A1;

margin-bottom:15px;

}

.section-title p{

max-width:700px;

margin:auto;

color:#666;

}

/*==================================
SERVICES
==================================*/

.services{

background:#f8fafc;

}

.services-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 12px 30px rgba(0,0,0,.08);

transition:.35s;

}

.service-card:hover{

transform:translateY(-15px);

box-shadow:0 20px 45px rgba(13,71,161,.18);

}

.service-card i{

font-size:60px;

color:#FFC107;

margin-bottom:25px;

}

.service-card h3{

font-size:26px;

color:#0D47A1;

margin-bottom:15px;

}

.service-card p{

color:#666;

line-height:1.8;

}

/*==================================
WHY SECTION
==================================*/

.why{

background:#fff;

}

.why-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

gap:30px;

}

.why-card{

background:#f8fafc;

padding:35px;

border-radius:20px;

text-align:center;

transition:.35s;

box-shadow:0 12px 30px rgba(0,0,0,.08);

}

.why-card:hover{

background:#0D47A1;

color:#fff;

transform:translateY(-10px);

}

.why-card:hover h3,
.why-card:hover i{

color:#FFC107;

}

.why-card i{

font-size:55px;

margin-bottom:20px;

color:#0D47A1;

transition:.3s;

}

.why-card h3{

margin-bottom:15px;

font-size:24px;

color:#0D47A1;

}

.why-card p{

line-height:1.8;

}

/*==================================
STATS
==================================*/

.stats{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:30px;

background:linear-gradient(135deg,#0D47A1,#1565C0);

text-align:center;

}

.stat-box{

padding:45px 20px;

background:rgba(255,255,255,.08);

border-radius:20px;

backdrop-filter:blur(12px);

transition:.35s;

}

.stat-box:hover{

transform:translateY(-10px);

}

.stat-box h2{

font-size:55px;

color:#FFC107;

margin-bottom:10px;

}

.stat-box p{

font-size:18px;

color:#fff;

}

/*==================================
SMART HOME SECTION
==================================*/

.smart-home,
.energy{

display:grid;

grid-template-columns:1fr 1fr;

gap:70px;

align-items:center;

padding:100px 8%;

background:#fff;

}

.energy{

background:#f8fafc;

}

.smart-image img,
.energy-image img{

width:100%;

border-radius:20px;

box-shadow:0 20px 45px rgba(0,0,0,.12);

transition:.5s;

}

.smart-image img:hover,
.energy-image img:hover{

transform:scale(1.05);

}

.smart-content h5,
.energy-content h5{

color:#FFC107;

letter-spacing:2px;

margin-bottom:15px;

}

.smart-content h2,
.energy-content h2{

font-size:48px;

color:#0D47A1;

margin-bottom:20px;

}

.smart-content p,
.energy-content p{

color:#555;

line-height:1.8;

margin-bottom:30px;

}

.feature-list{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:18px;

margin-bottom:35px;

}

.feature-list div{

background:#f4f7fb;

padding:16px 18px;

border-radius:12px;

font-weight:600;

transition:.3s;

}

.feature-list div:hover{

background:#FFC107;

color:#111;

transform:translateX(8px);

}

.feature-list i{

margin-right:8px;

color:#0D47A1;

}

/*==================================
PROJECTS
==================================*/

.projects{

background:#fff;

padding:100px 8%;

}

.project-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(330px,1fr));

gap:30px;

}

.project-card{

overflow:hidden;

border-radius:22px;

background:#fff;

box-shadow:0 15px 35px rgba(0,0,0,.1);

transition:.4s;

}

.project-card:hover{

transform:translateY(-12px);

box-shadow:0 25px 55px rgba(13,71,161,.25);

}

.project-card img{

width:100%;

height:260px;

object-fit:cover;

transition:.5s;

}

.project-card:hover img{

transform:scale(1.08);

}

.project-info{

padding:25px;

}

.project-info h3{

font-size:24px;

color:#0D47A1;

margin-bottom:10px;

}

.project-info p{

color:#666;

}

/*==================================
IMAGE ANIMATION
==================================*/

.smart-image,
.energy-image,
.project-card{

animation:fadeUp 1s ease;

}

@keyframes fadeUp{

from{

opacity:0;

transform:translateY(60px);

}

to{

opacity:1;

transform:none;

}

}

/*==================================
TESTIMONIALS
==================================*/

.testimonials{
padding:100px 8%;
background:#f8fafc;
}

.testimonial-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:30px;
}

.testimonial-card{
background:#fff;
padding:35px;
border-radius:20px;
box-shadow:0 15px 35px rgba(0,0,0,.08);
text-align:center;
transition:.35s;
}

.testimonial-card:hover{
transform:translateY(-12px);
}

.testimonial-card img{
width:90px;
height:90px;
border-radius:50%;
object-fit:cover;
margin:auto;
margin-bottom:20px;
}

.testimonial-card h3{
color:#0D47A1;
margin-bottom:5px;
}

.testimonial-card h5{
color:#FFC107;
margin-bottom:15px;
font-weight:600;
}

.testimonial-card p{
color:#666;
line-height:1.8;
}

/*==================================
CEO
==================================*/

.ceo{
display:grid;
grid-template-columns:1fr 1fr;
gap:70px;
align-items:center;
background:#fff;
}

.ceo-image img{
width:100%;
border-radius:20px;
box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.ceo-content h5{
color:#FFC107;
margin-bottom:15px;
}

.ceo-content h2{
font-size:48px;
color:#0D47A1;
margin-bottom:20px;
}

.ceo-content p{
color:#555;
margin-bottom:20px;
}

.ceo-content h3{
margin-top:25px;
color:#0D47A1;
}

.ceo-content span{
display:block;
margin-bottom:30px;
color:#777;
}

/*==================================
CONTACT
==================================*/

.contact{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
background:#f8fafc;
}

.contact-left h2{
font-size:42px;
color:#0D47A1;
margin-bottom:20px;
}

.contact-left p{
color:#555;
margin-bottom:18px;
line-height:1.8;
}

.contact-right form{
background:#fff;
padding:35px;
border-radius:20px;
box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.contact-right input,
.contact-right textarea{

width:100%;
padding:16px;
margin-bottom:20px;
border:1px solid #ddd;
border-radius:12px;
font-family:Poppins,sans-serif;
}

.contact-right textarea{
height:170px;
resize:none;
}

.contact-right button{
width:100%;
padding:16px;
background:#FFC107;
border:none;
border-radius:12px;
font-size:17px;
font-weight:700;
cursor:pointer;
transition:.3s;
}

.contact-right button:hover{
background:#0D47A1;
color:#fff;
}

/*==================================
MAP
==================================*/

.map iframe{
width:100%;
height:450px;
border:none;
}

/*==================================
CTA
==================================*/

.cta{
text-align:center;
background:linear-gradient(135deg,#0D47A1,#1565C0);
color:#fff;
}

.cta h2{
font-size:48px;
margin-bottom:20px;
}

.cta p{
font-size:18px;
margin-bottom:35px;
}

/*==================================
FOOTER
==================================*/

footer{
background:#071523;
padding:70px 8%;
text-align:center;
}

.footer-logo{
width:90px;
margin:auto;
margin-bottom:20px;
}

.footer-social{
display:flex;
justify-content:center;
gap:18px;
margin:30px 0;
}

.footer-social a{
width:50px;
height:50px;
border-radius:50%;
background:#0D47A1;
display:flex;
align-items:center;
justify-content:center;
color:#fff;
font-size:20px;
transition:.35s;
}

.footer-social a:hover{
background:#FFC107;
color:#111;
transform:translateY(-6px);
}

/*==================================
WHATSAPP
==================================*/

.whatsapp{
position:fixed;
right:25px;
bottom:25px;
width:65px;
height:65px;
background:#25D366;
color:#fff;
display:flex;
justify-content:center;
align-items:center;
font-size:32px;
border-radius:50%;
z-index:999;
box-shadow:0 15px 35px rgba(0,0,0,.25);
animation:float 2s infinite;
}

.whatsapp:hover{
transform:scale(1.08);
}

/*==================================
TOP BUTTON
==================================*/

#topBtn{
position:fixed;
left:25px;
bottom:25px;
width:55px;
height:55px;
border:none;
border-radius:50%;
background:#FFC107;
color:#111;
font-size:20px;
cursor:pointer;
display:none;
z-index:999;
}

/*==================================
RESPONSIVE
==================================*/

@media(max-width:992px){

.hero,
.about,
.smart-home,
.energy,
.ceo,
.contact{

grid-template-columns:1fr;
text-align:center;

}

.hero-image{
order:-1;
}

.feature-list,
.about-features{

grid-template-columns:1fr;

}

}

@media(max-width:768px){

.nav-links{

position:fixed;
top:85px;
right:-100%;
width:280px;
height:100vh;
background:#071523;
flex-direction:column;
padding:40px;
transition:.4s;
}

.nav-links.active{
right:0;
}

.hamburger{
display:block;
}

.quote-btn{
display:none;
}

.hero-content h1,
.about-content h2,
.smart-content h2,
.energy-content h2,
.ceo-content h2,
.contact-left h2,
.cta h2{
font-size:36px;
}

.hero-image img{
width:95%;
margin:auto;
}

.hero-stats{
justify-content:center;
}

}

.nav-links a.active{
color:#FFC107;
}

.nav-links a.active::after{
width:100%;
}