html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html, body {
    font-family: 'Tajawal', 'Noto Sans Arabic', sans-serif;
    overflow-x: hidden;
    padding-top: 80px;
}

/* Top Bar Styles */
.top-bar {
    font-size: 0.875rem;
}

.hover-success:hover {
    color: #198754 !important;
    transition: color 0.3s ease;
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
}

.navbar-brand .brand-text h4 {
    font-size: 1.5rem;
    margin: 0;
}

.navbar-brand .brand-text small {
    font-size: 0.75rem;
}

.nav-link-custom {
    color: #6c757d !important;
    transition: all 0.3s ease;
    margin: 0 0.25rem;
}

.nav-link-custom:hover {
    color: #198754 !important;
    background-color: rgba(25, 135, 84, 0.1);
    transform: translateY(-1px);
}

.nav-link-custom.active {
    color: #ffffff !important;
    background-color: #198754 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(25, 135, 84, 0.3);
}

.navbar-toggler {
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Footer Styles */
.footer-section {
    margin-top: auto;
}

.bg-darker {
    background-color: #1a1a1a !important;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #198754 !important;
}

.contact-info > div {
    margin-bottom: 0.75rem;
}

.social-links a {
    transition: color 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: #198754 !important;
    transform: translateY(-2px);
}

/* Existing styles */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

.logo-img {
    max-height: 60px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #28a745;
    margin-left: 10px;
}

.car-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}

.car-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.car-details {
    font-size: 0.9rem;
    color: #666;
}

/* Mobile responsive improvements */
@media (max-width: 767.98px) {
  .container-fluid {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .card-header {
    padding: 1rem 0.75rem;
  }
  
  .card-header h3 {
    font-size: 1.25rem;
  }
  
  .btn-primary {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
  }
  
  .car-card .btn-sm {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
  }
  
  .car-card .card-body {
    padding: 1rem;
  }
  
  /* Car parts container mobile optimization */
  #car-parts-container {
    padding: 0.5rem;
  }
  
  #car-parts-container .row {
    margin: 0 -0.25rem;
  }
  
  #car-parts-container .col-4 {
    padding: 0 0.25rem;
    margin-bottom: 0.5rem;
  }
  
  #car-parts-container .part-item {
    height: auto;
    min-height: 160px;
  }
  
  #car-parts-container .part-item .card-body {
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  #car-parts-container .part-item .card-title {
    font-size: 0.75rem;
    margin-bottom: 0.3rem;
    line-height: 1.2;
    font-weight: 600;
  }
  
  #car-parts-container .part-item .card-text {
    font-size: 0.65rem;
    line-height: 1.2;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  #car-parts-container .part-details {
    margin-top: auto;
  }
  
  #car-parts-container .part-details .badge {
    font-size: 0.6rem;
    padding: 0.15rem 0.3rem;
    margin-bottom: 0.2rem;
    display: block;
    text-align: center;
  }
  
  #car-parts-container .part-details small {
    font-size: 0.55rem;
    line-height: 1.1;
    display: block;
    margin-bottom: 0.1rem;
  }
  
  #car-parts-container .part-details .badge.bg-success,
  #car-parts-container .part-details .badge.bg-warning {
    font-size: 0.55rem;
    padding: 0.1rem 0.25rem;
  }
  
  #car-parts-container .selection-indicator {
    top: 0.2rem;
    right: 0.2rem;
  }
  
  #car-parts-container .selection-indicator > div {
    width: 18px;
    height: 18px;
  }
  
  #car-parts-container .selection-indicator i {
    font-size: 0.6rem;
  }
  
  #car-parts-container .parts-header .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.3rem;
  }
  
  #car-parts-container .parts-header h5 {
    font-size: 0.85rem;
  }
  
  #car-parts-container .parts-header small {
    font-size: 0.65rem;
  }
}

