*{
    box-sizing: border-box;
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
img, video {
  max-width: 100%;
  height: auto;
}
body {
  font-family: "Cairo", sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
  direction: rtl;
  font-family: 'Almarai', sans-serif;

    /* الهيدر واللوجو */
}
header.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  backdrop-filter: blur(8px);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  position: relative;
  width: 180px;
  height: 65px;
}
.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s ease;
}
.logo-white {
  opacity: 1;
}
.logo-dark {
  position: absolute;
  inset: 0;
  opacity: 0;
}
header.navbar.scrolled {
  background: rgba(202, 205, 209, 0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  padding: 6px 40px;
}
header.navbar.scrolled .logo-white {
  opacity: 0;
}
header.navbar.scrolled .logo-dark {
  opacity: 1;
}
.navbar a {
  text-decoration: none;   
  color: #fff;             
  font-weight: 500;
  transition: color 0.3s ease;
  margin: 0 10px;
}

header.navbar.scrolled .nav-links a {
  color: #0b2a4a;          
}
.navbar a:hover {
  color: #6ca252;         
  text-decoration: none; 
}
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10001;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}
header.navbar.scrolled .menu-toggle span {
  background: #0b2a4a;
}
.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 42, 74, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9998;
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

body.no-scroll {
  overflow: hidden;
}

/* القسم الأول */

.hero {
  background: #f4f4f4;
  padding: 50px;
}
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 50, 90, 0.50); 
  z-index: 2;
}
.home-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  text-align: center;
  padding: 0 20px;
  z-index: 8;
}
.home-text h1 {
  font-family: 'Almarai', sans-serif;
  font-weight: 800;
  font-size: 50px;
  color: #fff;
  margin: 0;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 2s ease-in-out 2s forwards;
}
.home-text a {
  display: inline-block;
  text-decoration: none;
  background: #6ca252;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 700;
  border: none;
  outline: none;
  transition: background-color 0.3s, transform 0.2s;
}
.home-text a:hover { 
  box-shadow: 0 0 15px #bdbab8;
  transform: scale(1.05);
}
.home-text a:active {
  animation: pulse 0.3s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.about{
    padding:120px 8%;
    background:#f8fafc;
    position:relative;
    overflow:hidden;
}
.about::before{
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    background:#4F46E520;
    top:-120px;
    left:-120px;
    border-radius:50%;
    filter:blur(80px);
}
.about::after{
    content:"";
    position:absolute;
    width:300px;
    height:300px;
    background:#06B6D420;
    bottom:-120px;
    right:-120px;
    border-radius:50%;
    filter:blur(80px);
}
.about .container{
    max-width:1200px;
    margin:auto;
    position:relative;
    z-index:2;
}

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

.about .section-title{
    text-align:center;
    margin-bottom:80px;
}
.about .section-title span{
    color:#24487c;
    font-weight:bold;
    letter-spacing:2px;
    text-transform:uppercase;
}
.about .section-title h2{
    margin:20px 0;
    font-size:42px;
    color:#222;
}
.about .section-title h2 span{
    color:#24487c;
}
.about .section-title p{
    max-width:700px;
    margin:auto;
    color:#666;
    line-height:1.9;
    font-size:18px;
}

/*==========================
     CONTENT
===========================*/

.about-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:80px;
    margin-bottom:100px;
}
.about-text{
    flex:1;
}
.about-text h3{
    font-size:34px;
    color:#222;
    margin-bottom:25px;
}
.about-text p{
    color:#666;
    line-height:2;
    margin-bottom:20px;
}
.about-btn{
    display:inline-block;
    margin-top:15px;
    padding:15px 35px;
    border-radius:50px;
    background:linear-gradient(135deg,#24487c,#78a5e4);
    color:#fff;
    text-decoration:none;
    transition:.4s;
    font-weight:bold;
}
.about-btn:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 35px rgba(79,70,229,.3);
}

/*==========================
      IMAGE
===========================*/

