:root{
  --primary:#0B4F97;
  --accent:#C5E064;
  --text:#1f2937;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',system-ui;
  background:#f4f7fb;
  color:var(--text);
}

html[lang="ar"] body{
  font-family:'Cairo',sans-serif;
  direction:rtl;
  text-align:right;
}

html[lang="en"] body{
  font-family:'Inter',sans-serif;
  direction:ltr;
  text-align:left;
}

.container{
  width:95%;
  margin:auto;
}

/* NAVBAR */

.navbar{
  background:rgba(4,27,77,.85);
  backdrop-filter:blur(12px);
  position:fixed;
  width:100%;
  top:0;
  z-index:1000;
  animation:slideDown .6s ease;
}

.nav-content{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 0;
}

.logo,
.nav-actions,
.contact-btn{
  display:flex;
  align-items:center;
}

.logo{
  gap:10px;
  margin-left:-25px;
}

.logo-img{
  width:100px;
  height:75px;
  object-fit:contain;
}

.logo-text{
  margin-left:-30px;
}

.logo-text h3{
  font-size:18px;
  color:#fff;
  margin:0;
}

.logo-text p{
  font-size:12px;
  color:#d6d6d6;
  margin-top:3px;
}

/* NAV LINKS */

nav{
  display:flex;
  gap:28px;
  align-items:center;
}

nav a{
  position:relative;
  color:#fff;
  text-decoration:none;
  font-size:20px;
  font-weight:600;
  letter-spacing:.5px;
  text-transform:uppercase;
  opacity:.75;
  transition:.3s ease;
}

nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0%;
  height:2px;
  background:var(--accent);
  transition:.3s ease;
}

nav a:hover{
  opacity:1;
  transform:translateY(-1px);
}

nav a:hover::after{
  width:100%;
}


/* ACTIONS */

.nav-actions{
  gap:16px;
}

.nav-actions button,
.lang-btn,
.contact-btn{
  transition:all .3s ease;
  position:relative;
}


/* LANGUAGE */

.lang-btn{
  gap:6px;
  padding:8px 14px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border-radius:999px;
  color:#fff;
  font-size:13px;
  font-weight:500;
  cursor:pointer;
}

.lang-btn i{
  font-size:12px;
  color:#fff;
}

.lang-btn:hover{
  background:rgba(255,255,255,.15);
  transform:translateY(-2px);
}


/* WHATSAPP */

.contact-btn{
  gap:8px;
  padding:8px 16px;
  background:linear-gradient(135deg,#25D366,#128C7E);
  color:white;
  text-decoration:none;
  border-radius:999px;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  direction:ltr;
  animation:whatsappPulse 1.5s infinite;
}

.contact-btn i{
  font-size:16px;
  display:flex;
  justify-content:center;
}

.contact-btn:hover{
  transform:translateY(-2px);
  filter:brightness(1.05);
  animation:none;
}


.nav-actions button:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(0,0,0,.25);
}


/* MENU */

.menu-btn{
  display:none;
  font-size:22px;
  background:transparent;
  color:white;
  border:none;
  cursor:pointer;
  padding:6px 10px;
  border-radius:8px;
  transition:.3s ease;
}

.menu-btn.active{
  transform:rotate(90deg) scale(1.1);
  color:var(--accent);
}

.menu-btn:hover{
  background:rgba(255,255,255,.1);
}


/* ANIMATION */

@keyframes whatsappPulse{
  0%{
    box-shadow:0 0 0 0 rgba(37,211,102,.7);
  }

  50%{
    box-shadow:0 0 0 15px rgba(37,211,102,0);
  }

  100%{
    box-shadow:0 0 0 0 rgba(37,211,102,0);
  }
}


/* HERO */

.hero{
  position:relative;
  height:100vh;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-bg{
  position:absolute;
  inset:0;
}

.hero-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  background:#041B4D;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(4,27,77,.65);
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:900px;
  padding:20px;
  text-align:center;
}

