*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Cairo',sans-serif;
scroll-behavior:smooth;
}

body{
background:#fff;
color:#222;
overflow-x:hidden;
}

/* Navbar */

header{
position:fixed;
top:0;
left:0;
width:100%;
background:#fff;
box-shadow:0 5px 20px rgba(0,0,0,.08);
z-index:999;
}

.navbar{
width:90%;
margin:auto;
height:90px;
display:flex;
align-items:center;
justify-content:space-between;
}

.logo img{
height:65px;
}

.navbar ul{
display:flex;
gap:35px;
list-style:none;
}

.navbar a{
text-decoration:none;
font-weight:700;
color:#222;
transition:.3s;
}

.navbar ul a:hover{
color:#d71920;
}

.call-btn{
background:#d71920;
color:#fff!important;
padding:14px 28px;
border-radius:50px;
font-size:18px;
}

/* Hero */

.hero{
height:100vh;
background:url(hero.jpg) center/cover;
position:relative;
display:flex;
align-items:center;
}

.overlay{
position:absolute;
width:100%;
height:100%;
background:rgba(0,0,0,.55);
}

.container{
width:90%;
margin:auto;
position:relative;
z-index:2;
}

.hero-content{
max-width:650px;
color:#fff;
}

.hero-content span{
display:inline-block;
background:#d71920;
padding:12px 24px;
border-radius:40px;
font-weight:700;
margin-bottom:25px;
}

.hero-content h1{
font-size:70px;
line-height:1.3;
margin-bottom:25px;
}

.hero-content h1 span{
background:none;
padding:0;
color:#ff4444;
}

.hero-content p{
font-size:22px;
line-height:2;
margin-bottom:35px;
}

.hero-buttons{
display:flex;
gap:20px;
}

.btn{
padding:18px 35px;
border-radius:50px;
text-decoration:none;
font-weight:bold;
transition:.3s;
}

.red{
background:#d71920;
color:#fff;
}

.red:hover{
background:#b90d15;
}

.white{
border:2px solid #fff;
color:#fff;
}

.white:hover{
background:#fff;
color:#222;
}

/* Titles */

.section-title{
text-align:center;
margin-bottom:60px;
}

.section-title h2{
font-size:45px;
margin-bottom:15px;
}

.section-title p{
font-size:20px;
color:#777;
}

/* Services */

.services{
padding:120px 0;
}

.services-grid{
width:90%;
margin:auto;
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}

.card{
background:#fff;
border-radius:20px;
overflow:hidden;
box-shadow:0 15px 40px rgba(0,0,0,.08);
transition:.4s;
}

.card:hover{
transform:translateY(-10px);
}

.card img{
width:100%;
height:240px;
object-fit:cover;
}

.card h3{
padding:20px;
font-size:30px;
}

.card p{
padding:0 20px 25px;
line-height:2;
color:#666;
}

/* About */

.about{
padding:100px 0;
background:#f8f8f8;
}

.about .container{
display:flex;
align-items:center;
justify-content:space-between;
gap:50px;
}

.about-img img{
width:100%;
max-width:500px;
border-radius:20px;
}

.about-text h2{
font-size:45px;
margin-bottom:30px;
}

.about-text ul{
list-style:none;
}

.about-text li{
font-size:22px;
margin-bottom:18px;
}

/* Counter */

.counter{
background:#d71920;
padding:80px 5%;
display:flex;
justify-content:center;
gap:30px;
flex-wrap:wrap;
}

.counter-box{
background:#fff;
width:250px;
padding:40px;
border-radius:18px;
text-align:center;
}

.counter-box h2{
font-size:50px;
color:#d71920;
margin-bottom:15px;
}

.counter-box p{
font-size:22px;
font-weight:bold;
}

/* Footer */

footer{
background:#111;
padding:70px 20px;
text-align:center;
color:#fff;
}

footer h2{
font-size:38px;
margin-bottom:20px;
}

.footer-contact{
display:flex;
justify-content:center;
gap:20px;
margin:35px 0;
flex-wrap:wrap;
}

.footer-contact a{
background:#d71920;
padding:15px 30px;
border-radius:40px;
color:#fff;
text-decoration:none;
font-size:18px;
}

.copy{
margin-top:30px;
color:#aaa;
}

/* Mobile */

