/*
  Theme: Free Economic Zones in the Emirates
  Design System: Neumorphism with Biomorphic elements
  Color Scheme: Gradient
  Animation Style: Parallax
  Fonts: Montserrat (Headings), Merriweather (Body)
*/

/* CSS Variables */
:root {
  --font-heading: 'Montserrat', 'Cairo', 'Tajawal', 'Amiri', sans-serif;
  --font-body: 'Merriweather', 'Cairo', 'Tajawal', 'Amiri', serif;
  --font-arabic-primary: 'Cairo', 'Tajawal', 'Amiri', sans-serif; /* For specific Arabic elements if needed */

  /* Light Theme Neumorphism & Gradients */
  --neumorphic-bg: #E0E5EC; /* Base background for neumorphism */
  --neumorphic-bg-darker: #c8d0d9; /* Slightly darker shade for pressed effects */
  --neumorphic-bg-lighter: #f8fbfd; /* Slightly lighter shade */

  --neumorphic-shadow-light: -8px -8px 16px rgba(255, 255, 255, 0.7);
  --neumorphic-shadow-dark: 8px 8px 16px rgba(0, 0, 0, 0.15);
  --neumorphic-shadow-inset-light: inset -5px -5px 10px rgba(255, 255, 255, 0.6);
  --neumorphic-shadow-inset-dark: inset 5px 5px 10px rgba(0, 0, 0, 0.1);
  
  --primary-gradient-start: #0061ff; /* Bright Blue */
  --primary-gradient-end: #60efff;   /* Cyan */
  --primary-gradient: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));

  --accent-color-1: #00c6ff; /* Vivid Sky Blue - good for CTAs */
  --accent-color-2: #0072ff; /* Deeper Blue */
  --success-color: #4CAF50;
  --danger-color: #f44336;

  --color-text-light: #FFFFFF;
  --color-text-dark: #333333;
  --color-text-headings: #1A2E3B; /* Dark, slightly desaturated blue for high contrast */
  --color-text-subtle: #586069;
  --color-link: var(--accent-color-2);
  --color-link-hover: var(--primary-gradient-start);

  --border-radius-soft: 15px;
  --border-radius-medium: 25px; /* More biomorphic */
  --border-radius-hard: 8px;
  --border-radius-round: 50%;

  --header-height: 80px;
  --section-padding: 3rem 0; /* Reduced default padding */
  --section-padding-large: 5rem 0;
  
  --transition-speed: 0.3s;
}

/* Global Resets and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px; /* Base font size */
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--neumorphic-bg);
  line-height: 1.7;
  overflow-x: hidden; /* Prevent horizontal scroll from AOS or other animations */
  direction: rtl; /* Set text direction for Arabic */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-headings);
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* Subtle shadow for headings */
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
  margin-bottom: 1.25rem;
  color: var(--color-text-subtle);
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Section Styling */
.section-padding {
  padding: var(--section-padding);
}
.section-padding-large {
  padding: var(--section-padding-large);
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: var(--color-text-headings);
}
.section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.1rem;
  color: var(--color-text-subtle);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(224, 229, 236, 0.85); /* Semi-transparent neumorphic base */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--neumorphic-shadow-dark);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color var(--transition-speed) ease;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.site-header .logo img {
  height: 50px; /* Adjust as needed */
  width: auto;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  align-items: center;
}

.main-navigation li {
  margin-right: 25px; /* RTL: use margin-left if nav is on the right */
}
html[dir="rtl"] .main-navigation li {
    margin-right: 0;
    margin-left: 25px;
}
html[dir="rtl"] .main-navigation li:last-child {
    margin-left: 0;
}


.main-navigation a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text-headings);
  padding: 5px 0;
  position: relative;
  text-decoration: none;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width var(--transition-speed) ease;
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-text-headings);
  cursor: pointer;
}

/* Global Button Styles */
.btn, button, input[type="submit"], input[type="button"] {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: none;
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  border-radius: var(--border-radius-medium); /* Biomorphic buttons */
  transition: all var(--transition-speed) ease;
  text-decoration: none;
  line-height: 1.5; /* Ensure text is vertically centered */
}

/* Neumorphic Button Style */
.btn.neumorphic, button.neumorphic, input[type="submit"].neumorphic {
  background-color: var(--neumorphic-bg);
  color: var(--color-text-headings);
  box-shadow: var(--neumorphic-shadow-light), var(--neumorphic-shadow-dark);
}

