:root {
  --morocco-emerald: #2F8F83;
  --morocco-burnt-orange: #D97706;
  --morocco-dark: #1C1C1C;
  --morocco-sand: #F4E8D8;
  --morocco-cream: #FAF9F6;
  --morocco-white: #FFFFFF;
  --font-serif: 'DM Serif Display', serif;
  --font-sans: 'DM Sans', sans-serif;
  --primary-teal: #2F8F83;
}

/* ====================== BASE ====================== */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--morocco-dark);
  background-color: var(--morocco-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); }

::selection {
  background: var(--primary-teal);
  color: var(--morocco-white);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--morocco-cream); }
::-webkit-scrollbar-thumb { background: var(--primary-teal); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #217a6e; }

/* ====================== UTILITIES ====================== */
.text-primary-teal { color: var(--primary-teal) !important; }
.text-morocco-burnt-orange { color: var(--morocco-burnt-orange) !important; }
.text-morocco-dark { color: var(--morocco-dark) !important; }
.text-morocco-cream { color: var(--morocco-cream) !important; }
.text-morocco-white { color: var(--morocco-white) !important; }

.bg-morocco-cream { background-color: var(--morocco-cream) !important; }
.bg-morocco-dark { background-color: var(--morocco-dark) !important; }
.bg-morocco-sand { background-color: var(--morocco-sand) !important; }
.bg-morocco-white { background-color: var(--morocco-white) !important; }
.bg-primary-teal { background-color: var(--primary-teal) !important; }
.bg-morocco-burnt-orange { background-color: var(--morocco-burnt-orange) !important; }
.border-primary-teal { border-color: var(--primary-teal) !important; }

.tracking-widest { letter-spacing: 0.1em; }
.tracking-extra { letter-spacing: 0.2em; }
.tracking-ultra { letter-spacing: 0.3em; }
.font-serif { font-family: var(--font-serif) !important; }
.font-sans { font-family: var(--font-sans) !important; }

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.875rem;
  font-weight: 700;
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  color: var(--morocco-dark);
  font-size: 2.5rem;
}

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

