*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{

font-family:"Cairo",sans-serif;
background:#fff;
overflow-x:hidden;

}
/*================ HEADER ================*/

.header{

position:fixed;

top:0;

right:0;

width:100%;

z-index:999;

transition:.35s;

}

.header.scrolled{

background:#ffff;

box-shadow:0 5px 25px rgba(0,0,0,.08);

}

.header-container{

max-width:1400px;

margin:auto;

padding:18px 40px;

display:flex;

justify-content:space-between;

align-items:center;

}

.logo img{

height:58px;

}

nav{
align-items: end;
display:flex;

gap:40px;

}

nav a{

text-decoration:none;

color:#000000;

font-size:18px;

font-weight:700;

transition:.3s;

}

nav a:hover{

color:#FFC107;


}
nav a.active{
color:#FFC107;


}
/*================ HERO =================*/
.hero{

position:relative;

width:100%;

height:100vh;

background:url("../images/agm/feature-banner.webp") center center/cover no-repeat;

display:flex;

align-items:center;

}

.hero::before{

content:"";

position:absolute;

inset:0;



}
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to left,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(87, 87, 87, 0.35) 40%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}
.hero-content{

position:relative;

z-index:5;

max-width:620px;

margin-right:8%;

}

.hero-logo{

width:240px;

margin-bottom:35px;

}

.hero h1{

font-size:88px;

line-height:1;

font-weight:900;

color:#000000;

margin-bottom:20px;

}

.hero h1 span{

display:block;

color:#FFC107;

}

.hero p{

font-size:26px;

line-height:1.9;

color:#ffff;

margin-bottom:45px;

}

.hero-buttons{

display:flex;

gap:20px;

}

.btn-primary{

background:#FFC107;

color:#fff;

padding:18px 40px;

border-radius:60px;

text-decoration:none;

font-size:20px;

font-weight:700;

transition:.3s;

}

.btn-primary:hover{

transform:translateY(-5px);

}

.btn-secondary{

border:2px solid #FFC107;

color:#FFC107;

padding:18px 40px;

border-radius:60px;

text-decoration:none;

font-size:20px;

font-weight:700;

transition:.3s;

}

.btn-secondary:hover{

background:#222;

color:#fff;

}

/*================ DEVICES CATALOG =================*/

.devices-catalog{

padding:80px 20px;

background:#f8f9fa;

}

.catalog-container{

max-width:1400px;

margin:auto;

}

.devices-catalog h2{

font-size:48px;

font-weight:900;

color:#222;

margin-bottom:60px;

text-align:center;

}

.devices-grid{

display:grid;

grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));

gap:40px;

}

.device-card{

background:#fff;

border-radius:16px;

overflow:hidden;

box-shadow:0 8px 24px rgba(0,0,0,.08);

transition:all .35s ease;

}

.device-card:hover{

transform:translateY(-12px);

box-shadow:0 16px 48px rgba(0,0,0,.15);

}

.device-image{

width:100%;

height:280px;

overflow:visible;

background:#f0f0f0;

display:flex;

align-items:center;

justify-content:center;

}

.device-image img{

width:100%;

height:100%;

object-fit:scale-down;

transition:transform .4s ease;

}

.device-card:hover .device-image img{

transform:scale(1.08);

}

.device-info{

padding:30px;

}

.device-info h3{

font-size:28px;

font-weight:800;
text-align: center;
color:#FFC107;

margin-bottom:12px;

}

.price{

font-size:24px;

font-weight:700;

color:#FFC107;

margin-bottom:20px;

}

.specs{

list-style:none;

margin-bottom:25px;

}

.specs li{

font-size:20px;

color:#555;

line-height:1.8;

padding:8px 0;

border-bottom:1px solid #f0f0f0;

}

.specs li:last-child{

border-bottom:none;

}

.specs li strong{

color:#222;

font-weight:700;

}

.btn-order{

width:100%;

padding:14px 24px;

background:#FFC107;

color:#fff;

border:none;

border-radius:8px;

font-size:16px;

font-weight:700;

cursor:pointer;

transition:all .3s ease;

font-family:"Cairo",sans-serif;

}

.btn-order:hover{

background:#e0a800;

transform:translateY(-3px);

box-shadow:0 6px 16px rgba(255,193,7,.3);

}

.btn-order:active{

transform:translateY(-1px);

}
/* ================ LIGHTBOX ================ */

.device-img {
    cursor: pointer;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1001;
}

.close-lightbox:hover {
    color: #FFC107;
    transform: scale(1.2);
}

.lightbox-content {
    max-width: 90%;
    max-height: 75vh;
    object-fit: contain;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    color: #fff;
}

.prev-lightbox,
.next-lightbox {
    background: none;
    border: none;
    color: #FFC107;
    font-size: 36px;
    cursor: pointer;
    transition: 0.3s;
    padding: 10px 15px;
}

.prev-lightbox:hover,
.next-lightbox:hover {
    color: #fff;
    transform: scale(1.2);
}

.image-counter {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    min-width: 100px;
    text-align: center;
}
/* ==========================
   FOOTER
========================== */


footer{
background:#f7f7f7;
border-top:1px solid #f7f7f7;
color:#222;
}

footer .container{
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
gap:30px;
}

.footer-logo img{
height:60px;
margin-bottom:15px;
}

.footer-contact{
display:flex;
gap:35px;
flex-wrap:wrap;
}

.footer-contact div{
display:flex;
gap:10px;
align-items:center;
}

.footer-contact i{
color:#f47521;
}

.socials{
display:flex;
gap:15px;
}

.socials a{
width:45px;
height:45px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
background:#111;
color:#fff;
transition:.3s;
}

.socials a:hover{
background:#f1f1f1;
color:#222;
}

.footer-map-btn{
    background:#f47521;
    color:#000;
    padding:10px 20px;
    border-radius:50px;
    font-weight:700;
}
@media (max-width:768px){

.header-container{

    padding:15px 20px;

}

.logo img{

    height:42px;

}

nav{
align-items: end;
display:flex;

gap: 5px;;

}

nav a{

text-decoration:none;

color:#222;
align-items: end;
font-size:10px;

font-weight:700;

transition:.3s;

}

nav a:hover{

color:#FFC107;

}
.hero{

    min-height:100vh;

    padding:120px 20px 60px;

    align-items:flex-start;

    background-position:15% center;

}

.hero-content{

    max-width:100%;

    margin:0;

    padding:28px;

    border-radius:28px;

    background:rgba(255,255,255,.38);

    backdrop-filter:blur(16px);

}

.hero-logo{

    width:170px;

    margin-bottom:25px;

}

.hero h1{

    font-size:48px;

    line-height:1.1;

}

.hero p{

    font-size:18px;

    line-height:1.8;

    margin-bottom:30px;

}

.hero-buttons{

    flex-direction:column;

    gap:15px;

}

.btn-primary{
    font-size: small;
}

.close-lightbox {
        top: 15px;
        right: 15px;
        font-size: 32px;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 70vh;
    }

    .lightbox-nav {
        gap: 15px;
        margin-top: 20px;
    }

    .prev-lightbox,
    .next-lightbox {
        font-size: 28px;
        padding: 5px 10px;
    }

    .image-counter {
        font-size: 16px;
    }
    
footer .container{
flex-direction:column;
text-align:center;
}

.footer-contact{
justify-content:center;
}
}




