/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&display=swap');

:root{
    --primary:#d71920;
    --secondary:#0d2340;
    --white:#fff;
    --black:#222;
    --gray:#777;
    --light:#f7f8fc;

    --shadow:0 10px 30px rgba(0,0,0,.08);

    --transition:.35s ease;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Cairo',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:var(--white);
    color:var(--black);
    overflow-x:hidden;
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.container{
    width:90%;
    max-width:1300px;
    margin:auto;
}

section{
    padding:90px 0;
}
header{
    position:fixed;
    top:0;
    right:0;
    width:100%;
    z-index:999;
    background:#fff;
    box-shadow:0 2px 15px rgba(0,0,0,.06);
}

.navbar{
    height:80px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    width:90%;
    max-width:1300px;
    margin:auto;
}

.logo img{
    height:60px;
}

.nav-links{
    display:flex;
    gap:30px;
}

.nav-links a{
    color:#222;
    font-weight:700;
    transition:.3s;
}

.nav-links a:hover,
.nav-links .active{
    color:var(--primary);
}

.call-btn a{
    background:var(--primary);
    color:#fff;
    padding:10px 22px;
    border-radius:50px;
    transition:.3s;
}

.call-btn a:hover{
    background:var(--secondary);
}

.menu-btn{
    display:none;
    font-size:28px;
    cursor:pointer;
}
@media(max-width:991px){

.nav-links{

position:absolute;

top:80px;

right:-100%;

background:#fff;

width:280px;

display:flex;

flex-direction:column;

padding:30px;

box-shadow:var(--shadow);

transition:.4s;

}

.nav-links.active{

right:20px;

}

.menu-btn{

display:block;

}
.call-btn{

display:flex;

}

.call-btn a{

padding:10px 18px;
font-size:14px;

}

}
.hero{
    position:relative;
    height:100vh;
    background:url("images/hero.jpg") center center/cover no-repeat;
    display:flex;
    align-items:center;
}

.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to left,
    rgba(8,26,48,.55),
    rgba(8,26,48,.85));
}

.hero-content{
    position:relative;
    z-index:2;
}

.hero-text{
    max-width:650px;
    color:#fff;
}

.hero-tag{
    display:inline-block;
    background:#d71920;
    padding:10px 22px;
    border-radius:40px;
    font-weight:700;
    margin-bottom:20px;
}

.hero h1{
    font-size:60px;
    line-height:1.3;
    margin-bottom:25px;
    font-weight:800;
}

.hero h1 span{
    color:#ff4545;
}

.hero p{
    font-size:20px;
    line-height:2;
    color:#eee;
    margin-bottom:40px;
}

.hero-buttons{
    display:flex;
    gap:20px;
}

.btn{
    padding:15px 35px;
    border-radius:50px;
    font-weight:700;
    transition:.3s;
}

.btn-primary{
    background:#d71920;
    color:#fff;
}

.btn-primary:hover{
    background:#fff;
    color:#d71920;
}

.btn-outline{
    border:2px solid #fff;
    color:#fff;
}

.btn-outline:hover{
    background:#fff;
    color:#0d2340;
}
/*================ HERO ================*/

.hero{
    position:relative;
    width:100%;
    height:100vh;
    display:flex;
    align-items:center;
    overflow:hidden;
}

.hero-img{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:-2;
}

.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(6,23,44,.92) 20%,
        rgba(6,23,44,.65) 55%,
        rgba(6,23,44,.15) 100%
    );
    z-index:-1;
}

.hero-content{
    max-width:650px;
    color:#fff;
}

.hero-badge{
    display:inline-block;
    background:#d71920;
    color:#fff;
    padding:10px 24px;
    border-radius:40px;
    font-weight:700;
    margin-bottom:20px;
}

.hero-content h1{
    font-size:62px;
    line-height:1.25;
    margin-bottom:25px;
    font-weight:800;
}

.hero-content h1 span{
    color:#ff4a4a;
}

.hero-content p{
    font-size:19px;
    line-height:2;
    color:#eee;
    margin-bottom:35px;
}

.hero-btns{
    display:flex;
    gap:20px;
}

