﻿/* 
  UAE Business Directory Redesign 
  Theme: "Modern UAE Premium Directory" 
*/

:root {
  /* Colors */
  --color-primary:       #1B2B4B;   /* Deep midnight blue */
  --color-secondary:     #C8963E;   /* Warm UAE gold */
  --color-accent-green:  #2D7D52;   /* Muted sage */
  --color-bg:            #FAFAF8;   /* Warm off-white */
  --color-bg-section:    #F2EFE9;   /* Warm sand */
  --color-card-bg:       #FFFFFF;
  --color-text-dark:     #1A1A2E;
  --color-text-mid:      #4A5568;
  --color-text-light:    #718096;
  --color-border:        #E8E0D5;   /* Warm border */
  --color-gold-light:    #F5E6C8;   /* Light gold for badges */

  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(27,43,75,0.08);
  --shadow-card: 0 2px 16px rgba(27,43,75,0.06);
  --shadow-hover: 0 12px 40px rgba(27,43,75,0.15);

  /* Fonts */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-arabic: 'Noto Sans Arabic', sans-serif;
}

/* Typography settings */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans Arabic';
  src: url('../fonts/noto-sans-arabic-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans Arabic';
  src: url('../fonts/noto-sans-arabic-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--color-bg);
  color: var(--color-text-mid);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-dark);
  margin-bottom: 0.5em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  font-weight: 600;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #1B2B4B;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: #718096;
  max-width: 600px;
  line-height: 1.6;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--color-secondary);
}

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

ul {
  list-style: none;
}

/* Layout Elements */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }
}

.section-padding {
  padding: 5rem 0;
}

.text-center { text-align: center; }
.text-gold { color: var(--color-secondary); }
.bg-navy { background-color: var(--color-primary); color: white; }
.bg-sand { background-color: var(--color-bg-section); }

/* Page Hero Banner Shared Component */
.page-hero {
  height: 280px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary); /* fallback */
}
@media (max-width: 768px) {
  .page-hero {
    height: 200px;
  }
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.page-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,43,75,0.6);
}
.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 1rem;
}
.page-hero h1 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}
.breadcrumb a {
  color: white;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary), #B8832E);
  color: white;
  box-shadow: 0 4px 15px rgba(200,150,62,0.2);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(200,150,62,0.3);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
}

.btn-outline:hover {
  background: var(--color-secondary);
  color: white;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  height: 72px;
  background-color: rgba(250, 250, 248, 0.9);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  background-color: rgba(255, 255, 255, 0.95);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.navbar-logo a {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.logo-monogram {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  color: var(--color-secondary);
  font-size: 1.2rem;
}

.navbar-menu {
  display: flex;
  gap: 2rem;
}

.navbar-menu a {
  color: var(--color-text-dark);
  font-weight: 500;
}

.navbar-menu a:hover {
  color: var(--color-secondary);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 5px 0;
  transition: 0.3s;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--color-bg);
  z-index: 2000;
  transition: right 0.3s ease;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.mobile-menu-overlay.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.close-menu {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-links a {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  color: var(--color-text-dark);
}

/* Hero Section */
.hero-section {
  display: flex;
  height: calc(100vh - 72px);
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 0 0 55%;
  padding: 4rem 10% 4rem 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  background-color: var(--color-bg);
}

/* Geometric Pattern */
.hero-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(var(--color-secondary) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.04;
  z-index: -1;
}

.hero-visual {
  flex: 0 0 45%;
  background: linear-gradient(to bottom, var(--color-bg-section) 0%, var(--color-bg) 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 2rem;
}

.skyline-svg-container {
  width: 100%;
  max-width: 600px;
  height: auto;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  background-color: var(--color-gold-light);
  color: var(--color-secondary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-mid);
  margin-bottom: 2.5rem;
  max-width: 80%;
}

.search-bar-wrapper {
  background: white;
  border-radius: 60px;
  padding: 0.5rem;
  display: flex;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  border: 1px solid var(--color-border);
}

.search-bar-wrapper:focus-within {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(200,150,62,0.2);
  border-color: var(--color-secondary);
}

.search-input-group {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  position: relative;
}

.search-input-group:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: var(--color-border);
}

.search-input-group select,
.search-input-group input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-dark);
  padding: 0.5rem;
}

.search-btn {
  height: 52px;
  min-width: 120px;
  border-radius: 40px;
  font-size: 1rem;
}

.popular-tags {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.popular-tags a {
  color: var(--color-text-mid);
  margin: 0 0.25rem;
}

.popular-tags a:hover {
  color: var(--color-secondary);
}

/* Floating Cards Animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.floating-card {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 3s ease-in-out infinite;
  z-index: 10;
}

.float-card-1 { top: 20%; left: 10%; animation-delay: 0s; }
.float-card-2 { top: 40%; right: 10%; animation-delay: 1s; }
.float-card-3 { bottom: 30%; left: 20%; animation-delay: 2s; }

/* Stats Bar */
.stats-bar {
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 10%;
  height: 80%;
  width: 1px;
  background-color: var(--color-secondary);
  opacity: 0.3;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-secondary);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Categories Grid */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 0.5rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-secondary);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.category-card {
  background: var(--color-card-bg);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-secondary);
}