.about-image{
    flex:1;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
}
.about-image::before{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    border-radius:50%;
    background:linear-gradient(135deg,#4F46E510,#06B6D420);
    animation:rotateCircle 15s linear infinite;
}
.about-image img{
     width:600px;
    max-width:none;
    height:auto;
    position:relative;
    z-index:2;
    animation:float 5s ease-in-out infinite;
}

/*==========================
     FLOATING CARDS
===========================*/

.floating-card{
    position:absolute;
    background:#fff;
    padding:18px 28px;
    border-radius:18px;
    box-shadow:0 15px 35px rgba(0,0,0,.1);
    z-index:5;
    animation:floating 4s ease-in-out infinite;
}

.floating-card h3{
    color:#24487c;
    font-size:28px;
    margin-bottom:5px;
}
.floating-card span{
    color:#666;
    font-size:15px;
}
.card-one{
    top:40px;
    left:0;
}
.card-two{
    right:0;
    bottom:40px;
}

/*==========================
      VALUES
===========================*/

.values{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    margin-bottom:100px;
}
.value-card{
    background:rgba(255,255,255,.75);
    backdrop-filter:blur(12px);
    border:1px solid rgba(255,255,255,.4);
    border-radius:22px;
    padding:35px;
    text-align:center;
    transition:.4s;
}
.value-card:hover{
    transform:translateY(-12px);
    box-shadow:0 20px 45px rgba(0,0,0,.12);
}
.value-card .icon{
    width:80px;
    height:80px;
    margin:auto;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg,#24487c,#78a5e4);
    margin-bottom:25px;
}
.value-card .icon i{
    color:#fff;
    font-size:32px;
    transition:.5s;
}
.value-card:hover .icon i{
    transform:rotate(360deg);
}
.value-card h3{
    margin-bottom:15px;
    color:#222;
}
.value-card p{
    color:#666;
    line-height:1.8;
}

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

.why-us{
    text-align:center;
}
.why-title{
    margin-bottom:60px;
}
.why-title h2{
    font-size:38px;
    color:#222;
    margin-bottom:15px;
}
.why-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}
.why-item{
    background:#fff;
    padding:25px;
    border-radius:18px;
    display:flex;
    align-items:center;
    gap:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.35s;
    opacity:0;
    transform:translateX(40px);
}
.why-item.show{
    opacity:1;
    transform:translateX(0);
}
.why-item:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 35px rgba(0,0,0,.15);
}
.why-item i{
    color:#24487c;
    font-size:22px;
}
.why-item span{
    font-size:17px;
    color:#555;
    font-weight:600;
}

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

.section-title,
.about-text,
.about-image,
.value-card{
    opacity:0;
    transform:translateY(50px);
    transition:.8s ease;
}
.section-title.show,
.about-text.show,
.about-image.show,
.value-card.show{
    opacity:1;
    transform:translateY(0);
}

/*======================================
             KEYFRAMES
=======================================*/

@keyframes float{
    0%{
        transform:translateY(0px);
    }
    50%{
        transform:translateY(-18px);
    }
    100%{
        transform:translateY(0px);
    }
}
@keyframes floating{
    0%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-12px);
    }
    100%{
        transform:translateY(0);
    }
}
@keyframes rotateCircle{
    from{
        transform:rotate(0deg);
    }
    to{
        transform:rotate(360deg);
    }
}

/*======================================
            RESPONSIVE
=======================================*/
@media(max-width:992px){
    .about-content{
        flex-direction:column-reverse;
        text-align:center;
    }
    .about-image{
        margin-bottom:40px;
    }
    .about-image img{
        width:340px;
    }
    .about-image::before{
        width:340px;
        height:340px;
    }
}
@media(max-width:768px){
    .about{
        padding:90px 6%;
    }
    .section-title h2{
        font-size:32px;
    }
    .about-text h3{
        font-size:28px;
    }
    .why-title h2{
        font-size:30px;
    }
    .floating-card{
        padding:12px 18px;
    }
    .floating-card h3{
        font-size:22px;
    }
    .floating-card span{
        font-size:13px;
    }
}
@media(max-width:500px){
    .about-image img{
        width:260px;
    }
    .about-image::before{
        width:260px;
        height:260px;
    }
    .card-one{
        top:-10px;
        left:-10px;
    }
    .card-two{
        right:-10px;
        bottom:-10px;
    }
    .why-item{
        padding:20px;
    }
}

