/*==========================
ROYAL HEALTH
==========================*/

*{
margin:0;
padding:0;
box-sizing:border-box;
scroll-behavior:smooth;
}

body{
font-family:'Cairo',sans-serif;
background:#f7fbff;
color:#222;
overflow-x:hidden;
}

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

a{
text-decoration:none;
}

ul{
list-style:none;
}

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

/* Scroll */

::-webkit-scrollbar{
width:10px;
}

::-webkit-scrollbar-thumb{
background:#0B3A7E;
border-radius:50px;
}

::-webkit-scrollbar-track{
background:#edf4ff;
}

/* Loader */

.loader{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:white;
display:flex;
justify-content:center;
align-items:center;
z-index:99999;
transition:.5s;
}

.loader.hide{
opacity:0;
visibility:hidden;
}

.spinner{
width:70px;
height:70px;
border:6px solid #ddd;
border-top:6px solid #00b7ff;
border-radius:50%;
animation:spin 1s linear infinite;
}

@keyframes spin{

100%{
transform:rotate(360deg);
}

}

/* Header */

header{

position:fixed;
top:0;
right:0;
width:100%;
z-index:999;
background:rgba(255,255,255,.95);
backdrop-filter:blur(15px);
box-shadow:0 5px 20px rgba(0,0,0,.05);

}

header .container{

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

}

.logo img{

height:60px;

}

nav ul{

display:flex;
gap:35px;

}

nav a{

color:#0B3A7E;
font-weight:700;
transition:.3s;

}

nav a:hover{

color:#00B8D9;

}

.call-btn{

background:#0B3A7E;
color:white;
padding:14px 26px;
border-radius:50px;
font-weight:700;
transition:.4s;

}

.call-btn:hover{

background:#00B8D9;
transform:translateY(-4px);

}

.menu{

display:none;
font-size:30px;
cursor:pointer;

}

/* Hero */

.hero{

height:100vh;
display:flex;
align-items:center;
position:relative;
overflow:hidden;
background:

linear-gradient(rgba(8,30,80,.75),rgba(8,30,80,.75)),

url(images/hero-bg.jpg) center/cover;

}

