 

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

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

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f7fb;
    color:#1e293b;
    line-height:1.7;
}

a{
    text-decoration:none;
    color:inherit;
}

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

/* HEADER */

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(12px);
    box-shadow:0 2px 15px rgba(0,0,0,.05);
}

.nav-wrap{
    height:85px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

/* LOGO IMAGE */

.logo{
    display:flex;
    align-items:center;
}

.logo img{
    height:100px;          /* حجم اللوجو */
    width:auto;           /* يحافظ على التناسب */
    object-fit:contain;   /* يمنع التشويه */
    display:block;
    transition:0.3s;
}

/* تأثير hover خفيف */
.logo img:hover{
    transform:scale(1.05);
}
.navbar{
    display:flex;
    gap:30px;
}

.navbar a{
    font-weight:500;
    position:relative;
}

.navbar a::after{
    content:"";
    position:absolute;
    bottom:-6px;
    left:0;
    width:0;
    height:2px;
    background:#2563eb;
    transition:.4s;
}

.navbar a:hover::after,
.navbar .active::after{
    width:100%;
}

.socials{
    display:flex;
    align-items:center;
    gap:15px;
}

.socials i{
    font-size:18px;
    transition:.3s;
    cursor:pointer;
}

.socials i:hover{
    color:#2563eb;
    transform:translateY(-3px);
}

.whatsapp{
    background:#25d366;
    color:#fff;
    padding:12px 20px;
    border-radius:30px;
    font-weight:600;
    transition:.3s;
}

.whatsapp:hover{
    transform:translateY(-3px);
}

.menu-btn{
    display:none;
}

/* HERO */

.hero{
  margin-top:85px;
  min-height:330px;
  background:
    linear-gradient(90deg,rgba(3,22,50,.96),rgba(3,22,50,.84),rgba(3,22,50,.62)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80");
  background-size:cover;
  background-position:center;
  color:#fff;
  display:flex;
  align-items:center;
}

.hero-content{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:40px;
}

.breadcrumb{
  font-size:14px;
  font-weight:700;
  color:#cdd9ec;
  margin-bottom:18px;
}

.breadcrumb span{
  margin:0 10px;
}

.hero h1{
  font-size:62px;
  font-weight:900;
}

.line{
  width:70px;
  height:4px;
  background:#0b6cff;
  border-radius:20px;
  margin:15px 0 25px;
}

.hero p{
  max-width:520px;
  font-size:18px;
  line-height:1.7;
  color:#eaf2ff;
}

.hero-stats{
  display:flex;
  gap:22px;
}

.hero-stat{
  width:220px;
  height:95px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(8px);
  border-radius:14px;
  display:flex;
  align-items:center;
  gap:18px;
  padding:20px;
}

.hero-stat i{
  font-size:34px;
  color:#0b6cff;
}

.hero-stat h3{
  font-size:27px;
}

.hero-stat span{
  font-size:14px;
  color:#d8e5f8;
}

/* FILTERS */

.projects-section{
  padding:42px 0 70px;
}

.filters{
  display:flex;
  gap:22px;
  flex-wrap:wrap;
  margin-bottom:35px;
}

.filter-btn{
  border:none;
  padding:16px 26px;
  border-radius:16px;
  background:#f3f6fb;
  color:#071b35;
  font-weight:700;
  cursor:pointer;
  transition:.3s;
}

.filter-btn i{
  margin-right:8px;
}

.filter-btn.active,
.filter-btn:hover{
  background:#0b6cff;
  color:#fff;
}

/* PROJECT CARDS */

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

.project-card{
  background:#fff;
  border:1px solid #dfe7f3;
  border-radius:14px;
  overflow:hidden;
  opacity:1;
  transform:scale(1);
  transition:opacity .35s ease, transform .35s ease, box-shadow .35s ease;
}

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

.project-card.hide{
  opacity:0;
  transform:scale(.92);
}

.project-card.show{
  opacity:1;
  transform:scale(1);
}

.image-box{
  height:170px;
  position:relative;
  overflow:hidden;
}

.image-box img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.5s;
}

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

.tag{
  position:absolute;
  left:22px;
  bottom:15px;
  padding:8px 14px;
  border-radius:5px;
  color:#fff;
  font-size:13px;
  font-weight:800;
}

.blue{background:#0b6cff;}
.green{background:#14b87a;}
.red{background:#ff3b4f;}
.purple{background:#6545d9;}
.orange{background:#ff8b2b;}
.cyan{background:#169eb7;}

.content{
  padding:22px 26px 25px;
}

.content h3{
  font-size:22px;
  color:#071b35;
  margin-bottom:12px;
}

.content p{
  color:#5e6c82;
  line-height:1.7;
  margin-bottom:18px;
}

.content a{
  color:#0b6cff;
  font-weight:900;
}

.content a i{
  margin-left:10px;
  transition:.3s;
}

.content a:hover i{
  transform:translateX(6px);
}

/* CTA */

.cta{
  margin-top:35px;
  background:linear-gradient(90deg,#041a38,#062f73);
  border-radius:14px;
  padding:35px 45px;
  display:flex;
  align-items:center;
  gap:28px;
  color:#fff;
}

.cta-icon{
  width:75px;
  height:75px;
  background:rgba(255,255,255,.12);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.cta-icon i{
  font-size:34px;
}

.cta h2{
  font-size:24px;
  margin-bottom:8px;
}

.cta p{
  color:#d9e8ff;
}

.cta a{
  margin-left:auto;
  background:#fff;
  color:#071b35;
  padding:17px 38px;
  border-radius:8px;
  font-weight:900;
}















/* FOOTER */

.footer{
    margin-top:100px;
    background:#0f172a;
    color:white;
    padding-top:70px;
}

/* GRID */
.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1.5fr 1.5fr 1.5fr;
    gap:35px;
}

/* TITLES */
.footer h4{
    color:#60a5fa;
    margin-bottom:18px;
    font-size:15px;
    letter-spacing:1px;
}

/* TEXT + LINKS */
.footer a,
.footer p{
    display:block;
    margin-bottom:10px;
    color:#cbd5e1;
    font-size:14px;
    transition:0.3s;
}

.footer a:hover{
    color:#60a5fa;
}

/* LOGO */
.footer-logo img{
    height:60px;
    margin-bottom:15px;
    transition:0.3s;
}

.footer-logo img:hover{
    transform:scale(1.05);
}

/* SOCIAL ICONS */
.footer-social{
    display:flex;
    gap:12px;
    margin-top:15px;
}

.footer-social a{
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:rgba(255,255,255,0.08);
    color:white;
    transition:0.3s;
    font-size:16px;
}

.footer-social a:hover{
    background:#2563eb;
    transform:translateY(-4px);
}

/* CONTACT */
.contact-info p{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-bottom:12px;
    color:#cbd5e1;
    font-size:14px;
    line-height:1.5;
}

.contact-info i{
    color:#60a5fa;
    margin-top:4px;
    min-width:18px;
}

.contact-info a{
    color:#cbd5e1;
    transition:0.3s;
}

.contact-info a:hover{
    color:#60a5fa;
    text-decoration:underline;
}

/* NEWSLETTER */
.newsletter{
    display:flex;
    margin-top:15px;
}

.newsletter input{
    flex:1;
    padding:12px;
    border:none;
    outline:none;
    border-radius:8px 0 0 8px;
}

.newsletter button{
    width:50px;
    border:none;
    background:#2563eb;
    color:white;
    border-radius:0 8px 8px 0;
    cursor:pointer;
}

/* COPYRIGHT */
.copyright{
    border-top:1px solid rgba(255,255,255,0.1);
    margin-top:50px;
    padding:20px 0;
    display:flex;
    justify-content:space-between;
    color:#94a3b8;
    font-size:13px;
}


/* RESPONSIVE */

@media(max-width:992px){
  .navbar,
  .socials{
    display:none;
  }

  .hero-content{
    flex-direction:column;
    align-items:flex-start;
  }

  .hero-stats{
    flex-wrap:wrap;
  }

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

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

  .cta{
    flex-direction:column;
    text-align:center;
  }

  .cta a{
    margin-left:0;
  }
}

@media(max-width:576px){
  .hero h1{
    font-size:42px;
  }

  .hero-stat,
  .filter-btn{
    width:100%;
  }

  .project-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .copyright{
    flex-direction:column;
    gap:10px;
    text-align:center;
  }
}



@media(max-width:992px){
  .menu-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    border:0;
    background:#086df5;
    color:white;
    width:44px;
    height:44px;
    border-radius:12px;
    font-size:20px;
    cursor:pointer;
  }

  .navbar{
    position:fixed;
    top:85px;
    left:0;
    width:100%;
    background:white;
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:15px 7%;
    box-shadow:0 15px 30px rgba(0,0,0,.08);
    transform:translateY(-130%);
    opacity:0;
    pointer-events:none;
    transition:.35s;
    display:flex;
  }

  .navbar.active{
    transform:translateY(0);
    opacity:1;
    pointer-events:auto;
  }

  .navbar a{
    width:100%;
    padding:13px 0;
    border-bottom:1px solid #edf2f7;
  }

  .navbar a::after{
    display:none;
  }

  .socials{
    display:none;
  }
}
/* Mobil menü WhatsApp butonu */
.navbar .nav-wa{display:none;}
@media(max-width:992px){.navbar .nav-wa{display:block;background:#25d366;color:#fff;text-align:center;border-radius:8px;margin-top:12px;border:none !important;padding:13px;}}
