body {
  /* background-color: #f5f3f3; */
  background-color: #eae7e7;
  margin: 0;
  font-family: Arial, sans-serif;

}


/* Header */
.header {
  /* background:#fdfbfb; */
border-bottom-left-radius:30PX ;
border-bottom-right-radius: 30px;
   /* width: 80%; */
margin: auto;
margin-top: 0px;
position:sticky;
top: 0;
z-index: 3000;
}

/* Top Nav */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;

}
/* sersh */

#carsContainer{
    width: 90%;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 25px;
}

.car-card{
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
    transition: .3s;
}

.car-card:hover{
    transform: translateY(-8px);
}

.car-card img{
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.car-info{
    padding: 18px;
}

.car-info h2{
    font-size: 22px;
    margin-bottom: 10px;
}

.car-info h3{
    color: #0066ff;
    margin-bottom: 20px;
}

.buttons{
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.call-btn,
.whatsapp-btn{
    flex: 1;
    text-decoration: none;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    transition: .3s;
}

.call-btn{
    background: #007bff;
}

.whatsapp-btn{
    background: #25d366;
}

.call-btn:hover,
.whatsapp-btn:hover{
    opacity: .8;
}

.details-btn{
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    background: #ece7e7;
    color: white;
    padding: 14px;
    border-radius: 10px;
    font-weight: bold;
    transition: .3s;
}

.details-btn:hover{
    background: #0066ff;
}
/* Logo */
.logo img {
  width: 120px;

  cursor: pointer;

}

 .search-box {
  position: relative;
  max-width:500px;
  min-width: 250px;
  margin: auto;
}

.search-box input {
  width: 100%;
  padding: 10px 35px 10px 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
    max-width:500px;
  min-width: 250px;
  background-color: #0066ff;
  color: #f6f2f2;
}

.search-box i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: gray;
  cursor: pointer;
}


/* Auth */
.auth button {
  margin-left: 8px;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}


.login {
  margin-left: 50px;
  color: #fff;
  border-radius: 5px;
  padding: 10px 20px;
  display: inline-block; /* ضروري عشان التكبير يشتغل صح */
  border: none;
  cursor: pointer;
  font-size: x-large;

  /* اسم الأنيميشن | المدة | نوع الحركة | التكرار | الاتجاه */
  animation: growAndColor 3s ease-in-out infinite alternate;
}

@keyframes growAndColor {
  0% {
    background-color: #1e3a8a; /* البداية */
    transform: scale(1);       /* الحجم الطبيعي */
  }
  100% {
    background-color: #3498db; /* اللون النهائي (مثلاً أزرق) */
    transform: scale(1.25);    /* التكبير بنسب2  1.25% */
  }
}

.login i{
  margin-left: 5px;
  color: white;
}

  .account {
    margin-right: 40px;
  color: rgb(255, 252, 252);
  border-radius: 5px;
  padding: 10px 20px;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  font-size: x-large;
  
  /* تفعيل الأنيميشن */
  animation: pulse-effect 3s ease-in-out infinite alternate;
}

@keyframes pulse-effect {
  0% {
    background-color:#061130;
    transform: scale(1);
  }
  100% {
    background-color: #565759; /* اللون اللي هينتهي عنده */
    transform: scale(1.25);    /* هيكبر بنسبة 10% */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* تأثير ظل خفيف */
  }
}



/* Bottom Nav */





.bottom-nav {
  text-align: center;
  width: 100%;
  height: 70px;
    background-color: #121111; /* خلفية غامقة فخمة */
    color: #000;
    display: flex;
   padding-top: 0px;
   padding-bottom: 20px;
    flex-direction: row;
    margin: auto;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border-radius: 10px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    border-bottom: 2px solid rgb(201, 195, 195);
}

.bottom-nav a {
    flex-direction: row;
   justify-content: center;
  align-items: center;
  box-sizing: border-box;
  text-decoration: none;
   padding-top: 40px;
    flex: 1; /* ده اللي بيخلي كل سكشن يتفرد ويملأ المساحة المتاحة بالتساوي */
    text-align: center; /* توسيط النص جوه المربع */
    font-size: 20px;
    font-weight: 500;
    padding: 15px 25px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    flex-wrap: wrap;
    color: #f6f1f1;

}




.bottom-nav a:hover {

    background-color: #09acec;
    border-radius: 10px;
    height: 70px;
}

.bottom-nav a i{
  color: rgb(19, 152, 185);
}
.bottom-nav a:active {
    background-color: #007bff;
    color: white;
}
/* 1. تعريف حركة الدوران */
@keyframes spinLogo {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 2. حالة اللوجو العادية */
.loading-logo {
    display: inline-block;
    transition: transform 0.5s ease; /* عشان الحركة تكون ناعمة في البداية والنهاية */
    cursor: pointer;
}

/* 3. الحالة عند عمل Hover */
.loading-logo:hover {
    /* بنشغل الأنيميشن هنا */
    animation: spinLogo 1s linear ;
}







/* زر القائمة */
.menu-btn{
  position: fixed;
  top: 15px;
  right: 15px;
  font-size: 24px;
  background: #a5a3a3;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 2000;
  display: none;
}



/* Sidebar */
.sidebar{
  position: fixed;
  top: 0;

  right: -400px;
  width: 250px;
  height: 100vh;
   overflow-y: auto;
  background: #111;
  color: white;
  padding: 20px;
  transition: 0.4s ease;
  z-index: 1500;
}

/* فتح */
.sidebar.active{
  right: 0;
}
/* Overlay */


/* تظهر فقط في الموبايل */

/* عند الشاشات الصغيرة */
@media (max-width: 1350px) {
 
  /* إظهار زر القائمة */

  .menu-btn {
    display: block;
  }
  .auth{
    display: none;
  }

  /* إخفاء bottom nav */
  .bottom-nav {
    display: none;
    width: 100%;

  }
  
    /* .login {
    display: none;

  } */
    /* .account {
    display: none;

  } */
}

/* عند الشاشات الكبيرة */
@media (min-width: 1600px) {

  /* إخفاء زر القائمة */
  .menu-btn {
    display: none;
  }

  /* إظهار bottom nav */
  .bottom-nav {
    display: block;
  }
}
/* Header */
.sidebar-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  margin-bottom: 20px;
}

.sidebar-header span{
  cursor: pointer;
  font-size: 22px;
}

/* Links */
.sidebar a{
  display: block;
  padding: 12px;
  margin: 8px 0;
  color: #fbf9f9;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  transition: 0.3s;
  position: relative;

}

/* Hover احترافي */
.sidebar a:hover{
  background: #3bd5ff;
  color: #fff;
  transform: translateX(-5px);
  box-shadow: 0 5px 15px rgba(255,59,59,0.3);
}

hr{
  border: 2px;
  height: 1px;
  background: #f8f5f5;
  margin: 15px 0;
}
.sidebar {
  right: -320px;
  background-color: #5a5e60;
  transition: 0.4s ease;
   border-left: #000;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.sidebar.active {
  right: 0;
}





.pnrimg{
  width: 100%;
  border-radius: 10px;
  margin-bottom: 0px;
}

#search{
  margin: auto;
  width: 80%;
  height: 30vh;
  border: solid 2px #9e9b9b;
  background:#232121;
  border-radius: 5px;
}
/*========================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}



.section-title {
    margin-right: 5%;
    margin-bottom: 20px;
    font-size: 22px;
    color: #333;

}
.car-slider-section{
  margin-top: 0%;
  background-color: #fff;
  border-radius: 20px;

  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border: #bbb solid 2px;
}
.car-slider-section h2{
  width: 100%;
  height: 30px;
  background-color: #fff;

  padding-top: 10px;
  
}
.car-slider-section p{
  margin-right: 70px;
  color: #9e9b9b;

}
h2 .fa-solid{
  color: #111;
  font-size: x-large;

  height: 50px;
}

/* الحاوية الرئيسية للسلايدر */
.carousel-container {
    position: relative;
    width: 95%;
    margin: 0 auto;
    display: flex;
    background-color: #fcfbfb;
    align-items: center;
}