.btn{
    padding:15px 35px;
    border-radius:50px;
    font-weight:700;
    transition:.3s;
}

.btn-primary{
    background:#d71920;
    color:#fff;
}

.btn-primary:hover{
    background:#fff;
    color:#d71920;
}

.btn-outline{
    border:2px solid #fff;
    color:#fff;
}

.btn-outline:hover{
    background:#fff;
    color:#06172c;
}

@media(max-width:991px){

.hero{
    height:90vh;
}

.hero-content{
    text-align:center;
    margin:auto;
}

.hero-content h1{
    font-size:42px;
}

.hero-content p{
    font-size:16px;
}

.hero-btns{
    justify-content:center;
    flex-wrap:wrap;
}

}

@media(max-width:576px){

.hero-content h1{
    font-size:32px;
}

.hero-btns{
    flex-direction:column;
}

.btn{
    width:100%;
    text-align:center;
}

}
.top-bar{

height:45px;

background:#071d38;

display:flex;

justify-content:space-between;

align-items:center;

padding:0 8%;

color:#fff;

font-size:15px;

}

.top-item{

display:flex;

align-items:center;

gap:8px;

}

.top-call{

background:#d71920;

padding:12px 35px;

color:#fff;

font-weight:bold;

border-radius:0 0 0 12px;

}
/*==========================
        SERVICES
==========================*/

.services{
    padding:90px 0;
    background:#fff;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:45px;
    color:#071d38;
    font-weight:800;
    margin-bottom:10px;
}

.section-title p{
    color:#777;
    font-size:17px;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:20px;
}

.service-card{
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.35s;
    text-align:center;
}

.service-card:hover{
    transform:translateY(-8px);
}

.service-card img{
    width:100%;
    height:170px;
    object-fit:cover;
    display:block;
}

.service-icon{
    width:70px;
    height:70px;
    background:#071d38;
    color:#fff;
    border-radius:50%;
    margin:-35px auto 20px;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:28px;
    border:5px solid #fff;
    position:relative;
    z-index:5;
}

.service-card h3{
    font-size:26px;
    color:#071d38;
    margin-bottom:12px;
    font-weight:700;
}

.service-card p{
    font-size:15px;
    color:#666;
    line-height:1.8;
    padding:0 15px 25px;
}

.services-btn{
    text-align:center;
    margin-top:45px;
}

.services-btn a{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:#d71920;
    color:#fff;
    padding:15px 35px;
    border-radius:50px;
    font-weight:700;
    transition:.3s;
}

.services-btn a:hover{
    background:#071d38;
}

/*========== Tablet ==========*/

@media(max-width:1200px){

.services-grid{
    grid-template-columns:repeat(3,1fr);
}

}

/*========== Mobile ==========*/

@media(max-width:768px){

.services-grid{
    grid-template-columns:repeat(2,1fr);
}

.section-title h2{
    font-size:36px;
}

.service-card h3{
    font-size:22px;
}

}

/*========== Small Mobile ==========*/

@media(max-width:576px){

.services-grid{
    grid-template-columns:1fr;
}

}
/*================ WHY US ================*/

.why-us{
    background:#071d38;
    padding:90px 0;
}

.why-content{
    display:flex;
    align-items:center;
    gap:60px;
}

.why-image{
    flex:1;
}

.why-image img{
    width:100%;
    border-radius:15px;
}

.why-info{
    flex:1;
    color:#fff;
}

