/*========================
    Global
========================*/

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Cairo',sans-serif;
scroll-behavior:smooth;
}

body{
background:#fff;
color:#222;
overflow-x:hidden;
line-height:1.8;
}

img{
max-width:100%;
display:block;
}

a{
text-decoration:none;
}

ul{
list-style:none;
}

.container{
width:90%;
max-width:1400px;
margin:auto;
}

/*========================
      Navbar
========================*/

header{
position:fixed;
top:0;
left:0;
width:100%;
background:#fff;
z-index:9999;
box-shadow:0 8px 30px rgba(0,0,0,.08);
}

.navbar{
height:90px;
display:flex;
justify-content:space-between;
align-items:center;
}

.logo img{
height:65px;
}

.nav-links{
display:flex;
gap:35px;
}

.nav-links a{
color:#222;
font-size:18px;
font-weight:700;
transition:.3s;
}

.nav-links a:hover{
color:#d71920;
}

.call-btn{
background:#d71920;
color:#fff;
padding:15px 28px;
border-radius:50px;
font-weight:700;
transition:.3s;
}

.call-btn:hover{
background:#b10007;
}

/*========================
        Hero
========================*/

.hero{
height:100vh;
position:relative;
display:flex;
align-items:center;
background:url(hero.jpg) center center/cover;
overflow:hidden;
}

.overlay{
position:absolute;
width:100%;
height:100%;
background:rgba(0,0,0,.58);
}

.hero-flex{
display:flex;
align-items:center;
justify-content:space-between;
gap:70px;
position:relative;
z-index:5;
}

.hero-content{
flex:1;
color:#fff;
}

.hero-badge{
display:inline-flex;
align-items:center;
gap:10px;
background:#d71920;
padding:14px 28px;
border-radius:40px;
margin-bottom:25px;
font-weight:700;
}

.hero-content h1{
font-size:70px;
line-height:1.2;
font-weight:900;
margin-bottom:20px;
}

.hero-content h1 span{
display:block;
color:#ff4d4d;
}

.hero-content p{
font-size:22px;
line-height:2;
max-width:650px;
margin-bottom:40px;
}

.hero-btns{
display:flex;
gap:20px;
}

.btn{
padding:18px 38px;
border-radius:50px;
font-weight:700;
transition:.3s;
}

.red{
background:#d71920;
color:#fff;
}

.red:hover{
background:#a90005;
transform:translateY(-5px);
}

.white{
border:2px solid #fff;
color:#fff;
}

.white:hover{
background:#fff;
color:#d71920;
}

.hero-image{
flex:1;
display:flex;
justify-content:center;
}

.hero-image img{
width:420px;
filter:drop-shadow(0 20px 40px rgba(0,0,0,.3));
animation:float 3s ease-in-out infinite;
}

@keyframes float{

0%,100%{
transform:translateY(0);
}

50%{
transform:translateY(-15px);
}

}
/*==============================
        Devices Section
==============================*/

.devices{
    padding:100px 0;
    background:#f8f9fb;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:46px;
    color:#d71920;
    margin-bottom:15px;
    font-weight:800;
}

.section-title p{
    color:#666;
    font-size:18px;
}

.devices-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.device-card{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 15px 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:260px;
    object-fit:contain;
    background:#fff;
    padding:25px;
}

.device-card h3{
    font-size:30px;
    color:#d71920;
    margin:20px 0 10px;
}

.device-card p{
    color:#666;
    line-height:1.9;
    padding:0 20px;
    min-height:70px;
}

.device-card a{
    display:inline-block;
    margin:25px 0 30px;
    background:#d71920;
    color:#fff;
    padding:14px 35px;
    border-radius:40px;
    font-weight:700;
    transition:.3s;
}

.device-card a:hover{
    background:#111;
}

/*==============================
          About
==============================*/

.about{
    padding:100px 0;
    background:#fff;
}

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.about-image img{
    width:100%;
    max-width:520px;
    margin:auto;
}

.about-content h2{
    font-size:45px;
    color:#d71920;
    margin-bottom:25px;
}

.about-content p{
    color:#666;
    line-height:2;
    margin-bottom:35px;
}

.features{
    display:grid;
    gap:20px;
}

.feature{
    display:flex;
    gap:20px;
    background:#fff;
    padding:20px;
    border-radius:18px;
    box-shadow:0 12px 25px rgba(0,0,0,.08);
}

