/* Hero Section with Custom Color Palette */
:root {
  --primary-blue: #1a3b66;     /* Navy Blue - Primary Brand Color */
  --secondary-orange: #f4ad4b; /* Orange/Gold - Secondary/Accent Color */
  --cream: #fef8f0;           /* Cream - Light Background */
  --light-grey: #e0e0e0;      /* Light Grey - Secondary Background */
}





/* خدماتنا - تحسين متقدم */

/* تنسيق مخصص لبطاقات الخدمات */
.icon-box {
    background-color: #fef8f0;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(26, 59, 102, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(26, 59, 102, 0.2);
    background-color: #ffffff;
}

.icon-box .icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
    background-color: #f4ad4b;
    padding: 10px;
    border-radius: 50%;
}

.icon-box .title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #1a3b66;
    margin-bottom: 10px;
}

.icon-box p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}



.section {
 
  
  background-image: url('../images/hero-bg.png'); 
  background-size: cover; 
  background-position: center;
  background-repeat: no-repeat; 
  background-color: rgba(224, 224, 224, 0.9); 
  background-blend-mode: overlay;
  
}


 

/* خدماتنا - نهايه */
.whyus {
  background-image: url('../images/FAV-1.jpg'); 
  background-size: cover; 
  background-position: 20% center; /* ← هذه السطر هو التعديل */
  background-repeat: no-repeat; 
  background-color: rgba(224, 224, 224, 0.9); 
  background-blend-mode: overlay;
}



/* Logo switching styles - تحسين متقدم */
.header {
    transition: all 0.5s;
    z-index: 997;
    height: 90px;
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
}

.header.sticked {
    background: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .logo {
    position: relative;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

/* تحسين عرض صور الشعار */
.header .logo img {
   max-width: 200px;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* الشعار الأول يظهر افتراضيًا، والثاني مخفي تمامًا */
.header .primary-logo {
    opacity: 1;
    visibility: visible;
    position: relative; /* هذا مهم للتأكد من ظهوره بالشكل الصحيح */
}

.header .secondary-logo {
    opacity: 0;
    visibility: hidden;
    position: absolute; /* للتأكد من عدم تأثيره على تنسيق الصفحة عند الإخفاء */
}

/* عند التمرير، تبديل الشعارات بوضوح */
.header.sticked .primary-logo {
    opacity: 0;
    visibility: hidden;
}

.header.sticked .secondary-logo {
    opacity: 1;
    visibility: visible;
}

/* جعل حاوية الشعار ذات أبعاد ثابتة لمنع أي قفزات في التصميم */
.header .logo {
    height: 70px;
    width: 200px; /* تعديل هذا العرض حسب حجم الشعار الخاص بك */
}

/* تحسينات للأجهزة المحمولة */
@media (max-width: 768px) {
    .logo .logo {
        height: 50px;
        width: 150px;
    }
    
    .logo .logo img {
        max-height: 100px;
        max-width: 150px;
    }
}









.hero {
  width: 100%;
  position: relative;
  background: url(../images/hero-bg.png) center center;
  background-size: cover;
  padding: 120px 0 60px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
  z-index: 0;
  background: linear-gradient(135deg, 
    rgba(26, 59, 102, 0.95) 0%, 
    rgba(26, 59, 102, 0.85) 60%, 
    rgba(244, 173, 75, 0.5) 100%);
}

.hero .dark-bg {
  background-color: rgba(26, 59, 102, 0.7);
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  border-left: 4px solid #f4ad4b;
  border-bottom: 1px solid rgba(254, 248, 240, 0.1);
  border-right: 1px solid rgba(254, 248, 240, 0.1);
  border-top: 1px solid rgba(254, 248, 240, 0.1);
}

.hero h2 {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 42px;
  line-height: 1.3;
  margin-bottom: 28px;
  color: #fef8f0;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero span {
  color: #f4ad4b;
  font-weight: 800;
}

.hero .circle {
  color: #f4ad4b;
  font-size: 48px;
  position: relative;
  top: -5px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.hero p {
  color: #e0e0e0;
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 30px;
  font-weight: 400;
  max-width: 90%;
}

.hero .social {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.hero .social a {
  color: #fef8f0;
  background-color: rgba(244, 173, 75, 0.15);
  transition: all 0.3s ease;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 173, 75, 0.3);
}

.hero .social a:hover {
  transform: translateY(-5px);
  background-color: #f4ad4b;
  border-color: #f4ad4b;
  color: #1a3b66;
}

.hero .social i {
  font-size: 18px;
}

.btn-get-started {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  transition: all 0.4s ease;
  color: #1a3b66;
  background: linear-gradient(45deg, #f4ad4b, #f4c06b);
  box-shadow: 0 4px 15px rgba(244, 173, 75, 0.4);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-get-started:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(45deg, #f4c06b, #f4ad4b);
  transition: all 0.4s ease;
  z-index: -1;
  border-radius: 50px;
}

.btn-get-started:hover {
  color: #1a3b66;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(244, 173, 75, 0.6);
}

.btn-get-started:hover:before {
  width: 100%;
}

/* Alternative button style for second button */
.btn-get-started.alt {
  background: transparent;
  color: #f4ad4b;
  border: 2px solid #f4ad4b;
  box-shadow: none;
}

.btn-get-started.alt:before {
  background: #f4ad4b;
}

.btn-get-started.alt:hover {
  color: #1a3b66;
  box-shadow: 0 8px 20px rgba(244, 173, 75, 0.3);
}

.mr-20 {
  margin-right: 20px !important;
}

/* Beautiful particle effect enhancement */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Custom particle colors for your palette */
.particles-js-canvas-el {
  --particle-color: #f4ad4b;
  --line-color: rgba(254, 248, 240, 0.2);
}

/* Additional decorative element */
.hero:after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 173, 75, 0.3) 0%, rgba(244, 173, 75, 0) 70%);
  z-index: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero {
    padding: 100px 0 40px;
  }
  
  .hero h2 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .hero .dark-bg {
    padding: 40px 30px;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 80px 0 40px;
    text-align: center;
  }
  
  .hero h2 {
    font-size: 28px;
  }
  
  .hero p {
    font-size: 15px;
    margin: 0 auto 25px;
  }
  
  .hero .dark-bg {
    padding: 30px 20px;
    border-left: none;
    border-top: 4px solid #f4ad4b;
  }
  
  .hero .social,
  .hero .d-flex.justify-content-start {
    justify-content: center !important;
  }
  
  .hero .social {
    margin: 0 auto 25px;
  }
  
  .btn-get-started {
    padding: 12px 25px;
    font-size: 14px;
  }
}