:root {
  /* Theme colors */
  --primary: #6e45e2;
  --secondary: #88d3ce;
  --accent: #9f5afd;
  
  /* Backgrounds */
  --bg-primary: #ffffff;
  --bg-secondary: #f9f9f9;
  
  /* Text */
  --text-primary: #1a1a2e;
  --text-secondary: #444444;
  --text-muted: #666666;
  --text-inverse: #ffffff;
  
  /* Borders */
  --border: #e0e0e0;
  
  /* UI */
  --card-bg: #ffffff;
  --card-border: rgba(0, 0, 0, 0.1);
  --overlay: rgba(26, 26, 46, 0.55); /* Lighter overlay maher */
  
  /* Effects */

}

[data-bs-theme="dark"] {
  /* Backgrounds */
  --bg-primary: #1a1a2e;
  --bg-secondary: #2a2a2a; /**/
  
  /* Text */
  --text-primary: #f8f9fa;
  --text-secondary: #cccccc;
  --text-muted: #888888;
  
  /* Borders */
  --border: #444444;
  
  /* UI */
  --card-bg: #2a2a2a;
  --card-border: rgba(255, 255, 255, 0.1);
  --overlay: rgba(22, 33, 62, 0.55); /* Darker overlay maher */
  
  /* Effects */
  --shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.araburj {

            font-family: 'Noto Kufi Arabic', sans-serif;
          
        }

body {
  font-family: Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.lang-ar {
  font-family: 'Cairo', sans-serif !important;
}

section {
  padding: 60px 20px;
  background-color: var(--bg-secondary);
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 20px;
}

section p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

section p strong {
  color: var(--primary);
}

@media (prefers-color-scheme: dark) {
  section {
    background-color: var(--bg-secondary);
    color: var(--text-inverse);
  }

  section h2 {
    color: var(--text-inverse);
  }

  section p {
    color: var(--text-secondary);
  }

  section p strong {
    color: var(--accent);
  }
}

.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.card-title {
  color: var(--text-primary);
  margin-bottom: 15px;
}

.card-text {
  color: var(--text-secondary);
}

.form-control {
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(110, 69, 226, 0.25);
}

.form-label {
  color: var(--text-primary);
}

.car-card {
  text-align: center;
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 5px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.car-card:hover {
  transform: translateY(-5px);
}

.car-card {
  position: relative;
  aspect-ratio: 4 / 3; /* or set a fixed height */
  overflow: hidden;
}

.car-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
  cursor: pointer;
  display: block;
}



.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--text-primary);
}

[data-bs-theme="dark"] .navbar {
  background-color: var(--bg-secondary) !important;
}

.theme-toggle,
.lang-toggle {
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: background-color 0.3s;
}

.theme-toggle:hover,
.lang-toggle:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

[data-bs-theme="dark"] .theme-toggle:hover,
[data-bs-theme="dark"] .lang-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.fancybox__container {
  --fancybox-thumbs-width: 120px;
  --fancybox-thumbs-ratio: 1;
}

.fancybox__thumbs .carousel__slide {
  padding: 5px;
  opacity: 0.6;
  border-radius: 6px;
  overflow: hidden;
}

.fancybox__thumbs .carousel__slide.is-nav-selected {
  opacity: 1;
}

.fancybox__thumbs .carousel__slide img {
  border-radius: 4px;
  vertical-align: top;
}

/* Hero section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 60px 0;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.bg-slideshow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.bg-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover;
  background-position: center;
}

.bg-slide.active {
  opacity: 1;
}

.bg-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(var(--overlay), var(--overlay));
  z-index: 1;
	
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-weight: 800;
  font-size: 4rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: var(--shadow-md);
  white-space: normal;
  max-width: 600px; /* tune this */
}

/* Smaller font for Arabic */
html[lang="ar"] .hero-title {
  font-size: 3.5rem;
  max-width: 650px; /* adjust */
}


.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-inverse);
}

.btn-hero {
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.btn-hero-primary {
  background: linear-gradient(45deg, var(--primary), var(--accent));
  border: none;
  color: white;
}

.btn-hero-primary:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-hero-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-hero-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-5px);
}