.feature i{
    width:60px;
    height:60px;
    background:#d71920;
    color:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:22px;
}

.feature h3{
    margin-bottom:8px;
    color:#222;
}

.feature p{
    margin:0;
}
/*==============================
          Articles
==============================*/

.articles-section{
    padding:100px 0;
    background:#f8f9fb;
}

.articles-grid{
    display:flex;
    flex-direction:column;
    gap:30px;
}

.article-card{
    background:#fff;
    border-right:6px solid #d71920;
    border-radius:20px;
    padding:35px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.35s;
}

.article-card:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 45px rgba(0,0,0,.15);
}

.article-card h3{
    color:#d71920;
    font-size:32px;
    margin-bottom:20px;
    display:flex;
    align-items:center;
    gap:12px;
}

.article-card h3 i{
    color:#d71920;
}

.article-card p{
    color:#555;
    line-height:2.1;
    font-size:18px;
    text-align:justify;
}

/*==============================
          Counter
==============================*/

.counter{
    background:#d71920;
    padding:80px 0;
}

.counter .container{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.counter-box{
    background:#fff;
    padding:35px;
    border-radius:20px;
    text-align:center;
}

.counter-box h2{
    font-size:48px;
    color:#d71920;
    margin-bottom:10px;
}

.counter-box span{
    font-size:20px;
    font-weight:700;
    color:#444;
}

/*==============================
          Contact
==============================*/

.contact-section{
    padding:100px 0;
    background:#fff;
}

.contact-form{
    max-width:700px;
    margin:auto;
}

.contact-form input,
.contact-form select,
.contact-form textarea{

    width:100%;
    padding:18px;
    margin-bottom:20px;
    border:1px solid #ddd;
    border-radius:12px;
    font-size:17px;
}

.contact-form textarea{
    height:160px;
    resize:none;
}

.contact-form button{
    width:100%;
    background:#d71920;
    color:#fff;
    border:none;
    padding:18px;
    border-radius:12px;
    font-size:18px;
    cursor:pointer;
    transition:.3s;
}

.contact-form button:hover{
    background:#b60000;
}

/*==============================
            Footer
==============================*/

footer{
    background:#111;
    color:#fff;
    padding:70px 0 20px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:40px;
}

.footer-logo{
    width:180px;
    margin-bottom:20px;
}

footer h3{
    margin-bottom:20px;
    color:#fff;
}

footer a{
    display:block;
    color:#ccc;
    margin-bottom:12px;
    transition:.3s;
}

footer a:hover{
    color:#d71920;
}

footer p{
    color:#ccc;
    line-height:2;
}

.copyright{
    margin-top:50px;
    text-align:center;
    border-top:1px solid rgba(255,255,255,.1);
    padding-top:20px;
    color:#999;
}

/*==============================
          Responsive
==============================*/

@media(max-width:992px){

.hero-flex,
.about-grid{
    grid-template-columns:1fr;
    display:grid;
    text-align:center;
}

.devices-grid{
    grid-template-columns:repeat(2,1fr);
}

.counter .container{
    grid-template-columns:repeat(2,1fr);
}

.footer-grid{
    grid-template-columns:1fr;
    text-align:center;
}

}

@media(max-width:768px){

.nav-links{
    display:none;
}

.hero{
    height:auto;
    padding:140px 0 70px;
}

.hero-content h1{
    font-size:42px;
}

.hero-content p{
    font-size:18px;
}

.hero-btns{
    flex-direction:column;
}

.hero-image img{
    width:260px;
    margin-top:40px;
}

.devices-grid{
    grid-template-columns:1fr;
}

.counter .container{
    grid-template-columns:1fr;
}

.article-card{
    padding:25px;
}

.article-card h3{
    font-size:24px;
}

.footer-grid{
    gap:30px;
}

}
.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;

    background:#d71920;
    color:#fff;

    padding:14px 28px;

    border-radius:50px;

    font-size:18px;
    font-weight:700;

    margin-bottom:35px;
    margin-top:25px;

    box-shadow:0 12px 30px rgba(215,25,32,.35);

    width:fit-content;
}

.hero-badge i{
    font-size:18px;
    color:#fff;
}
.hero-content{
    padding-top:40px;
}