/*==========================
     قسم الخدمـــــــــات
===========================*/
.services {
  padding: 40px;
}
.cards {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.card {
  background: white;
  padding: 15px;
  border: 1px solid #ddd;
  width: 200px;
}
.contact form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 300px;
  margin: auto;
}
button {
  background: #6ca252;
  color: white;
  padding: 10px;
  border: none;
  cursor: pointer;
}
.section-two {
  position: relative;
  opacity: 0.1;
}
#services h2 {
   text-align:center;
   font-family: 'Almarai', sans-serif;
   color:#1a3a6a; 
   font-size:34px;    
   margin-bottom:30px;
  font-weight:800; }
.overlay-img {
  position: absolute;
  top: -20px;      
  right: -120px;  
  width: 1250px;
  max-width: none;
  pointer-events: none; 
}
.services {
  overflow: hidden;
}
.services-grid {
  display:grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 50px; 
  gap:28px;
  align-items:start;
}
.services-grid > .service-card {
  min-width: 0;
}
.projects-card > .project-card {
  min-width: 0;
}
.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 20px;
  width: 100%;
  max-width: 300px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  margin: 0 auto;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(26, 58, 106, 0.4);
}
.icon-wrapper {
  position: relative;
  width: 180px; 
  max-width: none;
  height: 150px; 
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible; 
}
.service-card h3 {
  font-family: 'Almarai', sans-serif;
  font-weight: 700;
  color: #1a3a6a;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 15px;
  color: #1a3a6a;
  line-height: 1.6;
}

.service-card:hover img{
      transform:rotate(12deg) scale(1.15);
         transition: transform 1.5s ease;
}

/*====================================
        HOW WE WORK SECTION
====================================*/
.how-work{
    padding:100px 8%;
    background:#f8fafc;
    position:relative;
    overflow:hidden;
}
.how-work::before{
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    background:#4f46e51a;
    border-radius:50%;
    top:-150px;
    left:-150px;
    filter:blur(70px);
}
.how-work::after{
    content:"";
    position:absolute;
    width:300px;
    height:300px;
    background:#06b6d41a;
    border-radius:50%;
    bottom:-120px;
    right:-120px;
    filter:blur(70px);
}
.how-work .container{
    max-width:1200px;
    margin:auto;
    position:relative;
    z-index:2;
}

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

.section-heading{
    text-align:center;
    margin-bottom:80px;
}
.section-subtitle{
    display:inline-block;
    color:#4f46e5;
    font-weight:bold;
    letter-spacing:2px;
    margin-bottom:15px;
}
.section-heading h2{
    font-size:42px;
    color:#222;
    margin-bottom:20px;
}
.section-heading p{
    max-width:700px;
    margin:auto;
    line-height:1.8;
    color:#666;
    font-size:17px;
}

/*==============================
          TIMELINE
===============================*/

.timeline{
    position:relative;
    max-width:850px;
    margin:0 auto 100px;
}
.timeline::before{
    content:"";
    position:absolute;
    left:35px;
    top:0;
    width:4px;
    height:100%;
    background:#d9d9d9;
    border-radius:10px;
}
.timeline-item{
    display:flex;
    align-items:flex-start;
    gap:25px;
    margin-bottom:55px;
    opacity:0;
    transform:translateY(60px);
    transition:all .7s ease;
}
.timeline-item.show{
    opacity:1;
    transform:translateY(0);
}
.timeline-number{
    min-width:70px;
    width:70px;
    height:70px;
    border-radius:50%;
    background:linear-gradient(135deg,#24487c,#6898db);
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:22px;
    font-weight:bold;
    box-shadow:0 10px 25px rgba(79,70,229,.25);
    z-index:2;
}
.timeline-content{
    flex:1;
    background:#fff;
    border-radius:18px;
    padding:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.35s;
}
.timeline-content:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}
.timeline-content h3{
    margin-bottom:12px;
    color:#222;
    font-size:22px;
}
.timeline-content p{
    color:#666;
    line-height:1.8;
}
/*==============================
       RESULTS TITLE
===============================*/