@keyframes breathe {
  0%, 100% {
    transform: scale(1);
    animation-timing-function: ease-in-out;
  }
  50% {
    transform: scale(1.02);
    animation-timing-function: ease-in-out;
  }
}


.hero-feature {
  display: flex;
  flex-direction: column; /* or row, depending on content layout */
  justify-content: center; /* vertically centers the content */
  align-items: center; /* optionally center horizontally */
  
  /* existing styles */
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px;
  margin-top: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--card-border);
  transition: transform 0.3s ease;
  color: #ffffff !important;
  animation: breathe 4s ease-in-out infinite;
  box-shadow: 0 0 15px 5px rgba(135, 206, 250, 0.6), 0 0 80px 20px rgba(255, 255, 255, 0.5);
  height: 250px;
  overflow: hidden;
}


.hero-feature {
  /* other styles... */
  animation: breathe 10s ease-in-out infinite;
}


.hero-feature h4,
.hero-feature p {
  color: #ffffff !important;
}

[data-bs-theme="dark"] .hero-feature,
[data-bs-theme="dark"] .hero-feature h4,
[data-bs-theme="dark"] .hero-feature p {
  color: #ffffff !important;
}



.hero-feature:hover {
  animation-play-state: paused;
  transform: translateY(-10px);
  box-shadow: var(--glow), 0 0 80px 20px rgba(255, 255, 255, 0.5);
	background: #4a2fa5; 

}

.hero-feature i {
  font-size: 2.5rem;
  margin-bottom: 15px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#hero {
  padding-top: 56px;
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .btn-hero {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

/***************************ticker****************************/
.ticker-xx {
            
            margin: 5px auto;
            overflow: hidden;
            position: relative;
            height: 260px; /* Matches image height */
	direction: ltr; /* Force LTR for the ticker to prevent RTL reversal */
        }
        .ticker-wrapper {
            display: flex;
            width: max-content; /* Allows content to extend beyond container */
        }
        .ticker-content {
            display: flex;
            animation: ticker 30s linear infinite; /* Adjusted duration for wider slides */
        }
        .ticker-content:hover {
            animation-play-state: paused; /* Pause on hover */
        }
        .ticker-slide {
            flex: 0 0 auto;
            width: 350px; /* Wider images */
            height: 260px; /* Higher images */
            margin-right: 10px; /* Small gap between images */
        }
        .ticker-slide img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }
        @keyframes ticker {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%); /* Move half the total width for seamless loop */
            }
        }
        @media (max-width: 768px) {
            .ticker-container {
                height: 266px; /* Scaled for smaller screens */
            }
            .ticker-slide {
                width: 400px; /* Smaller width for mobile */
                height: 266px; /* Maintain aspect ratio */
            }
        }

/**********************************************/

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
/* ======= Footer Styles ======= */
#footer {
    padding: 40px 0;
    text-align: center;
    background-color: transparent;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#footer h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ccc;
    font-weight: 600;
}

#footer h6 {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

/* Social Media Icons */
#footer .wrapper {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

#footer .icon {
    position: relative;
    width: 50px;
    height: 50px;
    background: #222;
    border-radius: 50%;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

#footer .icon:hover {
    background: #00b894;
    transform: translateY(-5px);
}

#footer .icon i {
    font-size: 22px;
    color: #fff;
    line-height: 50px;
}

/* Tooltip */
#footer .tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #444;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    white-space: nowrap;
}

#footer .icon:hover .tooltip {
    opacity: 1;
    top: -40px;
}

/* Horizontal Line */
#footer .footer-line {
    border: none;
    border-top: 1px solid #555;
    margin: 30px auto 20px;
    width: 60%;
}

/* Footer Links */
#footer .footer-links {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 10px;
}

#footer .footer-links a {
    color: #aaa;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s;
}

#footer .footer-links a:hover {
    color: #fff;
}

/* Bottom Text */
#footer .footer-bottom {
    font-size: 13px;
    color: #777;
    margin-top: 10px;
}

/* Go to Top Button */
.go-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.go-to-top.show {
    opacity: 1;
    visibility: visible;
}