.overlay{

position:absolute;
inset:0;
background:linear-gradient(90deg,#0B3A7Eee,#0b3a7e99);

}

.hero-content{

position:relative;
display:grid;
grid-template-columns:1fr 1fr;
align-items:center;
gap:60px;
z-index:2;

}

.hero-text h1{

font-size:62px;
line-height:1.3;
color:#fff;
margin:20px 0;

}

.hero-text p{

font-size:20px;
line-height:2;
color:#edf5ff;
margin-bottom:35px;

}

.badge{

display:inline-flex;
align-items:center;
gap:10px;
padding:10px 22px;
background:#00B8D9;
color:#fff;
border-radius:50px;
font-weight:700;

}

.hero-buttons{

display:flex;
gap:20px;
margin-bottom:35px;

}

.btn-primary{

background:#00B8D9;
color:#fff;
padding:16px 34px;
border-radius:50px;
font-weight:700;
transition:.4s;

}

.btn-primary:hover{

transform:translateY(-6px);
box-shadow:0 15px 40px rgba(0,184,217,.4);

}

.btn-outline{

border:2px solid white;
padding:16px 34px;
border-radius:50px;
color:white;
font-weight:700;
transition:.4s;

}

.btn-outline:hover{

background:white;
color:#0B3A7E;

}

.phones{

display:flex;
gap:30px;
color:white;
font-weight:700;
margin-top:25px;
flex-wrap:wrap;

}

.hero-image img{

width:100%;
animation:float 4s ease-in-out infinite;

}

@keyframes float{

50%{

transform:translateY(-18px);

}

}
/*==========================
ABOUT
==========================*/

.about{
padding:120px 0;
background:#fff;
}

.about .container{
display:grid;
grid-template-columns:1fr 1fr;
gap:70px;
align-items:center;
}

.about-image{
position:relative;
}

.about-image img{
width:100%;
border-radius:30px;
box-shadow:0 25px 60px rgba(0,0,0,.12);
transition:.5s;
}

.about-image:hover img{
transform:scale(1.03);
}

.section-tag{
display:inline-block;
background:#e8f8ff;
color:#00B8D9;
padding:10px 22px;
border-radius:50px;
font-size:15px;
font-weight:700;
margin-bottom:20px;
}

.about-content h2{
font-size:45px;
color:#0B3A7E;
margin-bottom:25px;
}

.about-content p{
font-size:18px;
line-height:2;
color:#666;
margin-bottom:35px;
}

.about-boxes{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:25px;
}

.about-box{
background:#fff;
padding:30px;
border-radius:20px;
text-align:center;
transition:.4s;
box-shadow:0 10px 35px rgba(0,0,0,.08);
border:1px solid rgba(0,184,217,.08);
}

.about-box:hover{
background:#0B3A7E;
transform:translateY(-12px);
}

.about-box i{
font-size:45px;
color:#00B8D9;
margin-bottom:18px;
}

.about-box:hover i{
color:#fff;
}

.about-box h4{
font-size:22px;
margin-bottom:12px;
color:#0B3A7E;
}

.about-box:hover h4{
color:#fff;
}

.about-box p{
margin:0;
font-size:15px;
line-height:1.8;
color:#777;
}

.about-box:hover p{
color:#e5f5ff;
}

/*==========================
SECTION TITLE
==========================*/

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

.section-title span{
display:inline-block;
padding:10px 22px;
background:#eaf9ff;
color:#00B8D9;
border-radius:50px;
font-weight:700;
margin-bottom:18px;
}

.section-title h2{
font-size:45px;
color:#0B3A7E;
margin-bottom:15px;
}

.section-title p{
max-width:700px;
margin:auto;
font-size:18px;
line-height:2;
color:#666;
}

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

.services{
padding:120px 0;
background:#f5fbff;
}

.services-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

.service-card{
background:#fff;
padding:45px 35px;
border-radius:25px;
text-align:center;
transition:.45s;
box-shadow:0 15px 45px rgba(0,0,0,.07);
position:relative;
overflow:hidden;
}

.service-card::before{
content:"";
position:absolute;
top:-120px;
left:-120px;
width:250px;
height:250px;
background:#00B8D9;
border-radius:50%;
opacity:.08;
transition:.5s;
}

.service-card:hover::before{
transform:scale(4);
opacity:.12;
}

.service-card:hover{
transform:translateY(-15px);
box-shadow:0 25px 60px rgba(0,0,0,.12);
}

.service-card i{
font-size:60px;
color:#00B8D9;
margin-bottom:25px;
transition:.4s;
position:relative;
z-index:2;
}

.service-card:hover i{
transform:rotate(8deg) scale(1.15);
color:#0B3A7E;
}

.service-card h3{
font-size:27px;
margin-bottom:18px;
color:#0B3A7E;
position:relative;
z-index:2;
}

.service-card p{
font-size:17px;
line-height:2;
color:#666;
position:relative;
z-index:2;
}

.service-card:hover h3{
color:#00B8D9;
}
/*==========================
WHY US
==========================*/

.why-us{
padding:120px 0;
background:#ffffff;
}

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

.why-card{
background:#fff;
padding:40px 30px;
border-radius:22px;
text-align:center;
box-shadow:0 15px 40px rgba(0,0,0,.08);
transition:.4s;
border:1px solid #eef5ff;
}

.why-card:hover{
transform:translateY(-12px);
background:#0B3A7E;
}

.why-card i{
font-size:55px;
color:#00B8D9;
margin-bottom:20px;
transition:.4s;
}

.why-card:hover i{
color:#fff;
transform:scale(1.1);
}

.why-card h3{
font-size:24px;
margin-bottom:15px;
color:#0B3A7E;
}

.why-card:hover h3{
color:#fff;
}

.why-card p{
line-height:1.9;
color:#666;
}

.why-card:hover p{
color:#dceeff;
}

/*==========================
BOOKING STEPS
==========================*/

.steps{
padding:120px 0;
background:#f7fbff;
}

.steps-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

.step{
background:#fff;
padding:40px 30px;
border-radius:25px;
text-align:center;
position:relative;
box-shadow:0 15px 35px rgba(0,0,0,.08);
transition:.4s;
}

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

.number{
position:absolute;
top:-18px;
right:25px;
width:45px;
height:45px;
border-radius:50%;
background:#00B8D9;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
font-weight:800;
font-size:18px;
}

.step i{
font-size:60px;
color:#0B3A7E;
margin:20px 0;
}

.step h3{
font-size:24px;
margin-bottom:15px;
color:#0B3A7E;
}

.step p{
color:#666;
line-height:1.9;
}

/*==========================
STATISTICS
==========================*/

.stats{
padding:100px 0;
background:linear-gradient(rgba(11,58,126,.92),rgba(11,58,126,.92)),
url(images/stats-bg.jpg) center/cover fixed;
}

.stats-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:30px;
}

