/*==========================
        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:#1428A0;
    --dark:#0B1F7A;
    --light:#EEF3FF;
    --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,#1428A0,#0B1F7A);
    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:#8FB3FF;

}

.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:#f5f8ff;
}

.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: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(20,40,160,.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:85px;
}

.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;
    align-items:flex-start;
    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{
    margin-bottom:8px;
    color:#111;
}

.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;
}
/*==============================
        Articles
==============================*/

.articles-section{
    padding:100px 0;
    background:#f8faff;
}

.articles-grid{
    display:flex;
    flex-direction:column;
    gap:30px;
}

.article-card{
    background:#fff;
    border-right:6px solid var(--main);
    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(20,40,160,.18);
}

.article-card h3{
    color:var(--main);
    font-size:32px;
    margin-bottom:18px;
    display:flex;
    align-items:center;
    gap:12px;
}

.article-card h3 i{
    color:var(--main);
}

.article-card p{
    color:#555;
    font-size:18px;
    line-height:2.1;
    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;
    transition:.3s;
    outline:none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
    border-color:var(--main);
    box-shadow:0 0 0 4px rgba(20,40,160,.12);
}

.contact-form textarea{
    height:170px;
    resize:none;
}

.contact-form button{
    width:100%;
    background:var(--main);
    color:#fff;
    border:none;
    padding:18px;
    border-radius:12px;
    font-size:18px;
    font-weight:bold;
    cursor:pointer;
    transition:.3s;
}

.contact-form button:hover{
    background:var(--dark);
}

/*==============================
        Footer
==============================*/

footer{
    background:#0f172a;
    color:#fff;
    padding:80px 0 25px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:45px;
}

.footer-logo{
    width:180px;
    margin-bottom:20px;
}

footer h3{
    font-size:24px;
    margin-bottom:20px;
}

footer p{
    color:#cbd5e1;
    line-height:2;
}

footer a{
    display:block;
    color:#cbd5e1;
    margin-bottom:12px;
    transition:.3s;
}

footer a:hover{
    color:var(--main);
}

.copyright{
    margin-top:50px;
    border-top:1px solid rgba(255,255,255,.1);
    padding-top:20px;
    text-align:center;
    color:#94a3b8;
}

/*==============================
        Animations
==============================*/

.device-card,
.feature,
.article-card,
.counter-box{
    animation:fadeUp .8s ease;
}

@keyframes fadeUp{

0%{
opacity:0;
transform:translateY(40px);
}

100%{
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{
min-height:auto;
padding:140px 0 80px;
}

.hero-content h1{
font-size:42px;
}

.hero-content p{
font-size:18px;
}

.hero-buttons{
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;
}

}
/*==============================
      FIX HERO BADGE
==============================*/

header{
    height:90px;
}

.hero{
    padding-top:130px !important;
    min-height:100vh;
}

.hero-flex{
    position:relative;
    z-index:2;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:70px;
}

.hero-content{
    padding-top:40px;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;

    margin-top:70px !important;
    margin-bottom:30px;

    padding:15px 30px;

    background:#1428A0;
    color:#fff;

    border-radius:50px;

    font-size:18px;
    font-weight:700;

    box-shadow:0 15px 35px rgba(20,40,160,.35);
}
/* ===== Hero Badge Fix ===== */

.hero{
    padding-top:90px !important;
}

.hero-content{
    position:relative !important;
    top:-40px !important;
}

.hero-badge{
    position:relative !important;
    top:0 !important;
    margin-top:0 !important;
    margin-bottom:20px !important;
}

.hero h1{
    margin-top:0 !important;
}