.hero-text{
  animation:fadeLeft 1s ease-out;
}

.hero h1{
  font-size:60px;
  line-height:1.1;
  color:#fff;
}

.hero-text h1 
span[data-i18n="companyName"]{
    color:#85A344;
}

.hero-text h1 span:first-child{
    margin-bottom:40px;
    display:inline-block;
}


@keyframes fadeLeft{
  from{
    opacity:0;
    transform:translateX(-40px);
  }

  to{
    opacity:1;
    transform:translateX(0);
  }
}

/* BUTTONS */

.buttons{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  margin-top:40px;
}

.btn-outline{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px 18px;
  background:transparent;
  border:1px solid rgba(255,255,255,.35);
  color:#fff;
  font-size:14px;
  font-weight:500;
  border-radius:999px;
  cursor:pointer;
  transition:.25s ease;
  text-decoration:none;
}

.btn-outline:hover{
  background:rgba(255,255,255,.10);
  transform:translateY(-2px);
}


/* ABOUT SHOWCASE */

.about-showcase{
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:60px 20px 120px;
  background:#f4f7fb;
}

.about-title{
  text-align:center;
  font-size:48px;
  color:#041B4D;
  font-weight:700;
  margin-bottom:50px;
}


/* MAIN BLOCK */

.about-item{
  max-width:1200px;
  margin:0 auto 120px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:center;
  animation:aboutFade 1s ease;
}

.about-item.reverse .about-image{
  order:2;
}


/* IMAGE */

.about-image{
  height:520px;
  overflow:hidden;
  border-radius:30px;
  position:relative;
  box-shadow:0 25px 60px rgba(0,0,0,.15);
}

.about-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.6s ease;
}

.about-image:hover img{
  transform:scale(1.08);
}

.about-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent,rgba(4,27,77,.25));
}


/* TEXT */

.about-content span{
  display:inline-block;
  padding:8px 18px;
  background:#0B4F97;
  color:white;
  border-radius:50px;
  font-size:13px;
  margin-bottom:20px;
}

.about-content h2{
  font-size:46px;
  line-height:1.2;
  color:#041B4D;
  font-weight:700;
  margin-bottom:25px;
}

.about-content p{
  color:#6b7280;
  font-size:17px;
  line-height:1.8;
  max-width:520px;
  margin-bottom:30px;
}


/* STATS */

.about-stats{
  display:flex;
  flex-wrap:wrap;
  gap:40px;
  margin-top:20px;
  margin-bottom:80px;
}

.stat-item{
  min-width:150px;
  text-align:center;
}

.stat-item h3{
  font-size:45px;
  color:#0B4F97;
  font-weight:800;
  margin-bottom:8px;
}

.stat-item p{
  font-size:16px;
  color:#6b7280;
  margin:0;
}


/* ANIMATION */

