
*{
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:rgba(255,255,255,.85);

backdrop-filter:blur(14px);

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{

display:flex;

gap:40px;

}

nav a{

text-decoration:none;

color:#222;

font-size:18px;

font-weight:700;

transition:.3s;

}

nav a:hover{

color:#FFC107;


}
/*================ HERO =================*/
.hero{

position:relative;

width:100%;

height:100vh;

background:url("../images/agm/agm-hero1.webp") center center/cover no-repeat;

display:flex;

align-items:center;

}

.hero::before{

content:"";

position:absolute;

inset:0;



}

.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:#222;

margin-bottom:20px;

}

.hero h1 span{

display:block;

color:#FFC107;

}

.hero p{

font-size:26px;

line-height:1.9;

color:#444;

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;

}
.features-section{

padding:120px 0;

background:#fafafa;

}
.section-title{

text-align:center;

margin-bottom:70px;

}
.section-title h2{

font-size:58px;

color:#FFC107;

margin-bottom:15px;

}

.section-title p{

font-size:24px;

color:#666;

}
.features-grid{

max-width:1200px;

margin:auto;

display:grid;

grid-template-columns:repeat(4,1fr);

gap:30px;

padding:0 30px;

}
.feature-card{

background:#fff;

padding:45px;

border-radius:25px;

text-align:center;

transition:.35s;

box-shadow:0 15px 35px rgba(0,0,0,.06);

}
.feature-card:hover{

transform:translateY(-10px);

}
.feature-card i{

font-size:55px;

color:#FFC107;

margin-bottom:25px;

}

.feature-card h3{

font-size:28px;

margin-bottom:10px;

color:#222;

}
.feature-card span{

font-size:18px;

color:#666;

line-height:1.8;

}






/*=========================================
            WHY AGM
=========================================*/

.about-agm{

    padding:120px 40px;

    background:#fff;

}

.about-container{

    max-width:1400px;

    margin:auto;

    display:grid;

    grid-template-columns:45% 55%;

    align-items:center;

    gap:80px;

}

/*==========================
        CONTENT
==========================*/

.about-content{

    max-width:520px;

}

.about-content span{

    display:inline-block;

    color:#FFC107;

    font-size:18px;

    font-weight:800;

    letter-spacing:2px;

    margin-bottom:20px;

}

.about-content h2{

    font-size:62px;

    line-height:1.2;

    color:#222;

    margin-bottom:30px;

    font-weight:900;

}

.about-content p{

    font-size:23px;

    line-height:2;

    color:#666;

}

/*==========================
        IMAGE SLIDER
==========================*/

.about-slider{

    position:relative;

    width:100%;

    max-width:760px;

    aspect-ratio:16/10;

    justify-self:end;

    overflow:hidden;

    border-radius:30px;

    box-shadow:0 25px 60px rgba(0,0,0,.18);

}

.slide{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

    opacity:0;

    transform:scale(1.08);

    transition:
    opacity 1.2s ease,
    transform 6s linear;

}

.slide.active{

    opacity:1;

    transform:scale(1);

}
/*=========================================
        PRODUCTS
=========================================*/

.product-section{

padding:120px 40px;

background:#f8f8f8;

}
.product-card{

position:relative;

max-width:1200PX;
height:600px;

margin:50px auto;

border-radius:35px;

overflow:hidden;

display:flex;

align-items:center;

padding:80px;

background-size:cover;

background-position:center;

cursor:pointer;

transition:.4s;

}
.smartphones{

background-image:url("../images/agm/rugged-banner.webp");

}

