
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
scroll-behavior:smooth;
}

body{
background:#0f172a;
color:#fff;
padding-top: 110px;
}

/* ================= TOPBAR ================= */
.topbar{
position: fixed;
top:0;
width:100%;
background:#020617;
display:flex;
justify-content:space-between;
padding:35px 10%;
font-size:14px;
z-index:2000;
}

.topbar-left a{
color:#cbd5e1;
text-decoration:none;
margin-right:20px;
}

.topbar-right a{
color:#cbd5e1;
margin-left:15px;
font-size:16px;
transition:.3s;
}

.topbar-right a:hover,
.topbar-left a:hover{
color:#facc15;
}

.social-icons {
    display:flex;
    gap:18px;
}

.social-icons img {
    width:18px;
    height:18px;
    opacity:0.8;
    transition:0.3s;
}

.social-icons img:hover {
    opacity:1;
    transform:scale(1.2);
}

/* ================= NAVBAR ================= */
header{
position:fixed;
top:43px;
width:100%;
background:#0b1220;
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 8%;
z-index:1500;
margin-top: 45px;
}

.logo{
color:#facc15;
font-weight:700;
font-size:1.4rem;
}

nav a{
margin-left:25px;
text-decoration:none;
color:white;
position:relative;
}

nav a:hover{
color:#facc15;
}

/* ================= HERO ================= */
.hero{
min-height:100vh;
min-height:100dvh ;
display:flex;
flex-direction:column;
justify-content:flex-start;   /* pushes content to top */
align-items:center;
text-align:center;
padding-top:120px;            /* controls how high it sits */
position:relative;
overflow: hidden;
background:
linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
url('../Images/e3.jpg')
no-repeat center/cover;
}

.hero h1{
font-size:4rem;
font-weight:700;
letter-spacing:1px;
color:#facc15;
text-shadow:0 4px 15px rgba(0,0,0,0.6);
}


/* Floating Circles */
.hero-circles{
position:absolute;
bottom:40px;
display:flex;
gap:40px;
}

.circle{
width:400px;
height:400px;
border-radius:50%;
overflow:hidden;
border:4px solid #facc15;
animation:float 3s infinite ease-in-out;
}

.circle img{
width:100%;
height:100%;
object-fit:cover;
}

.circle:nth-child(2){
animation-delay:.5s;
}

.circle:nth-child(3){
animation-delay:1s;
}

@keyframes float{
0%,100%{transform:translateY(0);}
50%{transform:translateY(-15px);}
}

/* ================= SECTIONS ================= */
section{
padding:80px 8%;
}

.section-title{
text-align:center;
font-size:2.2rem;
margin-bottom:50px;
color:#facc15;
}

/* ================= ABOUT ================= */
.about{
text-align:center;
max-width:800px;
margin:auto;
line-height:1.7;
}

/* ABOUT LAYOUT */
.about-container{
display:flex;
width:100%;
min-height:400px;
}

.about-image{
width:50%;
}

.about-image img{
width:100%;
height:100%;
object-fit:cover;
}

.about-text{
width:50%;
background:#020617;
display:flex;
align-items:center;
padding:60px;
line-height:1.8;
}

/* ================= PRODUCTS ================= */
.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

.card{
background:#020617;
border-radius:15px;
overflow:hidden;
transition:.3s;
}

.card:hover{
transform:translateY(-8px);
}

.card img{
width:100%;
height:200px;
object-fit:cover;
}

.card div{
padding:20px;
}

/* ================= SERVICES ================= */
.service-card{
background:#020617;
padding:25px;
border-radius:15px;
text-align:center;
transition:.3s;
}

.service-card i{
font-size:35px;
color:#facc15;
margin-bottom:15px;
}

.service-card:hover{
transform:translateY(-8px);
}

.service-card p{
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-top: 10px;
}

.service-card:hover i{
    transform: scale(1.2);
    transition: 0.3s;
}

/* ================= CONTACT ================= */
.contact-box{
text-align:center;
background:#020617;
padding:40px;
border-radius:15px;
}

.contact-box a{
color:#cbd5e1;
text-decoration:none;
}

.contact-box a:hover{
color:#facc15;
}

/* ================= FOOTER ================= */
footer{
background:#0b1220;
text-align:center;
padding:20px;
margin-top:40px;
}

/* FLOATING BUTTONS */
.float-btn {
    position: fixed;
    right: 20px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    z-index: 3000;
    transition: transform 0.3s;
}

.float-btn:hover {
    transform: scale(1.1);
}

/* WhatsApp button */
.whatsapp {
    bottom: 90px;
    background: #25D366;
}

/* Email button */
.email {
    bottom: 20px;
    background: #facc15;
    color: #020617;
}

.page-buttons{
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.btn{
    padding: 12px 20px;
    background-color: #111;
    color: white;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.3s ease;
}

.btn:hover{
    background-color: #ff6600;
}

/* ================= RESPONSIVE TOPBAR FIX ================= */

@media (max-width: 992px){

    .topbar{
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        padding: 12px 5%;
        position: fixed;
        top: 0;
        width: 100%;
    }

    .topbar-left{
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .topbar-left a{
        margin-right: 0;
        font-size: 13px;
    }

    .social-icons{
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* Extra small screens */
@media (max-width: 576px){

    .topbar{
        font-size: 12px;
    }

    .social-icons img{
        width:16px;
        height:16px;
    }
}

/* ================= MOBILE RESPONSIVE FIXES ================= */
@media (max-width: 768px){

/* HERO */
.hero{
    padding-bottom: 40px;
}
.hero h1{
    font-size:2.5rem;
    padding:0 10px;
}

/* HERO CIRCLES STACK */
.hero-circles{
    position:static;
    margin-top:25px;
    flex-direction:column;
    gap:20px;
}

.circle{
    width:220px;
    height:220px;
}

/* ABOUT STACK */
.about-container{
    flex-direction:column;
}

.about-image,
.about-text{
    width:100%;
}

.about-text{
    padding:30px;
}

/* NAVBAR LINKS STACK */
header{
    flex-direction:column;
    gap:10px;
    padding:15px 5%;
}

nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
}

nav a{
    margin:10px;
}

/* SECTION PADDING */
section{
    padding:60px 5%;
}

/* PRODUCT & SERVICE GRID */
.grid{
    grid-template-columns:1fr;
}

/* CONTACT BOX */
.contact-box{
    padding:25px;
}

/* FLOAT BUTTONS SMALLER */
.float-btn{
    width:45px;
    height:45px;
    font-size:20px;
}
}

/* ===== HERO RESPONSIVE FIX ===== */

/* Tablets & phones */
@media (max-width: 992px){

.hero{
    padding-top: 140px;
    padding-bottom: 60px;
}

.hero h1{
    font-size: 2.8rem;
}

.hero-circles{
    position: static;     /* stop overlapping About */
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.circle{
    width: 220px;
    height: 220px;
}
}

/* Small phones */
@media (max-width: 576px){

.hero h1{
    font-size: 2rem;
}

.circle{
    width: 160px;
    height: 160px;
}
}