 /* --- CSS Variables & Reset --- */
 :root {
     --primary-bg: #00187a;
     /* Dark blue primary background */
     --secondary-bg: #eaeaea;
     /* White secondary background */
     --card-bg: #f8f8f8;
     /* Light gray for cards */
     --text-main: #ffffff;
     /* Dark blue for main text on light backgrounds */
     --text-muted: #666666;
     /* Muted gray for secondary text */
     --accent: #ff7f23;
     /* Orange accent color */
     --accent-hover: #e66b1f;
     /* Darker orange for hover */
     --border-color: #cccccc;
     /* Light border */
     --transition-speed: 0.3s;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 html {
     scroll-behavior: smooth;
 }

 body {
     font-family: 'Cairo', sans-serif;
     background-color: var(--primary-bg);
     color: #ffffff;
     /* White text on dark blue background */
     line-height: 1.6;
     overflow-x: hidden;
     text-align: right;
 }

 h1,
 h2,
 h3,
 h4 {
     font-family: 'Cairo', sans-serif;
     font-weight: 700;
 }

 a {
     text-decoration: none;
     color: inherit;
     transition: var(--transition-speed);
 }

 ul {
     list-style: none;
 }

 img {
     max-width: 100%;
     display: block;
 }

 /* --- Components --- */
 .btn {
     display: inline-block;
     padding: 12px 30px;
     background-color: transparent;
     border: 2px solid #ffffff;
     /* White border for visibility on dark backgrounds */
     color: #ffffff;
     /* White text for visibility */
     font-weight: 700;
     font-size: 0.95rem;
     cursor: pointer;
     transition: all var(--transition-speed) ease;
     position: relative;
     overflow: hidden;
     z-index: 1;
 }

 .btn::after {
     content: '';
     position: absolute;
     bottom: 0;
     right: 0;
     width: 100%;
     height: 0%;
     background-color: var(--text-main);
     transition: all var(--transition-speed) ease;
     z-index: -1;
 }

 .btn:hover::after {
     height: 100%;
 }

 .btn:hover {
     color: var(--primary-bg);
 }

 .btn-primary {
     border-color: var(--accent);
     color: var(--accent);
 }

 .btn-primary::after {
     background-color: var(--accent);
 }

 .btn-primary:hover {
     color: var(--primary-bg);
 }

 .section-padding {
     padding: 80px 0;
 }

 .container {
     width: 90%;
     max-width: 1200px;
     margin: 0 auto;
 }

 .section-title {
     text-align: center;
     margin-bottom: 60px;
 }

 .section-title h2 {
     font-size: 2.5rem;
     margin-bottom: 15px;
     position: relative;
     display: inline-block;
 }


 .section-title h2::after {
     content: '';
     position: absolute;
     bottom: -10px;
     left: 50%;
     transform: translateX(-50%);
     width: 60px;
     height: 4px;
     background-color: var(--accent);
 }

 .section-title p {
     color: #ffffff;
     /* White text for visibility on dark backgrounds */
     max-width: 600px;
     margin: 0 auto;
 }

 /* --- Animations --- */
 .fade-in-up {
     opacity: 0;
     transform: translateY(30px);
     transition: opacity 0.8s ease-out, transform 0.8s ease-out;
 }

 .fade-in-up.visible {
     opacity: 1;
     transform: translateY(0);
 }

 @keyframes rotateGear {
     from {
         transform: rotate(360deg);
     }

     to {
         transform: rotate(0deg);
     }
 }

 @keyframes rotateGearReverse {
     from {
         transform: rotate(0deg);
     }

     to {
         transform: rotate(360deg);
     }
 }

 /* --- Navigation --- */
 nav {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     padding: 15px 0;
     height: 80px;
     /* fixed header height to prevent layout shift */
     z-index: 1000;
     transition: background-color 0.4s ease, padding 0.4s ease;
 }

 nav.scrolled {
     background-color: rgba(0, 24, 122, 0.95);
     /* Match primary-bg with transparency */
     padding: 10px 0;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
     backdrop-filter: blur(5px);
 }

 .nav-container {
     display: flex;
     justify-content: space-between;
     align-items: center;
     height: 100%;
 }

 .logo {
     height: 60px;
     /* Logo height */
     width: auto;
     max-width: 150px;
     object-fit: contain;
     margin: 0;
     /* prevent pushing content down */
     margin-top: 70px;
     display: inline-flex;
     align-items: center;
 }

 /* Ensure the image fits the logo container */
 .logo img {
     height: 250%;
     width: auto;
     display: block;
 }

 .nav-links {
     display: flex;
     gap: 30px;
     margin-top: 50px;
 }

 .nav-links a {
     font-size: 1rem;
     font-weight: 600;
     position: relative;
     color: #ffffff;
     /* White text for visibility on dark nav */
 }

 .nav-links a::after {
     content: '';
     position: absolute;
     bottom: -5px;
     right: 0;
     width: 0;
     height: 2px;
     background-color: var(--accent);
     transition: width 0.3s;
 }

 .nav-links a:hover::after {
     width: 100%;
 }

 .menu-toggle {
     display: none;
     font-size: 1.5rem;
     cursor: pointer;
     color: #ffffff;
     /* White icon for visibility */
 }

 /* --- Hero Section --- */
 #hero {
     height: 100vh;
     display: flex;
     align-items: center;
     justify-content: center;
     text-align: center;
     position: relative;
     overflow: hidden;
     background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('imgs/hero.png');
     background-size: cover;
     background-position: center;
     background-attachment: fixed;
 }

 /* Background Gear Animation */
 .hero-gear {
     position: absolute;
     font-size: 20rem;
     color: rgba(255, 255, 255, 0.03);
     z-index: 0;
     pointer-events: none;
 }

 .gear-1 {
     top: -50px;
     right: -50px;
     animation: rotateGear 20s linear infinite;
 }

 .gear-2 {
     bottom: -50px;
     left: -50px;
     animation: rotateGearReverse 25s linear infinite;
 }

 .hero-content {
     position: relative;
     z-index: 2;
     padding: 0 20px;
     max-width: 800px;
 }

 .hero-content h1 {
     font-size: 3rem;
     margin-bottom: 20px;
     line-height: 1.3;
 }

 .hero-content p {
     font-size: 1.2rem;
     margin-bottom: 30px;
     color: #cccccc;
     /* Light gray for visibility on dark background */
 }

 .hero-buttons {
     display: flex;
     gap: 20px;
     justify-content: center;
     flex-wrap: wrap;
 }

 /* --- About Section --- */
 #about {
     background-color: var(--secondary-bg);
     color: var(--text-main);
     /* Dark text on white background */

 }

 .about-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 50px;
     align-items: center;
 }

 .about-img {
     position: relative;
     border-radius: 4px;
     overflow: hidden;
 }

 .about-img img {
     width: 100%;
     box-shadow: -10px 10px 0px var(--border-color);
     /* Shadow adjusted for RTL */
     filter: grayscale(20%);
     transition: transform 0.5s;
 }

 .about-img:hover img {
     transform: scale(1.02);
 }

 .about-text h3 {
     font-size: 1.8rem;
     margin-bottom: 20px;
     color: var(--accent);
 }

 .about-text h2 {
     color: black;
 }

 .about-text p {
     margin-bottom: 20px;
     color: var(--text-muted);
     font-size: 1.05rem;
 }

 .stats {
     display: flex;
     gap: 30px;
     margin-top: 30px;
     flex-wrap: wrap;
 }

 .stat-item h4 {
     font-size: 2rem;
     color: black;
 }

 .stat-item span {
     font-size: 0.9rem;
     color: var(--text-muted);
 }

 /* --- Services Section --- */
 #services {
     background-color: var(--primary-bg);
 }

 .services-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 30px;
 }

 .service-card {
     background-color: var(--card-bg);
     padding: 40px 30px;
     border: 1px solid var(--border-color);
     transition: all var(--transition-speed);
     position: relative;
     overflow: hidden;
     text-align: center;
 }

 .service-card:hover {
     transform: translateY(-10px);
     border-color: var(--accent);
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
 }

 .service-icon {
     font-size: 3rem;
     color: var(--accent);
     margin-bottom: 20px;
 }

 .service-card h3 {
     font-size: 1.3rem;
     margin-bottom: 15px;
     color: #ff7f23;
 }

 .service-card p {
     font-size: 0.95rem;
     color: #8a8a8a;
     /* Light gray for visibility on dark background */
 }

 /* --- Why Choose Us --- */
 #why-us {
     background-color: var(--secondary-bg);
     color: black;
     position: relative;
 }

 #why-us p {
     color: black;
 }

 .features-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 30px;
 }

 .feature-box {
     text-align: center;
     padding: 30px;
     background: var(--card-bg);
     border-radius: 4px;
     border: 1px solid var(--border-color);
     transition: border-color 0.3s;
 }

 .feature-box:hover {
     border-color: var(--accent);
 }

 .feature-box i {
     font-size: 2.5rem;
     color: var(--primary-bg);
     margin-bottom: 20px;
     transition: color 0.3s;
 }

 .feature-box:hover i {
     color: var(--accent);
 }

 /* --- Reviews --- */
 #reviews {
     background-color: var(--primary-bg);
 }

 .reviews-container {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 30px;
 }

 .review-card {
     background-color: var(--card-bg);
     padding: 30px;
     border-right: 4px solid var(--accent);
     /* Right border for RTL */
 }

 .stars {
     color: var(--accent);
     margin-bottom: 15px;
 }

 .review-text {
     font-style: italic;
     color: #000000;
     /* Light gray for visibility */
     margin-bottom: 20px;
     font-size: 0.95rem;
 }

 .reviews-button {
     text-align: center;
     margin-top: 30px;
     border-radius: 55px;
 }

 .customer-name {
     font-weight: 700;
     font-family: 'Cairo', sans-serif;
     color: var(--accent);
 }

 /* --- Gallery --- */
 #gallery {
     background-color: var(--secondary-bg);
     color: var(--text-main);
 }

 .gallery-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
     gap: 15px;
 }

 .gallery-item {
     position: relative;
     overflow: hidden;
     height: 250px;
     cursor: pointer;
 }

 .gallery-item img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.5s ease;
 }

 .gallery-item:hover img {
     transform: scale(1.1);
 }

 .gallery-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.6);
     display: flex;
     align-items: center;
     justify-content: center;
     opacity: 0;
     transition: opacity 0.3s;
 }

 .gallery-item:hover .gallery-overlay {
     opacity: 1;
 }

 .gallery-overlay i {
     color: var(--text-main);
     font-size: 2rem;
 }

 /* --- FAQ Section --- */
 #faq {
     background-color: var(--primary-bg);
 }

 .faq-container {
     max-width: 800px;
     margin: 0 auto;
 }

 .faq-item {
     margin-bottom: 15px;
     border: 1px solid var(--border-color);
     border-radius: 4px;
     overflow: hidden;
 }

 .faq-question {
     width: 100%;
     text-align: right;
     background: var(--card-bg);
     padding: 20px;
     border: none;
     color: var(--text-main);
     font-weight: 700;
     font-family: 'Cairo', sans-serif;
     cursor: pointer;
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .faq-question i {
     transition: transform 0.3s;
 }

 .faq-question.active i {
     transform: rotate(180deg);
 }

 .faq-answer {
     max-height: 0;
     overflow: hidden;
     transition: max-height 0.3s ease-out;
     background-color: var(--secondary-bg);
     padding: 0 20px;
 }

 .faq-answer p {
     padding: 20px 0;
     color: #cccccc;
     /* Light gray for visibility */
 }

 /* --- Contact & Booking --- */
 #contact {
     background-color: var(--primary-bg);
     color: var(--text-main);
 }

 .contact-wrapper {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 50px;
 }

 .contact-info-item {
     display: flex;
     align-items: flex-start;
     gap: 15px;
     margin-bottom: 30px;
 }

 .contact-info-item i {
     font-size: 1.2rem;
     color: var(--accent);
     margin-top: 5px;
 }

 .map-container {
     margin-top: 0;
     height: 300px;
     width: 100%;
     border-radius: 4px;
     overflow: hidden;
 }

 .map-container iframe {
     width: 100%;
     height: 100%;
     border: 0;
     border-radius: 4px;
 }

 .contact-form {
     background-color: var(--card-bg);
     padding: 40px;
     border-radius: 4px;
 }

 .form-group {
     margin-bottom: 20px;
 }

 .form-group label {
     display: block;
     margin-bottom: 8px;
     font-size: 0.9rem;
     color: var(--text-muted);
 }

 .form-control {
     width: 100%;
     padding: 12px;
     background-color: var(--primary-bg);
     border: 1px solid var(--border-color);
     color: var(--text-main);
     font-family: 'Cairo', sans-serif;
     border-radius: 4px;
 }

 .form-control:focus {
     outline: none;
     border-color: var(--accent);
 }

 /* --- Footer --- */
 footer {
     background-color: var(--card-bg);
     color: #ffffff;
     padding: 50px 0 20px;
     text-align: center;
     border-top: 1px solid var(--border-color);
 }

 .footer-logo-container {
     margin-bottom: 20px;
     display: inline-block;
 }

 .footer-logo {
     height: 80px;
     width: auto;
     /* To make logo pop on black if needed, or remove bg */
     padding: 5px;
     scale: 200%;
 }

 .social-links {
     margin-bottom: 30px;
 }

 .social-links a {
     font-size: 1.2rem;
     margin: 0 10px;
     color: var(--text-muted);
 }

 .social-links a:hover {
     color: var(--accent);
 }

 .copyright {
     color: #cccccc;
     /* Light gray for visibility on dark background */
     font-size: 0.8rem;
 }

 /* --- Floating WhatsApp --- */
 .whatsapp-float {
     position: fixed;
     bottom: 30px;
     left: 30px;
     /* Left side for RTL standard */
     background-color: #25d366;
     color: white;
     width: 60px;
     height: 60px;
     border-radius: 50%;
     text-align: center;
     font-size: 30px;
     box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
     display: flex;
     align-items: center;
     justify-content: center;
     z-index: 1000;
     transition: transform 0.3s;
 }

 .whatsapp-float:hover {
     transform: scale(1.1);
     background-color: #20ba5a;
 }

 /* --- Toast Notification --- */
 .toast {
     position: fixed;
     top: 20px;
     left: 20px;
     /* Left side for RTL */
     background-color: var(--accent);
     color: #ffffff;
     /* White text on orange background */
     padding: 15px 25px;
     border-radius: 4px;
     font-weight: 700;
     font-family: 'Cairo', sans-serif;
     transform: translateX(-200%);
     transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
     z-index: 2000;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .toast.show {
     transform: translateX(0);
 }

 /* --- Media Queries --- */
 @media (max-width: 768px) {
     .nav-links {
         position: fixed;
         left: 0;
         /* Slide from left */
         top: 0;
         height: 100vh;
         background-color: var(--text-muted);
         flex-direction: column;
         justify-content: flex-start;
         align-items: center;
         width: 70%;
         padding-top: 80px;
         /* space from top to avoid nav */
         transform: translateX(-100%);
         /* Hidden to the left initially */
         transition: transform 0.3s ease-in-out;
         box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
     }

     .nav-links.active {
         transform: translateX(0);
     }

     .menu-toggle {
         display: block;
         z-index: 1001;
         transform: translateY(50px);
         /* move burger/X down slightly on mobile */
     }

     .hero-content h1 {
         font-size: 2rem;
     }

     .about-grid,
     .contact-wrapper {
         grid-template-columns: 1fr;
     }

     .about-img {
         order: -1;
     }

     .hero-gear {
         font-size: 10rem;
     }

     .logo {
         height: 50px;
     }

     /* Mobile button adjustments */
     .reviews-button .btn {
         font-size: 1rem;
         padding: 12px 30px;
     }
 }

 /* --- Reviews Button --- */
 .reviews-button {
     text-align: center;
     margin-top: 30px;
 }

 .reviews-button .btn {
     font-size: 1.2rem;
     padding: 15px 40px;
     border-radius: 8px;
     transition: all 0.3s ease;
 }

 .reviews-button .btn:hover {
     transform: scale(1.05);
     box-shadow: 0 5px 15px rgba(255, 127, 35, 0.4);
 }