/* ====================== BUTTONS ====================== */
.btn-morocco {
  padding: 0.75rem 2rem;
  border: 1px solid var(--morocco-dark);
  color: var(--morocco-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 700;
  background: transparent;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-morocco::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-teal);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn-morocco:hover::before {
  left: 0;
}

.btn-morocco:hover {
  color: var(--morocco-white);
  border-color: var(--morocco-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-morocco-filled {
  padding: 0.75rem 2rem;
  background: var(--morocco-dark);
  color: var(--morocco-white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 700;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-morocco-filled::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-teal);
  transition: left 0.3s ease;
  z-index: 0;
}

.btn-morocco-filled:hover::before {
  left: 0;
}

.btn-morocco-filled:hover {
  color: var(--morocco-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(47,143,131,0.3);
}

.btn-morocco-white {
  padding: 1rem 2rem;
  background: var(--morocco-white);
  color: var(--morocco-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  font-weight: 700;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-morocco-white::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-teal);
  transition: left 0.3s ease;
  z-index: 0;
}

.btn-morocco-white:hover::before {
  left: 0;
}

.btn-morocco-white:hover {
  color: var(--morocco-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(47,143,131,0.3);
}

/* ====================== ANIMATIONS ====================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.anim-fade-up { 
  animation: fadeInUp 0.8s ease forwards; 
  opacity: 0; 
}

.anim-scale-in { 
  animation: scaleIn 0.6s ease forwards; 
  opacity: 0; 
}

/* ====================== FLOATING SHAPES ====================== */
.floating-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 100px;
  height: 100px;
  background: var(--primary-teal);
  border-radius: 50%;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 60px;
  height: 60px;
  border: 2px solid var(--primary-teal);
  transform: rotate(45deg);
  top: 20%;
  left: 5%;
  animation-delay: 1s;
}

.shape-3 {
  width: 80px;
  height: 80px;
  background: var(--morocco-burnt-orange);
  border-radius: 50%;
  bottom: 20%;
  right: 15%;
  animation-delay: 2s;
}

.shape-4 {
  width: 50px;
  height: 50px;
  border: 2px solid var(--morocco-burnt-orange);
  transform: rotate(45deg);
  top: 30%;
  right: 20%;
  animation-delay: 0.5s;
}

/* ====================== TOP BANNER ====================== */
.top-banner {
  background: var(--morocco-dark);
  color: var(--morocco-cream);
  padding: 0.5rem 0;
  font-size: 0.75rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  transition: all 0.3s ease;
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.lang-btn:hover {
  color: var(--morocco-white);
  background: rgba(255,255,255,0.1);
}

.lang-btn.active {
  color: var(--primary-teal);
  background: rgba(47,143,131,0.08);
}

.banner-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.banner-link:hover {
  color: var(--primary-teal);
}

.banner-social a {
  color: rgba(255,255,255,0.7);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.banner-social a:hover {
  color: var(--morocco-white);
  background: var(--primary-teal);
  transform: translateY(-2px);
}

/* ====================== NAVBAR ====================== */
.navbar-morocco {
  transition: all 0.5s ease;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 1030;
}

.navbar-morocco.scrolled {
  background-color: rgba(250, 249, 246, 0.98) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  top: 0 !important;
}
.navbar-morocco .nav-link {
  font-size: 0.85rem !important;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  transition: all 0.3s ease;
  color: rgba(255,255,255,0.9) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.navbar-morocco.scrolled .nav-link {
  color: var(--morocco-dark) !important;
}

.navbar-morocco .nav-link.active {
  color: rgba(255,255,255,0.9) !important;
}

.navbar-morocco.scrolled .nav-link.active {
  color: var(--morocco-dark) !important;
}

.navbar-morocco .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-teal);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-morocco .nav-link:hover::after,
.navbar-morocco .nav-link.active::after {
  width: 80%;
}

.navbar-morocco .nav-link:hover { 
  color: var(--primary-teal) !important; 
}

.navbar-with-logo {
  display: flex !important;
  align-items: center;
  gap: 1rem;
}

.navbar-logo {
  height: 55px !important;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

.navbar.scrolled .navbar-logo {
  height: 45px !important;
}

.brand-text {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--morocco-white);
}

.navbar-morocco.scrolled .brand-text {
  color: var(--morocco-dark);
}

.mobile-logo {
  height: 50px !important;
  width: auto;
  object-fit: contain;
}

/* ====================== VIDEO HERO ====================== */
.hero-section-video {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
  z-index: 1;
}

.hero-content-home {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  text-align: center;
  max-width: 56rem;
  padding: 0 1rem;
  width: 100%;
}

.hero-content-home h1 {
  color: var(--morocco-white);
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.5s;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
  .hero-content-home h1 { font-size: 4.5rem; }
}

@media (min-width: 992px) {
  .hero-content-home h1 { font-size: 6rem; }
}

.hero-content-home p {
  color: rgba(255,255,255,0.95);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.8s;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* ====================== PREMIUM TOUR CARDS ====================== */
.tours-section-premium {
  padding: 6rem 0;
  background: linear-gradient(135deg, #fff 0%, var(--morocco-cream) 100%);
  position: relative;
  overflow: hidden;
}

.premium-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

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

@media (max-width: 767px) {
  .premium-card-grid {
    grid-template-columns: 1fr;
  }
}

.premium-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid rgba(47, 143, 131, 0.1);
}

.premium-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 50px rgba(47, 143, 131, 0.15);
  border-color: rgba(47, 143, 131, 0.3);
}

.premium-card-media {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.premium-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.premium-card:hover .premium-card-media img {
  transform: scale(1.08);
}

.card-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--primary-teal);
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(47, 143, 131, 0.3);
}

.card-wishlist {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-teal);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  border: 1px solid rgba(47, 143, 131, 0.2);
}

.card-wishlist:hover {
  background: var(--primary-teal);
  color: white;
  transform: scale(1.1);
}

.premium-card-content {
  padding: 1.8rem;
}

.card-category {
  color: var(--primary-teal);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.premium-card-content .card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--morocco-dark);
  line-height: 1.3;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.card-rating i {
  color: #FFB800;
  font-size: 0.9rem;
}

.card-rating span {
  color: rgba(28, 28, 28, 0.5);
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

.card-description {
  color: rgba(28, 28, 28, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-features {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(47, 143, 131, 0.1);
}

.card-features .feature {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(28, 28, 28, 0.6);
  font-size: 0.8rem;
}

.card-features .feature i {
  color: var(--primary-teal);
  font-size: 1rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.card-price .price {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-teal);
  line-height: 1;
}

.card-price .period {
  color: rgba(28, 28, 28, 0.4);
  font-size: 0.8rem;
}

.btn-card {
  padding: 0.6rem 1.2rem;
  background: transparent;
  border: 2px solid var(--primary-teal);
  color: var(--morocco-dark);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-card:hover {
  background: var(--primary-teal);
  color: white;
  gap: 0.8rem;
}

.btn-card i {
  transition: transform 0.3s ease;
}

.btn-card:hover i {
  transform: translateX(4px);
}

/* ====================== FLEET SECTION ====================== */
.fleet-section {
  padding: 5rem 0;
  background: var(--morocco-cream);
}

.fleet-filters {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.fleet-filter-btn {
  padding: 0.75rem 2rem;
  border: 2px solid var(--morocco-dark);
  background: transparent;
  color: var(--morocco-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.fleet-filter-btn.active {
  border-color: var(--primary-teal);
  color: var(--primary-teal);
}

.fleet-filter-btn:hover {
  border-color: var(--primary-teal);
  color: var(--primary-teal);
}

.fleet-item.hidden {
  display: none;
}

.vehicle-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  height: 100%;
}

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

.vehicle-card .card-img-wrapper {
  height: 200px;
  overflow: hidden;
}

.vehicle-card .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.vehicle-card:hover .card-img-wrapper img {
  transform: scale(1.08);
}

.vehicle-card .card-body {
  padding: 1.5rem;
}

.vehicle-specs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(28,28,28,0.7);
}

.spec-item i {
  color: var(--primary-teal);
}

/* ====================== ACTIVITIES 3-CARD CAROUSEL ====================== */
.activities-section-carousel {
  padding: 6rem 0;
  background: linear-gradient(135deg, #1a2a2a 0%, #0f1a1a 100%);
  position: relative;
  overflow: hidden;
}

.activities-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 30 L45 15 L30 0 L15 15 L30 30 L45 45 L30 60 L15 45 L30 30' stroke='rgba(255,255,255,0.03)' fill='none' stroke-width='0.5'/%3E%3C/svg%3E");
  opacity: 0.3;
  pointer-events: none;
}

.activities-carousel-container {
  position: relative;
  padding: 0 3rem;
  margin-top: 3rem;
}

.activities-carousel-3 {
  display: flex;
  gap: 1.5rem;
  overflow: hidden;
  scroll-behavior: smooth;
  padding: 1rem 0;
}

.activity-carousel-slide {
  flex: 0 0 calc(33.333% - 1rem);
  transition: all 0.3s ease;
}

@media (max-width: 991px) {
  .activity-carousel-slide { 
    flex: 0 0 calc(50% - 0.75rem); 
  }
}

@media (max-width: 767px) {
  .activity-carousel-slide { 
    flex: 0 0 100%; 
  }
  .activities-carousel-container { 
    padding: 0 1rem; 
  }
}

.activity-image-card {
  position: relative;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.activity-image-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.4);
}

.activity-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.activity-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, 
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
  transition: all 0.4s ease;
}

.activity-image-card:hover .activity-image-overlay {
  background: linear-gradient(to top, 
    rgba(47, 143, 131, 0.9) 0%,
    rgba(47, 143, 131, 0.5) 50%,
    rgba(47, 143, 131, 0.2) 100%);
}

.activity-image-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
  z-index: 2;
  color: white;
  transition: all 0.4s ease;
}

.activity-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
}

.activity-image-card:hover .activity-icon {
  background: var(--primary-teal);
  transform: rotate(10deg) scale(1.1);
  border-color: transparent;
}

.activity-image-content h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.activity-image-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.activity-image-link {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.25rem;
}

.activity-image-card:hover .activity-image-link {
  opacity: 1;
  transform: translateY(0);
}

.activity-image-link:hover {
  border-bottom-color: white;
  gap: 0.75rem;
}

.carousel-arrow-3 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  font-size: 1.5rem;
}

.carousel-arrow-3:hover {
  background: var(--primary-teal);
  border-color: var(--primary-teal);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev-3 {
  left: 0;
}

.carousel-next-3 {
  right: 0;
}

.carousel-dots-3 {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.carousel-dots-3 .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots-3 .dot.active {
  background: var(--primary-teal);
  transform: scale(1.3);
}

.carousel-dots-3 .dot:hover {
  background: var(--primary-teal);
}

/* ====================== DEALS ====================== */
.deals-section {
  padding: 6rem 0;
  background: var(--morocco-sand);
}

.deal-card {
  position: relative;
  overflow: hidden;
  height: 24rem;
  display: flex;
  align-items: flex-end;
  border-radius: 8px;
  transition: all 0.4s ease;
}

.deal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.deal-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.deal-card:hover img { 
  transform: scale(1.08); 
}

.deal-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,28,28,0.9), rgba(28,28,28,0.4), transparent);
}

.deal-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--morocco-burnt-orange);
  color: var(--morocco-white);
  padding: 0.5rem 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 5;
  animation: pulse 2s ease-in-out infinite;
}

.deal-content {
  position: relative;
  z-index: 10;
  padding: 2rem;
  width: 100%;
}

.deal-info {
  border-left: 2px solid var(--primary-teal);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.deal-info h3 {
  font-family: var(--font-serif);
  color: var(--morocco-white);
  font-size: 1.875rem;
  margin-bottom: 0.5rem;
}

.deal-info p {
  color: rgba(255,255,255,0.8);
  margin: 0;
}

.deal-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.valid-text {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  text-transform: uppercase;
}

.claim-btn {
  color: var(--morocco-white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.claim-btn:hover {
  color: var(--primary-teal);
  gap: 0.75rem;
}

/* ====================== REVIEWS ====================== */
.reviews-section {
  padding: 6rem 0;
  background: var(--morocco-sand);
  position: relative;
  overflow: hidden;
}

.review-card {
  background: var(--morocco-cream);
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  position: relative;
  margin-top: 2rem;
  height: calc(100% - 2rem);
  border-radius: 8px;
  transition: all 0.4s ease;
}

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

.quote-icon {
  position: absolute;
  top: -1.5rem;
  left: 2rem;
  background: var(--primary-teal);
  color: var(--morocco-white);
  padding: 0.75rem;
  transform: rotate(3deg);
  font-size: 1.25rem;
  border-radius: 4px;
}

.stars {
  color: var(--morocco-burnt-orange);
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(28,28,28,0.1);
  margin-top: 1.5rem;
}

.reviewer img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-teal);
}

/* ====================== TRUSTED BY ====================== */
/* ====================== TRUSTED BY - SMOOTH INFINITE SCROLL (NO GAP) ====================== */
.trusted-section-scroll {
  padding: 4rem 0;
  background: white;
  overflow: hidden;
  position: relative;
}

.trusted-section-scroll::before,
.trusted-section-scroll::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.trusted-section-scroll::before {
  left: 0;
  background: linear-gradient(90deg, white, transparent);
}

.trusted-section-scroll::after {
  right: 0;
  background: linear-gradient(-90deg, white, transparent);
}

.scroll-container {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.partner-track {
  display: flex;
  gap: 3rem;
  width: fit-content;
  animation: scrollSmooth 25s linear infinite;
}

.partner-track:hover {
  animation-play-state: paused;
}

@keyframes scrollSmooth {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 1.5rem));
  }
}

