* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body, html {
  font-family: 'Tajawal', Arial, sans-serif;
}



body {
  background: #c7ddee;
  color: #2c2c2c;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: #c7ddee;
  position: fixed;      /* يجعل الشريط ثابت */
  top: 0;               /* يلزقه بأعلى الصفحة */
  width: 100%;          /* يعرضه بعرض الصفحة */
  z-index: 999;         /* يخليه فوق كل العناصر */
}



.logo img {
  width: 50px;   /* العرض اللي تبيه */
     /* يخلي الارتفاع يتناسب مع العرض */
  /* أو تحدد ارتفاع ثابت إذا تبي */
  /* height: 60px; */
  object-fit: contain; /* يحافظ على تناسق الصورة */
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #2c2c2c;
  font-weight: 600;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* زر القائمة (الهامبرغر) */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #2c2c2c;
  cursor: pointer;
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    padding: 20px;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    display: none; /* يتم إظهاره عند الضغط على القائمة */
    gap: 15px;
    margin-top: 20px;
    background-color: #c7ddee;
    padding: 20px;
    border-radius: 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  
}




/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px;
}

.hero-text {
  max-width: 45%;
}

.hero-text h1 {
  font-size: 48px;
  line-height: 1.2;
}

.hero-text h1 span {
  color: #2c1d12;
}

.hero-text p {
  margin: 20px 0;
  font-size: 16px;
  color: #555;
}

.hero-btn {
  padding: 12px 24px;
  background-color: #2c1d12;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.hero-image img {
  height: 700px;
  width: 700px;

  
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 100px 20px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .hero-btn {
    font-size: 14px;
    padding: 10px 20px;
  }

  .hero-image img {
    width:400px;
    height: 400px;
    
    margin-top: 30px;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 13px;
  }

  .hero-btn {
    font-size: 13px;
    padding: 8px 16px;
  }
}

.why-qader {
  padding: 60px 20px;
  background-color: #fff;
}


.home-values-grid {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  perspective: 1000px;
  align-items: flex-start;
}

.home-card {
  background-color: #c7ddee;
  padding: 2rem;
  width: 380px;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
  position: relative;
  z-index: 1;
  will-change: transform;
}

.home-card:hover {
  transform: scale(1.05);
  background-color: #a2bbcc;
  z-index: 2;
}

.home-card .card-paragraph {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  margin-top: 0;
}

.home-card:hover .card-paragraph {
  max-height: 200px;
  opacity: 1;
  margin-top: 1rem;
}

.home-card h2 {
  font-size: 24px;
  color: #333;
  font-weight: bold;
}

.home-card .home-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
}

.home-card p {
  font-size: 17px;
  color: #333;
  transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
  .home-card {
    width: 100%;
  }

  .about-us-core-description {
    margin-left: 0;
    width: 100%;
    text-align: left;
  }
}
.home-card-number {
  font-size: 48px;
  color: #333;
  font-weight: 800;
  margin-bottom: 1rem;
}
/* ======= عن قادر - about-qader (تم تعديلها لتكون عادية مع أنيميشن Fade In) ======= */
.about-qader {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 80px 10%;
    background-image: url('../assets/about-us.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  min-height: 400px;
  overflow: hidden;
  gap: 50px;
  border-radius: 20px;
  animation: fadeIn 1.8s ease forwards;
}

.about-qader::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background: rgba(255, 255, 255, 0.3); /* لون فاتح مع شفافية */
  backdrop-filter: blur(5px); /* تأثير الضبابية */
  -webkit-backdrop-filter: blur(8px); /* دعم سفاري */
  z-index: 0;
}

.about-qader > * {
  position: relative;
  z-index: 1;
}

.about-left {
  flex: 1;
  padding-right: 50px;
  animation: fadeInLeft 1.8s ease forwards;
}

.about-left h2 {
  font-size: 40px;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 700;
}

.about-left span {
  color: #ffffff;
}

.about-sub {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 30px;
}

.about-right {
  flex: 2;
  font-size: 22px;
  line-height: 1.8;
  color: #ffffff;
  animation: fadeInRight 1.8s ease forwards;
}