.go-to-top:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

/**/
.breathing-button {
  animation: breathe 2.5s ease-in-out infinite;
}

@keyframes breathe {
  0%   { transform: scale(1); opacity: 1; }
  50%  { transform: scale(1.05); opacity: 0.85; }
  100% { transform: scale(1); opacity: 1; }
}

.contact-info-mobile {
  padding: 0 0.5rem;
  display: flex;
  justify-content: flex-start;
}

.phone-button {
  white-space: nowrap;
  padding: 0.375rem 0.75rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  border-radius: 0.375rem;
  border: 1px solid #0d6efd;
  color: #0d6efd;
  background-color: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}
		
		[data-bs-theme="dark"] .phone-button{color: white;}

/* Margin fallback for spacing */
html:not([dir="rtl"]) .phone-button {
  margin-right: 0.75rem;
}

html[dir="rtl"] .phone-button {
  margin-left: 0.75rem;
  margin-right: 0;
}

.phone-button:hover {
  background-color: #e7f1ff;
  color: #084298;
}

.whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 18px;
  padding: 0;
  border: none;
  color: white;
  background-color: #25D366;
  transition: background-color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.whatsapp-icon:hover {
  background-color: #128C7E;
}

.phone-button i {
  margin-right: 0.4rem;
}

html[dir="rtl"] .contact-info-mobile {
  justify-content: flex-end;
}

html[dir="rtl"] .phone-button {
  flex-direction: row-reverse;
}

html[dir="rtl"] .phone-button i {
  margin-left: 0.4rem;
  margin-right: 0;
}

html[dir="rtl"] .whatsapp-icon {
  order: -1;
}
/* Desktop: Logical margin between phone button and WhatsApp icon */
.contact-gap {
  margin-inline-end: 0.25rem; /* Applies margin-right in LTR, margin-left in RTL */
}
/* Add gap between icon and number only in RTL (Arabic) */
[dir="rtl"] .whatsapp-icon {
  margin-left: 10px; /* add space on the left side of icon */
}
/**************************/
/* Banner Section */
.banner-section {
  height: 500px;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px; /* Account for fixed navbar */
  overflow: hidden;
  margin-bottom: 20px;
}

.banner-background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url('img/cad_hi.jpg'); /* Default background */
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.banner-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(var(--overlay), var(--overlay));
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
}

.banner-title {
  font-weight: 800;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: white;
}

.banner-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: white;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-banner {
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-banner-primary {
  background: linear-gradient(45deg, var(--primary), var(--accent));
  border: none;
  color: white;
}

.btn-banner-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: white;
}

.btn-banner-outline {
  border: 2px solid white;
  color: white;
  background: transparent;
}

.btn-banner-outline:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .banner-title {
    font-size: 2.5rem;
  }
  .banner-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .banner-section {
    height: 450px;
  }
  .banner-title {
    font-size: 2rem;
  }
  .banner-subtitle {
    font-size: 1rem;
  }
  .btn-banner {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .banner-section {
    height: 400px;
  }
  .banner-title {
    font-size: 1.8rem;
  }
}

        @media (max-width: 768px) {
            .banner-title {
                font-size: 2rem;
            }
            
            .banner-subtitle {
                font-size: 1rem;
            }
            
            .parallax-content h1 {
                font-size: 2rem;
            }
        }

/*** reviews***/
.storyboard-container-wrapper {
    position: relative;
    margin: 40px 0;
}

.storyboard-container {
    display: flex;
    overflow-x: auto;
    padding: 1rem 2rem;
    gap: 2rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    align-items: stretch; /* Ensure cards stretch to same height */
}

.story-card {
    flex: 0 0 320px;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    height: 420px; /* Fixed height for all cards */
}

body[data-bs-theme="light"] .story-card {
    background: var(--card-bg-light);
    color: var(--text-light);
    border-color: var(--border-light);
}