.why-info h2{
    font-size:42px;
    margin-bottom:40px;
    font-weight:800;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.why-box{
    display:flex;
    gap:20px;
    align-items:flex-start;
}

.why-box i{
    width:70px;
    height:70px;
    border-radius:50%;
    border:2px solid #d71920;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:28px;
}

.why-box h3{
    margin-bottom:10px;
    font-size:24px;
}

.why-box p{
    color:#d6d6d6;
    line-height:1.8;
}

@media(max-width:991px){

.why-content{
    flex-direction:column;
}

.why-grid{
    grid-template-columns:1fr;
}

}
/* ===== تكبير كروت الخدمات ===== */

.services .container{
    max-width: 1500px;
}

.services-grid{
    gap: 28px !important;
}

.service-card{
    transform: scale(1.05);
    transition: 0.35s ease;
}

.service-card:hover{
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 20px 45px rgba(0,0,0,.15);
}

.service-card img{
    height: 220px !important;
}

.service-icon{
    width: 82px;
    height: 82px;
    margin: -41px auto 20px;
    font-size: 32px;
}

.service-card h3{
    font-size: 32px;
    margin-bottom: 15px;
}

.service-card p{
    font-size: 17px;
    line-height: 1.8;
    padding: 0 18px 25px;
}

@media (max-width:1200px){
    .service-card{
        transform: none;
    }
}
.footer{
    background:#071d38;
    padding:70px 0 0;
    color:#fff;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1.5fr;
    gap:40px;
}

.footer h3{
    margin-bottom:25px;
    font-size:28px;
}

.footer a{
    display:block;
    color:#ddd;
    margin-bottom:15px;
    transition:.3s;
}

.footer a:hover{
    color:#d71920;
}

.footer input,
.footer select,
.footer textarea{

width:100%;

padding:15px;

margin-bottom:15px;

border:none;

border-radius:10px;

background:#10294b;

color:#fff;

}

.footer textarea{

height:120px;

resize:none;

}

.footer button{

width:100%;

padding:15px;

background:#d71920;

border:none;

border-radius:10px;

color:#fff;

font-size:18px;

font-weight:bold;

cursor:pointer;

transition:.3s;

}

.footer button:hover{

background:#fff;

color:#071d38;

}

.footer-about img{

width:180px;

margin-bottom:20px;

}

.social{

display:flex;

gap:15px;

margin-top:25px;

}

.social a{

width:45px;

height:45px;

background:#10294b;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

font-size:18px;

}

.copyright{

margin-top:50px;

background:#d71920;

text-align:center;

padding:18px;

font-weight:600;

}

@media(max-width:992px){

.footer-grid{

grid-template-columns:1fr;

}

}
/* Page Animation */

body{
    animation: pageLoad .8s ease;
}

@keyframes pageLoad{

from{
    opacity:0;
}

to{
    opacity:1;
}

}
header{

position:sticky;

top:0;

z-index:9999;

backdrop-filter:blur(15px);

background:rgba(255,255,255,.95);

box-shadow:0 5px 20px rgba(0,0,0,.08);

}
.logo img{

transition:.4s;

}

.logo img:hover{

transform:scale(1.08);

}
.nav-links a{

position:relative;

transition:.3s;

}

.nav-links a::after{

content:"";

position:absolute;

right:0;

bottom:-8px;

width:0;

height:3px;

background:#d71920;

transition:.3s;

}

.nav-links a:hover::after,

.nav-links .active::after{

width:100%;

}
.btn{

transition:.35s;

}

.btn:hover{

transform:translateY(-4px);

box-shadow:0 15px 30px rgba(0,0,0,.2);

}
.service-card{

transition:.4s;

}

.service-card:hover{

transform:translateY(-12px);

box-shadow:0 20px 45px rgba(0,0,0,.12);

}
.service-card{

overflow:hidden;

}

.service-card img{

transition:.5s;

}

.service-card:hover img{

transform:scale(1.08);

}
.service-icon{

transition:.4s;

}

.service-card:hover .service-icon{

transform:rotate(360deg);

background:#d71920;

}
html{

scroll-behavior:smooth;

}
::selection{

background:#d71920;

color:#fff;

}
::-webkit-scrollbar{

width:10px;

}

::-webkit-scrollbar-track{

background:#f5f5f5;

}

::-webkit-scrollbar-thumb{

background:#d71920;

border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

background:#071d38;

}
/*========== Loader ==========*/

#loader{

position:fixed;

top:0;

left:0;

width:100%;

height:100vh;

background:#071d38;

display:flex;

justify-content:center;

align-items:center;

z-index:999999;

transition:1s;

}

.loader-box{

text-align:center;

color:#fff;

}

.loader-box h2{

font-size:38px;

margin:25px 0;

font-weight:800;

letter-spacing:1px;

}

.ambulance{

font-size:65px;

animation:ambulanceMove 1.5s infinite ease-in-out;

}