/* حاوية الكروت - Flexbox */
.cars-wrapper {
    display: flex;
    gap: 20px;
   background-color: #000;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 15px 5px;
    scrollbar-width: none; /* Firefox */
}

.cars-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
    background-color: #000;
}

/* تصميم الكرت الواحد */
.card {
    min-width: 300px; /* عرض ثابت لكل كرت */
    background: #fff;
    background: black;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    flex-shrink: 0; /* منع انكماش الكروت */
    transition: 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.fa-heart{
  cursor: pointer;
}
.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-img-wrapper {
    position: relative;
    height: 180px;
}


.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 12px;
}
.car-slider-section{
  background-color: black;
}

.card-content {
    padding: 15px;
}

.car-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.car-details {
    color: #777;
    font-size: 13px;
    margin-bottom: 12px;
}

.car-price {
    color: #1a4a8a;
    font-size: 19px;
    font-weight: 800;
}

/* أزرار الأسهم */
.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #1a4a8a;
    border: 1px solid #ddd;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.arrow-btn:hover {
    background: #1a4a8a;
    color: #fff;
}

.right-arrow { right: -22px; }
.left-arrow { left: -22px; }





.card-actions {
    display: flex;
    border-top: 1px solid #eee;
    margin-top: 10px;

}

.btn {
    flex: 1;
    padding: 12px 5px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    text-decoration: none; /* لإزالة الخط تحت رابط التفاصيل */
    display: flex;
    align-items: center;
    justify-content: center;
    transition:  0.2s;
}