.about-paragraph {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.read-more-btn-inline {
  display: inline-block;
  font-size: 14px;
  padding: 8px 16px;
  background-color: #2c1d12;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  margin-left: 10px;
  white-space: nowrap;
}

.read-more-btn-inline:hover {
  background-color: #4a391e;
}

@media (max-width: 768px) {
  .about-qader {
    flex-direction: column;
    padding: 40px 20px;
  }

  .about-left {
    padding-right: 0;
    margin-bottom: 20px;
  }

  .about-paragraph {
    font-size: 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  .read-more-btn-inline {
    margin-left: 0;
    margin-top: 10px;
  }
}
.vision-mission-card {
  display: flex;
  background-color: #ffffff; /* لون سماوي فاتح للخلفية */
  border-radius: 20px;
  padding: 30px 40px;
  color: #1a4f72; /* لون سماوي غامق للنص */
  max-width: 900px;
  margin: 40px auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  font-family: 'Tajawal', sans-serif;
}

.mission, .vision {
  flex: 1;
  padding: 0 20px;
}



.divider {
  width: 2px;
  background-color: #7fb3d5; /* لون السماوي للفاصل */
  margin: 0 15px;
}

.vision-mission-card h3 {
  margin-bottom: 15px;
  font-size: 26px;
  font-weight: 700;
}

.vision-mission-card p {
  font-size: 18px;
  line-height: 1.6;
}
/* أنيميشن دخول الهيدر (الشريط العلوي) */
@keyframes slideDownFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar {
  animation: slideDownFadeIn 1s ease forwards;
}
/* أنيميشن انزلاق من اليمين مع ظهور تدريجي للنص */
@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* أنيميشن انزلاق من اليسار مع ظهور تدريجي للصورة */
@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-text {
  animation: slideInFromRight 1s ease forwards;
}

.hero-image img {
  animation: slideInFromLeft 1s ease forwards;
}
/* أنيميشن رفع وظهور تدريجي */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* نطبق على كل كرت */
.home-card {
  opacity: 0;  /* نبدأ مخفي */
  animation-name: fadeInUp;
  animation-duration: 0.8s;
  animation-fill-mode: forwards; /* يبقى في الحالة النهائية */
  animation-timing-function: ease-out;
}

/* تأخيرات مختلفة لكل كرت */
.home-card:nth-child(1) {
  animation-delay: 0.2s;
}

.home-card:nth-child(2) {
  animation-delay: 0.6s;
}
.privacy-preview {
  padding: 60px 20px;
 
  text-align: center;
}

.privacy-box {
  max-width: 700px;
  margin: auto;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.privacy-box h2 {
  font-size: 28px;
  color: #266d9c;
  margin-bottom: 15px;
}

.privacy-box p {
  color: #444;
  font-size: 18px;
  margin-bottom: 20px;
}

#show-full-policy, #hide-policy {
  background-color: #266d9c;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}

#show-full-terms, #hide-terms {
  background-color: #266d9c;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}


.full-policy-card {
  display: none;
  margin: 30px auto;
  max-width: 900px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 40px;
  text-align: right;
  direction: rtl;
}

.full-policy-card h3 {
  color: #266d9c;
  font-size: 24px;
  margin-bottom: 15px;
}

.full-policy-card p {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
}
.contact-section {
 
  padding: 60px 20px;
  text-align: center;
  border-top: 2px solid #ddd;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Tajawal', sans-serif;
}

.contact-title {
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: bold;
}

.contact-subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  color: #555;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 18px;
  color: #333;
}

.contact-item a {
  color: #1e88e5;
  text-decoration: none;
  margin-right: 5px;
}

.contact-item a:hover {
  text-decoration: underline;
}


.footer {
  background-color: #1e2a38;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: 'Tajawal', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo img {
  width: 120px;
  margin-bottom: 10px;
}

.footer-logo p {
  font-size: 14px;
  color: #ddd;
}

.footer-links, .footer-contact {
  min-width: 200px;
}

.footer-links h4, .footer-contact h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #00bcd4;
}

.footer-contact p {
  margin: 6px 0;
  font-size: 15px;
}

.footer-contact a {
  color: #ddd;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #00bcd4;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 14px;
  color: #aaa;
  margin-top: 30px;
}