.loader-box span{

display:block;

width:220px;

height:5px;

background:#16345c;

border-radius:20px;

overflow:hidden;

margin:auto;

position:relative;

}

.loader-box span::before{

content:"";

position:absolute;

left:-100%;

width:100%;

height:100%;

background:#d71920;

animation:loading 1.2s linear infinite;

}

@keyframes loading{

100%{

left:100%;

}

}

@keyframes ambulanceMove{

0%,100%{

transform:translateX(-10px);

}

50%{

transform:translateX(10px);

}

}

.loaded{

opacity:0;

visibility:hidden;

}
/*========== Ambulance Modal ==========*/

.modal{

display:none;

position:fixed;

top:0;

left:0;

width:100%;

height:100%;

background:rgba(0,0,0,.65);

justify-content:center;

align-items:center;

z-index:99999;

}

.modal-content{

background:#fff;

width:420px;

max-width:95%;

padding:35px;

border-radius:20px;

position:relative;

animation:popup .3s ease;

}

@keyframes popup{

from{

transform:scale(.8);

opacity:0;

}

to{

transform:scale(1);

opacity:1;

}

}

.close{

position:absolute;

left:20px;

top:15px;

font-size:30px;

cursor:pointer;

color:#d71920;

}

.modal h2{

text-align:center;

margin-bottom:25px;

color:#071d38;

}

.modal input,

.modal textarea{

width:100%;

padding:15px;

margin-bottom:15px;

border:1px solid #ddd;

border-radius:10px;

font-family:Cairo;

font-size:16px;

}

.modal textarea{

height:120px;

resize:none;

}

.modal button{

width:100%;

padding:15px;

background:#d71920;

border:none;

border-radius:10px;

color:#fff;

font-size:18px;

font-weight:bold;

cursor:pointer;

transition:.3s;

}

.modal button:hover{

background:#071d38;

}
.modal select{
    width:100%;
    padding:15px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:10px;
    font-family:"Cairo",sans-serif;
    font-size:16px;
    background:#fff;
    color:#333;
    cursor:pointer;
    outline:none;
    transition:.3s;
}

.modal select:focus{
    border-color:#d71920;
    box-shadow:0 0 10px rgba(215,25,32,.15);
}
/* Floating Mobile Buttons */

.mobile-contact{
    display:none;
}

@media(max-width:768px){

.mobile-contact{

display:flex;
flex-direction:column;
gap:12px;

position:fixed;

left:18px;
bottom:20px;

z-index:99999;

}

.mobile-contact a{

width:55px;
height:55px;

border-radius:50%;

display:flex;
justify-content:center;
align-items:center;

font-size:24px;

color:#fff;

box-shadow:0 10px 30px rgba(0,0,0,.25);

transition:.3s;

}

.mobile-contact .call{

background:#e31b23;

}

.mobile-contact .whatsapp{

background:#25D366;

}

.mobile-contact a:hover{

transform:scale(1.1);

}

}
/* ===== Mobile Header Final ===== */
@media (max-width:768px){

    .menu-btn{
        display:none !important;
    }

    .nav-links{
        display:none !important;
    }

    .navbar{
        display:flex;
        align-items:center;
        justify-content:space-between;
        width:100%;
        padding:12px 15px;
    }

    /* اللوجو أقصى اليمين */
    .logo{
        order:1;
        margin:0;
    }

    .logo img{
        height:58px !important;
        width:auto !important;
    }

    /* الرقم أقصى الشمال */
    .call-btn{
        order:2;
        margin:0;
    }

    .call-btn a{
        padding:12px 18px;
        font-size:16px;
        border-radius:40px;
    }

}
/* ===== Premium Mobile Design ===== */
@media (max-width:768px){

html{
    font-size:16px;
    scroll-behavior:smooth;
}

body{
    overflow-x:hidden;
}

/* مسافات عامة */
section{
    padding:70px 18px;
}

.container{
    width:100%;
    padding:0 18px;
}

/* Hero */
.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
}

.hero-content{
    text-align:center;
}

.hero-badge{
    font-size:15px;
    padding:12px 22px;
    border-radius:40px;
}

.hero h1{
    font-size:42px;
    line-height:1.3;
    margin:25px 0;
}