.category-icon {
  width: 48px;
  height: 48px;
  color: var(--color-secondary);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
  transform: rotate(5deg) scale(1.1);
}

.category-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}

.category-count {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* Business Listing Cards */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.listing-card {
  background: var(--color-card-bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.listing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.listing-cover {
  height: 200px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.listing-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
}

.badge-cat {
  background: rgba(27,43,75,0.85);
  backdrop-filter: blur(8px);
  color: var(--color-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-premium {
  background: linear-gradient(135deg, var(--color-secondary), #B8832E);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.listing-content {
  padding: 0 1.5rem 1.5rem;
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.listing-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid white;
  margin-top: -26px;
  background: white;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.listing-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.listing-title {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.listing-tagline {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.listing-meta {
  font-size: 0.875rem;
  color: var(--color-text-mid);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.star-rating {
  color: #F59E0B;
}

.listing-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.listing-link {
  font-weight: 500;
}

/* Default Cover Gradients for Categories */
.placeholder-restaurant { background: linear-gradient(135deg, #FF6B35, #F7C59F); }
.placeholder-hotel { background: linear-gradient(135deg, #1B2B4B, #3D5A8A); }
.placeholder-medical { background: linear-gradient(135deg, #2D7D52, #52B788); }
.placeholder-beauty { background: linear-gradient(135deg, #D53F8C, #F687B3); }
.placeholder-automotive { background: linear-gradient(135deg, #374151, #9CA3AF); }
.placeholder-realestate { background: linear-gradient(135deg, #047857, #6EE7B7); }
.placeholder-education { background: linear-gradient(135deg, #4338CA, #818CF8); }
.placeholder-professional { background: linear-gradient(135deg, #1E3A8A, #60A5FA); }
.placeholder-shopping { background: linear-gradient(135deg, #B91C1C, #F87171); }
.placeholder-default { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); }

/* Emirate Cards */
.emirates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0 0 3rem;
}

@media (max-width: 1024px) {
  .emirates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .emirates-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.emirate-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  background-color: #1B2B4B;
  /* 3:2 landscape ratio â much better than square */
  aspect-ratio: 3 / 2;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.emirate-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(27,43,75,0.25);
}

.emirate-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.emirate-card:hover .emirate-card__img {
  transform: scale(1.07);
}

.emirate-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(27,43,75,0.92) 0%,
    rgba(27,43,75,0.4) 50%,
    rgba(27,43,75,0.1) 100%
  );
  transition: background 0.3s ease;
}

.emirate-card:hover .emirate-card__overlay {
  background: linear-gradient(
    to top,
    rgba(27,43,75,0.95) 0%,
    rgba(27,43,75,0.5) 60%,
    rgba(27,43,75,0.15) 100%
  );
}

.emirate-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 2;
}

.emirate-card__name-en {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  display: block;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.emirate-card__name-ar {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  display: block;
  font-family: 'Noto Sans Arabic', sans-serif;
  margin-bottom: 0.75rem;
}

.emirate-card__count {
  display: inline-block;
  background: rgba(200,150,62,0.9);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
}

/* Gradient fallbacks per emirate (when no image) */
.emirate-dubai     { background: linear-gradient(135deg,#1B2B4B,#2C4A7A); }
.emirate-abu-dhabi { background: linear-gradient(135deg,#1A3A1A,#27AE60); }
.emirate-sharjah   { background: linear-gradient(135deg,#5C3A1A,#C8963E); }
.emirate-ajman     { background: linear-gradient(135deg,#1A4A6B,#2E7BA8); }
.emirate-ras-al-khaimah { background: linear-gradient(135deg,#3D1A6E,#6B3FA0); }
.emirate-fujairah  { background: linear-gradient(135deg,#1A5C3A,#2E8B57); }
.emirate-umm-al-quwain  { background: linear-gradient(135deg,#5C1A1A,#8B2E2E); }

/* How It Works */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
  position: relative;
}

/* Dashed line on desktop */
@media (min-width: 768px) {
  .how-it-works-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 15%;
    right: 15%;
    height: 2px;
    border-top: 2px dashed var(--color-secondary);
    z-index: 0;
  }
}

.step-card {
  position: relative;
  z-index: 1;
}

.step-icon {
  width: 120px;
  height: 120px;
  background: white;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  color: var(--color-primary);
}

.step-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Blog Preview */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.blog-image {
  height: 200px;
  background: var(--color-bg-section);
  position: relative;
}

.blog-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: white;
  color: var(--color-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  font-size: 0.8REN75rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.blog-excerpt {
  font-size: 0.875rem;
  color: var(--color-text-mid);
  margin-bottom: 1.5rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary), #111A2E);
  border-radius: 24px;
  padding: 4rem 2rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(var(--color-secondary) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.05;
}

.cta-banner h2 {
  color: white;
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  background-color: #1A1A2E;
  color: #9AA5B4;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
  display: block;
}

.footer-desc {
  margin-bottom: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #9AA5B4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9AA5B4;
}

.social-icon:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: white;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #9AA5B4;
}

.footer-links a:hover {
  color: var(--color-secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.footer-bottom-links a {
  margin-left: 1.5rem;
  color: #9AA5B4;
}

/* Single Listing Page */
.listing-hero {
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  color: white;
}

.listing-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.9) 0%, rgba(26,26,46,0) 100%);
}

.listing-hero .container {
  position: relative;
  z-index: 2;
  padding-bottom: 3rem;
}

.listing-hero h1 {
  color: white;
  margin-bottom: 0.5rem;
}

.listing-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  padding: 4rem 0;
}

.content-section {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--color-border);
}

.sidebar-sticky {
  position: sticky;
  top: 100px;
}

/* Animations (Scroll) */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive / Mobile Breakpoints */
@media (max-width: 1024px) {
  .emirates-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  /* Hide desktop menu, show hamburger */
  .navbar-menu, .navbar .btn-outline {
    display: none;
  }
  .hamburger {
    display: block;
  }
  
  /* Hero section stacked */
  .hero-section {
    flex-direction: column;
    height: auto;
  }
  .hero-content {
    padding: 6rem 1.5rem 3rem;
    text-align: center;
  }
  .hero-badge {
    align-self: center;
  }
  .hero-subtitle {
    max-width: 100%;
  }
  .search-bar-wrapper {
    flex-direction: column;
    border-radius: 16px;
    padding: 1rem;
  }
  .search-input-group:not(:last-child)::after {
    display: none;
  }
  .search-input-group {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
  }
  .search-btn {
    margin-top: 1rem;
    width: 100%;
    border-radius: 8px;
  }
  
  .hero-visual {
    padding-top: 2rem;
  }
  
  /* Grids */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }
  .stats-grid .stat-item:nth-child(even)::after {
    display: none;
  }
  
  .categories-grid, .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .listings-grid {
    grid-template-columns: 1fr;
  }
  
  .emirates-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
  }
  .emirates-grid::-webkit-scrollbar {
    height: 4px;
  }
  .emirates-grid::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
  }
  .emirate-card {
    min-width: 150px;
    scroll-snap-align: start;
  }
  
  .how-it-works-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  /* Single Listing */
  .listing-main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .categories-grid, .blog-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid .stat-item::after {
    display: none;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}

/* Shimmer Loading */
@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}
.skeleton {
  background: #f6f7f8;
  background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
  background-repeat: no-repeat;
  background-size: 1000px 100%;
  animation: shimmer 2s infinite linear forwards;
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.dropdown-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.nav-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #FFFFFF;
  border: 1px solid #E8E0D5;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(27,43,75,0.18);
  padding: 6px;
  min-width: 240px;
  width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-dropdown__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease;
  gap: 12px;
  white-space: nowrap;
}

.nav-dropdown__item:hover {
  background: #F5F2EB;
}

.dropdown-city-en {
  font-size: 0.9rem;
  font-weight: 500;
  color: #1B2B4B;
}

.dropdown-city-ar {
  font-size: 0.8rem;
  color: #95A5A6;
  font-family: 'Noto Sans Arabic', sans-serif;
  direction: rtl;
}

.nav-dropdown__view-all {
  display: block;
  text-align: center;
  padding: 10px 14px;
  margin-top: 2px;
  border-top: 1px solid #E8E0D5;
  color: #C8963E;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 10px 10px;
  transition: background 0.15s ease;
}

.nav-dropdown__view-all:hover {
  background: #FFF8EE;
}

@media (max-width: 768px) {
  .nav-dropdown__menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    margin-top: 8px;
    padding: 4px;
    pointer-events: auto;
    display: none;
    width: 100%;
    min-width: unset;
  }

  .nav-dropdown.is-open .nav-dropdown__menu {
    display: flex !important;
    flex-direction: column;
  }

  .dropdown-city-en { color: #FFFFFF; }
  
  .dropdown-city-ar { 
    color: rgba(255,255,255,0.6); 
  }

  .nav-dropdown__view-all {
    border-top-color: rgba(255,255,255,0.15);
    color: #C8963E;
  }

  .nav-dropdown:hover .nav-dropdown__menu {
    display: none;
  }
}

/* About page â Mission quote */
.about-mission {
  padding: 4rem 1.5rem;
  text-align: center;
}

.about-mission blockquote,
.about-mission .mission-text {
  font-size: clamp(1.1rem, 3vw, 1.75rem);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
  font-style: italic;
  color: #1B2B4B;
}

/* About page â Our Story section */
.about-story {
  padding: 4rem 1.5rem;
}

.about-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .about-story__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.about-story__text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #4A5568;
  margin-bottom: 1.25rem;
}

/* Stats grid on About page */
.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-stat-card {
  background: #FFFFFF;
  border: 1px solid #E8E0D5;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
}

.about-stat-card .stat-number {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #C8963E;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.about-stat-card .stat-label {
  font-size: 0.875rem;
  color: #4A5568;
  font-weight: 500;
}

/* Values section */
.about-values {
  padding: 4rem 1.5rem;
  background: #F5F2EB;
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 2rem auto 0;
}

@media (max-width: 768px) {
  .about-values__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.about-value-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  border-top: 4px solid #C8963E;
}

.about-value-card svg {
  width: 40px;
  height: 40px;
  stroke: #C8963E;
  margin-bottom: 1rem;
}

.about-value-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1B2B4B;
  margin-bottom: 0.75rem;
}

.about-value-card p {
  font-size: 0.9rem;
  color: #718096;
  line-height: 1.6;
}

/* CTA section */
.about-cta {
  padding: 5rem 1.5rem;
  background: #1B2B4B;
  text-align: center;
}

.about-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: #FFFFFF;
  margin-bottom: 1rem;
  font-weight: 700;
}

.about-cta p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Related Articles */
.related-articles {
  padding: 4rem 0;
  background: #F5F2EB;
  margin-top: 4rem;
}

.related-articles__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1B2B4B;
  margin-bottom: 2rem;
  text-align: center;
}

.related-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .related-articles__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .related-articles__grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E8E0D5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27,43,75,0.12);
}

.blog-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #1B2B4B, #C8963E);
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

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

.blog-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1B2B4B 0%, #C8963E 100%);
}

.blog-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.blog-card__date {
  font-size: 0.8rem;
  color: #95A5A6;
  font-weight: 500;
}

.blog-card__title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.blog-card__title a {
  color: #1B2B4B;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card__title a:hover {
  color: #C8963E;
}

.blog-card__excerpt {
  font-size: 0.875rem;
  color: #718096;
  line-height: 1.6;
  flex: 1;
}

.blog-card__read-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: #C8963E;
  text-decoration: none;
  margin-top: auto;
  transition: color 0.2s ease;
}

.blog-card__read-more:hover {
  color: #B8832E;
}



.emirate-hidden {
  display: none;
}

.emirate-visible {
  display: block;
  animation: fadeInUp 0.4s ease forwards;
}

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

.emirates-show-more-wrap {
  grid-column: 1 / -1;
  text-align: center;
  padding: 1rem 0 2rem;
}

.emirates-show-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #1B2B4B;
  border: 2px solid #1B2B4B;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Inter', sans-serif;
}

.emirates-show-more-btn:hover {
  background: #1B2B4B;
  color: #FFFFFF;
}

.emirates-show-more-btn svg {
  transition: transform 0.3s ease;
}

.emirates-show-more-btn.is-expanded svg {
  transform: rotate(180deg);
}

.emirates-show-more-btn.is-expanded {
  background: #1B2B4B;
  color: #FFFFFF;
}