/* زر التفاصيل */
.btn-details {
    color: black;
    font-size: x-large;
    border-left: 1px solid #eee;
    border-radius: 20px;
    background-color: #bee85b;



}


/* زر الاتصال */
.btn-call {
  height: 70px;
    color: #f9fbfd;
    border: 2px solid #eee;
    margin: 15px;
    border-radius: 10px;
    background-color: #09acec;
    font-size: larger;
}

/* زر الواتساب */
.btn-whatsapp {
    margin:15px;
    border-radius: 10px;
    font-size: larger;

    
}

/* لمسة جمالية عند المرور على الأزرار */
.btn-call:hover {
    background-color: #18e018;
}
.btn-whatsapp:hover {
    background-color: #fae609;
}
.btn-details:hover {
    background-color: #fae609;
}










/*================= details page ===================*/






:root {
    --main-dark: #0f172a;
    --card-bg: #1e293b;
    --accent: #3b82f6;
    --white: #ffffff;
}

body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #f1f5f9; direction: rtl; }

.container { max-width: 1300px;
   margin: 30px auto; 
   margin-top: 0px;
   padding: 20px;
 }

/* الجزء العلوي: يمين صور / شمال مواصفات */
.top-section {
   display: flex;
    gap: 30px; 
    margin-bottom: 30px;
     flex-wrap: wrap; 
     border-top: #969393 2px solid;
     border-left: #969393 2px solid;
     border-radius: 10px;
     padding: 40px;
     background-color: #ffffff;
    }