.results-heading{
    text-align:center;
    margin-bottom:60px;
}
.results-heading span{
    color:#4f46e5;
    font-weight:bold;
    letter-spacing:2px;
}
.results-heading h2{
    margin-top:15px;
    font-size:38px;
    color:#222;
}

/*==============================
            STATS
===============================*/

.stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
    gap:30px;
}
.stat-box{
    background:#fff;
    border-radius:20px;
    padding:40px 25px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.35s;
    opacity:0;
    transform:translateY(50px);
}
.stat-box.show{
    opacity:1;
    transform:translateY(0);
}
.stat-box:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}
.stat-box i{
    font-size:45px;
    color:#24487c;
    margin-bottom:20px;
    transition:.4s;
}
.stat-box:hover i{
    transform:rotate(12deg) scale(1.15);
    color:#6d9e4e;
}
.counter{
    font-size:55px;
    font-weight:bold;
    margin-bottom:12px;
    background:linear-gradient(135deg,#24487c,#78a5e4);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
}
.stat-box p{
    color:#666;
    font-size:18px;
    font-weight:600;
}

/*==============================
        COUNTER EFFECT
===============================*/

.counter.done{
    animation:bounce .5s ease;
}
@keyframes bounce{
    0%{
        transform:scale(1);
    }
    50%{
        transform:scale(1.15);
    }
    100%{
        transform:scale(1);
    }
}
/*==============================
        RESPONSIVE
===============================*/
@media(max-width:992px){
    .section-heading h2{
        font-size:36px;
    }
}
@media(max-width:768px){
    .timeline::before{
        left:28px;
    }
    .timeline-number{
        width:55px;
        height:55px;
        min-width:55px;
        font-size:18px;
    }
    .timeline-content{
        padding:20px;
    }
    .section-heading h2{
        font-size:30px;
    }
    .results-heading h2{
        font-size:28px;
    }
    .counter{
        font-size:42px;
    }
}
@media(max-width:500px){
    .timeline-item{
        gap:15px;
    }
    .timeline-content h3{
        font-size:18px;
    }
    .timeline-content p{
        font-size:14px;
    }
}


/*==========================
     كروت المشروعات
===========================*/
.projects{
    max-width: 1400px;
    margin: auto;
    padding: 100px 30px;
}
.projects-card{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}
.card{
    position:relative;
    overflow:hidden;
    border-radius:25px;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
body{
    font-family:'Poppins',sans-serif;
    background:#f6f6f6;
}
.projects .project-card{
    position:relative;
    width:100%;
    height:520px;
    overflow:hidden;
    border-radius:30px;
    background:#fff;
    box-shadow:
    0 20px 60px rgba(0,0,0,.08);
    cursor:pointer;
}

/*==============================*/
.projects .project-image{
    position:absolute;
    inset:0;
}
.project-image .image-slider{
    position:absolute;
    inset:0;
    transform:scale(1.2);
    clip-path: inset(100% 0 0 0);
    transition:
    clip-path .8s cubic-bezier(.19,1,.22,1),
    transform .8s;
}

/* كل صورة داخل السلايدر */
.project-image .slide{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0;
    transition:opacity .9s ease;
}
.project-image .slide.active{
    opacity:1;
}
/* أسهم التقليب */
.projects .slider-arrows{
    position:absolute;
    inset:0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 14px;
    opacity:0;
    pointer-events:none;
    transition:opacity .4s;
    z-index:15;
}
.project-card:hover .slider-arrows{
    opacity:1;
    pointer-events:auto;
}
.slider-arrows button{
    width:38px;
    height:38px;
    border:none;
    border-radius:50%;
    background:rgba(0,0,0,.45);
    color:#fff;
    font-size:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    backdrop-filter:blur(6px);
    transition:.3s;
}
.slider-arrows button:hover{
    background:#22c55e;
}
/*==============================*/

.projects .project-overlay{
    position:absolute;
    inset:0;
    background:
    linear-gradient(
    to top,
    rgba(0,0,0,.88),
    rgba(0,0,0,.25),
    transparent
    );
    opacity:0;
    transition:.5s;
}
/*==============================*/

.projects .project-front{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:25px;
    transition:.7s;
    z-index:5;
}

.brand-logo{
    width:120px;
    transition:.6s;
}

.brand-title{
    font-size:34px;
    color:#222;
    letter-spacing:1px;
    transition:.6s;
}
/*==============================*/
.projects .project-info{
    position:absolute;
    left:35px;
    right:35px;
    bottom:35px;
    color:#fff;
    opacity:0;
    transform:translateY(40px);
    transition:.6s;
    z-index:6;
}
.category{
    display:inline-flex;
    padding:8px 18px;
    border-radius:100px;
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(15px);
    font-size:12px;
    letter-spacing:2px;
}
.project-info h3{
    margin-top:18px;
    font-size:34px;
    line-height:1.1;
}
.project-info p{
    margin:18px 0 35px;
    color:#eee;
    line-height:1.8;
}
.project-info a{
    display:flex;
    justify-content:space-between;
    align-items:center;
    color:#fff;
    text-decoration:none;
    font-weight:600;
}
/*==============================*/
.arrow{
    width:56px;
    height:56px;
    border-radius:50%;
    background:#22c55e;
    display:flex;
    justify-content:center;
    align-items:center;
    transition:.4s;
}
/*==============================*/
/* Hover */
/*==============================*/

.project-card:hover .project-image .image-slider{

    clip-path: inset(0 0 0 0);

    transform:scale(1);

}
.project-card:hover .project-overlay{
    opacity:1;
}
.project-card:hover .project-front{
    justify-content:flex-start;
    align-items:flex-start;
    padding:35px;
}
.project-card:hover .brand-logo{
    width:55px;
}
.project-card:hover .brand-title{
    font-size:18px;
    color:#fff;
}
.project-card:hover .project-info{
    opacity:1;
    transform:translateY(0);
}
.project-card:hover .arrow{
    transform:rotate(45deg);
    scale:1.08;
}
.project-card::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius:30px;
    border:2px solid transparent;
    transition:.4s;
}
.project-card:hover::after{
    border-color:#25D366;
}

/*=============================
Responsive
=============================*/
@media(max-width:768px){
.project-card{
width:100%;
height:520px;
}
.card-content h3{
font-size:28px;
}
}

/*==========================
     فريق العمـــــــل
===========================*/

.team-section {
  padding: 80px 0;
  background: #f4f6f8;
}
.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 28px;
}
.team-card {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 20px;
  overflow: hidden;
  background: #ddd;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.team-card:hover img {
  transform: scale(1.12);
}
.section-title {
  text-align:center;
   font-family: 'Almarai', sans-serif;
   color:#1a3a6a; 
   font-size:34px;    
   margin-bottom:30px;
  font-weight:800; }