@media(max-width:992px){

.hero-content h1{
font-size:48px;
}

.services-grid{
grid-template-columns:repeat(2,1fr);
}

.about .container{
flex-direction:column;
text-align:center;
}

}

@media(max-width:768px){

.navbar{
height:75px;
}

.navbar ul{
display:none;
}

.logo img{
height:50px;
}

.call-btn{
padding:12px 18px;
font-size:15px;
}

.hero{
text-align:center;
}

.hero-content{
max-width:100%;
}

.hero-content h1{
font-size:38px;
}

.hero-content p{
font-size:18px;
}

.hero-buttons{
flex-direction:column;
}

.services-grid{
grid-template-columns:1fr;
}

.counter-box{
width:100%;
}

}
/*================ أجهزة أريستون =================*/

.devices{
    padding:100px 7%;
    background:#f8f8f8;
}

.devices-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:35px;
}

.device-card{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    transition:.35s;
    text-align:center;
}

.device-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 45px rgba(0,0,0,.15);
}

.device-card img{
    width:100%;
    height:280px;
    object-fit:contain;
    background:#fff;
    padding:25px;
    transition:.4s;
}

.device-card:hover img{
    transform:scale(1.05);
}

.device-card h3{
    font-size:30px;
    margin:20px 0 10px;
    color:#222;
}

.device-card p{
    color:#666;
    line-height:1.9;
    padding:0 25px;
    min-height:70px;
}

.device-card a{
    display:inline-block;
    margin:25px 0 30px;
    padding:13px 35px;
    background:#d71920;
    color:#fff;
    text-decoration:none;
    border-radius:40px;
    font-weight:700;
    transition:.3s;
}

.device-card a:hover{
    background:#111;
}

@media(max-width:768px){

.device-card img{
    height:220px;
}

.device-card h3{
    font-size:24px;
}

}
/*================ لماذا نحن =================*/

.about{
    padding:100px 8%;
    background:#f8f8f8;
}

.about .container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:80px;
}

.about-text{
    flex:1;
}

.about-text h2{
    font-size:55px;
    color:#222;
    margin-bottom:35px;
    position:relative;
}

.about-text h2::after{
    content:"";
    width:90px;
    height:5px;
    background:#d71920;
    display:block;
    margin-top:12px;
    border-radius:20px;
}

.about-text ul{
    list-style:none;
    padding:0;
}

.about-text li{
    font-size:24px;
    margin:18px 0;
    display:flex;
    align-items:center;
    gap:15px;
    color:#444;
}

.about-text li i{
    width:48px;
    height:48px;
    background:#d71920;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
}

.about-image{
    flex:1;
    display:flex;
    justify-content:center;
}

.about-image img{
    width:100%;
    max-width:520px;
    border-radius:25px;
    box-shadow:0 20px 50px rgba(0,0,0,.15);
}

@media(max-width:992px){

.about .container{
    flex-direction:column;
    text-align:center;
}

.about-text h2::after{
    margin:12px auto 0;
}

.about-text li{
    justify-content:center;
}

.about-image img{
    max-width:350px;
}

}
    /*================ المقالات =================*/

.articles-section{
    padding:80px 0;
    background:#f8f8f8;
}

.articles-grid{
    display:flex;
    flex-direction:column;
    gap:35px;
}

.article-card{
    background:#fff;
    border:3px solid #e41e26;
    border-radius:22px;
    padding:45px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.35s;
    position:relative;
    overflow:hidden;
}

.article-card::before{
    content:"";
    position:absolute;
    top:0;
    right:0;
    width:10px;
    height:100%;
    background:#e41e26;
}

.article-card:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 45px rgba(228,30,38,.20);
    border-color:#c8141c;
}

.article-card h3{
    color:#e41e26;
    font-size:38px;
    font-weight:800;
    margin-bottom:25px;
    display:flex;
    align-items:center;
    gap:12px;
}

.article-card h3 i{
    color:#e41e26;
    font-size:28px;
}

.article-card p{
    font-size:21px;
    line-height:2.2;
    color:#555;
    text-align:justify;
}

@media(max-width:768px){

.article-card{
    padding:28px;
}

.article-card h3{
    font-size:28px;
}

.article-card p{
    font-size:18px;
    line-height:2;
}

}