.stat{
text-align:center;
color:#fff;
padding:40px 20px;
}

.stat h2{
font-size:60px;
font-weight:800;
margin-bottom:15px;
color:#00D4FF;
}

.stat p{
font-size:20px;
font-weight:600;
}
/*==========================
GALLERY
==========================*/

.gallery{
padding:120px 0;
background:#fff;
}

.gallery-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:25px;
}

.gallery-item{
overflow:hidden;
border-radius:25px;
box-shadow:0 15px 40px rgba(0,0,0,.08);
cursor:pointer;
}

.gallery-item img{
width:100%;
height:320px;
object-fit:cover;
transition:.6s;
}

.gallery-item:hover img{
transform:scale(1.12) rotate(2deg);
}

/*==========================
TESTIMONIALS
==========================*/

.testimonials{
padding:120px 0;
background:#f7fbff;
}

.testimonial-slider{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
gap:30px;
}

.testimonial{
background:#fff;
padding:40px;
border-radius:25px;
box-shadow:0 20px 45px rgba(0,0,0,.08);
transition:.4s;
position:relative;
}

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

.testimonial i{
font-size:40px;
color:#00B8D9;
margin-bottom:20px;
}

.testimonial p{
line-height:2;
color:#666;
margin-bottom:25px;
}

.testimonial h4{
font-size:22px;
color:#0B3A7E;
margin-bottom:15px;
}

.stars{
display:flex;
gap:6px;
color:#FFD700;
font-size:18px;
}

/*==========================
FAQ
==========================*/

.faq{
padding:120px 0;
background:#fff;
}

.faq-item{
background:#fff;
border-radius:18px;
margin-bottom:20px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.07);
}

.faq-question{
width:100%;
padding:22px 30px;
border:none;
background:#fff;
font-size:20px;
font-weight:700;
display:flex;
justify-content:space-between;
align-items:center;
cursor:pointer;
color:#0B3A7E;
transition:.3s;
}

.faq-question:hover{
background:#0B3A7E;
color:#fff;
}

.faq-answer{
display:none;
padding:25px 30px;
background:#f8fcff;
line-height:2;
color:#666;
}

.faq-item.active .faq-answer{
display:block;
}

.faq-item.active .faq-question{
background:#0B3A7E;
color:#fff;
}
/*==========================
CONTACT
==========================*/

.contact{
padding:120px 0;
background:#f7fbff;
}

.contact-wrapper{
display:grid;
grid-template-columns:1fr 1fr;
gap:50px;
align-items:start;
}

.contact-info{
display:flex;
flex-direction:column;
gap:25px;
}

.info-card{
display:flex;
align-items:center;
gap:20px;
background:#fff;
padding:25px;
border-radius:20px;
box-shadow:0 10px 35px rgba(0,0,0,.08);
transition:.4s;
}

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

.info-card i{
width:70px;
height:70px;
background:#00B8D9;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
font-size:28px;
}

.info-card h4{
color:#0B3A7E;
margin-bottom:8px;
font-size:22px;
}

.info-card p{
color:#666;
line-height:1.8;
}

.contact-form{
background:#fff;
padding:40px;
border-radius:25px;
box-shadow:0 20px 45px rgba(0,0,0,.08);
}

.contact-form input,
.contact-form select,
.contact-form textarea{
width:100%;
padding:18px;
margin-bottom:20px;
border:1px solid #ddd;
border-radius:12px;
font-family:Cairo,sans-serif;
font-size:16px;
outline:none;
transition:.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
border-color:#00B8D9;
box-shadow:0 0 10px rgba(0,184,217,.2);
}