.partner-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
}

.partner-item img {
  max-height: 70px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  opacity: 0.7;
  transition: all 0.3s ease;
  filter: grayscale(20%);
}

.partner-item:hover img {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 2rem)); }
}

/* ====================== DESTINATIONS ====================== */
.destinations-section {
  padding: 6rem 0;
  background: var(--morocco-cream);
}

.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  grid-auto-rows: 300px;
}

@media (max-width: 767px) {
  .dest-grid {
    grid-template-columns: 1fr;
  }
}

.dest-item.span-2 {
  grid-column: span 2;
}

@media (max-width: 767px) {
  .dest-item.span-2 {
    grid-column: span 1;
  }
}

.dest-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.dest-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.dest-item:hover img {
  transform: scale(1.1);
}

.dest-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,28,28,0.2);
  transition: all 0.4s ease;
}

.dest-item:hover .dest-overlay {
  background: rgba(28,28,28,0.5);
}

.dest-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.dest-label-inner {
  border: 1px solid rgba(255,255,255,0.3);
  padding: 2rem;
  backdrop-filter: blur(2px);
  transition: all 0.5s ease;
}

.dest-item:hover .dest-label-inner {
  transform: scale(1.05);
  border-color: var(--primary-teal);
  background: rgba(0,0,0,0.2);
}