body[data-bs-theme="dark"] .story-card {
    background: var(--card-bg-dark);
    color: var(--text-dark);
    border-color: var(--border-dark);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.story-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

body[data-bs-theme="dark"] .story-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.bottom-nav {
    text-align: center;
    margin-top: 2rem;
}

.bottom-nav button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #6b6b6c;
    color: #ffffff;
    font-size: 1rem;
    margin: 0 5px;
    transition: background 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bottom-nav button:hover {
    background: #d35400;
}

::-webkit-scrollbar {
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .bottom-nav button {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .story-card {
        height: 450px; /* Slightly taller for mobile */
    }
}

/* Review Card Styles */
.review-card {
    display: flex;
    flex-direction: column;
    height: 100%; /* Take full height of parent */
}

.user-profile {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    border: 3px solid #6e45e2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    font-size: 2rem;
    color: #e67e22;
    flex-shrink: 0; /* Prevent shrinking */
}

body[data-bs-theme="dark"] .user-profile {
    background: #4a5568;
	 border: 3px solid #e67e22;
}

.user-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-text {
    flex-grow: 1; /* Take available space */
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.95rem;
    overflow: hidden; /* Hide overflow */
    display: flex;
    align-items: center; /* Center text vertically */
    justify-content: center; /* Center text horizontally */
}

.user-name {
    font-weight: bold;
    color: #6e45e2;
    margin-bottom: 5px;
    font-size: 1.1rem;
    flex-shrink: 0; /* Prevent shrinking */
}

.fa-user {color: #6e45e2;}
body[data-bs-theme="dark"] .fa-user, .user-name {
	 color:#e67e22;
}

.user-location {
    font-size: 0.85rem;
    color: #888;
    flex-shrink: 0; /* Prevent shrinking */
}

body[data-bs-theme="dark"] .user-location {
    color: #a0aec0;
}

.rating {
    color: #ffc107;
    margin: 10px 0;
    font-size: 0.8rem;
    flex-shrink: 0; /* Prevent shrinking */
}

.first-card-indicator {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #e67e22;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    animation: pulse 2s infinite;
}

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

/*************branches******************/
		.branch-box {
			height: 400px;
			background-size: cover;
			background-position: center;
			border-radius: 10px;
			overflow: hidden;
			position: relative;
			color: white;
		}

		.branch-box .overlay {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background: rgba(0, 0, 0, 0.3);
			z-index: 1;
		}

		.branch-box .branch-content {
			position: relative;
			z-index: 2;
			display: flex;
			flex-direction: column;
			justify-content: space-between;
			height: 100%;
			padding: 30px 15px;
			text-align: center;
		}

		.branch-box h4 {
			margin-bottom: 10px;
			min-height: 1.5em;
			/* Ensures uniform height */
		}

		.branch-box .address {
			flex-grow: 1;
			display: flex;
			flex-direction: column;
			justify-content: center;
		}

		.branch-box .phone {
			font-size: 20px;
			margin-top: 15px;
		}

		#branches p {
			color: #fff !important;
			margin-bottom: 0;
		}
/*************contact***********************/
	form {
		position: relative;
		padding-bottom: 60px; /* space for icons */
	}

	.social-icons {
		position: absolute;
		bottom: 10px;
		right: 15px;
	}

	.social-icons a {
		color: #333; /* default color */
		transition: color 0.3s;
	}

	.social-icons a:hover {
		color: #007bff; /* hover color */
	}
	
	
	
	/* Contact Section Styling */
#contact {
   
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#contact .container {
    max-width: 800px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 2rem auto;
}

#contact h2 {
    color: #2c3e50;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

#contact h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #3498db, #2ecc71);
    border-radius: 2px;
}

/* Form Styling */
#contact .form-label {
    font-weight: 600;
    color: #34495e;
    margin-bottom: 8px;
    display: block;
}

#contact .form-control {
    border: 2px solid #eef2f7;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    background-color: #f8fafc;
}

#contact .form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.15);
    background-color: #fff;
}

/* Button Styling */
.btn-hero {
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary {
    
    color: white;
}

.btn-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: all 0.3s ease;
}

.btn-hero:hover:before {
    transform: translateX(0);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
}

/* Social Media Icons Styling */
.social-icons {
    display: flex;
    gap: 15px;
	
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f5f7fa, #e4e8f0);
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
	
}