.contact-form button{
width:100%;
padding:18px;
background:#0B3A7E;
color:#fff;
border:none;
border-radius:50px;
font-size:18px;
font-weight:700;
cursor:pointer;
transition:.3s;
}

.contact-form button:hover{
background:#00B8D9;
}

/*==========================
FOOTER
==========================*/

footer{
background:#071d45;
color:#fff;
padding:80px 0 30px;
}

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

.footer-logo{
width:180px;
margin-bottom:20px;
}

footer h3{
margin-bottom:20px;
font-size:24px;
}

footer p,
footer li{
margin-bottom:12px;
color:#d7e8ff;
line-height:1.8;
}

footer a{
color:#d7e8ff;
transition:.3s;
}

footer a:hover{
color:#00B8D9;
padding-right:8px;
}

.copyright{
border-top:1px solid rgba(255,255,255,.15);
padding-top:20px;
text-align:center;
color:#c7d9f7;
}

/*==========================
FLOATING BUTTONS
==========================*/

.floating-whatsapp,
.floating-call,
.scroll-top{
position:fixed;
width:60px;
height:60px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
color:#fff;
font-size:24px;
box-shadow:0 15px 35px rgba(0,0,0,.2);
z-index:999;
transition:.3s;
}

.floating-whatsapp{
left:25px;
bottom:25px;
background:#25D366;
}

.floating-call{
left:25px;
bottom:100px;
background:#0B3A7E;
}

.scroll-top{
right:25px;
bottom:25px;
background:#00B8D9;
border:none;
cursor:pointer;
}

.floating-whatsapp:hover,
.floating-call:hover,
.scroll-top:hover{
transform:scale(1.1);
}

/*==========================
RESPONSIVE
==========================*/

@media(max-width:991px){

.hero-content,
.about .container,
.contact-wrapper{
grid-template-columns:1fr;
text-align:center;
}

.hero{
height:auto;
padding:150px 0 80px;
}

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

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

.phones{
justify-content:center;
}

.footer-grid{
grid-template-columns:1fr;
text-align:center;
}

.about-boxes{
grid-template-columns:1fr;
}

nav{
display:none;
}

.menu{
display:block;
font-size:32px;
color:#0B3A7E;
}

header .container{
height:80px;
}

}

@media(max-width:768px){

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

.about-content h2{
font-size:32px;
}

.hero-text h1{
font-size:34px;
}

.hero-text p{
font-size:17px;
}

.service-card,
.why-card,
.step,
.testimonial{
padding:30px 20px;
}

.gallery-item img{
height:240px;
}

.contact-form{
padding:25px;
}

.floating-whatsapp,
.floating-call,
.scroll-top{
width:55px;
height:55px;
font-size:22px;
}

}
/* ===== Contact Fix ===== */

.contact{
    padding:100px 0;
    background:#f7fbff;
}

.contact-wrapper{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:420px 1fr;
    gap:40px;
    align-items:start;
}