.dest-label h3 {
  color: var(--morocco-white);
  font-size: 1.875rem;
  margin-bottom: 0.5rem;
}

.dest-label p {
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

/* ====================== FOOTER ====================== */
.footer-section {
  background: var(--morocco-dark);
  color: var(--morocco-cream);
  padding-top: 6rem;
  padding-bottom: 3rem;
  border-top: 4px solid var(--primary-teal);
}

.footer-section h2 {
  color: var(--morocco-white);
  font-size: 1.875rem;
}

.footer-desc {
  color: rgba(250,249,246,0.6);
  line-height: 1.6;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--morocco-cream);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary-teal);
  color: var(--morocco-dark);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  color: rgba(250,249,246,0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-teal);
  transform: translateX(5px);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(250,249,246,0.7);
  margin-bottom: 1rem;
}

.contact-item i {
  color: var(--primary-teal);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  margin-top: 4rem;
  font-size: 0.75rem;
  color: rgba(250,249,246,0.4);
}

.footer-bottom a {
  color: rgba(250,249,246,0.4);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--primary-teal);
}

/* ====================== WHATSAPP BUTTON ====================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 7rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
  font-size: 1.5rem;
}

.whatsapp-float:hover {
  background: #128C7E;
  transform: translateY(-5px) scale(1.1);
  color: white;
}

@media (max-width: 767px) {
  .whatsapp-float {
    right: 5rem;
  }
}

/* ====================== BACK TO TOP ====================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-teal);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(47,143,131,0.4);
}

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

.back-to-top:hover {
  background: var(--morocco-dark);
  color: var(--primary-teal);
  transform: translateY(-5px);
}

/* ====================== MAP CONTAINER ====================== */
.map-container {
  border-radius: 8px;
  overflow: hidden;
  height: 250px;
}

