/*==============================
        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:999;
    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:#0057B8;
}

.call-btn{
    background:#0057B8;
    color:#fff;
    padding:15px 30px;
    border-radius:50px;
    font-weight:700;
    transition:.3s;
}

.call-btn:hover{
    background:#003f8a;
}

/*==============================
            Hero
==============================*/

.hero{
    position:relative;
    height:100vh;
    display:flex;
    align-items:center;
    background:url(images/hero.jpg) center/cover;
    overflow:hidden;
}

.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,#0057B8,#1d7be8);
    clip-path:polygon(25% 0,100% 0,100% 100%,0 100%);
    opacity:.9;
}

.hero-flex{
    position:relative;
    z-index:2;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:80px;
}

.hero-image{
    flex:1;
    display:flex;
    justify-content:center;
}

.hero-image img{
    width:420px;
    filter:drop-shadow(0 20px 35px rgba(0,0,0,.35));
}

.hero-content{
    flex:1;
    color:#fff;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:#0057B8;
    color:#fff;
    padding:14px 28px;
    border-radius:50px;
    margin-bottom:25px;
    font-weight:700;
}

.hero-content h1{
    font-size:70px;
    line-height:1.2;
    margin-bottom:20px;
    font-weight:900;
}

.hero-content h1 span{
    display:block;
    color:#66b3ff;
}

.hero-content p{
    font-size:21px;
    line-height:2;
    margin-bottom:35px;
    max-width:650px;
}

.hero-btns{
    display:flex;
    gap:20px;
}

.btn{
    padding:18px 38px;
    border-radius:50px;
    font-weight:700;
    transition:.3s;
}

.red{
    background:#0057B8;
    color:#fff;
}

.red:hover{
    background:#003f8a;
}

.white{
    border:2px solid #fff;
    color:#fff;
}

.white:hover{
    background:#fff;
    color:#0057B8;
}
/*==============================
        Devices
==============================*/

.devices{
    padding:100px 0;
    background:#f7f9fc;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:46px;
    color:#0057B8;
    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:250px;

    object-fit:contain;

    background:#fff;

    padding:25px;

}

.device-card h3{

    font-size:30px;

    color:#0057B8;

    margin:20px 0 10px;

}

.device-card p{

    color:#666;

    line-height:1.9;

    padding:0 22px;

    min-height:75px;

}

.device-card a{

    display:inline-block;

    margin:25px 0 30px;

    background:#0057B8;

    color:#fff;

    padding:14px 35px;

    border-radius:50px;

    font-weight:700;

    transition:.3s;

}

.device-card a:hover{

    background:#003f8a;

}

/*==============================
      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:#0057B8;

    font-size:18px;

    margin-bottom:12px;

}

.why-content h2{

    font-size:44px;

    color:#222;

    margin-bottom:25px;

}

.why-content p{

    color:#666;

    line-height:2;

    margin-bottom:35px;

}

.features{

    display:grid;

    gap:20px;

}

.feature{

    display:flex;

    align-items:flex-start;

    gap:18px;

    background:#fff;

    padding:22px;

    border-radius:18px;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.3s;

}

.feature:hover{

    transform:translateY(-6px);

}

.feature i{

    width:60px;

    height:60px;

    background:#0057B8;

    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,#0057B8,#1d7be8);

    padding:80px 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:#0057B8;

    font-size:48px;

    margin-bottom:10px;

    font-weight:900;

}

.counter-box span{

    color:#555;

    font-size:20px;

}
/*==============================
          Articles
==============================*/

.articles-section{
    padding:100px 0;
    background:#f8fafc;
}

.articles-grid{
    display:flex;
    flex-direction:column;
    gap:30px;
}

.article-card{
    background:#fff;
    border-right:6px solid #0057B8;
    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,87,184,.18);
}

.article-card h3{
    color:#0057B8;
    font-size:32px;
    margin-bottom:20px;
    display:flex;
    align-items:center;
    gap:12px;
}

.article-card h3 i{
    color:#0057B8;
}

.article-card p{
    color:#555;
    line-height:2.1;
    font-size:18px;
    text-align:justify;
}

/*==============================
          Contact
==============================*/

.contact-section{
    padding:100px 0;
    background:#fff;
}