.social-icons a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.social-icons a:hover:before {
    opacity: 1;
}

.social-icons a i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-icons a:hover i {
    color: white;
    transform: scale(1.2);
}

/* Specific colors for each social media */
.social-icons a[href*="facebook"]:before {
    background: linear-gradient(45deg, #3b5998, #4a69a4);
}

.social-icons a[href*="twitter"]:before {
    background: linear-gradient(45deg, #1da1f2, #0d8bd9);
}

.social-icons a[href*="instagram"]:before {
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
    background-size: 200% 200%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #contact .d-flex {
        flex-direction: column;
        gap: 20px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .btn-hero {
        width: 100%;
    }
}

/* Animation for form elements */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

#contact form > * {
    animation: fadeIn 0.5s ease forwards;
}

#contact form > *:nth-child(1) { animation-delay: 0.1s; }
#contact form > *:nth-child(2) { animation-delay: 0.2s; }
#contact form > *:nth-child(3) { animation-delay: 0.3s; }
#contact form > *:nth-child(4) { animation-delay: 0.4s; }

/********phone & whatsapp in navbar*******/
					.breathing-button {
						animation: breathe 2.5s ease-in-out infinite;
					}

					@keyframes breathe {
						0% {
							transform: scale(1);
							opacity: 1;
						}

						50% {
							transform: scale(1.05);
							opacity: 0.85;
						}

						100% {
							transform: scale(1);
							opacity: 1;
						}
					}

					.contact-info-mobile {
						padding: 0 0.5rem;
						display: flex;
						justify-content: flex-start;
					}

					.phone-button {
						white-space: nowrap;
						padding: 0.375rem 0.75rem;
						font-size: 0.9rem;
						display: flex;
						align-items: center;
						border-radius: 0.375rem;
						border: 1px solid #0d6efd;
						color: #0d6efd;
						background-color: transparent;
						cursor: pointer;
						text-decoration: none;
						transition: background-color 0.3s ease, color 0.3s ease;
					}

					[data-bs-theme="dark"] .phone-button {
						color: white;
					}

					/* Margin fallback for spacing */
					html:not([dir="rtl"]) .phone-button {
						margin-right: 0.75rem;
					}

					html[dir="rtl"] .phone-button {
						margin-left: 0.75rem;
						margin-right: 0;
					}

					.phone-button:hover {
						background-color: #e7f1ff;
						color: #084298;
					}

					.whatsapp-icon {
						display: flex;
						align-items: center;
						justify-content: center;
						width: 38px;
						height: 38px;
						border-radius: 50%;
						font-size: 18px;
						padding: 0;
						border: none;
						color: white;
						background-color: #25D366;
						transition: background-color 0.3s ease;
						cursor: pointer;
						text-decoration: none;
					}

					.whatsapp-icon:hover {
						background-color: #128C7E;
					}

					.phone-button i {
						margin-right: 0.4rem;
					}

					html[dir="rtl"] .contact-info-mobile {
						justify-content: flex-end;
					}

					html[dir="rtl"] .phone-button {
						flex-direction: row-reverse;
					}

					html[dir="rtl"] .phone-button i {
						margin-left: 0.4rem;
						margin-right: 0;
					}

					html[dir="rtl"] .whatsapp-icon {
						order: -1;
					}

					/* Desktop: Logical margin between phone button and WhatsApp icon */
					.contact-gap {
						margin-inline-end: 0.25rem;
						/* Applies margin-right in LTR, margin-left in RTL */
					}

					/* Add gap between icon and number only in RTL (Arabic) */
					[dir="rtl"] .whatsapp-icon {
						margin-left: 10px;
						/* add space on the left side of icon */
					}
/********/
    
       /* body {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            min-height: 100vh;
            padding-bottom: 2rem;
        }*/
        .gallery-header {
            color: #2c3e50;
            margin: 2.5rem 0;
            font-weight: 700;
            position: relative;
            padding-bottom: 0.5rem;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
        }

[data-bs-theme="dark"] .gallery-header{color: white;}


        .album-card {
            transition: transform 0.3s, box-shadow 0.3s;
            height: 100%;
            overflow: hidden;
            border-radius: 12px;
            border: none;
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
            background: white;
        }
        .album-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }
        .album-card img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .album-card:hover img {
            transform: scale(1.08);
        }
        .album-card .card-body {
            text-align: center;
            padding: 1.5rem;
        }
        .album-card .card-title {
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 0;
            font-size: 1.25rem;
        }
        
        @media (max-width: 768px) {
            .album-card img {
                height: 200px;
            }
        }
        /* WhatsApp contact info styling */
        .fancybox__caption {
            padding: 15px 60px 15px 15px !important;
        }
        .caption-with-contact {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
        }
        .car-name {
            font-weight: 600;
            font-size: 1.1rem;
        }
        .whatsapp-contact {
            display: flex;
            align-items: center;
            font-size: 14px;
            color: #25D366;
        }
        .whatsapp-contact i {
            margin-right: 6px;
            font-size: 16px;
        }
        .whatsapp-contact a {
            color: inherit;
            text-decoration: none;
        }
        .whatsapp-contact a:hover {
            text-decoration: underline;
        }
        @media (max-width: 576px) {
            .caption-with-contact {
                flex-direction: column;
                align-items: flex-start;
                gap: 5px;
            }
        }
        /* Filter buttons styling */
        .filter-container {
            display: flex;
            justify-content: center;
            margin-bottom: 2rem;
            flex-wrap: wrap;
            gap: 10px;
        }
        .filter-btn {
            padding: 8px 20px;
            border: 2px solid #2c3e50;
            background: white;
            color: #2c3e50;
            border-radius: 30px;
            font-weight: 600;
            transition: all 0.3s;
        }
        .filter-btn:hover, .filter-btn.active {
            background: #2c3e50;
            color: white;
        }
        .action-buttons {
            display: flex;
            justify-content: center;
            margin-top: 2rem;
            gap: 15px;
        }
        .load-more-btn, .reset-btn {
            padding: 10px 25px;
            border-radius: 30px;
            font-weight: 600;
            transition: all 0.3s;
        }
        .load-more-btn {
            background: #3498db;
            color: white;
            border: 2px solid #3498db;
        }
        .load-more-btn:hover {
            background: #2980b9;
            border-color: #2980b9;
        }
        .reset-btn {
            background: #e74c3c;
            color: white;
            border: 2px solid #e74c3c;
        }
        .reset-btn:hover {
            background: #c0392b;
            border-color: #c0392b;
        }
        .no-cars-message {
            text-align: center;
            padding: 2rem;
            color: #6c757d;
            font-style: italic;
        }