/* ====================== CUSTOM TOAST ====================== */
.custom-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-teal);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 5px 20px rgba(47, 143, 131, 0.3);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
/* additional contact page refinements */
    .contact-info-card {
      background: white;
      border-radius: 24px;
      padding: 2.5rem 2rem;
      box-shadow: 0 20px 40px rgba(0,0,0,0.03);
      height: 100%;
      transition: all 0.3s ease;
      border: 1px solid rgba(47,143,131,0.1);
      text-align: center;
    }
    .contact-info-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 30px 50px rgba(47,143,131,0.08);
      border-color: rgba(47,143,131,0.2);
    }
    .contact-icon-large {
      width: 80px;
      height: 80px;
      background: rgba(47,143,131,0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary-teal);
      font-size: 2.2rem;
      margin: 0 auto 1.5rem auto;
    }
    .contact-info-card h3 {
      font-family: var(--font-serif);
      font-size: 1.6rem;
      margin-bottom: 1rem;
    }
    .contact-info-card p, .contact-info-card a {
      color: rgba(28,28,28,0.7);
      text-decoration: none;
      line-height: 1.7;
      font-size: 1rem;
    }
    .contact-info-card a:hover {
      color: var(--primary-teal);
    }
    .map-wrapper-modern {
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 20px 40px rgba(0,0,0,0.05);
      border: 1px solid rgba(47,143,131,0.15);
      height: 380px;
    }
    .map-wrapper-modern iframe {
      width: 100%;
      height: 100%;
    }
    .contact-highlight {
      background: var(--morocco-sand);
      border-radius: 24px;
      padding: 2rem 2rem 1.8rem;
      margin-top: 2rem;
      border-left: 4px solid var(--primary-teal);
    }
    .contact-highlight i {
      color: var(--primary-teal);
      font-size: 1.8rem;
      margin-right: 1rem;
    }
    /* center the cards nicely */
    .contact-cards-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }
    .contact-card-col {
      display: flex;
      justify-content: center;
    }
     /* Additional micro‑adjustments for activity cards (if needed) */
    .activity-filter-btn {
      padding: 0.6rem 1.8rem;
      border: 2px solid var(--morocco-dark);
      background: transparent;
      color: var(--morocco-dark);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-size: 0.7rem;
      font-weight: 700;
      transition: all 0.3s ease;
    }
    .activity-filter-btn.active,
    .activity-filter-btn:hover {
      border-color: var(--primary-teal);
      color: var(--primary-teal);
    }
    .activity-card-modern {
      background: white;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 15px 30px rgba(0,0,0,0.05);
      transition: all 0.4s ease;
      height: 100%;
    }
    .activity-card-modern:hover {
      transform: translateY(-10px);
      box-shadow: 0 30px 40px rgba(47,143,131,0.15);
    }
    .activity-media {
      height: 240px;
      overflow: hidden;
      position: relative;
    }
    .activity-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.8s ease;
    }
    .activity-card-modern:hover .activity-media img {
      transform: scale(1.08);
    }
    .activity-content {
      padding: 1.8rem 1.5rem 2rem;
    }
    .activity-icon-small {
      width: 48px;
      height: 48px;
      background: rgba(47,143,131,0.08);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary-teal);
      font-size: 1.6rem;
      margin-bottom: 1.2rem;
    }
    /* about page specific */
    .about-hero-subtitle {
      font-size: 1.2rem;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--primary-teal);
      font-weight: 500;
    }
    .story-card {
      background: white;
      border-radius: 24px;
      padding: 2rem;
      height: 100%;
      box-shadow: 0 15px 35px rgba(0,0,0,0.02);
      border: 1px solid rgba(47,143,131,0.1);
      transition: all 0.3s ease;
    }
    .story-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 30px 45px rgba(47,143,131,0.08);
    }
    .value-icon {
      width: 70px;
      height: 70px;
      background: rgba(47,143,131,0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary-teal);
      font-size: 2rem;
      margin-bottom: 1.5rem;
    }
    .timeline-item {
      display: flex;
      gap: 2rem;
      margin-bottom: 2.5rem;
    }
    .timeline-year {
      font-family: var(--font-serif);
      font-size: 2rem;
      color: var(--primary-teal);
      min-width: 100px;
      font-weight: 700;
    }
    .timeline-content {
      border-left: 2px solid var(--primary-teal);
      padding-left: 2rem;
      padding-bottom: 1rem;
    }
    .timeline-content h4 {
      font-family: var(--font-serif);
      font-size: 1.4rem;
      margin-bottom: 0.5rem;
    }
    .team-card {
      background: white;
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 15px 30px rgba(0,0,0,0.03);
      transition: all 0.4s ease;
      height: 100%;
      border: 1px solid rgba(47,143,131,0.1);
    }
    .team-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 30px 50px rgba(47,143,131,0.15);
    }
    .team-img-wrapper {
      height: 300px;
      overflow: hidden;
    }
    .team-img-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.8s ease;
    }
    .team-card:hover .team-img-wrapper img {
      transform: scale(1.08);
    }
    .team-content {
      padding: 1.8rem 1.5rem 2rem;
      text-align: center;
    }
    .team-content h4 {
      font-family: var(--font-serif);
      font-size: 1.4rem;
      margin-bottom: 0.25rem;
    }
    .team-role {
      color: var(--primary-teal);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-size: 0.75rem;
      margin-bottom: 1rem;
    }
    .milestone-stats {
      background: var(--morocco-sand);
      border-radius: 24px;
      padding: 3rem 2rem;
      margin: 4rem 0;
    }
    .stat-number {
      font-family: var(--font-serif);
      font-size: 3.5rem;
      color: var(--primary-teal);
      line-height: 1;
      margin-bottom: 0.5rem;
    }
    /* tours page specific: filter sidebar and cards */
    .filter-sidebar {
      background: white;
      border-radius: 24px;
      padding: 2rem 1.5rem;
      box-shadow: 0 20px 40px rgba(0,0,0,0.02);
      border: 1px solid rgba(47,143,131,0.15);
      position: sticky;
      top: 120px;
    }
    .filter-sidebar h4 {
      font-family: var(--font-serif);
      font-size: 1.5rem;
      margin-bottom: 1.5rem;
      border-bottom: 1px solid rgba(47,143,131,0.2);
      padding-bottom: 0.75rem;
    }
    .city-filter-item {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.5rem 0;
      cursor: pointer;
      transition: all 0.2s ease;
      border-radius: 8px;
    }
    .city-filter-item:hover {
      background: rgba(47,143,131,0.04);
      padding-left: 0.5rem;
    }
    .city-filter-item input[type="checkbox"] {
      width: 1.2rem;
      height: 1.2rem;
      accent-color: var(--primary-teal);
      cursor: pointer;
    }
    .city-filter-item label {
      font-family: var(--font-sans);
      color: rgba(28,28,28,0.8);
      font-weight: 500;
      cursor: pointer;
      flex: 1;
    }
    .filter-actions {
      margin-top: 2rem;
      display: flex;
      gap: 0.75rem;
      flex-wrap: wrap;
    }
    .btn-filter {
      background: transparent;
      border: 1px solid var(--primary-teal);
      color: var(--morocco-dark);
      padding: 0.5rem 1.2rem;
      border-radius: 40px;
      font-size: 0.8rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      transition: all 0.3s ease;
    }
    .btn-filter:hover {
      background: var(--primary-teal);
      color: white;
    }
    .tour-card-modern {
      background: white;
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 15px 35px rgba(0,0,0,0.03);
      transition: all 0.4s ease;
      height: 100%;
      border: 1px solid rgba(47,143,131,0.1);
    }
    .tour-card-modern:hover {
      transform: translateY(-10px);
      box-shadow: 0 30px 50px rgba(47,143,131,0.15);
    }
    .tour-media {
      height: 240px;
      overflow: hidden;
      position: relative;
    }
    .tour-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.8s ease;
    }
    .tour-card-modern:hover .tour-media img {
      transform: scale(1.08);
    }
    .tour-badge {
      position: absolute;
      top: 1rem;
      left: 1rem;
      background: var(--primary-teal);
      color: white;
      padding: 0.3rem 1rem;
      border-radius: 50px;
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      z-index: 2;
    }
    .tour-content {
      padding: 1.8rem 1.5rem 2rem;
    }
    .tour-category {
      color: var(--primary-teal);
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      font-weight: 700;
      margin-bottom: 0.5rem;
    }
    .tour-content h3 {
      font-family: var(--font-serif);
      font-size: 1.4rem;
      margin-bottom: 0.5rem;
    }
    .tour-meta {
      display: flex;
      gap: 1rem;
      margin: 1rem 0;
      font-size: 0.85rem;
      color: rgba(28,28,28,0.6);
    }
    .tour-meta i {
      color: var(--primary-teal);
      margin-right: 0.25rem;
    }
    .tour-price {
      font-family: var(--font-serif);
      font-size: 1.8rem;
      color: var(--primary-teal);
      line-height: 1;
      margin: 1rem 0 0.5rem;
    }
    .tour-price small {
      font-family: var(--font-sans);
      font-size: 0.8rem;
      color: rgba(28,28,28,0.4);
    }
    .no-tours-message {
      text-align: center;
      padding: 4rem;
      background: rgba(47,143,131,0.02);
      border-radius: 24px;
      font-family: var(--font-serif);
      color: rgba(28,28,28,0.5);
    }
    /* ====================== TRUSTED BY - DYNAMIC INFINITE SCROLL ====================== */