.team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
}
.team-overlay h3 {
  margin: 0;
  font-size: 16px;
}
.team-overlay p {
  margin: 4px 0 0;
  font-size: 13px;
  opacity: 0.9;
}
.team-swiper {
  overflow: hidden;
  /* تلاشي خفيف على الأطراف → الكروت بتدخل وتخرج بنعومة */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.team-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
  align-items: stretch;
  will-change: transform;
}

/* عرض ثابت للسلايد لأن slidesPerView = auto */
.team-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  width: 260px;
  height: auto;
  flex-shrink: 0;
}

@media (max-width: 1199px) {
  .team-swiper .swiper-slide { width: 240px; }
}

@media (max-width: 991px) {
  .team-swiper .swiper-slide { width: 220px; }
}

@media (max-width: 575px) {
  .team-swiper .swiper-slide { width: 68vw; max-width: 270px; }
}

/* الأسهم مش ليها لازمة في الحركة المستمرة — امسح الرول دي لو عايزها ترجع */
.team-next,
.team-prev {
  display: none !important;
}
.team-next, .team-prev {
  color: #000;
  background: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.team-next::after, .team-prev::after {
  font-size: 16px;
}



@media (max-width: 767px) {

  .team-section {
    padding: 60px 0;
  }

  .team-card {
    height: 300px;
    border-radius: 16px;
  }

  .team-overlay {
    padding: 12px;
  }

  .team-overlay h3 {
    font-size: 14px;
  }

  .team-overlay p {
    font-size: 11px;
  }

  .team-next,
  .team-prev {
    width: 34px;
    height: 34px;
  }

  .team-next::after,
  .team-prev::after {
    font-size: 13px;
  }

}
/*==================================
            ADS STACK
==================================*/
.ads-stack{
    position: relative;
    height: 300vh;
    width: 100%;
}
.ads-stack-wrapper{
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* الكروت فوق بعض */

.ads-stack-card{
    position: absolute;
    width: min(1400px, 92%);
    height: 550px;
    display: flex;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    transform-origin: center center;
    will-change: transform;
}
.ads-stack-card:nth-child(1){
    z-index:1;
}
.ads-stack-card:nth-child(2){
    z-index:2;
}
.ads-stack-card:nth-child(3){
    z-index:3;
}

/* الصورة */

.ads-stack-image{
    width:70%;
    background:#111;
}
.ads-stack-image img{
    width:100%;
    height:100%;
    object-fit: fill;
    display:block;
}

/* المحتوى */

.ads-stack-content{
    width:30%;
    background:#fff;
    padding:55px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.ads-stack-content span{
    color:#C89B3C;
    font-size:14px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:18px;
}

.ads-stack-content h2{
    font-size:42px;
    margin-bottom:20px;
    color:#111;
}
.ads-stack-content p{
    color:#666;
    line-height:1.9;
    font-size:18px;
}


/* Responsive */
@media(max-width:991px){
.ads-stack-card{
    flex-direction:column;
    height:85vh;
}
.ads-stack-image{
    width:100%;
    height:60%;
}
.ads-stack-content{
    width:100%;
    height:40%;
    padding:30px;
}
.ads-stack-content h2{
    font-size:30px;
}
}

/*==========================
     قسم التواصل
===========================*/
.contact-section {
   padding-top:120px;
   background: linear-gradient(135deg,#dfd9d9,#c4bfbf); }
   #contact-title{
   display: flex;
  color: #1a3a6a;
   font-size:34px;
    margin-bottom:30px;
   font-weight:800;   
   }
.contact-container { 
  width: 90%;
  max-width: 1200px;
  display:flex; 
  gap: 50px;
  margin: auto; 
 flex-wrap:wrap;
  align-items:flex-start;
  flex-direction: row-reverse;
 }
  .contact-info { 
   flex:1;
   min-width:300px;
   text-align: left;      
     direction: ltr;
   align-self: flex-start;
 }
  .contact-info h2{
   text-align: left;
   font-family: 'Almarai', sans-serif;
   color:#1a3a6a; 
   font-size:34px;    
   margin-bottom:30px;
  font-weight:800;
  }
.contact-form { 
    flex:1;
    display:flex; 
    flex-direction:column;
    gap:15px; }
.contact-form input, .contact-form textarea {
    width: 100%;
   padding:15px; 
   border-radius:8px;
    background:#111;
     color:#fff;
      border:none; }
 .contact-form textarea {
        resize: none;
        height: 150px;
}
#contact-btn{
   padding: 15px;
  background: #6ca252;
  color: #ccc;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}
#contactform button:hover{
    transform: translateY(-3px);
      transition: 0.3s;
}
.info-item {
  display: flex;
  align-items: center;
  margin: 15px 0;
  font-size: 18px;
  gap: 10px;
}
.info-item i {
  font-size: 20px;
  color: #6ca252;
}
.social-icons a {
   font-size: 24px;
  transition: 0.3s;
  color: #fff;
  margin: 15px;
}
.social-icons a:hover{
  color: #6ca252;
   transform: scale(1.2);
}
#contactForm input,
#contactForm select,
#contactForm textarea {
  padding: 20px;
  margin: 10px;
  width: 300px;
  display: flex;
  border-radius: 8px;
  border: 1px solid #333;
  background: #131318;
  color: #fff; 
}
#contactForm button {
  background: #6ca252;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap; /* مهم للموبايل */
}
.submit{
  width: 200px;
  margin-left: 60px;
}
.submit:hover{
  transform: scale(1.05);
}
.site-footer {
  color: #6ca252;
  text-align: center;
  padding: 16px 20px;
  font-size: 14px;
}
.site-footer p {
  margin: 0;
  opacity: 0.9;
}
#contact-title{
    font-size: 38px;
  margin-bottom: 20px;
}
.info-item {
  display: flex;
  align-items: flex-end;
    justify-content: flex-start;   
  text-align: left;
  margin: 15px 0;
  font-size: 18px;
  gap: 10px;
}
.info-item i {
  justify-content: flex-end;
  font-size: 20px;
  color: #1a3a6a;
}
.info-item a {
   text-decoration: none;
    color: #070f1b;
    font-size: 20px;
}
.social-icons a {
   font-size: 24px;  
  transition: 0.3s;
  color: #1a3a6a;
  margin: 5px;
  padding: 0 -20px;
}
.social-icons a :hover{
  color: #6ca252;
   transform: scale(1.2);
}
.projectSwiper .swiper-wrapper{
    height:100%;
}
.projectSwiper .swiper-slide{
    height:100%;
}
body {
  font-family: "Cairo", sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
  direction: rtl;
  font-family: 'Almarai', sans-serif;
}
/*==========================
     Responsive
===========================*/

