:root {
  --brand-blue: #266494;
  --brand-orange: #E57A25;
  --brand-gray: #4a5568;
}

/* Base styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
}

/* Arabic Font */
@font-face {
  font-family: 'Al-Jazeera-Arabic';
  src: url('/public/assets/fonts/Al-Jazeera-Arabic-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

.font-arabic {
  font-family: 'Al-Jazeera-Arabic', sans-serif;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-title {
  font-size: 2rem;
  color: var(--brand-blue);
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background-color: var(--brand-orange);
  border-radius: 2px;
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.service-image {
  height: 280px;
  object-fit: cover;
  width: 100%;
}

.service-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.service-description {
  color: var(--brand-gray);
  line-height: 1.7;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  flex: 1;
}

/* Book Now Button */
.book-now-btn {
  display: inline-flex;
  align-items: center;
  padding: 1.25rem 2.5rem;
  background-color: var(--brand-blue);
  color: white;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.book-now-btn:hover {
  background-color: var(--brand-blue/90);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.book-now-btn i {
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

/* RTL Support for Button */
[dir="rtl"] .book-now-btn i {
  margin-right: 0;
  margin-left: 0.75rem;
}

/* View All Buttons */
.view-all-button {
  display: inline-flex;
  align-items: center;
  padding: 1.25rem 2.5rem;
  color: white;
  background-color: var(--brand-blue);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  margin-top: 3.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.125rem;
  box-shadow: 0 4px 6px rgba(0, 112, 204, 0.2);
}

.view-all-button:hover {
  background-color: rgba(0, 112, 204, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 112, 204, 0.3);
}

.view-all-button i {
  margin-left: 1rem;
  transition: transform 0.3s ease;
}

.view-all-button:hover i {
  transform: translateX(4px);
}

/* Blog Cards */
.blog-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: block;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.blog-image {
  height: 240px;
  object-fit: cover;
  width: 100%;
}

.blog-content {
  padding: 2rem;
}

.blog-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-excerpt {
  color: var(--brand-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Reviews Section */
.reviews-section {
  background-color: #f8fafc;
  padding: 6rem 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.review-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Navigation Menu Width Adjustment */
nav .max-w-7xl {
  width: 100%;
  max-width: 90rem; /* Increased from 80rem to give more space */
  margin: 0 auto;
  position: relative;
}

nav .flex.justify-between {
  width: 100%;
  gap: 1rem;
}

/* Adjust navigation links container */
nav .sm\:flex.sm\:justify-center.sm\:space-x-8 {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

/* Ensure proper spacing for right-side items */
nav .flex.items-center.space-x-4 {
  flex-shrink: 0;
  margin-left: 1rem;
  white-space: nowrap;
}

/* Navigation Links */
.nav-link {
  padding: 0.5rem 1rem;
  color: var(--brand-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--brand-blue);
}

/* Right side buttons */
.nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
}

.nav-btn i {
  margin-right: 0.5rem;
  font-size: 1rem;
}

.nav-btn .fas.fa-lock {
  font-size: 1.25rem;
  color: var(--brand-gray);
  transition: color 0.3s ease;
}

.nav-btn:hover .fas.fa-lock {
  color: var(--brand-blue);
}

.nav-btn-primary {
  background-color: var(--brand-blue);
  color: white;
}

.nav-btn-primary:hover {
  background-color: rgba(0, 112, 204, 0.9);
  transform: translateY(-1px);
}

.nav-btn-secondary {
  background-color: var(--brand-orange);
  color: white;
}

.nav-btn-secondary:hover {
  background-color: rgba(255, 107, 0, 0.9);
  transform: translateY(-1px);
}

/* Language Switcher */
.language-switcher {
  display: inline-flex;
  align-items: center;
  padding: 9px;
  border: 2px solid var(--brand-blue);
  border-radius: 0.5rem;
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  background: transparent;
  text-decoration: none;
  white-space: nowrap;
  margin-left: 6px;
}

.language-switcher:hover {
  background-color: var(--brand-blue);
  color: white;
  transform: translateY(-1px);
}

/* RTL Support */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .mr-2,
[dir="rtl"] .mr-3,
[dir="rtl"] .mr-4 {
  margin-right: 0;
  margin-left: 0.5rem;
}

[dir="rtl"] .space-x-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .hero-description {
    font-size: 1.75rem;
  }

  .view-all-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .service-title {
    font-size: 1.5rem;
  }

  .blog-image {
    height: 200px;
  }

  .blog-content {
    padding: 1.5rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* Animations */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

.slide-up {
  animation: slideUp 0.6s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Hero Section */
.hero-section {
  position: relative;
  background-position: center;
  background-size: cover;
  height: 700px; /* Fixed height for hero section */
}

.hero-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  font-weight: 800;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 3rem;
  opacity: 0.95;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  font-weight: 500;
}

/* Hero Section Buttons and Social Links */
.hero-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
}

.hero-btn-primary {
  background-color: var(--brand-orange);
}

.hero-btn-primary:hover {
  background-color: rgba(229, 122, 37, 0.9);
  transform: translateY(-2px);
}

.hero-btn-secondary {
  background-color: var(--brand-blue);
}

.hero-btn-secondary:hover {
  background-color: rgba(38, 100, 148, 0.9);
  transform: translateY(-2px);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--brand-blue);
  color: white;
  border-radius: 9999px;
  transition: all 0.3s ease;
  font-size: 1.25rem;
}

.social-link:hover {
  background-color: rgba(38, 100, 148, 0.9);
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

[dir="rtl"] .hero-btn i {
  margin-right: 0;
  margin-left: 0.75rem;
}

/* Auth Button Styles */
.auth-btn {
  background-color: var(--brand-blue);
  color: white;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 102, 204, 0.2);
}

.auth-btn:hover {
  background-color: rgba(0, 102, 204, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 6px 8px rgba(0, 102, 204, 0.3);
}

.auth-btn:focus {
  outline: none;
  ring: 2px;
  ring-offset: 2px;
  ring-color: var(--brand-blue);
}

.auth-link {
  color: var(--brand-blue);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.auth-link:hover {
  color: rgba(0, 102, 204, 0.9);
}

/* Auth Form Styles */
.auth-form {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.auth-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.auth-input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
  outline: none;
}

.nav-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.3s ease;
  width: 210px;
}

.nav-brand:hover {
  color: var(--brand-blue/90);
}

.language-switcher:hover {
  background-color: var(--brand-blue);
  color: white;
  transform: translateY(-1px);
}

/* Page Headers */
.page-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.page-title {
  font-size: 1.75rem;
  color: var(--brand-blue);
  font-weight: 700;
  margin-top: 3rem;
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.page-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background-color: var(--brand-orange);
  border-radius: 2px;
}

/* Footer Styles */
footer {
  background-color: var(--brand-blue);
  color: white;
}

footer a {
  transition: opacity 0.3s ease;
}

footer a:hover {
  opacity: 0.8;
}

footer .border-t {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Update existing footer-related styles */
.footer-heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-link {
  display: block;
  color: white;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.7;
}

.footer-copyright {
  opacity: 0.8;
  font-size: 0.875rem;
}


/* RTL Menu Styles */
[dir="rtl"] .menu-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .menu-item {
    margin-left: 0;
    margin-right: 1rem;
}

[dir="rtl"] .hero-btn i {
    margin-left: 0.75rem;
    margin-right: 0;
}
/* Hero Section Styles */
.hero-btn {
    @apply px-6 py-3 rounded-lg font-medium transition-all duration-200 text-center;
}

.hero-btn-primary {
    @apply bg-brand-blue text-white hover:bg-brand-blue/90;
}

.hero-btn-secondary {
    @apply bg-white text-gray-800 hover:bg-gray-100;
}

.social-link {
    @apply w-10 h-10 rounded-full bg-white/20 flex items-center justify-center text-white hover:bg-white/30 transition-colors;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .hero-section {
        min-height: 700px;
        height: calc(100vh - 64px);
    }
    
    .hero-section img {
        height: 100%;
    }
    
    .hero-section h1 {
        font-size: 2.25rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-content {
        text-align: center;
        padding: 2rem 1rem;
    }

    [dir="rtl"] .hero-content {
        text-align: center;
    }
    
    .hero-section p {
        font-size: 1.125rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .hero-section .flex {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-section .hero-btn {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0.5rem 0;
    }

    .hero-section .social-links {
        justify-content: center;
        margin-top: 1rem;
    }

    [dir="rtl"] .hero-section h1,
    [dir="rtl"] .hero-section p {
        text-align: center;
    }

    [dir="rtl"] .hero-section .flex {
        flex-direction: column;
    }

    [dir="rtl"] .hero-section .hero-btn i {
        margin: 0 0.75rem;
    }
}
  .mobile-menu {
    display: none;
    background-color: white;
    border-top: 1px solid #e5e7eb;
    transition: all 0.3s ease-in-out;
  }

  .mobile-menu.active {
    display: block !important;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 50;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .mobile-menu-item {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    border-radius: 0.375rem;
    transition: all 0.2s;
  }

  .mobile-menu-item:hover {
    background-color: #f3f4f6;
  }

  .hero-section {
    height: 700px;
    min-height: 500px;

  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 1.125rem;
    line-height: 1.5;
  }

  .hero-btn {
    width: 100%;
    margin-bottom: 0.5rem;
    justify-content: center;
  }

  [dir="rtl"] .hero-section {
    text-align: right;
  }
}

/* Navigation styles */
.nav-brand {
    font-size: 1.25rem;
    font-weight: bold;
    color: #2563eb;
}/* === Final Mobile Fix for Hero Section === */
@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 1rem;
    min-height: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem !important;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1.125rem !important;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .hero-section .hero-btn {
    width: 100%;
    margin-bottom: 1rem;
    justify-content: center;
  }

  .hero-section .social-links {
    justify-content: center;
    margin-top: 1rem;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  [dir="rtl"] .hero-title,
  [dir="rtl"] .hero-description {
    text-align: center;
  }
}@media (max-width: 768px) {
  .hero-section h1.text-5xl {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
    text-align: center !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5) !important;
  }
  .hero-section p.text-xl {
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    text-align: center !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6) !important;
  }
  .hero-section .flex.items-center.gap-6 {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1rem !important;
  }
  .hero-section .hero-btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .hero-section .social-link {
    margin-top: 1rem !important;
  }
}@media (max-width: 768px) {
  /* Override for hero title */
  #hero-title {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
    text-align: center !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5) !important;
  }
  
  /* Override for hero description */
  #hero-description {
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    text-align: center !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6) !important;
  }
}