@media (max-width: 575.98px) {
  .car-card .row > .col-8,
  .car-card .row > .col-4:not(#car-parts-container .col-4) {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .car-card .col-4:not(#car-parts-container .col-4) {
    margin-top: 1rem;
  }
  
  .car-card .d-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem !important;
  }
  
  .car-card .btn-sm {
    font-size: 0.75rem;
    padding: 0.375rem 0.5rem;
  }
  
  /* Extra small mobile optimization for car parts */
  #car-parts-container {
    padding: 0.3rem;
  }
  
  #car-parts-container .col-4 {
    padding: 0 0.2rem;
    margin-bottom: 0.4rem;
  }
  
  #car-parts-container .part-item {
    min-height: 140px;
  }
  
  #car-parts-container .part-item .card-body {
    padding: 0.3rem;
  }
  
  #car-parts-container .part-item .card-title {
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
  }
  
  #car-parts-container .part-item .card-text {
    font-size: 0.6rem;
    margin-bottom: 0.3rem;
    -webkit-line-clamp: 1;
  }
  
  #car-parts-container .part-details .badge {
    font-size: 0.55rem;
    padding: 0.1rem 0.2rem;
  }
  
  #car-parts-container .part-details small {
    font-size: 0.5rem;
  }
  
  #car-parts-container .selection-indicator > div {
    width: 16px;
    height: 16px;
  }
  
  #car-parts-container .selection-indicator i {
    font-size: 0.5rem;
  }
}

/* Horizontal Timeline Styles for Create Page */
.horizontal-timeline-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.horizontal-timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 40px 0;
  padding: 0 20px;
}

.horizontal-timeline::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 50px;
  right: 50px;
  height: 3px;
  background: linear-gradient(90deg, #e9ecef 0%, #28a745 100%);
  z-index: 1;
}

.timeline-step-horizontal {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: all 0.3s ease;
}

.timeline-step-horizontal.active .step-circle {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.timeline-step-horizontal.completed .step-circle {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
}

.timeline-step-horizontal.completed .step-circle::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-weight: bold;
}

.step-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f8f9fa;
  border: 3px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  color: #6c757d;
  transition: all 0.3s ease;
  position: relative;
}

.step-label {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #6c757d;
  text-align: center;
  max-width: 80px;
  line-height: 1.2;
}

.timeline-step-horizontal.active .step-label {
  color: #28a745;
}

.timeline-step-horizontal.completed .step-label {
  color: #28a745;
}

.timeline-content-horizontal {
  margin-top: 40px;
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  min-height: 400px;
}

.step-content {
  display: none;
}

.step-content.active {
  display: block;
  animation: fadeInContent 0.5s ease;
}