/* parallaxes */
		/* Parallax base styles */
		.parallax {
			position: relative;
			height: 100vh;
			overflow: hidden;
			display: flex;
			align-items: center;
			justify-content: center;
			color: white;
			text-align: center;
			background-position: center;
			background-repeat: no-repeat;
			background-size: cover;
		}

		.parallax-2 {
			background-image: url('../img/para_blue.jpg');
		}

		.parallax-3 {
			background-image: url('../img/parazz.jpg');
		}

		/* Content section styles */
		.content-section {
			padding: 60px 0;
			background-color: #f8f9fa;
		}

		/* Overlay for better text readability */
		.parallax-overlay {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background: rgba(0, 0, 0, 0.2);
			z-index: 1;
		}

		.parallax-content {
			position: relative;
			z-index: 2;
		}

		/* Adjust for smaller screens */
		@media (max-width: 768px) {
			.parallax {
				height: 80vh;
			}
		}

		/* Ensure text is readable */
		.parallax h1 {
			font-size: 3.5rem;
			font-weight: bold;
			text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
		}

		.parallax p {
			font-size: 1.5rem;
			text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
		}

		@media (max-width: 576px) {
			.parallax h1 {
				font-size: 2.5rem;
			}

			.parallax p {
				font-size: 1.2rem;
			}
		}
		@media (max-width: 1000px) {
			#movie{
				display: none !important;
			}
			#social{
				display: none !important;
			}
			.navbar-brand {
				font-weight: bold;
				font-size: 1rem;
				color: var(--text-primary);
			}
		}

    