.btn.neumorphic:hover, button.neumorphic:hover, input[type="submit"].neumorphic:hover {
  background-color: var(--neumorphic-bg-darker);
  box-shadow: var(--neumorphic-shadow-inset-light), var(--neumorphic-shadow-inset-dark);
  transform: translateY(2px); /* Slight press effect */
}

.btn.neumorphic:active, button.neumorphic:active, input[type="submit"].neumorphic:active {
  background-color: var(--neumorphic-bg-darker);
  box-shadow: var(--neumorphic-shadow-inset-light), var(--neumorphic-shadow-inset-dark);
  transform: translateY(1px) scale(0.98);
}

/* Primary Button (Gradient) */
.btn-primary {
  background: var(--primary-gradient);
  color: var(--color-text-light);
  box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3); /* Shadow from accent color */
}

.btn-primary:hover {
  background-position: right center; /* change gradient direction */
  box-shadow: 0 6px 20px rgba(0, 114, 255, 0.4);
  transform: translateY(-2px);
}
.btn-primary.neumorphic { /* If combining primary colors with neumorphic base */
    background: var(--primary-gradient);
    color: var(--color-text-light);
    box-shadow: var(--neumorphic-shadow-light), var(--neumorphic-shadow-dark), 0 4px 15px rgba(0, 114, 255, 0.2);
}
.btn-primary.neumorphic:hover {
    background: var(--primary-gradient); /* Keep gradient on hover */
    box-shadow: var(--neumorphic-shadow-inset-light), var(--neumorphic-shadow-inset-dark), 0 2px 10px rgba(0, 114, 255, 0.1);
    transform: translateY(2px);
}


/* Hero Section */
.hero-section {
  position: relative;
  min-height: 90vh; /* Reduced height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--color-text-light); /* Enforced by prompt */
  padding-top: var(--header-height); /* Account for fixed header */
}

.parallax-bg {
  background-attachment: fixed; /* Parallax effect */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)); /* Darkening overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-light); /* Enforced by prompt */
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: var(--color-text-light); /* Enforced by prompt */
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-content .btn {
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
}

/* Card Styles (Global) */
.card {
  background-color: var(--neumorphic-bg);
  border-radius: var(--border-radius-medium); /* Biomorphic shape */
  padding: 1.5rem;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center children like .card-image and .card-content */
  text-align: center; /* Center text within the card */
}

.card.neumorphic {
  box-shadow: var(--neumorphic-shadow-light), var(--neumorphic-shadow-dark);
}

.card.neumorphic:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: -12px -12px 24px rgba(255, 255, 255, 0.8), 
              12px 12px 24px rgba(0, 0, 0, 0.2);
}

.card-image {
  width: 100%; /* Take full width of parent column/grid item */
  height: 200px; /* Fixed height for image container */
  border-radius: var(--border-radius-soft); /* Rounded corners for image container */
  overflow: hidden; /* Crucial for object-fit and border-radius on image */
  margin-bottom: 1rem;
  margin-left: auto; /* Center if card is wider */
  margin-right: auto; /* Center if card is wider */
  display: flex; /* To center the img if it's smaller, though usually it's 100% */
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the container, cropping if necessary */
  transition: transform var(--transition-speed) ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  width: 100%; /* Ensure content takes available width */
}

.card-content h3 {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  color: var(--color-text-headings);
}

.card-content p {
  font-size: 0.95rem;
  color: var(--color-text-subtle);
  line-height: 1.6;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Popular Zones Section (Slider Placeholder) */
.popular-zones-slider {
  /* Basic styling for slides if they are visible before JS init */
  display: flex; /* Example for horizontal layout, JS will handle actual slider */
  overflow-x: auto; /* Simple scroll for non-JS, or JS will hide this */
  gap: 1.5rem;
  padding-bottom: 1rem; /* Space for scrollbar if visible */
}
.popular-zones-slider .slide {
  min-width: 320px; /* Ensure slides have a minimum width */
  flex-shrink: 0;
}

/* Research, Innovation, Behind The Scenes Sections */
.research-section .research-content p,
.innovation-section .innovation-grid p, /* Assuming p inside cards here */
.behind-the-scenes-section .behind-scenes-content p {
  font-size: 1.05rem;
  line-height: 1.8;
}
.innovation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}