.contact-info{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.info-card{
    background:#fff;
    border-radius:20px;
    padding:25px;
    display:flex;
    align-items:center;
    gap:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.contact-form{
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.contact-form input,
.contact-form select,
.contact-form textarea{
    width:100%;
    padding:16px;
    margin-bottom:18px;
    border:1px solid #ddd;
    border-radius:12px;
    font-family:Cairo,sans-serif;
}

.contact-form button{
    width:100%;
    padding:18px;
    border:none;
    border-radius:50px;
    background:#0B3A7E;
    color:#fff;
    font-size:18px;
    cursor:pointer;
    transition:.3s;
}

.contact-form button:hover{
    background:#00B8D9;
}

@media(max-width:991px){

.contact-wrapper{
grid-template-columns:1fr;
}

}
/* ===== Contact Layout Fix ===== */

.contact-wrapper{
    display:block !important;
    max-width:1200px;
    margin:auto;
}

.contact-info{
    display:grid !important;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    margin-bottom:40px;
}

.info-card{
    background:#fff;
    border-radius:20px;
    padding:30px 20px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.info-card i{
    width:70px;
    height:70px;
    border-radius:50%;
    background:#0B3A7E;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:28px;
    margin-bottom:15px;
}

.contact-form{
    width:100%;
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

@media(max-width:992px){

.contact-info{
grid-template-columns:1fr;
}

}
/* ===== Hero Fix ===== */

header{
    height:90px;
}

.hero{
    min-height:100vh;
    padding-top:90px; /* نفس ارتفاع الناف بار */
    display:flex;
    align-items:center;
}

.hero-content{
    padding-top:40px;
}

.hero-text h1{
    margin-top:20px;
    line-height:1.25;
}
.gallery-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

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

.gallery-item i{
font-size:60px;
color:#00B8D9;
margin-bottom:20px;
}

.gallery-item h3{
font-size:24px;
color:#0B3A7E;
margin-bottom:15px;
}

.gallery-item p{
color:#666;
line-height:1.8;
}

.gallery-item:hover{
transform:translateY(-10px);
background:#0B3A7E;
}

.gallery-item:hover i,
.gallery-item:hover h3,
.gallery-item:hover p{
color:#fff;
}
/* ===== Mobile Hero Fix ===== */

@media (max-width:768px){

.hero{
    min-height:auto;
    padding:110px 20px 60px;
}

.hero-content{
    display:flex !important;
    flex-direction:column !important;
    align-items:center;
    gap:30px;
}

.hero-image{
    order:1;
    width:100%;
    text-align:center;
}

.hero-image img{
    width:100%;
    max-width:360px;
    height:auto;
    display:block;
    margin:auto;
    border-radius:20px;
}

.hero-text{
    order:2;
    width:100%;
    text-align:center;
}

.hero-text h1{
    font-size:34px;
    line-height:1.3;
    margin:20px 0;
}

.hero-text p{
    font-size:16px;
    line-height:1.9;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
}

.phones{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
}

}
/* ===============================
PREMIUM ANIMATIONS
==================================*/

.hero-text,
.hero-image,
.service-card,
.about-box,
.why-card,
.step,
.gallery-item,
.testimonial,
.info-card,
.stat{

opacity:0;
transform:translateY(60px);
animation:fadeUp .9s ease forwards;

}

.hero-image{
animation-delay:.2s;
}

.hero-text{
animation-delay:.5s;
}

.service-card:nth-child(1){animation-delay:.1s;}
.service-card:nth-child(2){animation-delay:.2s;}
.service-card:nth-child(3){animation-delay:.3s;}
.service-card:nth-child(4){animation-delay:.4s;}
.service-card:nth-child(5){animation-delay:.5s;}
.service-card:nth-child(6){animation-delay:.6s;}
.service-card:nth-child(7){animation-delay:.7s;}
.service-card:nth-child(8){animation-delay:.8s;}

@keyframes fadeUp{

0%{
opacity:0;
transform:translateY(60px);
}

100%{
opacity:1;
transform:translateY(0);
}

}

/* Hover احترافي */

.service-card,
.about-box,
.why-card,
.step,
.gallery-item,
.testimonial{

transition:.45s cubic-bezier(.2,.8,.2,1);

}

.service-card:hover,
.about-box:hover,
.why-card:hover,
.step:hover,
.gallery-item:hover,
.testimonial:hover{

transform:translateY(-15px) scale(1.03);
box-shadow:0 30px 70px rgba(0,0,0,.18);

}

/* Glow */

.btn-primary,
.call-btn{

position:relative;
overflow:hidden;

}

.btn-primary::before,
.call-btn::before{

content:"";
position:absolute;
top:0;
left:-120%;
width:80%;
height:100%;
background:rgba(255,255,255,.35);
transform:skewX(-25deg);
transition:.8s;

}

.btn-primary:hover::before,
.call-btn:hover::before{

left:130%;

}

/* Navbar */

header{

transition:.35s;

}

header.sticky{

background:#fff;
box-shadow:0 15px 45px rgba(0,0,0,.12);

}

/* صورة الهيرو */

.hero-image img{

transition:.7s;

}

.hero-image:hover img{

transform:scale(1.05) rotate(-1deg);

}