@keyframes fadeInContent {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-title i {
  color: #28a745;
  font-size: 1.3rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.form-group-horizontal {
  position: relative;
}

.form-group-horizontal label {
  font-weight: 500;
  color: #495057;
  margin-bottom: 8px;
  display: block;
}

.form-group-horizontal .form-control,
.form-group-horizontal .form-select {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 14px;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}

.form-group-horizontal .form-control:focus,
.form-group-horizontal .form-select:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
  background-color: white;
}

.navigation-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.btn-nav {
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

.btn-prev {
  background: #6c757d;
  color: white;
}

.btn-prev:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

.btn-next {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
}

.btn-next:hover {
  background: linear-gradient(135deg, #218838, #1ea085);
  transform: translateY(-2px);
}

.btn-submit {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #218838, #1ea085);
  transform: translateY(-2px);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.checkbox-item:hover {
  background: #e9ecef;
  border-color: #28a745;
}

.checkbox-item input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
}

.checkbox-item label {
  margin: 0;
  cursor: pointer;
  font-weight: 500;
}

/* Progress indicator */
.progress-indicator-horizontal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #e9ecef;
  z-index: 1000;
}

.progress-bar-horizontal {
  height: 100%;
  background: linear-gradient(90deg, #28a745, #20c997);
  width: 0%;
  transition: width 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .horizontal-timeline {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .horizontal-timeline::before {
    display: none;
  }
  
  .step-circle {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .navigation-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

/* Mobile Timeline Styles for Create Page */
@media (max-width: 993px) {
  .timeline-progress {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
    margin-bottom: 0px !important;
    padding: 20px 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .timeline-step {
    display: flex !important;
    flex-direction: column !important;
    position: static !important;
    z-index: 2 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    min-width: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .step-circle {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    font-size: 13px !important;
    transition: all 0.3s ease !important;
    margin-bottom: 0px !important;
    position: relative !important;
    top: -2px !important;
    flex-shrink: 0 !important;
  }
  
  .step-label {
    font-size: 12px !important;
    font-weight: 600 !important;
    text-align: center !important;
    max-width: 100px !important;
    line-height: 1.1 !important;
    transition: color 0.3s ease !important;
    word-wrap: break-word !important;
    display: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 32px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: -20px !important;
    padding-top: 31px !important;
  }
}

  /* Add top margin to content to account for fixed timeline */
    /*.card-body {
        margin-top: 120px !important;
    }
    .timeline-container {
        position: fixed !important;
        top: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 90% !important;
        max-width: 1200px !important;
        z-index: 1000 !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        border-radius: 10px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
        padding: 15px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }*/

    .timeline-progress {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        position: relative;
        margin-bottom: 40px;
        padding: 20px 0;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .timeline-line {
        position: absolute;
        top: 50%;
        left: 25px;
        right: 25px;
        height: 4px;
        background: linear-gradient(to right, #28a745 0%, #28a745 14.28%, #e9ecef 14.28%, #e9ecef 100%);
        border-radius: 2px;
        z-index: 1;
        transition: background 0.3s ease;
        transform: translateY(-50%);
    }

    .timeline-step {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        position: relative;
        z-index: 2;
        cursor: pointer;
        transition: all 0.3s ease;
        min-width: 100px;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .step-circle {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: #e9ecef;
        color: #6c757d;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 18px;
        border: 3px solid #e9ecef;
        transition: all 0.3s ease;
        margin-bottom: 8px;
        position: relative;
        top: -2px;
        flex-shrink: 0;
    }

    .timeline-step.active .step-circle {
        background: #28a745;
        color: white;
        border-color: #28a745;
        box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.2);
    }

    .timeline-step.completed .step-circle {
        background: #28a745;
        color: white;
        border-color: #28a745;
    }

    .timeline-step.completed .step-circle::before {
        content: '✓';
        font-size: 20px;
    }

    .step-label {
        font-size: 12px;
        font-weight: 600;
        text-align: center;
        color: #495057;
        max-width: 100px;
        line-height: 1.1;
        transition: color 0.3s ease;
        word-wrap: break-word;
        visibility: visible !important;
        opacity: 1 !important;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: -20px;
        padding-top: 31px;
    }

    .timeline-step.active .step-label {
        color: #28a745;
    }

    .timeline-step.completed .step-label {
        color: #28a745;
    }

    .timeline-content {
        position: relative;
    }

    .timeline-section {
        display: none;
    }

    .timeline-section.active {
        display: block;
    }

    .timeline-navigation {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 0;
        border-top: 1px solid #e9ecef;
    }

    .timeline-navigation .btn {
        min-width: 120px;
    }
/* Custom Styles */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Testimonials Section */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.testimonial-rating .fas {
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.6;
}

.author-avatar {
    font-size: 1.2rem;
}

/* FAQ Section */
.accordion-button {
    font-weight: 600;
    color: #198754;
    background-color: #f8f9fa;
}

.accordion-button:not(.collapsed) {
    background-color: #198754;
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

.accordion-body {
    line-height: 1.7;
    color: #6c757d;
}

/* Blog Section */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.blog-image img {
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-title {
    color: #212529;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: #198754;
}

.blog-meta {
    font-size: 0.85rem;
}

/* Contact Section */
.contact-icon {
    font-size: 1.2rem;
}

.contact-form {
    border: 1px solid #e9ecef;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid #ced4da;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

.contact-form .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

/* Algorithm Section Styles */
.algorithm-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.algorithm-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-left: 4px solid transparent;
}

.algorithm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.algorithm-card:first-child {
    border-left-color: #dc3545;
}

.algorithm-card:last-child {
    border-left-color: #198754;
}

.factor-item {
    padding: 1rem;
    border-radius: 8px;
    background: rgba(248, 249, 250, 0.5);
    border-left: 3px solid #dee2e6;
    transition: all 0.3s ease;
}

.factor-item:hover {
    background: rgba(248, 249, 250, 0.8);
    border-left-color: #198754;
    transform: translateX(5px);
}

.brand-item {
    padding: 0.75rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.brand-item:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(25, 135, 84, 0.2);
    transform: scale(1.02);
}

.icon-wrapper {
    transition: all 0.3s ease;
}

.algorithm-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-card,
    .blog-card {
        margin-bottom: 1.5rem;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
    
    .contact-item {
        text-align: center;
        flex-direction: column;
    }
    
    .contact-icon {
        margin-bottom: 1rem !important;
        margin-left: 0 !important;
    }
}

/* تحديث الألوان الأساسية للموقع إلى الأخضر والأخضر الفاتح */

/* تحديث ألوان الأزرار الأساسية */
.btn-primary {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-color: #28a745;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #218838, #1ea085);
    border-color: #1e7e34;
}

.btn-primary:focus, .btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}

/* تحديث ألوان الروابط */
a {
    color: #28a745;
}

a:hover {
    color: #1e7e34;
}

/* تحديث ألوان الحدود والبطاقات */
.card {
    border: 1px solid #c3e6cb !important;
    background: #fff;
    margin-top: 37px;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(40, 167, 69, 0.15) !important;
    border-color: #28a745;
}

/* تحديث ألوان النماذج */
.form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* تحديث ألوان النص الأساسية */
.text-primary {
    color: #28a745 !important;
}

/* تحديث ألوان الخلفية */
.bg-primary {
  width: 100%;
  height: 50px;
  font-size: 14px;
  font-weight: bold;
  background: #f7f7f7 !important;
  border-bottom: 1px solid #cdcdcd !important;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    background-attachment: fixed;
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-buttons .btn {
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Carousel Custom Styles */
.carousel-inner {
    height: calc(100vh - 80px);
    min-height: 600px;
    overflow: hidden;
}

.carousel-item {
    height: calc(100vh - 80px);
    min-height: 600px;
    transition: transform 0.6s ease-in-out;
    overflow: hidden;
}

.carousel-indicators {
    bottom: 62px;
}

.carousel-indicators [data-bs-target] {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: transparent;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-indicators [data-bs-target].active {
    background-color: white;
    opacity: 1;
    transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255,255,255,0.4);
    transform: translateY(-50%) scale(1.1);
}

/* Welcome Section Styles */
.welcome-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.feature-item {
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-icon {
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Services Section Styles */
.service-card {
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(40, 167, 69, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    border-color: #28a745;
    transform: translateY(-5px);
}

.service-icon {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Statistics Section Styles */
.stats-section {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>') repeat;
    background-size: 50px 50px;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-50px) translateY(-50px); }
}

.stat-item {
    position: relative;
    z-index: 2;
}

.stat-number {
    font-family: 'Tajawal', sans-serif;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Why Choose Section Styles */
.list-item {
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 10px;
}

.list-item:hover {
    background: rgba(40, 167, 69, 0.05);
    transform: translateX(10px);
}

.list-icon {
    transition: all 0.3s ease;
}

.list-item:hover .list-icon {
    transform: scale(1.2);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* CTA Section Styles */
.cta-section {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-slide {
        height: 70vh;
        min-height: 500px;
        background-attachment: scroll;
    }
    
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
    
    .feature-item:hover,
    .list-item:hover {
        transform: none;
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation for Images */
.welcome-image img,
.why-choose-image img {
    transition: all 0.3s ease;
}

.welcome-image:hover img,
.why-choose-image:hover img {
    transform: scale(1.05);
}

/* Pulse Animation for Important Elements */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Loading Screen Styles */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

/* Hero Section Styles for Index.cshtml */
.hero-section {
    height: 0px;
    min-height: 630px;
}

.hero-slide {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.animate-slide-up {
    animation: slideUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

.service-card,
.welcome-content,
.why-choose-content {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.loader-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 8px rgba(25, 135, 84, 0.2));
}

.loader-text {
    color: #198754;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    font-family: 'Tajawal', 'Noto Sans Arabic', sans-serif;
}

.loader-subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 2rem;
    font-family: 'Tajawal', 'Noto Sans Arabic', sans-serif;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e9ecef;
    border-top: 4px solid #198754;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Loading Animations */
@keyframes logoSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading dots animation */
.loading-dots {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 20px;
    margin-top: 1rem;
}

.loading-dots div {
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #198754;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
    transform: translateY(-50%);
}

.loading-dots div:nth-child(1) {
    left: 8px;
    animation: dots1 0.4s infinite;
}

.loading-dots div:nth-child(2) {
    left: 8px;
    animation: dots2 0.4s infinite;
}

.loading-dots div:nth-child(3) {
    left: 32px;
    animation: dots2 0.4s infinite;
}

.loading-dots div:nth-child(4) {
    left: 56px;
    animation: dots3 0.4s infinite;
}

@keyframes dots1 {
    0% { transform: translateY(-50%) scale(0); }
    100% { transform: translateY(-50%) scale(1); }
}

@keyframes dots3 {
    0% { transform: translateY(-50%) scale(1); }
    100% { transform: translateY(-50%) scale(0); }
}

@keyframes dots2 {
    0% { transform: translateY(-50%) translateX(0px) scale(1); }
    100% { transform: translateY(-50%) translateX(24px) scale(1); }
}