/* Gallery Section */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--border-radius-soft);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--neumorphic-shadow-light), var(--neumorphic-shadow-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
  transform: scale(1.03);
   box-shadow: -10px -10px 20px rgba(255, 255, 255, 0.75), 
              10px 10px 20px rgba(0, 0, 0, 0.18);
}
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
/* Modal for Gallery */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}
.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80vh;
}
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}
.close-modal {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}
.close-modal:hover,
.close-modal:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}


/* Customer Stories (Testimonials) */
.testimonial-slider {
  display: flex; /* Placeholder for JS slider */
  overflow-x: auto;
  gap: 1.5rem;
  padding-bottom: 1rem;
}
.testimonial-slide {
  min-width: 350px;
  padding: 2rem;
}
.testimonial-slide .card-image { /* For profile pic */
  width: 100px;
  height: 100px;
  border-radius: var(--border-radius-round);
  margin-bottom: 1rem;
}
.testimonial-slide p {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--color-text-subtle);
}
.testimonial-slide h4 {
  font-size: 1.1rem;
  color: var(--color-text-headings);
  margin-bottom: 0.25rem;
}
.testimonial-slide span {
  font-size: 0.9rem;
  color: var(--accent-color-2);
}

/* News Section */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.news-grid .card .card-image { /* Specific height for news cards */
    height: 180px;
}
.news-date {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-subtle);
  margin-bottom: 0.5rem;
}
.read-more {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent-color-1);
  text-decoration: none;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition-speed) ease;
}
.read-more:hover {
  border-bottom-color: var(--accent-color-1);
  color: var(--accent-color-1); /* Keep color consistent or slightly change */
}

/* External Links Section */
.neumorphic-list {
  list-style: none;
  padding: 0;
}
.neumorphic-list li {
  margin-bottom: 1rem;
}
.neumorphic-link {
  display: block;
  padding: 1rem 1.5rem;
  background-color: var(--neumorphic-bg);
  color: var(--color-text-headings);
  border-radius: var(--border-radius-soft);
  box-shadow: var(--neumorphic-shadow-light), var(--neumorphic-shadow-dark);
  transition: all var(--transition-speed) ease;
  text-decoration: none;
  font-weight: 600;
}
.neumorphic-link:hover {
  background-color: var(--neumorphic-bg-darker);
  box-shadow: var(--neumorphic-shadow-inset-light), var(--neumorphic-shadow-inset-dark);
  transform: translateY(2px);
  color: var(--color-link-hover);
}


/* FAQ Section */
.faq-accordion .faq-item {
  margin-bottom: 1rem;
  background-color: var(--neumorphic-bg);
  border-radius: var(--border-radius-soft);
  box-shadow: var(--neumorphic-shadow-light), var(--neumorphic-shadow-dark);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 1.5rem;
  text-align: right; /* RTL */
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text-headings);
  cursor: pointer;
  position: relative;
  transition: background-color var(--transition-speed) ease;
}
html[dir="rtl"] .faq-question {
    text-align: right;
}
html[dir="ltr"] .faq-question { /* Example for LTR if needed */
    text-align: left;
}

.faq-question::after { /* Accordion Icon */
  content: '+';
  position: absolute;
  left: 1.5rem; /* RTL */
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent-color-2);
  transition: transform var(--transition-speed) ease;
}
html[dir="rtl"] .faq-question::after {
    left: 1.5rem;
    right: auto;
}
html[dir="ltr"] .faq-question::after { /* Example for LTR if needed */
    right: 1.5rem;
    left: auto;
}


.faq-item.active .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-item:hover .faq-question {
    background-color: var(--neumorphic-bg-lighter);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed) ease-out, padding var(--transition-speed) ease-out;
}
.faq-answer p {
  margin-bottom: 0;
  color: var(--color-text-subtle);
  font-size: 1rem;
}
.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding-top: 0.5rem;
  padding-bottom: 1.5rem;
}