.gallery-wrapper { 
  flex: 1.2; 
  min-width: 350px; 
border: #a09c9c 2px solid;
border-radius: 10px;
padding: 10px;
}
.main-img-box { width: 100%; height: 450px; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.main-img-box img { width: 100%; height: 100%; object-fit: cover; }

.thumb-list { 
  display: flex; 
  gap: 10px; 
  margin-top: 15px; 
  overflow-x: auto; 
  padding-bottom: 5px; 
  border: #8e9094 2px solid;
  border-radius: 10px;
}
.thumb-list img { 
  width: 85px; 
  height: 65px;
   border-radius: 10px;
    cursor: pointer;
     border: 2px solid transparent;
     transition: 0.3s; }
.thumb-list img:hover { border-color: var(--accent); transform: scale(1.05); }

/* كروت المواصفات (الجهة اليسرى علوياً) */
.specs-wrapper {
   flex: 0.8;
   min-width: 300px; 
   display: flex; 
   flex-direction: column;
    gap: 12px; 
    border: #121212 2px solid;
    border-radius: 10px;

  }
  .name{
    text-align: center;
    border: #534f4f 2px solid;
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
    color: #1a4a8a;
  }
.spec-item { background: var(--main-dark); color: white; padding: 15px 20px; border-radius: 15px; display: flex; justify-content: space-between; align-items: center; margin-right: 10px; margin-left: 10px;}
.spec-text h4 {
   font-size: 13px; 
   color: #94a3b8; 
   margin: 0; }
.spec-text p { font-size: 17px; font-weight: bold; margin: 5px 0 0 0;}
.spec-item i { font-size: 24px; color: var(--accent)}





/* الصورة نفسها */
.main-img-box img {
    transition: all 0.6s ease;
    filter: brightness(0.9); /* تكون أغمق سنة في العادي */
}

/* حالة الهوفر */
.main-img-box:hover img {
    filter: brightness(1.1); /* تفتح وتنور */
    transform: scale(1.05); /* تكبير بسيط */
}












.spec-item {
    position: relative; /* لجعل الكارت مرجعاً للطبقة التي ستتحرك */
    z-index: 1;
    overflow: hidden; /* لإخفاء اللون الزائد خارج حدود الكارت */
    transition: color 3s ease; /* تنعيم تغيير لون النص */
    cursor: pointer;
}

/* الطبقة التي ستقوم بعملية "المسح" */
.spec-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%; /* تبدأ من خارج الكارت تماماً جهة اليمين */
    width: 100%;
    height: 100%;
    background-color: #3b82f6; /* اللون الذي سيملأ الكارت (الأزرق) */
    transition: right 1s cubic-bezier(0.4, 0, 0.2, 1); /* حركة انسيابية CSS3 */
    z-index: -1; /* لتكون خلف النص */
}

/* عند الهوفر: تتحرك الطبقة لتغطي الكارت بالكامل */
.spec-item:hover::before {
    right: 0; /* تعود لمكانها الأصلي وتملأ الفراغ */
}

/* تغيير ألوان المحتوى عند الهوفر ليظهر بوضوح فوق اللون الجديد */
.spec-item:hover, 
.spec-item:hover i, 
.spec-item:hover h4, 
.spec-item:hover p {
    color: #ffffff !important; /* تحويل كل النصوص للأبيض */
}
/* الجزء السفلي: يمين وصف / شمال تواصل */
.bottom-section { 
  display: grid; 
  grid-template-columns: 1.5fr 1fr; 
  gap: 30px;
   border: 2px solid #a1a3a5; 
   padding-top: 30px;
   border-radius: 10px;
   padding: 40px;
   /* background-color: #fff; */
   background-color: #000;

   }