@media (max-width:900px) {
  .menu-toggle { display: flex; }
  .nav-links {
    display: flex !important;
    position: fixed;
    top: 0;
    right: -100%;
    width: min(75%, 300px);
    height: 100vh;
    margin: 0;
    padding: 100px 24px 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    box-shadow: -10px 0 30px rgba(0,0,0,.15);
    transition: right .35s ease;
    z-index: 9999;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links a {
    color: #0b2a4a;
    font-size: 17px;
    margin: 0;
  }
  .navbar { padding:12px 20px; }
  .projects-grid { grid-template-columns: 1fr; }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .service-card {
    width: 100%;
    padding: 24px 14px;
    margin: 0;
  }
  .icon-wrapper {
    width: 110px;
    height: 90px;
  }
  .projects-card {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }
  .projects {
    padding: 60px 16px;
  }
  .projects .project-card {
    height: 300px;
  }
  .marquee-track { animation-duration: 25s; }
}
.site-footer {
   background: linear-gradient(135deg,#dfd9d9,#c4bfbf); 
  color: #0b2a4a;
  text-align: center;
  padding: 16px 20px;
  font-size: 14px;
}
.site-footer p {
  margin: 0;
  opacity: 0.9;
}
/* ===== تابلت ===== */
@media (max-width: 1024px) {
  .nav-container {
    padding: 12px 24px;
  }
  .home-text h1 {
    font-size: 24px;
  }
  .work-card {
    width: 200px;
    height: 380px;
  }
}
/* ===== للموبايل ===== */
@media (max-width: 768px) {
  .nav-container {
    padding: 10px 16px;
  }
  .nav-links {
    gap: 12px;
    font-size: 14px;
  }
  .logo {
    width: 120px;
    height: 44px;
  }
  .logo img {
    width: 100%;
    height: auto;
  }
  .hero {
    height: 100vh;
  }

  .home-text h1 {
    font-size: 20px;
    text-align: center;
  }
  .work-card {
    width: 70vw;
    height: 300px;
  }
}
/* ===== شاشات كبيرة ===== */
@media (min-width: 1400px) {
  .nav-container {
    max-width: 1400px;
  }
  .home-text h1 {
    font-size: 36px;
  }
}

/* ===== موبايل صغير: كروت الخدمات والمشاريع تبقى واضحة (عمود واحد) ===== */
@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .service-card {
    max-width: 340px;
    padding: 30px 18px;
  }
  .icon-wrapper {
    width: 90px;
    height: 80px;
  }
  .projects-card {
    grid-template-columns: 1fr !important;
  }
  .projects .project-card {
    height: 340px;
  }
  .brand-logo {
    width: 90px;
  }
  .brand-title {
    font-size: 24px;
  }
  .projects .project-info {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }
  .project-info h3 {
    font-size: 22px;
  }
  .overlay-img {
    display: none;
  }
}