/* Contact Section & Form */
.neumorphic-form .form-group {
  margin-bottom: 1.5rem;
}
.neumorphic-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text-headings);
}
.neumorphic-input,
.neumorphic-textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-dark);
  background-color: var(--neumorphic-bg);
  border: none;
  border-radius: var(--border-radius-soft);
  box-shadow: var(--neumorphic-shadow-inset-light), var(--neumorphic-shadow-inset-dark);
  transition: box-shadow var(--transition-speed) ease;
}
.neumorphic-input:focus,
.neumorphic-textarea:focus {
  outline: none;
  box-shadow: var(--neumorphic-shadow-inset-light), var(--neumorphic-shadow-inset-dark),
              0 0 0 2px var(--accent-color-1_translucent); /* Focus ring - define translucent color if needed */
  background-color: var(--neumorphic-bg-lighter);
}
.neumorphic-textarea {
  min-height: 120px;
  resize: vertical;
}
.neumorphic-form ::placeholder {
    color: #99a0a8; /* Subtler placeholder */
    opacity: 1; 
}
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.contact-info-item {
    text-align: center;
    padding: 2rem;
}
.contact-info-item .card-image { /* For icons */
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    background-color: var(--neumorphic-bg-lighter);
    border-radius: var(--border-radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--neumorphic-shadow-light), var(--neumorphic-shadow-dark);
}
.contact-info-item .card-image img {
    width: 40px; /* Icon size */
    height: 40px;
}
.contact-info-item h3 {
    margin-bottom: 0.5rem;
}
.contact-info-item p {
    font-size: 1rem;
    color: var(--color-text-subtle);
}
.contact-info-item p a {
    color: var(--color-link);
}
.contact-info-item p a:hover {
    color: var(--color-link-hover);
}


/* Footer */
.site-footer {
  background: linear-gradient(to bottom, var(--neumorphic-bg-darker), var(--neumorphic-bg));
  color: var(--color-text-subtle);
  padding: var(--section-padding-large) 0 var(--section-padding) 0;
  border-top: 3px solid transparent;
  border-image: var(--primary-gradient) 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-column h4 {
  font-size: 1.3rem;
  color: var(--color-text-headings);
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0; /* RTL */
  width: 50px;
  height: 3px;
  background: var(--primary-gradient);
}
html[dir="ltr"] .footer-column h4::after {
    left: 0;
    right: auto;
}
.footer-column ul {
  list-style: none;
}
.footer-column li {
  margin-bottom: 0.75rem;
}
.footer-column a {
  color: var(--color-text-subtle);
  text-decoration: none;
  transition: color var(--transition-speed) ease, padding-right var(--transition-speed) ease; /* RTL: padding-left */
}
html[dir="rtl"] .footer-column a:hover {
  color: var(--accent-color-1);
  padding-right: 5px; /* Slight indent on hover */
}
html[dir="ltr"] .footer-column a:hover {
  color: var(--accent-color-1);
  padding-left: 5px; /* Slight indent on hover */
}

.footer-column .social-links a {
  margin: 0 5px; /* Spacing between text links */
  font-weight: 600;
}
.footer-column .social-links a:hover {
    padding-right: 0; /* Reset hover indent for social links if not desired */
    padding-left: 0;
}
.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  font-size: 0.9rem;
}

/* Specific Page Styles */
/* Privacy & Terms Page Content */
main[data-barba-namespace="privacy"] .privacy-content,
main[data-barba-namespace="terms"] .terms-content {
  padding-top: calc(var(--header-height) + 40px); /* Space for fixed header + extra */
}
main[data-barba-namespace="privacy"] .text-content ul,
main[data-barba-namespace="terms"] .text-content ul {
    list-style-position: inside;
    padding-right: 1.5rem; /* RTL */
    margin-bottom: 1rem;
}
html[dir="ltr"] main[data-barba-namespace="privacy"] .text-content ul,
html[dir="ltr"] main[data-barba-namespace="terms"] .text-content ul {
    padding-left: 1.5rem;
    padding-right: 0;
}

main[data-barba-namespace="privacy"] .text-content h3,
main[data-barba-namespace="terms"] .text-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-size: 1.6rem;
}


/* Success Page */
main[data-barba-namespace="success"] {
  min-height: calc(100vh - var(--header-height) - 158px); /* 158px is approx footer height, adjust if footer is dynamic */
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
}
/* Style for .success-container itself is in success.html, ensure it's centered */
.success-container {
    background-color: var(--neumorphic-bg);
    padding: 3rem;
    border-radius: var(--border-radius-medium);
    box-shadow: var(--neumorphic-shadow-light), var(--neumorphic-shadow-dark);
    max-width: 600px;
    width: 90%;
}
.success-container h1 {
    color: var(--success-color);
}
.success-container .btn-home {
    background: var(--success-color);
    color: var(--color-text-light);
}
.success-container .btn-home:hover {
    background: #3e8e41; /* Darker green */
}