.trusted-section-scroll {
  padding: 4rem 0;
  background: white;
  overflow: hidden;
  position: relative;
}

.trusted-section-scroll::before,
.trusted-section-scroll::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.trusted-section-scroll::before {
  left: 0;
  background: linear-gradient(90deg, white, transparent);
}

.trusted-section-scroll::after {
  right: 0;
  background: linear-gradient(-90deg, white, transparent);
}

.scroll-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.partner-track {
  display: flex;
  gap: 3rem;
  width: fit-content;
  will-change: transform;
}
/* ====================== AIRPORT TRANSFER IMAGES - FIXED CENTERING ====================== */
.transfer-img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  object-position: center 30%; /* Moves focus down from top to show more of center/lower part */
  transition: transform 0.5s ease;
}

/* If you're using the container wrapper approach */
.transfer-img-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%; /* Adjust this value to control what part is visible */
  transition: transform 0.5s ease;
}

/* If you need to adjust individual images differently */
.transfer-card:nth-child(1) .transfer-img {
  object-position: center 25%; /* Marrakech image */
}

.transfer-card:nth-child(2) .transfer-img {
  object-position: center 35%; /* Casablanca image */
}

.transfer-card:nth-child(3) .transfer-img {
  object-position: center 30%; /* Agadir image */
}