.hero p{
    font-size:19px;
    line-height:2;
    opacity:.95;
}

.hero-btns{
    display:flex;
    flex-direction:column;
    gap:16px;
    margin-top:35px;
}

.hero-btns a{
    width:100%;
    padding:18px;
    border-radius:50px;
    font-size:21px;
    font-weight:700;
}

/* العناوين */
.section-title h2{
    font-size:38px;
    margin-bottom:15px;
}

.section-title p{
    font-size:18px;
    line-height:1.9;
}

/* كروت الخدمات */
.services-grid{
    gap:25px;
}

.service-card{
    border-radius:28px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.12);
    transition:.4s;
}

.service-card img{
    height:250px;
    object-fit:cover;
}

.service-card h3{
    font-size:28px;
    margin-top:30px;
}

.service-card p{
    font-size:18px;
    line-height:1.8;
    padding:0 18px 25px;
}

.service-icon{
    width:80px;
    height:80px;
    font-size:30px;
    margin-top:-40px;
}

/* لماذا تختارنا */
.why-content{
    gap:40px;
}

.why-image img{
    border-radius:25px;
}

.why-box{
    padding:22px;
    border-radius:22px;
}

.why-box h3{
    font-size:24px;
}

.why-box p{
    font-size:17px;
}

/* الفورم */
.modal-content{
    width:92%;
    border-radius:25px;
}

.modal-content input,
.modal-content textarea,
.modal-content select{
    font-size:17px;
    padding:16px;
    border-radius:15px;
}

.modal-content button{
    padding:17px;
    font-size:20px;
    border-radius:15px;
}

/* الفوتر */
.footer{
    padding:60px 20px;
}

.footer-grid{
    gap:35px;
}

.footer h3{
    font-size:26px;
}

.footer a,
.footer p{
    font-size:17px;
    line-height:2;
}

/* حركة ناعمة */
.service-card,
.why-box,
.hero-content{
    animation:fadeUp .7s ease both;
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(35px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

}
/* ===== Premium Sticky Navbar ===== */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:9999;
    transition:.35s;
}

header.scrolled{
    background:#fff;
    box-shadow:0 10px 35px rgba(0,0,0,.12);
}

.navbar{
    transition:.35s;
}

header.scrolled .navbar{
    padding:12px 0;
}

/* Active Link */

.nav-links a{
    position:relative;
}

.nav-links a::after{
    content:"";
    position:absolute;
    bottom:-8px;
    right:0;
    width:0;
    height:3px;
    background:#e41d25;
    border-radius:30px;
    transition:.35s;
}

.nav-links a:hover::after,
.nav-links .active::after{
    width:100%;
}
/* ================= Statistics ================= */

.stats{
    margin-top:-60px;
    position:relative;
    z-index:5;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.stat-box{
    text-align:center;
    padding:35px 20px;
    border-left:1px solid #eee;
}

.stat-box:last-child{
    border-left:none;
}

.stat-box i{
    font-size:35px;
    color:#e41d25;
    margin-bottom:15px;
}

.stat-box h2{
    font-size:38px;
    color:#08254d;
    margin-bottom:10px;
}

.stat-box p{
    color:#666;
}


/* ================= Testimonials ================= */

.testimonials{
    padding:90px 0;
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.testimonial-card{

    background:#fff;
    text-align:center;
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.testimonial-card:hover{
    transform:translateY(-10px);
}

.testimonial-card img{

    width:90px;
    height:90px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:15px;
}

.testimonial-card h3{

    color:#08254d;
    margin-bottom:5px;
}

.testimonial-card span{

    color:#888;
    font-size:15px;
}

.testimonial-card p{

    margin-top:20px;
    line-height:1.9;
    color:#555;
}


/* ================= Mobile ================= */

@media(max-width:768px){

.stats-grid{

grid-template-columns:repeat(2,1fr);

}

.testimonial-grid{

grid-template-columns:1fr;

}

.stat-box{

padding:25px;

}

}
.quote{
    color:#e41d25;
    font-size:22px;
    margin-bottom:15px;
}
.stars{
    color:#FFC107;
    margin:12px 0;
    font-size:15px;
}