/* ===========================
   Yemen Connection
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Cairo',sans-serif;
    background:#f5f7fa;
    color:#333;
    direction:rtl;
    line-height:1.8;
}

/* Header */

header{
    width:100%;
    background:#0B4EA2;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 8%;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 3px 10px rgba(0,0,0,.15);
}

.logo img{
    width:180px;
}

nav ul{
    display:flex;
    list-style:none;
    gap:30px;
}

nav ul li a{
    color:#fff;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

nav ul li a:hover{
    color:#F7941D;
}

/* Hero */

.hero{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:80px 8%;
    background:linear-gradient(135deg,#052B63,#0B4EA2);
    color:#fff;
}

.hero-text{
    width:50%;
}

.hero-text h1{
    font-size:56px;
    margin-bottom:10px;
}

.hero-text h2{
    font-size:30px;
    margin-bottom:20px;
}

.hero-text p{
    font-size:20px;
    margin-bottom:30px;
}

.hero-image{
    width:45%;
}

.hero-image img{
    width:100%;
    animation:float 4s ease-in-out infinite;
}

@keyframes float{

0%{transform:translateY(0);}
50%{transform:translateY(-15px);}
100%{transform:translateY(0);}

}

/* Button */

.btn{
    display:inline-block;
    background:#F7941D;
    color:#fff;
    padding:15px 35px;
    border-radius:40px;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-3px);
    background:#ff8800;
}

/* Sections */

section{
    padding:70px 8%;
}

section h2{
    text-align:center;
    font-size:38px;
    color:#0B4EA2;
    margin-bottom:40px;
}

/* About */

#about p{
    max-width:900px;
    margin:auto;
    text-align:center;
    font-size:20px;
}

/* Services */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.card{
    background:#fff;
    padding:35px;
    text-align:center;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.4s;
}

.card:hover{
    transform:translateY(-8px);
}

.card h3{
    margin:15px 0;
    color:#0B4EA2;
}

/* Prices */

.price-box{
    display:flex;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap;
}

.price-box div{
    background:#0B4EA2;
    color:#fff;
    width:250px;
    padding:40px;
    border-radius:20px;
    text-align:center;
    transition:.3s;
}

.price-box div:hover{
    background:#F7941D;
}

.price-box h3{
    font-size:45px;
}

/* Contact */

#contact{
    background:#052B63;
    color:#fff;
}

#contact h2{
    color:#fff;
}

.phones{
    text-align:center;
    font-size:22px;
    margin-bottom:25px;
}

.facebook{
    display:block;
    width:220px;
    margin:auto;
    text-align:center;
    background:#F7941D;
    color:#fff;
    text-decoration:none;
    padding:15px;
    border-radius:40px;
    font-weight:bold;
}

/* Footer */

footer{
    background:#001b44;
    color:#fff;
    text-align:center;
    padding:20px;
}

/* Responsive */

@media(max-width:992px){

header{
    flex-direction:column;
    gap:20px;
}

nav ul{
    flex-wrap:wrap;
    justify-content:center;
}

.hero{
    flex-direction:column-reverse;
    text-align:center;
}

.hero-text,
.hero-image{
    width:100%;
}

.hero-text h1{
    font-size:40px;
}

.hero-text h2{
    font-size:24px;
}

.hero-image{
    margin-bottom:40px;
}

}
.contact-form{
    max-width:700px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-form input,
.contact-form textarea{

    width:100%;
    padding:15px;

    border:1px solid #ddd;

    border-radius:10px;

    font-family:'Cairo',sans-serif;

    font-size:16px;

    outline:none;

}

.contact-form input:focus,
.contact-form textarea:focus{

    border-color:#0B4EA2;

}

.contact-form button{

    border:none;
    cursor:pointer;

}
.hidden{
    opacity:0;
    transform:translateY(50px);
    transition:all .8s ease;
}

.show{
    opacity:1;
    transform:translateY(0);
}