.desc-card { 
  background: white; 
  padding: 25px; border-radius: 20px;
   box-shadow: 0 4px 6px rgba(193, 188, 188, 0.05); 
  border: #cbc5c5 solid 2px;}
.desc-card h3 { color: var(--main-dark); border-bottom: 2px solid var(--accent); display: inline-block; padding-bottom: 5px; }

.contact-card { background: #f8fafc; padding: 25px; border-radius: 20px; text-align: center; border: 1px solid #e2e8f0; }
.user-avatar { width: 70px; height: 70px; background: var(--accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; font-size: 28px; font-weight: bold; }

.user-avatar {
    width: 80px;         /* نفس مقاس الدائرة في الصورة اللي بعتها */
    height: 80px;
    border-radius: 50%;  /* عشان تطلع دائرية بالمللي */
    overflow: hidden;    /* أي زيادة في الصورة تتقص وتفضل دائرة */
    margin: 0 auto 15px; /* عشان تكون في النص فوق اسمك */
    border: 2px solid #1e3a8a; /* إطار أزرق خفيف زي لغة تصميم الموقع */
    background-color: #eee;    /* خلفية احتياطية */
}

.user-avatar img {
    width: 100%;         /* الصورة تاخد كامل عرض الدائرة */
    height: 100%;        /* وكامل الارتفاع */
    object-fit: cover;   /* أهم خاصية: بتخلي الصورة متتغطش ولا تبوظ ملامحها */
    display: block;
}
/* الجزء الخاص بالأنيميشن فقط */
.user-avatar {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.user-avatar:hover {
    transform: scale(1.15); /* تكبير الدائرة */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.user-avatar img {
    transition: transform 0.5s ease;
}

.user-avatar:hover img {
    transform: scale(1.1) rotate(5deg); /* تكبير الصورة جوه الدائرة ولفها */
}



.btn-action { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px; border-radius: 12px; text-decoration: none; font-weight: bold; margin-top: 12px; transition: 0.3s; }
.btn-phone { background: #1e3a8a; color: white; }
.btn-whatsapp { border: 2px solid #22c55e; color: #22c55e; }
.btn-whatsapp:hover { background: #22c55e; color: white; }

@media (max-width: 768px) { .bottom-section { grid-template-columns: 1fr; } }


/* هوفر زر الاتصال */
.btn-phone:hover {
    background-color: #2563eb; /* تفتيح اللون الأزرق قليلاً */
    transform: translateY(-3px); /* رفعه للأعلى قليلاً */
    box-shadow: 0 10px 15px rgba(30, 58, 138, 0.3);
}

.btn-phone:hover i {
    animation: shake 0.5s ease infinite; /* أيقونة السماعة تهتز */
}

@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    50% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
    100% { transform: rotate(0deg); }
}

/* هوفر زر الواتساب */
.btn-whatsapp:hover {
    background-color: #22c55e; /* يملأ الخلفية بالأخضر */
    color: white !important; /* يغير لون الخط والايقونة للأبيض */
    transform: scale(1.05); /* تكبير الزر بنسبة بسيطة */
}

.btn-whatsapp:hover i {
    transform: scale(1.2); /* تكبير أيقونة الواتساب فقط */
    transition: 0.3s;
}
.btn-action {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}









/* تنسيق سكشن الوصف */
.desc-card {
    position: relative;
    background: #ffffff;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* أنيميشن ناعم جداً */
    z-index: 1;
    overflow: hidden; /* عشان أي عناصر وهمية متطلعش بره */
}

/* حركة الكارت عند الهوفر */
.desc-card:hover {
    transform: translateY(-8px); /* يرتفع للأعلى */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); /* ظل ناعم */
    border-color: #3b82f6; /* تغيير لون الإطار */
}

/* إضافة خط جانبي يظهر من اليمين (مناسب للغة العربية) */
.desc-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6px; /* عرض الخط الجانبي */
    height: 0; /* يبدأ من طول صفر */
    background: #3b82f6; /* اللون الأزرق */
    transition: height 0.4s ease;
    border-radius: 0 20px 20px 0;
}

.desc-card:hover::before {
    height: 100%; /* يكتمل الطول عند الهوفر */
}

/* أنيميشن الأيقونة داخل العنوان */
.desc-card h3 i {
    transition: transform 0.6s ease, color 0.3s ease;
    display: inline-block;
}

.desc-card:hover h3 i {
    transform: rotate(360deg); /* الأيقونة تلف لفة كاملة */
    color: #3b82f6;
}

/* تحريك النص قليلاً لليسار لإعطاء مساحة للخط الجانبي */
.desc-card p {
    transition: transform 0.4s ease;
}

.desc-card:hover p {
    transform: translateX(-10px);
}


/*=============== caluclator=================*/
.calculator-container h3{
    font-size: xx-large;
    color: #f6f8fa;
    margin-bottom: 10px;
   border: #9e9b9b solid 2px;
  border-radius: 10px;
  padding: 10px;
  background-color: #1a4a8a;
  
}
.calculator-container h3:hover{
  background-color: #09acec;


}
.fa-solid{
    color: #f8f3f3;
    padding-left: 10px;
}
.calculator-container {
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    margin-top: 20px;
    direction: rtl;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #4d4c52;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
}

.input-group input:focus, 
.input-group select:focus {
    /* 1. تغيير لون البوردر للون مميز (الأحمر بتاعك مثلاً) */
    border-color: #cd2c2c; 
    
    /* 2. إضافة التوهج (Shadow) */
    /* القيمة: (أفقي، رأسي، درجة التمويه، مدى الانتشار، اللون) */
    box-shadow: 0 0 8px rgba(255, 60, 60, 0.5);
    
    /* 3. حركة ناعمة وقت الانتقال */
    transition: all 0.3s ease-in-out;
    
    /* خلفية خفيفة جداً عشان المستخدم يحس إنه واقف هنا (اختياري) */
    background-color: #fffcfc;
}

/* إضافة Transition للحالة العادية عشان لما تشيل الماوس يرجع بهدوء */
.input-group input, 
.input-group select {
    transition: border-color 0.3s, box-shadow 0.3s;
}

.calc-btn {
    width: 100%;
    padding: 12px;
    background-color: #1a4a8a;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.calc-btn:hover {
   background-color:#1ced73; }

.result-box {
    margin-top: 20px;
    padding: 20px;
    background: #f0f7ff;
    border-radius: 10px;
    text-align: center;
    border: 1px dashed #1a4a8a;
}

.result-box h2 { color: #ed1c24; font-size: 32px; margin: 10px 0; }



 
/* footer */
.foot {
  background: #111;
  color: #fff;
  padding: 15px;
  display: flex;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  justify-content: space-between;
  align-items: center;
}

/* Dark Mode */
.dark {
  background: #121212;
  color: white;
}

/* Footer */
.footer {
  background: #0f0f0f;
  color: #fff;
  padding: 40px 20px;
  opacity: 0;
  transform: translateY(50px);
  transition: 0.8s;
}

.footer.show {
  opacity: 1;
  transform: translateY(0);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.footer-box{
    border: #0f0f0f 2px;
    border-radius:10px ;
}
.footer-box p,
.footer-box li {
  color: #bbb;
}

.footer-box ul {
  list-style: none;
  padding: 0;
  cursor: pointer;
}
.footer-box h3 p{
  cursor: pointer;
}

.social-icons a {
  color: #fff;
  margin-right: 10px;
  font-size: 20px;
}

/* Scroll Top */
#topBtn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: none;
  background: rgb(236, 232, 232);
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
}
#topBtn i{
  color: #000;
}
a i{
    font-size: xx-large;
    width: 50px;
    height: 50px;
    cursor: pointer;
}
 .fa-facebook{
  color: #0914ec;

}
.fa-youtube{
  color: red;
}
.fa-instagram{
  color: #ec0986;
}
/* Theme button */
#themeBtn {
  padding: 8px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}
h2,h1{
  cursor: pointer;
}
.footer-bottom p{
    height: 40px;
    background-color: #3f09e1;
    /* border-radius: 10px; */
    font-size: x-large;
}






/*
المفضله
*/
.fav-btn{

    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: crimson;
    color: white;
    cursor: pointer;
    font-size: 15px;
}


body{
  background-color: #000;
}