/*==========================
        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;
}

/*==========================
        Colors
==========================*/

:root{

    --main:#E60012;
    --dark:#B0000E;
    --light:#FFF4F4;
    --gray:#666;

}

/*==========================
        Header
==========================*/

header{

    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#fff;
    z-index:999;
    box-shadow:0 10px 25px 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:var(--main);

}

.call-btn{

    background:var(--main);
    color:#fff;
    padding:15px 28px;
    border-radius:50px;
    font-weight:700;
    transition:.3s;

}

.call-btn:hover{

    background:var(--dark);

}

/*==========================
            Hero
==========================*/

.hero{

    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    overflow:hidden;
    background:url(images/hero.jpg) center center/cover no-repeat;

}

.overlay{

    position:absolute;
    inset:0;
    background:rgba(0,0,0,.60);

}

.shape{

    position:absolute;
    right:-120px;
    top:0;
    width:850px;
    height:100%;
    background:linear-gradient(135deg,#E60012,#B0000E);
    clip-path:polygon(25% 0,100% 0,100% 100%,0 100%);
    opacity:.92;

}

.hero-flex{

    position:relative;
    z-index:2;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:70px;

}

.hero-image{

    flex:1;
    display:flex;
    justify-content:center;

}

.hero-image img{

    width:430px;
    filter:drop-shadow(0 20px 40px rgba(0,0,0,.35));

}

.hero-content{

    flex:1;
    color:#fff;

}

.hero-badge{

    display:inline-flex;
    align-items:center;
    gap:10px;
    background:var(--main);
    padding:14px 28px;
    border-radius:50px;
    font-weight:700;
    margin-bottom:30px;

}

.hero-content h1{

    font-size:72px;
    line-height:1.2;
    font-weight:900;
    margin-bottom:25px;

}

.hero-content h1 span{

    display:block;
    color:#ffb0b0;

}

.hero-content p{

    font-size:21px;
    line-height:2;
    margin-bottom:40px;
    max-width:650px;

}

.hero-buttons{

    display:flex;
    gap:20px;

}

.btn-red{

    background:var(--main);
    color:#fff;
    padding:18px 40px;
    border-radius:50px;
    font-size:18px;
    font-weight:bold;
    transition:.3s;

}

.btn-red:hover{

    background:var(--dark);

}

.btn-white{

    border:2px solid #fff;
    color:#fff;
    padding:18px 40px;
    border-radius:50px;
    transition:.3s;

}

.btn-white:hover{

    background:#fff;
    color:var(--main);

}
/*==============================
        Devices
==============================*/

.devices{
    padding:100px 0;
    background:#fdf7f7;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:46px;
    color:var(--main);
    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:20px;
    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(230,0,18,.18);
}

.device-card img{
    width:100%;
    height:260px;
    object-fit:contain;
    padding:25px;
    background:#fff;
}

.device-card h3{
    color:var(--main);
    font-size:30px;
    margin:20px 0 10px;
}

.device-card p{
    color:#666;
    line-height:1.9;
    padding:0 22px;
    min-height:80px;
}

.device-card a{
    display:inline-block;
    margin:25px 0 30px;
    background:var(--main);
    color:#fff;
    padding:15px 35px;
    border-radius:50px;
    font-weight:700;
    transition:.3s;
}

.device-card a:hover{
    background:var(--dark);
}

/*==============================
      Why Choose Us
==============================*/

.why-us{
    padding:100px 0;
    background:#fff;
}

.why-us .container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.why-image img{
    width:100%;
    max-width:520px;
    margin:auto;
}

.why-content h5{
    color:var(--main);
    font-size:18px;
    margin-bottom:10px;
}

.why-content h2{
    font-size:44px;
    color:#111;
    margin-bottom:25px;
}

.why-content p{
    color:#666;
    line-height:2;
    margin-bottom:35px;
}

.features{
    display:grid;
    gap:20px;
}

.feature{
    display:flex;
    gap:18px;
    background:#fff;
    padding:22px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.feature:hover{
    transform:translateY(-6px);
}

.feature i{
    width:60px;
    height:60px;
    background:var(--main);
    color:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:22px;
    flex-shrink:0;
}

.feature h3{
    color:#111;
    margin-bottom:8px;
}

.feature p{
    margin:0;
    color:#666;
}

/*==============================
        Counter
==============================*/

.counter{
    background:linear-gradient(135deg,var(--main),var(--dark));
    padding:90px 0;
}

.counter .container{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.counter-box{
    background:#fff;
    border-radius:20px;
    padding:35px;
    text-align:center;
    transition:.3s;
}

.counter-box:hover{
    transform:translateY(-8px);
}

.counter-box h2{
    color:var(--main);
    font-size:48px;
    font-weight:900;
    margin-bottom:12px;
}

.counter-box span{
    color:#444;
    font-size:20px;
    font-weight:700;
}
/*==============================
        Devices
==============================*/

.devices{
    padding:100px 0;
    background:#fdf7f7;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:46px;
    color:var(--main);
    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:20px;
    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(230,0,18,.18);
}

.device-card img{
    width:100%;
    height:260px;
    object-fit:contain;
    padding:25px;
    background:#fff;
}

.device-card h3{
    color:var(--main);
    font-size:30px;
    margin:20px 0 10px;
}

.device-card p{
    color:#666;
    line-height:1.9;
    padding:0 22px;
    min-height:80px;
}

.device-card a{
    display:inline-block;
    margin:25px 0 30px;
    background:var(--main);
    color:#fff;
    padding:15px 35px;
    border-radius:50px;
    font-weight:700;
    transition:.3s;
}

.device-card a:hover{
    background:var(--dark);
}

/*==============================
      Why Choose Us
==============================*/

.why-us{
    padding:100px 0;
    background:#fff;
}

.why-us .container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.why-image img{
    width:100%;
    max-width:520px;
    margin:auto;
}

.why-content h5{
    color:var(--main);
    font-size:18px;
    margin-bottom:10px;
}

.why-content h2{
    font-size:44px;
    color:#111;
    margin-bottom:25px;
}

.why-content p{
    color:#666;
    line-height:2;
    margin-bottom:35px;
}

.features{
    display:grid;
    gap:20px;
}

.feature{
    display:flex;
    gap:18px;
    background:#fff;
    padding:22px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.feature:hover{
    transform:translateY(-6px);
}

.feature i{
    width:60px;
    height:60px;
    background:var(--main);
    color:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:22px;
    flex-shrink:0;
}

.feature h3{
    color:#111;
    margin-bottom:8px;
}

.feature p{
    margin:0;
    color:#666;
}

/*==============================
        Counter
==============================*/

.counter{
    background:linear-gradient(135deg,var(--main),var(--dark));
    padding:90px 0;
}

.counter .container{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.counter-box{
    background:#fff;
    border-radius:20px;
    padding:35px;
    text-align:center;
    transition:.3s;
}

.counter-box:hover{
    transform:translateY(-8px);
}

.counter-box h2{
    color:var(--main);
    font-size:48px;
    font-weight:900;
    margin-bottom:12px;
}

.counter-box span{
    color:#444;
    font-size:20px;
    font-weight:700;
}
/* ===== Fix Hero Badge ===== */

.hero{
    padding-top:90px !important;
}

.hero-flex{
    position:relative;
    z-index:10 !important;
}

.hero-content{
    position:relative;
}

.hero-badge{
    position:absolute;
    top:-55px;
    right:0;

    z-index:1000;

    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:14px 28px;

    background:#E60012;
    color:#fff;

    border-radius:50px;

    font-size:18px;
    font-weight:700;

    box-shadow:0 10px 30px rgba(230,0,18,.35);
}
/* Hero Badge Final Fix */

.hero-content{
    position: relative;
}

.hero-badge{
    position: absolute !important;
    top: -50px !important;
    right: 0 !important;

    margin: 0 !important;
    z-index: 50;
}

.hero-content h1{
    margin-top: 20px !important;
}
/*==============================
        Footer Fix
==============================*/

footer{
    background:#111827;
    color:#fff;
    padding:70px 0 30px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:60px;
    align-items:flex-start;
}

.footer-grid > div{
    display:flex;
    flex-direction:column;
}

.footer-logo{
    width:170px;
    margin-bottom:20px;
}

footer h3{
    font-size:28px;
    margin-bottom:20px;
    color:#fff;
}

footer p{
    color:#d1d5db;
    line-height:2;
    margin-bottom:12px;
}

footer a{
    color:#d1d5db;
    text-decoration:none;
    margin-bottom:12px;
    transition:.3s;
}

footer a:hover{
    color:#E60012;
}

footer i{
    color:#E60012;
    margin-left:8px;
}

.copyright{
    margin-top:40px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,.12);
    text-align:center;
    color:#9ca3af;
    font-size:16px;
}

/* Responsive */

@media(max-width:768px){

.footer-grid{
grid-template-columns:1fr;
text-align:center;
gap:35px;
}

}
/*==============================
        Articles Style
==============================*/

.articles-section{
    padding:100px 0;
    background:#f5f7f7;
}

.articles-grid{
    display:flex;
    flex-direction:column;
    gap:35px;
}

.article-card{

    background:#fff;

    border-radius:22px;

    border-right:8px solid var(--main);

    padding:45px;

    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:var(--main);

    font-size:42px;

    display:flex;

    justify-content:flex-end;

    align-items:center;

    gap:15px;

    margin-bottom:25px;

    font-weight:800;

}

.article-card h3 i{

    font-size:34px;

}

.article-card p{

    color:#444;

    font-size:24px;

    line-height:2.2;

    text-align:right;

}
/* ===== Articles Right Align ===== */

.article-card{
    direction: rtl;
    text-align: right !important;
}

.article-card h3{
    display:flex;
    justify-content:flex-start !important;
    align-items:center;
    gap:12px;

    direction:rtl;
    text-align:right;

    width:100%;
}

.article-card p{
    text-align:right !important;
    direction:rtl;
    line-height:2.2;
}

.article-card i{
    order:2;
}

.article-card h3 span{
    order:1;
}