@keyframes aboutFade{
  from{
    opacity:0;
    transform:translateY(40px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* WHY CHOOSE US */

.why-section{
  padding:100px 20px;
  background:#fff;
}


/* GRID */

.why-grid{
  max-width:1200px;
  margin:50px auto 0;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:25px;
  align-items:start;
}


/* CARD */

.why-card{
  background:#f4f7fb;
  border-radius:22px;
  padding:30px;
  border:1px solid #e5e7eb;
  transition:.3s ease;
}

.why-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(11,79,151,.12);
}


/* TITLE */

.why-title{
  display:flex;
  align-items:center;
  gap:18px;
  cursor:pointer;
  min-height:70px;
}

.why-title i{
  width:55px;
  height:55px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0B4F97;
  color:#fff;
  border-radius:50%;
  font-size:22px;
}

.why-title h3{
  flex:1;
  height:56px;
  display:flex;
  align-items:center;
  line-height:1.4;
  margin:0;
}

.why-title span{
  font-size:30px;
  color:#0B4F97;
  font-weight:600;
}


/* CONTENT */

.why-content{
  max-height:0;
  overflow:hidden;
  opacity:0;
  transition:.4s ease;
}

.why-content.show{
  max-height:150px;
  opacity:1;
  margin-top:20px;
}



/* CONTACT */

.contact{
  padding:100px 20px;
  background:linear-gradient(180deg,#f4f7fb,#fff);
}


form{
  max-width:400px;
  margin:auto;
  display:flex;
  flex-direction:column;
  gap:18px;
}


.section-header{
  text-align:center;
  max-width:800px;
  margin:0 auto 60px;
  transform:translateY(-30px);
}

.section-header h2{
  font-size:48px;
  color:#041B4D;
  font-weight:700;
  margin-bottom:15px;
}


/* INPUTS */

.contact-container input,
.contact-container textarea{
  width:100%;
  padding:16px 18px;
  background:#fff;
  color:#1f2937;
  border:2px solid #e5e7eb;
  border-radius:14px;
  font-size:15px;
  font-weight:500;
  outline:none;
  transition:.3s ease;
}


.contact-container input::placeholder,
.contact-container textarea::placeholder{
  color:#9ca3af;
}


.contact-container input:focus,
.contact-container textarea:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 5px rgba(11,79,151,.12);
  transform:translateY(-2px);
}


.contact-container textarea{
  min-height:170px;
  resize:none;
}


/* SEND BUTTON */

.form-btn{
  width:100%;
  padding:15px 30px;
  margin-top:15px;
  background:linear-gradient(135deg,#0B4F97,#041B4D);
  color:#fff;
  font-family:inherit;
  font-size:16px;
  font-weight:600;
  border:none;
  border-radius:999px;
  cursor:pointer;
  transition:.3s ease;
  animation:sendPulse 1.8s infinite;
}


.form-btn:hover{
  transform:translateY(-3px);
  filter:brightness(1.1);
  animation:none;
}


@keyframes sendPulse{
  0%{
    box-shadow:0 0 0 0 rgba(11,79,151,.7);
  }

  50%{
    box-shadow:0 0 0 15px rgba(11,79,151,0);
  }

  100%{
    box-shadow:0 0 0 0 rgba(11,79,151,0);
  }
}

/* FOOTER */

.footer{
  background:#041B4D;
  color:white;
  padding:70px 8% 25px;
}

.footer-container{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1.3fr;
  gap:50px;
}


/* TITLES */

.footer-box h3{
  color:#85A344;
  font-size:18px;
  margin-bottom:25px;
  display:flex;
  align-items:center;
  gap:10px;
}

.footer-box h3 i{
  font-size:16px;
}


/* COMPANY */

.footer-brand{
  display:flex;
  align-items:center;
  gap:15px;
}

.footer-brand img{
  width:70px;
  height:70px;
  object-fit:contain;
}

.footer-brand h3{
  color:white;
  margin:0;
  font-size:17px;
}

.footer-brand p{
  color:#85A344;
  font-size:11px;
  margin-top:3px;
}


.footer-description{
  margin-top:25px;
  max-width:300px;
  color:#cbd5e1;
  font-size:14px;
  line-height:1.8;
}


/* LINKS */

.footer-box a{
  display:flex;
  align-items:center;
  gap:12px;
  color:white;
  text-decoration:none;
  margin-bottom:15px;
  font-size:14px;
  transition:.3s;
}

.footer-box a i{
  color:#85A344;
  width:18px;
}

.footer-box a:hover{
  color:#85A344;
  transform:translateX(5px);
}


/* CONTACT */

.contact-line{
  display:flex;
  align-items:flex-start;
  gap:15px;
  margin-bottom:18px;
  font-size:14px;
  line-height:1.7;
}

.contact-line i{
  color:#85A344;
  font-size:17px;
  width:20px;
}

.contact-line div{
  text-align:left;
}


.contact-line .fa-whatsapp{
  color:#25D366;
}


/* FOOTER BOTTOM */

.footer-bottom{
  margin-top:50px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.2);
  text-align:center;
  font-size:14px;
  color:#cbd5e1;
}


/* RTL */

html[dir="rtl"] .contact-line div{
 text-align:right;
}

html[dir="rtl"] .footer-box a:hover{
 transform:translateX(-5px);
}


/* TITLE ANIMATION */

.pulse-title{
  display:inline-block;
  animation:titleScale 2.5s infinite;
}

@keyframes titleScale{
  0%,100%{
    transform:scale(1);
  }

  50%{
    transform:scale(1.05);
  }
}

/* RESPONSIVE */
@media (max-width:900px){

/* =========================
   ABOUT
========================= */

.about-title{
    position:relative;
    top:0;
    margin-bottom:20px;
}

.about-item{
    grid-template-columns:1fr;
    gap:35px;
    margin-bottom:80px;
}

.about-item.reverse .about-image{
    order:0;
}

.about-image{
    height:350px;
}

.about-image img{
    transition:transform .8s ease;
}

.about-image.active img{
    transform:scale(1.08);
}

.about-content{
    text-align:center;
}

.about-content h2{
    font-size:34px;
}

.about-content p{
    margin:auto;
}

.about-stats{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:50px;
    flex-wrap:wrap;
    margin:0 0 80px;
}

.stat-item h3{
    font-size:50px;
}

.stat-item p{
    font-size:16px;
}

.why-grid{
    grid-template-columns:1fr;
}

.why-title h3{
    font-size:17px;
}

/* =========================
   FOOTER
========================= */

.footer{
    padding:60px 20px 25px;
}

.footer-container{
    grid-template-columns:1fr;
    gap:40px;
    text-align:center;
}

.footer-brand{
    justify-content:center;
}

.footer-description{
    margin:20px auto;
}

.footer-box h3{
    justify-content:center;
}

.footer-box a{
    justify-content:center;
}

.contact-line{
    justify-content:center;
}

.footer-bottom{
    margin-top:40px;
}

/* =========================
   MOBILE HEADER
========================= */

.nav-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 12px;
}

/* إزالة الهوامش القديمة */
.logo{
    display:flex;
    align-items:center;
    gap:6px;
    margin:0 !important;
    flex-shrink:1;
}

.logo-text{
    margin:0 !important;
    min-width:0;
    line-height:1.1;
}

.logo-img{
    width:60px;
    height:45px;
}

.logo-text h3{
    font-size:12px;
    margin:0;
    white-space:nowrap;
}

.logo-text p{
    font-size:8px;
    margin-top:2px;
    white-space:nowrap;
}

/* =========================
   NAVIGATION
========================= */

nav{
    display:none;
}

nav.active{
    display:flex;
    flex-direction:column;
    position:absolute;
    top:75px;
    right:15px;
    width:220px;
    background:rgba(4,27,77,.95);
    padding:20px;
    border-radius:15px;
    box-shadow:0 20px 40px rgba(0,0,0,.3);
    z-index:9999;
}

html[dir="rtl"] nav.active{
    right:auto;
    left:15px;
}

/* =========================
   ACTION BUTTONS
========================= */

.nav-actions{
    display:flex;
    align-items:center;
    gap:6px;
    margin:0;
    flex-shrink:0;
}

.lang-btn{
    padding:6px 8px;
    font-size:11px;
}

.contact-btn{
    width:30px;
    height:30px;
    padding:0;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:8px;
    overflow:hidden;
}

.contact-btn span{
    display:none;
}

.contact-btn i{
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:17px !important;
    color:#fff;
    line-height:1;
}

/* =========================
   MENU BUTTON
========================= */

.menu-btn{
    display:block;
    font-size:20px;
    padding:5px;
    background:none;
    border:none;
    color:#fff;
}

/* =========================
   HERO
========================= */

.hero h1{
    font-size:35px;
}

.hero-content{
    text-align:center;
}

.hero-image img{
    max-width:90%;
}

}