.transfer-card:nth-child(4) .transfer-img {
  object-position: center 40%; /* Essaouira image */
}

/* Alternative: Use background-image approach for more control */
.transfer-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
}

.transfer-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #f5f5f5;
}

.transfer-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%; /* Default: 30% from top */
  transition: transform 0.5s ease;
}

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

/* For even more precise control - use background-image method */
.transfer-img-bg {
  position: relative;
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center 30%; /* Adjust this percentage */
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}

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

/* Specific background images */
.transfer-card:nth-child(1) .transfer-img-bg {
  background-image: url('images/rak.jpg');
  background-position: center 50%;
}

.transfer-card:nth-child(2) .transfer-img-bg {
  background-image: url('images/cmn.jpg');
  background-position: center 40%;
}

.transfer-card:nth-child(3) .transfer-img-bg {
  background-image: url('images/aga.jpg');
  background-position: center 30%;
}

.transfer-card:nth-child(4) .transfer-img-bg {
  background-image: url('images/esu.jpg');
  background-position: center 40%;
}
/* ====================== MOBILE OFF CANVAS MENU ====================== */
.offcanvas-morocco {
  background: var(--morocco-dark) !important;
  color: var(--morocco-cream) !important;
}

.offcanvas-morocco .offcanvas-header {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem;
}

