/* ===========================
   RESET
=========================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Cairo',sans-serif;
    background:#f5f7fa;
    color:#1f2937;
    overflow-x:hidden;
}

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

a{
    text-decoration:none;
}

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

/* ===========================
   HEADER
=========================== */

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    background:rgba(11,61,145,.95);
    backdrop-filter:blur(10px);
}

.header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:80px;
}

.logo{
    color:#fff;
    font-size:30px;
    font-weight:800;
}

.logo span{
    color:#4fc3f7;
}

.navbar{
    display:flex;
    gap:30px;
}

.navbar a{
    color:#fff;
    font-weight:600;
    transition:.3s;
}

.navbar a:hover{
    color:#4fc3f7;
}

.header-buttons{
    display:flex;
    align-items:center;
    gap:12px;
}

#languageBtn{
    background:#1e88e5;
    color:#fff;
    border:none;
    padding:10px 18px;
    border-radius:30px;
    cursor:pointer;
    font-weight:700;
}

#languageBtn:hover{
    background:#1565c0;
}

#menuBtn{
    display:none;
    border:none;
    background:none;
    color:#fff;
    font-size:26px;
    cursor:pointer;
}

/* ===========================
   HERO
=========================== */

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

.hero-video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
}

.hero-content{
    position:relative;
    z-index:2;
    text-align:center;
    color:#fff;
    width:100%;
    max-width: 850px;
    margin: 0 auto;
    padding-top: 250px;
}

.hero-content h1{
    font-size:58px;
    margin-bottom:300px;
    line-height:1.3;
}

.hero-content p{
    font-size:22px;
    margin-bottom:35px;
}

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

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

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

.primary-btn:hover{
    background:#1565c0;
    transform:translateY(-3px);
}

.secondary-btn{
    background:#fff;
    color:#0b3d91;
}

.secondary-btn:hover{
    transform:translateY(-3px);
}
/*=========================
    SECTION TITLE
==========================*/

section{
    padding:100px 0;
}

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

.section-title h2{
    font-size:42px;
    color:#0B3D91;
    margin-bottom:15px;
    font-weight:800;
}

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

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

.about{
    background:#ffffff;
}

.about-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.about-card{

    background:#fff;

    padding:35px;

    border-radius:20px;

    text-align:center;

    transition:.4s;

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

}

.about-card:hover{

    transform:translateY(-10px);

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

}

.about-card i{

    font-size:55px;

    color:#1E88E5;

    margin-bottom:20px;

}

.about-card h3{

    margin-bottom:15px;

    color:#0B3D91;

    font-size:24px;

}

.about-card p{

    color:#666;

    line-height:1.9;

}

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

.services{

    background:#F5F7FA;

}

.services-grid{

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(260px,1fr));

gap:25px;

}

.service-box{

background:#fff;

padding:35px;

border-radius:18px;

text-align:center;

transition:.35s;

box-shadow:0 8px 25px rgba(0,0,0,.08);

cursor:pointer;

}

.service-box:hover{

transform:translateY(-8px);

background:#0B3D91;

color:#fff;

}

.service-box i{

font-size:48px;

margin-bottom:20px;

color:#1E88E5;

transition:.3s;

}

.service-box:hover i{

color:#fff;

}

.service-box h3{

font-size:23px;

font-weight:700;

}

/*=========================
        ANIMATION
==========================*/

.fade-up{

opacity:0;

transform:translateY(40px);

transition:1s;

}

.fade-up.show{

opacity:1;

transform:translateY(0);

}
/*=========================
        PROJECTS
==========================*/

.projects{
    background:#ffffff;
}

.projects-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}

.project-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(0,0,0,.10);
    transition:.4s;
}

.project-card:hover{
    transform:translateY(-12px);
    box-shadow:0 20px 45px rgba(0,0,0,.18);
}

.project-card img{
    width:100%;
    height:230px;
    object-fit:cover;
    transition:.5s;
}

.project-card:hover img{
    transform:scale(1.08);
}

.project-content{
    padding:25px;
}

.project-content h3{
    color:#0B3D91;
    font-size:28px;
    margin-bottom:15px;
}

.project-content p{
    color:#666;
    line-height:1.8;
    margin-bottom:25px;
    min-height:70px;
}

.project-btn{
    display:inline-block;
    background:#1E88E5;
    color:#fff;
    padding:12px 25px;
    border-radius:40px;
    font-weight:700;
    transition:.3s;
}

.project-btn:hover{
    background:#0B3D91;
    transform:translateY(-3px);
}

/*=========================
      PROJECT IMAGE EFFECT
==========================*/

.project-card{
    position:relative;
}

.project-card::before{

content:"";

position:absolute;

left:0;

top:0;

width:100%;

height:230px;

background:linear-gradient(
180deg,
transparent,
rgba(0,0,0,.18)
);

pointer-events:none;

}

/*=========================
      PROJECT TITLE
==========================*/

.project-content h3::after{

content:"";

display:block;

width:70px;

height:4px;

background:#1E88E5;

margin-top:10px;

border-radius:10px;

}
/*=========================
        CONTACT
==========================*/

.contact{
    background:#f5f7fa;
}

.contact-form{
    max-width:700px;
    margin:auto;
}

.contact-form input,
.contact-form textarea{

    width:100%;

    padding:16px;

    margin-bottom:20px;

    border:1px solid #ddd;

    border-radius:12px;

    font-size:16px;

    font-family:inherit;

    outline:none;

    transition:.3s;

}

.contact-form input:focus,
.contact-form textarea:focus{

    border-color:#1E88E5;

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

}

.contact-form button{

    width:100%;

    border:none;

    cursor:pointer;

}

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

footer{

    background:#0B3D91;

    color:#fff;

    text-align:center;

    padding:40px 20px;

}

footer h3{

    font-size:30px;

    margin-bottom:15px;

}

footer p{

    margin:8px 0;

    opacity:.9;

}

/*=========================
    SCROLL TO TOP
==========================*/

#scrollTop{

    position:fixed;

    right:25px;

    bottom:25px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:#1E88E5;

    color:#fff;

    font-size:22px;

    cursor:pointer;

    display:none;

    z-index:999;

    transition:.3s;

}

#scrollTop:hover{

    background:#0B3D91;

    transform:translateY(-5px);

}

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

@media(max-width:992px){

.hero-content h1{

font-size:42px;

}

.hero-content p{

font-size:18px;

}

.navbar{

position:fixed;

top:80px;

right:-100%;

width:280px;

height:calc(100vh - 80px);

background:#0B3D91;

display:flex;

flex-direction:column;

padding:30px;

gap:20px;

transition:.4s;

}

.navbar.active{

right:0;

}

#menuBtn{

display:block;

}

}

@media(max-width:768px){

.hero{

height:90vh;

}

.hero-content h1{

font-size:34px;

}

.hero-content p{

font-size:17px;

}

.hero-buttons{
display: flex;
flex-direction:column;
align-items:center;
justify-content: center;
    gap: 15px;

}
.primary-btn,
.secondary-btn{
width:220px;
text-align:center;
margin: 0 auto;

}

.section-title h2{

font-size:32px;

}

.projects-grid,
.about-grid,
.services-grid{

grid-template-columns:1fr;

}

}

@media(max-width:480px){

.header .container{

height:70px;

}

.logo{

font-size:24px;

}

.hero-content h1{

font-size:28px;

}

.hero-content p{

font-size:15px;

}

section{

padding:70px 0;

}

}