.contact-form{
    max-width:750px;
    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;
    outline:none;
    transition:.3s;

}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{

    border-color:#0057B8;
    box-shadow:0 0 0 4px rgba(0,87,184,.12);

}

.contact-form textarea{

    height:170px;
    resize:none;

}

.contact-form button{

    width:100%;
    border:none;
    background:#0057B8;
    color:#fff;
    padding:18px;
    border-radius:12px;
    font-size:18px;
    font-weight:bold;
    cursor:pointer;
    transition:.3s;

}

.contact-form button:hover{

    background:#003f8a;

}

/*==============================
            Footer
==============================*/

footer{

    background:#0f172a;
    color:#fff;
    padding:80px 0 25px;

}

.footer-grid{

    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:40px;

}

.footer-logo{

    width:180px;
    margin-bottom:20px;

}

footer h3{

    margin-bottom:22px;
    font-size:24px;

}

footer p{

    color:#cbd5e1;
    line-height:2;

}

footer a{

    display:block;
    color:#cbd5e1;
    margin-bottom:12px;
    transition:.3s;

}

footer a:hover{

    color:#4da3ff;

}

.copyright{

    margin-top:50px;
    border-top:1px solid rgba(255,255,255,.12);
    padding-top:20px;
    text-align:center;
    color:#94a3b8;

}

/*==============================
        Animations
==============================*/

.device-card,
.article-card,
.counter-box,
.feature{

    animation:fadeUp .8s ease;

}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/*==============================
        Responsive
==============================*/

@media(max-width:992px){

.hero-flex,
.why-us .container{

display:grid;
grid-template-columns:1fr;
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 80px;

}

.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:35px;

}

}
/* ================= HERO ================= */

.hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    overflow:hidden;
    background:url("images/hero.jpg") center center/cover no-repeat;
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
}

.hero::after{
    content:"";
    position:absolute;
    top:0;
    right:0;
    width:45%;
    height:100%;
    background:linear-gradient(180deg,#33495f,#475d72);
    clip-path:polygon(18% 0,100% 0,100% 100%,0 100%);
    opacity:.9;
}

.hero .container{

    position:relative;
    z-index:5;

    display:flex;
    justify-content:space-between;
    align-items:center;

    gap:70px;
}

/* الصورة */

.hero-image{

    flex:1;
    display:flex;
    justify-content:center;
}

.hero-image img{

    width:470px;
    filter:drop-shadow(0 30px 60px rgba(0,0,0,.35));

}

/* النص */

.hero-content{

    flex:1;
    color:#fff;
}

.hero-badge{

    display:inline-flex;
    align-items:center;
    gap:10px;

    background:#e21d25;

    padding:15px 28px;

    border-radius:60px;

    color:#fff;

    font-weight:700;

    margin-bottom:35px;

    box-shadow:0 10px 25px rgba(226,29,37,.35);

}

.hero-badge i{

    font-size:18px;

}

.hero-content h1{

    font-size:82px;

    line-height:1.12;

    font-weight:900;

    margin-bottom:25px;

}

.hero-content h1 span{

    color:#ff4d55;

}

.hero-content p{

    font-size:24px;

    line-height:2;

    color:#eee;

    margin-bottom:40px;

}

/* الأزرار */

.hero-buttons{

    display:flex;

    gap:20px;

}

.btn-red{

    background:#e21d25;

    color:#fff;

    padding:18px 42px;

    border-radius:50px;

    font-size:20px;

    font-weight:bold;

    transition:.3s;

}

.btn-red:hover{

    background:#c30f18;

    transform:translateY(-5px);

}

.btn-white{

    border:2px solid #fff;

    color:#fff;

    padding:18px 42px;

    border-radius:50px;

    font-size:20px;

    font-weight:bold;

    transition:.3s;

}

.btn-white:hover{

    background:#fff;

    color:#222;

}

/* موبايل */

@media(max-width:991px){

.hero{

min-height:auto;

padding:150px 0 80px;

}

.hero::after{

display:none;

}

.hero .container{

flex-direction:column-reverse;

text-align:center;

}

.hero-image img{

width:280px;

margin-bottom:35px;

}

.hero-content h1{

font-size:50px;

}

.hero-content p{

font-size:19px;

}

.hero-buttons{

justify-content:center;

flex-wrap:wrap;

}

}