/* Page Hero (for About, Contacts, etc.) */
.page-hero {
    position: relative;
    min-height: 40vh; /* Shorter hero for inner pages */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--color-text-light);
    padding-top: var(--header-height);
}
.page-hero .hero-overlay { /* Re-use hero overlay style */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.75));
    z-index: 1;
}
.page-hero .container {
    position: relative;
    z-index: 2;
}
.page-hero h1 {
    font-size: 3rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}
.page-hero p {
    font-size: 1.2rem;
    color: var(--color-text-light);
    opacity: 0.9;
}
/* Column Layouts */
.content-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start; /* Align items to the top */
}
.column {
    flex: 1;
    min-width: 300px; /* Prevent columns from getting too narrow */
}
.column.is-two-thirds {
    flex-basis: 66%; /* Approximate */
}
.column .card-image img { /* For images next to text in columns */
    border-radius: var(--border-radius-soft);
    box-shadow: var(--neumorphic-shadow-light), var(--neumorphic-shadow-dark);
}

/* AOS Animations - default fade up */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition-property: opacity, transform;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Barba.js Transitions (Basic Example) */
.barba-leave-active,
.barba-enter-active {
  transition: opacity 0.5s ease;
}
.barba-leave-to,
.barba-enter-from {
  opacity: 0;
}


/* Responsive Styles */
@media (max-width: 992px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .hero-content h1 { font-size: 3rem; }
  .hero-content p { font-size: 1.1rem; }
  .section-title { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  .main-navigation {
    display: none; /* Hidden by default, JS will show */
    position: absolute;
    top: var(--header-height);
    right: 0; /* RTL */
    left: auto;
    background-color: var(--neumorphic-bg);
    width: 100%;
    box-shadow: var(--neumorphic-shadow-dark);
    padding: 1rem 0;
  }
  html[dir="ltr"] .main-navigation {
      left:0;
      right:auto;
  }

  .main-navigation.active {
    display: block;
  }
  .main-navigation ul {
    flex-direction: column;
    align-items: center;
  }
  .main-navigation li {
    margin: 0.8rem 0;
    margin-left: 0; /* Reset for column layout */
  }
  .menu-toggle {
    display: block;
  }

  .hero-section { min-height: 70vh; }
  .hero-content h1 { font-size: 2.5rem; }
  .page-hero { min-height: 30vh; }
  .page-hero h1 { font-size: 2.5rem; }
  
  .footer-grid {
    grid-template-columns: 1fr; /* Stack columns on smaller screens */
    text-align: center;
  }
  .footer-column h4::after {
    right: 50%; /* Center the underline */
    transform: translateX(50%); /* RTL: -50% */
  }
  html[dir="ltr"] .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .column.is-two-thirds {
      flex-basis: 100%;
  }
}

@media (max-width: 576px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  .section-title { font-size: 1.8rem; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
  .btn, button, input[type="submit"] {
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
  }
  .popular-zones-slider .slide,
  .testimonial-slider .testimonial-slide {
    min-width: 280px;
  }
}

/* Cookie Consent Popup - Minimal inline styles from HTML were for initial display */
#cookieConsentPopup {
    font-family: var(--font-arabic-primary); /* Ensure Arabic font */
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}
#cookieConsentPopup p {
    color: #f0f0f0; /* Lighter text for dark background */
    font-family: var(--font-arabic-primary);
}
#acceptCookieConsent {
    background-color: var(--success-color); /* Use variable */
    font-family: var(--font-arabic-primary);
}
#acceptCookieConsent:hover {
    background-color: #3e8e41; /* Darker green */
}

/* Utility classes */
.text-center { text-align: center; }
.margin-top-md { margin-top: 2rem; }
.margin-bottom-md { margin-bottom: 2rem; }

/* Ensure high contrast for text on gradient backgrounds where needed */
/* Example: if a section has a very light part of a gradient */
.section-on-light-gradient-part p {
    /* color: var(--color-text-dark); */
}
/* Example: if a section has a very dark part of a gradient */
.section-on-dark-gradient-part p {
    /* color: var(--color-text-light); */
}