.offcanvas-morocco .offcanvas-title {
  color: var(--morocco-white);
}

.offcanvas-morocco .btn-close {
  background: transparent;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.offcanvas-morocco .btn-close:hover {
  opacity: 1;
}

.offcanvas-morocco .navbar-nav {
  width: 100%;
  text-align: center;
}

.offcanvas-morocco .nav-item {
  margin: 0.5rem 0;
}

.offcanvas-morocco .nav-link {
  color: var(--morocco-cream) !important;
  font-size: 15px ;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  padding: 1rem 2rem !important;
  transition: all 0.3s ease;
  border-radius: 8px;
  position: relative;
  display: inline-block;
}

.offcanvas-morocco .nav-link:hover {
  color: var(--primary-teal) !important;
  background: rgba(47, 143, 131, 0.1);
  transform: translateX(5px);
}

.offcanvas-morocco .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-teal);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.offcanvas-morocco .nav-link:hover::after {
  width: 40%;
}

/* Mobile Navbar Toggler Styling */
.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.navbar-morocco.scrolled .navbar-toggler {
  border-color: var(--primary-teal);
  background: rgba(47, 143, 131, 0.1);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(47, 143, 131, 0.5);
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-morocco.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231C1C1C' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Logo */
.mobile-logo {
  height: 45px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Responsive adjustments for navbar with banner */
@media (max-width: 767px) {
  .top-banner .container {
    padding: 0 1rem;
  }
  
  .navbar-morocco {
    top: 70px !important;
  }
  
  .navbar-morocco.scrolled {
    top: 0 !important;
  }
  
  .brand-text {
    font-size: 1.2rem;
  }
  
  .navbar-logo {
    height: 40px !important;
  }
}
/* ====================== MOBILE CAROUSEL FIXES ====================== */
.carousel-3-card,
.carousel-3-review {
  position: relative;
  padding: 0 2rem;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 0.2rem 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 auto;
  scroll-snap-align: start;
  transition: all 0.3s ease;
}

/* Desktop: 3 slides visible */
@media (min-width: 992px) {
  .carousel-slide {
    min-width: calc(33.333% - 1rem);
    width: calc(33.333% - 1rem);
  }
}

/* Tablet: 2 slides visible */
@media (min-width: 768px) and (max-width: 991px) {
  .carousel-slide {
    min-width: calc(50% - 0.75rem);
    width: calc(50% - 0.75rem);
  }
}

/* Mobile: 1 slide visible (full width) */
@media (max-width: 767px) {
  .carousel-3-card,
  .carousel-3-review {
    padding: 0 1rem;
  }
  
  .carousel-slide {
    min-width: calc(100% - 0.5rem);
    width: calc(100% - 0.5rem);
  }
  
  .carousel-control {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  color: #1C1C1C;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-control:hover {
  background: var(--primary-teal);
  color: white;
  transform: translateY(-50%) scale(1.05);
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

@media (max-width: 767px) {
  .carousel-prev {
    left: -0.5rem;
  }
  .carousel-next {
    right: -0.5rem;
  }
}