.featurephones{

background-image:url("../images/agm/feature-banner.webp");

}
.smartaccessories{

background-image:url("../images/agm/smartaccessories-banner.webp");

}
.product-overlay{

position:absolute;

inset:0;

background:linear-gradient(

270deg,

rgba(255, 255, 255, 0.72),

rgba(0, 0, 0, 0.25),

transparent

);

}
.product-content{

position:relative;

z-index:5;

max-width:500px;

color:#fff;

}
.product-content h2{


color:#FFC107;}
.product-content h3{

font-size:58px;

margin-bottom:20px;

font-weight:900;
color:#111;
}
.product-content p{

font-size:24px;

line-height:1.9;

margin-bottom:35px;
color:#111;
}
.product-content a{

display:inline-flex;

align-items:center;

justify-content:center;

width:220px;

height:60px;

background:#FFC107;

color:#111;

text-decoration:none;

border-radius:50px;

font-size:20px;

font-weight:800;

transition:.35s;

}

.product-card:hover{

transform:translateY(-8px);

}
.product-card:hover .product-content a{

transform:translateX(-10px);

}

/*======================================
            TECHNOLOGY
======================================*/

.technology-section{

    padding:120px 20px;

    background:linear-gradient(180deg,#ffffff,#f8f8f8);

}

.technology-title{

    max-width:850px;

    margin:auto;

    text-align:center;

    margin-bottom:70px;

}

.technology-title span{

    color:#FFC107;

    font-size:18px;

    font-weight:800;

    letter-spacing:2px;

}

.technology-title h2{

    font-size:55px;

    color:#222;

    margin:18px 0;

    font-weight:900;

}

.technology-title p{

    font-size:22px;

    color:#666;

    line-height:2;

}

.technology-grid{

    max-width:1350px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.tech-card{

    background:#fff;

    border-radius:28px;

    padding:45px;

    text-align:center;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    transition:.35s;

}

.tech-card:hover{

    transform:translateY(-12px);

    background:#FFC107;

    box-shadow:0 30px 60px rgba(255,193,7,.35);

}

.tech-icon{

    width:95px;

    height:95px;

    margin:auto;

    margin-bottom:30px;

    background:#FFC107;

    border-radius:24px;

    display:flex;

    justify-content:center;

    align-items:center;

    transition:.35s;

}

.tech-card:hover .tech-icon{

    background:#fff;

    transform:scale(1.12) rotate(8deg);

}
.tech-card:hover h3{

    color:#111;

}

.tech-card:hover p{

    color:#222;

}
.tech-icon i{

    font-size:45px;

    color:#111;

}

.tech-card h3{

    font-size:30px;

    color:#222;

    margin-bottom:18px;

    font-weight:800;

}

.tech-card p{

    font-size:18px;

    color:#666;

    line-height:2;

}
/*=========================================
        OFFICIAL DEALER
=========================================*/

.dealer-section{

    padding:120px 20px;
    background:#fff;
    overflow:hidden;

}

.dealer-container{

    max-width:1400px;
    margin:auto;

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;

    align-items:center;

}

/*================ IMAGE ================*/

.dealer-image{

    width:100%;
    overflow:hidden;

}

.dealer-image img{

    width:100%;
    display:block;

    border-radius:32px;

    box-shadow:0 30px 70px rgba(0,0,0,.15);

    transition:.5s;

}

.dealer-image:hover img{

    transform:scale(1.03);

}

/*================ CONTENT ================*/

.dealer-content{

    position:relative;

}

.dealer-subtitle{

    display:inline-block;

    color:#FFC107;

    font-weight:800;

    letter-spacing:3px;

    font-size:18px;

    margin-bottom:18px;

}

.dealer-content h2{

    font-size:62px;

    line-height:1.15;

    color:#222;

    margin-bottom:25px;

    font-weight:900;

}

.dealer-content strong{

    color:#FFC107;

}

.dealer-content p{

    font-size:22px;

    color:#666;

    line-height:2;

    margin-bottom:40px;

}

.dealer-content b{

    color:#f47521;

}

/*================ FEATURES ================*/

.dealer-features{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

    margin-bottom:40px;

}

.dealer-item{

    display:flex;

    align-items:center;

    gap:14px;

    padding:20px;

    background:#fff;

    border-radius:18px;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.35s;

    font-weight:700;

    font-size:18px;

}

.dealer-item i{

    color:#FFC107;

    font-size:22px;

}

.dealer-item:hover{

    transform:translateY(-6px);

    box-shadow:0 22px 45px rgba(255,193,7,.22);

}

/*================ BUTTON ================*/

.dealer-btn{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    width:300px;

    height:64px;

    border-radius:60px;

    background:#FFC107;

    color:#111;

    text-decoration:none;

    font-size:22px;

    font-weight:900;

    transition:.35s;

}

.dealer-btn:hover{

    transform:translateY(-4px);

    box-shadow:0 18px 35px rgba(255,193,7,.35);

}



/* ==========================
   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{

display:flex;

gap:10px;

}

nav a{

text-decoration:none;

color:#222;

font-size:8px;

font-weight:700;

transition:.3s;

}

nav a:hover{

color:#f47521;

}
.hero{

    min-height:100vh;

    padding:120px 20px 60px;

    align-items:flex-start;

    background-position:72% 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,
.btn-secondary{

    width:100%;

    justify-content:center;

    font-size:18px;

}
.features-section{

    padding:70px 20px;

}

.section-title{

    margin-bottom:40px;

}

.section-title h2{

    font-size:36px;

}

.section-title p{

    font-size:18px;

}

.features-grid{

    grid-template-columns:1fr;

    gap:20px;

    padding:0;

}

.feature-card{

    padding:30px;

}

.feature-card i{

    font-size:42px;

}

.feature-card h3{

    font-size:24px;

}
.about-agm{

    padding:80px 20px;

}

.about-container{

    grid-template-columns:1fr;

    gap:35px;

}

.about-slider{

    order:1;

    max-width:100%;

}

.about-content{

    order:2;

    max-width:100%;

    text-align:center;

}

.about-content h2{

    font-size:36px;

}

.about-content p{

    font-size:18px;

    line-height:1.9;

}
.product-section{

    padding:80px 20px;

}

.product-card{

    height:520px;

    padding:25px;

    align-items:flex-end;

    border-radius:25px;

    background-position:left center;

}

.product-overlay{

    background:linear-gradient(

        180deg,

        rgba(255,255,255,.10),

        rgba(0, 0, 0, 0.78),

        rgba(0, 0, 0, 0.404)

    );

}

.product-content{

    max-width:100%;

    text-align:center;

}

.product-content h2{

    font-size:20px;

}

.product-content h3{

    font-size:34px;
color: #ffffff;
}

.product-content p{

    font-size:17px;

    line-height:1.8;
color: #ffffff;
}

.product-content a{

    width:100%;

    height:54px;

    font-size:17px;

}


.technology-grid{

    grid-template-columns:repeat(2,1fr);

}
.technology-section{

    padding:80px 20px;

}

.technology-title h2{

    font-size:34px;

}

.technology-title p{

    font-size:18px;

}

.technology-grid{

    grid-template-columns:1fr;

    gap:20px;

}

.tech-card{

    padding:35px 25px;

}

.tech-icon{

    width:75px;

    height:75px;

}

.tech-icon i{

    font-size:34px;

}

.tech-card h3{

    font-size:24px;

}

.tech-card p{

    font-size:16px;

}

.dealer-section{

    padding:80px 20px;

}

.dealer-container{

    display:flex;
    flex-direction:column;

    gap:35px;

}

.dealer-image{

    order:1;

}

.dealer-content{

    order:2;

    text-align:center;

}

.dealer-content h2{

    font-size:36px;

}

.dealer-content p{

    font-size:18px;

}

.dealer-features{

    grid-template-columns:1fr;

}

.dealer-item{

    justify-content:center;

    font-size:17px;

}

.dealer-btn{

    width:100%;

}







footer .container{
flex-direction:column;
text-align:center;
}

.footer-contact{
justify-content:center;
}
}



