/* =========================
GLOBAL
========================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

:root{
--primary:#ff9f1a;
--dark:#0f0f0f;
--light:#ffffff;
}

body{
background:#000;
color:white;
line-height:1.6;
}

.container{
max-width:1100px;
margin:auto;
padding:0 20px;
}

/* =========================
HEADER
========================= */

header{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 40px;
background:#111;
position:sticky;
top:0;
z-index:1000;
}

.logo{
display:flex;
align-items:center;
font-weight:bold;
font-size:1.2rem;
}

.logo span{
color:var(--primary);
}

.header-logo{
height:35px;
margin-right:10px;
}

nav ul{
display:flex;
list-style:none;
gap:25px;
}

nav a{
color:white;
text-decoration:none;
font-weight:500;
}

nav a:hover{
color:var(--primary);
}

.lang-toggle button{
margin-left:10px;
padding:5px 10px;
border:none;
background:var(--primary);
color:white;
cursor:pointer;
border-radius:4px;
}

/* =========================
HERO
========================= */

.hero{
height:80vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
background:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.7)),
url('https://images.unsplash.com/photo-1509395176047-4a66953fd231') center/cover;
}

.hero h1{
font-size:3rem;
margin-bottom:15px;
}

.hero span{
color:var(--primary);
}

.cta-btn{
display:inline-block;
margin-top:20px;
background:var(--primary);
padding:12px 25px;
color:white;
text-decoration:none;
border-radius:8px;
font-weight:bold;
}

/* =========================
CALCULATOR
========================= */

.calc-container{
padding:80px 20px;
background:#111;
text-align:center;
}

.calc-card{
background:#1a1a1a;
padding:30px;
border-radius:10px;
max-width:400px;
margin:auto;
}

.calc-card input{
width:100%;
padding:12px;
margin:10px 0;
border:none;
border-radius:6px;
}

#result{
margin-top:20px;
font-size:1.2rem;
color:#00ff9c;
}

/* =========================
PROJECTS
========================= */

.projects-section{
padding:80px 20px;
background:#0f0f0f;
text-align:center;
}

.project-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
margin-top:40px;
}

.project-card{
background:#1a1a1a;
padding:20px;
border-radius:10px;
}

/* =========================
REVIEWS
========================= */

.reviews{
padding:80px 20px;
background:#111;
text-align:center;
}

.review-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
margin-top:40px;
}

.review-box{
background:#1a1a1a;
padding:25px;
border-radius:10px;
}

.review-box i{
color:var(--primary);
font-size:25px;
margin-bottom:10px;
}

/* =========================
CONTACT SECTION
========================= */

.contact-section{
padding:100px 20px;
background:#0f0f0f;
}

.contact-container{
max-width:1100px;
margin:auto;
display:grid;
grid-template-columns:1fr 1fr;
gap:50px;
align-items:center;
}

.contact-info{
max-width:450px;
}

.contact-info h2{
font-size:2rem;
margin-bottom:15px;
}

.contact-info p{
color:#bbb;
}

.contact-form{
display:flex;
flex-direction:column;
gap:15px;
background:#1a1a1a;
padding:30px;
border-radius:12px;
border:1px solid #333;
}

.contact-form input,
.contact-form select,
.contact-form textarea{
width:100%;
padding:12px;
border-radius:6px;
border:1px solid #444;
background:#222;
color:white;
}

.contact-form textarea{
height:120px;
resize:none;
}

.form-buttons{
display:flex;
gap:10px;
flex-wrap:wrap;
}

.submit-btn{
background:var(--primary);
border:none;
padding:12px 20px;
border-radius:6px;
color:white;
font-weight:bold;
cursor:pointer;
}

.whatsapp-btn{
background:#25D366;
border:none;
padding:12px 20px;
border-radius:6px;
color:white;
font-weight:bold;
cursor:pointer;
}

/* FLOATING WHATSAPP */

.floating-wa{
position:fixed;
bottom:25px;
right:25px;
width:55px;
height:55px;
background:#25D366;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:24px;
color:white;
cursor:pointer;
}

/* =========================
SUCCESS POPUP
========================= */

.success-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.7);
display:flex;
align-items:center;
justify-content:center;
}

.success-card{
background:white;
color:black;
padding:40px;
border-radius:10px;
text-align:center;
}

.success-icon{
font-size:40px;
color:green;
margin-bottom:15px;
}

/* =========================
FOOTER
========================= */

footer{
text-align:center;
padding:20px;
background:#111;
margin-top:50px;
}

/* =========================
MOBILE
========================= */

@media(max-width:768px){

header{
flex-direction:column;
gap:10px;
}

.contact-container{
grid-template-columns:1fr;
text-align:center;
}

.form-buttons{
justify-content:center;
}

.hero h1{
font-size:2rem;
}

}
/* =========================
MODERN NAVBAR
========================= */

#navbar{
position:fixed;
top:0;
width:100%;
z-index:1000;

background:rgba(10,10,10,0.6);
backdrop-filter:blur(10px);

transition:0.4s;
}

#navbar.scrolled{
background:#0b0b0b;
box-shadow:0 5px 20px rgba(0,0,0,0.4);
}

/* container */

.nav-container{
max-width:1200px;
margin:auto;
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 20px;
}

/* LOGO */

.logo{
font-size:1.4rem;
font-weight:bold;
color:white;

animation:glow 3s infinite alternate;
}

.logo span{
color:#ffb400;
}

@keyframes glow{

from{
text-shadow:0 0 5px #ffb400;
}

to{
text-shadow:0 0 20px #ffb400,0 0 40px #ffb400;
}

}

/* NAV LINKS */

.nav-links{
display:flex;
gap:30px;
list-style:none;
}

.nav-links a{
color:white;
text-decoration:none;
font-weight:500;
position:relative;
}

.nav-links a::after{
content:"";
width:0%;
height:2px;
background:#ffb400;
position:absolute;
bottom:-4px;
left:0;
transition:0.3s;
}

.nav-links a:hover::after{
width:100%;
}

/* =========================
MEGA MENU
========================= */

.mega-parent{
position:relative;
}

.mega-menu{

position:absolute;
top:50px;
left:0;

background:#111;
padding:25px;

display:grid;
grid-template-columns:repeat(3,200px);
gap:20px;

border-radius:10px;

opacity:0;
transform:translateY(20px);
pointer-events:none;

transition:0.4s;
}

.mega-parent:hover .mega-menu{
opacity:1;
transform:translateY(0);
pointer-events:auto;
}

.mega-item{
color:white;
cursor:pointer;
}

.mega-item i{
font-size:1.5rem;
color:#ffb400;
margin-bottom:10px;
}

.mega-item h4{
margin-bottom:5px;
}

/* =========================
HAMBURGER
========================= */

.hamburger{
display:none;
flex-direction:column;
gap:5px;
cursor:pointer;
}

.hamburger span{
width:25px;
height:3px;
background:white;
}

/* =========================
MOBILE
========================= */

@media(max-width:900px){

.nav-links{
position:absolute;
top:70px;
left:0;
width:100%;
background:#0b0b0b;

flex-direction:column;
align-items:center;
gap:20px;

padding:20px;

display:none;
}

.nav-links.active{
display:flex;
}

.mega-menu{
position:static;
grid-template-columns:1fr;
}

.hamburger{
display:flex;
}
.hamburger span {
    transition: 0.3s; /* Add this to your existing code */
    width: 25px;
    height: 3px;
    background: white;
}
}