/* 
 * Ruh Retreats - Soulful Morocco Travel Website
 * Styling: Turquoise, Gold, White, and Sand colors
 */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Color Palette */
  --primary-teal: #0f766e;        /* Deep Turquoise */
  --light-teal: #14b8a6;          /* Bright Turquoise Accent */
  --dark-teal: #042f2e;           /* Rich Riad Shadow Teal */
  --gold: #d4af37;                /* Bright Gold */
  --gold-muted: #b89047;          /* Antique Gold */
  --gold-bg: #f9f5f0;             /* Soft Cream/Gold Sand background */
  --sand-light: #faf7f2;          /* Pale Sand */
  --sand-med: #ebdcc9;            /* Desert Sand */
  --white: #ffffff;
  --text-dark: #1e293b;           /* Slate 800 */
  --text-light: #64748b;          /* Slate 500 */
  --text-white: #f8fafc;          /* Slate 50 */
  
  /* Fonts */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', sans-serif;
  
  /* Shared Defaults */
  --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --border-radius-sm: 4px;
  --border-radius: 12px;
  --border-radius-lg: 24px;
  --max-width: 1200px;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--dark-teal);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

/* Utility Classes */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

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

@media (max-width: 768px) {
  .section-padding {
    padding: 5rem 0;
  }
}

.text-center { text-align: center; }
.gold-text { color: var(--gold-muted); }
.teal-text { color: var(--primary-teal); }

.badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
}

.badge-gold {
  background-color: var(--gold-bg);
  color: var(--gold-muted);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.badge-teal {
  background-color: rgba(15, 118, 110, 0.1);
  color: var(--primary-teal);
  border: 1px solid rgba(15, 118, 110, 0.2);
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-title span {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-muted);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 4rem auto;
  font-weight: 300;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary-teal);
  color: var(--white);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  background-color: var(--dark-teal);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.15);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--gold-muted);
  border: 1.5px solid var(--gold-muted);
}

.btn-outline-gold:hover {
  background-color: var(--gold-muted);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.15);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary-teal);
}

.btn-white:hover {
  background-color: var(--gold-bg);
  color: var(--gold-muted);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--dark-teal);
  font-weight: 700;
}

.btn-gold:hover {
  background-color: var(--gold-muted);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

/* Header & Navigation */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 0;
  transition: var(--transition);
}

header.sticky {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(15, 118, 110, 0.05);
}

header.sticky .logo h1 {
  color: var(--primary-teal);
}

header.sticky .logo span {
  color: var(--gold-muted);
}

header.sticky .nav-links a {
  color: var(--text-dark);
}

header.sticky .nav-links a.active {
  color: var(--primary-teal);
}

header.sticky .nav-links a.active::after {
  background-color: var(--primary-teal);
}

header.sticky .burger-menu span {
  background-color: var(--primary-teal);
}

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

.logo {
  display: flex;
  flex-direction: column;
}

.logo h1 {
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
}

.logo span {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: var(--gold-bg);
  text-transform: uppercase;
  margin-top: 0.2rem;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--gold);
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 101;
}

.burger-menu span {
  width: 28px;
  height: 2px;
  background-color: var(--white);
  transition: var(--transition);
}

@media (max-width: 992px) {
  .burger-menu {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--dark-teal);
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.25);
    transition: var(--transition);
    padding: 3rem;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    color: var(--white) !important;
    font-size: 1.1rem;
  }
  
  /* Burger Animation */
  .burger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .burger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Full Screen Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center; /* Centered vertically */
  justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  background: radial-gradient(circle at center, #0f766e 0%, #042f2e 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: slowZoom 20s infinite alternate;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(4, 47, 46, 0.7) 0%, rgba(4, 47, 46, 0.4) 60%, rgba(4, 47, 46, 0.8) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 900px;
  padding: 2rem; /* Adjusted for better vertical alignment */
  margin-top: 40px; /* Reduced header offset spacing to fit laptop viewports */
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.5s;
}

.hero-content .tagline {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-content h2 {
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.hero-content h2 span {
  font-style: italic;
  color: var(--gold-bg);
  font-family: var(--font-serif);
}

.hero-content p {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 1.8rem;
  letter-spacing: 0.05em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero-content h2 { font-size: 2.8rem; }
  .hero-content p { font-size: 1rem; }
  .hero-btns { flex-direction: column; align-items: center; width: 100%; }
  .hero-btns .btn { width: 100%; max-width: 280px; }
}

/* Animations */
@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

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

/* Scroll Animation classes */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.2s; }
.reveal-delay-2 { transition-delay: 0.4s; }
.reveal-delay-3 { transition-delay: 0.6s; }

/* Grid layout rules */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

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

@media (max-width: 992px) {
  .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

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

/* Features / Why Choose Section */
.bg-sand {
  background-color: var(--sand-light);
}

.bg-teal-dark {
  background-color: var(--dark-teal);
  color: var(--white);
}

.bg-teal-dark h2 {
  color: var(--white);
}

.bg-teal-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.features-grid {
  margin-top: 2rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 118, 110, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-align: left;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.feature-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.feature-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.feature-card-content {
  padding: 2.5rem 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--dark-teal);
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.feature-card p:last-child {
  margin-bottom: 0;
}

/* Split Image Content Sections */
.split-section .image-side {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 550px;
}

.split-section .image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.split-section:hover .image-side img {
  transform: scale(1.03);
}

.split-section .image-side::after {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  pointer-events: none;
  border-radius: calc(var(--border-radius-lg) - 10px);
  transition: var(--transition);
}

.split-section:hover .image-side::after {
  top: 1rem;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  border-color: var(--gold);
}

.split-section .content-side {
  padding-right: 2rem;
}

.split-section .content-side.right {
  padding-right: 0;
  padding-left: 2rem;
}

.split-section h2 {
  font-size: 2.8rem;
  margin-bottom: 1.8rem;
}

.split-section p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-weight: 300;
  font-size: 1.05rem;
}

.split-section ul {
  margin: 2rem 0;
}

.split-section ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--dark-teal);
  font-size: 0.95rem;
}

.split-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  background-color: var(--gold);
  border-radius: 50%;
}

@media (max-width: 992px) {
  .split-section .image-side { height: 400px; }
  .split-section .content-side,
  .split-section .content-side.right { padding: 0; }
  .split-section h2 { font-size: 2.2rem; }
}

/* Retreat Packages Card Layout */
.package-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(15, 118, 110, 0.05);
  display: flex;
  flex-direction: column;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.2);
}

.package-image {
  height: 280px;
  position: relative;
  overflow: hidden;
}

.package-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.package-price {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: var(--dark-teal);
  color: var(--gold);
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

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

.package-content h3 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.package-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.package-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.package-meta svg {
  color: var(--gold-muted);
}

.package-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.package-footer {
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.package-link {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.package-link:hover {
  color: var(--gold-muted);
}

/* Properties Showcase Section */
.properties-banner {
  background: linear-gradient(135deg, var(--dark-teal) 0%, var(--primary-teal) 100%);
  color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.properties-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(214, 175, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.properties-banner-content h2 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.properties-banner-content h2 span {
  font-style: italic;
  color: var(--gold);
}

.properties-banner-content p {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.properties-banner-image {
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.properties-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 992px) {
  .properties-banner { grid-template-columns: 1fr; padding: 3rem; gap: 3rem; }
  .properties-banner-content h2 { font-size: 2.2rem; }
  .properties-banner-image { height: 300px; }
}

/* Testimonials Slider */
.testimonials-section {
  position: relative;
  overflow: hidden;
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  min-height: 420px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.quote-icon {
  margin-bottom: 2rem;
  color: var(--gold-muted);
  opacity: 0.3;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  line-height: 1.6;
  color: var(--dark-teal);
  font-style: italic;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.author-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dark);
}

.author-location {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-muted);
  margin-top: 0.3rem;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--sand-med);
  background-color: var(--white);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.slider-btn:hover {
  background-color: var(--primary-teal);
  color: var(--white);
  border-color: var(--primary-teal);
}

@media (max-width: 768px) {
  .testimonial-text { font-size: 1.25rem; }
  .testimonials-slider { min-height: 520px; }
}

@media (max-width: 576px) {
  .testimonial-text { font-size: 1.15rem; }
  .testimonials-slider { min-height: 590px; }
}

/* Contact Form and Info split */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 118, 110, 0.05);
}

.contact-info-panel {
  background: linear-gradient(180deg, var(--dark-teal) 0%, #064e3b 100%);
  color: var(--white);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.contact-info-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at bottom left, rgba(214, 175, 55, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.contact-info-header h3 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-info-header p {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  font-size: 0.95rem;
}

.contact-details {
  margin: 3rem 0;
}

.contact-detail-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
  transition: var(--transition);
}

.contact-detail-item svg {
  color: var(--gold);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 0.2rem;
}

.contact-detail-item h4 {
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.contact-detail-item p {
  color: var(--white);
  font-weight: 500;
  font-size: 1rem;
  margin: 0;
}

.contact-detail-item a {
  color: var(--white);
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.contact-detail-item a:hover {
  color: var(--gold);
}

.contact-info-panel .social-btn {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1.5px solid var(--gold);
  color: var(--white);
}

.contact-info-panel .social-btn:hover {
  background-color: var(--gold);
  color: var(--dark-teal);
  border-color: var(--gold);
}

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

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
  background-color: var(--gold);
  color: var(--dark-teal);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.contact-form-panel {
  padding: 4rem;
}

.contact-form-panel h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-form-panel p {
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 3rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dark-teal);
  margin-bottom: 0.6rem;
}

.form-control {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1.5px solid var(--sand-med);
  border-radius: var(--border-radius-sm);
  background-color: var(--sand-light);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-teal);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.form-status {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background-color: rgba(16, 185, 129, 0.1);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.1);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

@media (max-width: 992px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-panel, .contact-form-panel { padding: 3rem; }
}

@media (max-width: 768px) {
  .form-group-row { grid-template-columns: 1fr; gap: 0; }
  .contact-info-panel, .contact-form-panel { padding: 2rem; }
}

/* Footer Section */
footer {
  background-color: var(--dark-teal);
  color: var(--white);
  padding: 6rem 0 2rem 0;
  border-top: 2px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-about h3 {
  color: var(--white);
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-about span {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.5rem;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.footer-links h4 {
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  position: relative;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 1.5px;
  background-color: var(--gold);
}

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

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 300;
}

.footer-links ul li a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.instagram-feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.instagram-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.instagram-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 118, 110, 0.6);
  opacity: 0;
  transition: var(--transition);
}

.instagram-item:hover img {
  transform: scale(1.08);
}

.instagram-item:hover::after {
  opacity: 1;
}

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

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

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

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
}

@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
}

/* Inner Page Hero Sections */
.inner-hero {
  height: 50vh;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.inner-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

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

.inner-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(4, 47, 46, 0.8) 0%, rgba(4, 47, 46, 0.5) 70%, rgba(4, 47, 46, 0.9) 100%);
  z-index: -1;
}

.inner-hero-content {
  max-width: 800px;
  padding: 0 2rem;
}

.inner-hero-content h1 {
  font-size: 3.8rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.inner-hero-content h1 span {
  font-style: italic;
  color: var(--gold);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

.breadcrumb a {
  color: var(--gold);
}

.breadcrumb span {
  color: rgba(255,255,255,0.4);
}

@media (max-width: 768px) {
  .inner-hero { height: 40vh; min-height: 300px; }
  .inner-hero-content h1 { font-size: 2.5rem; }
}

/* About Us Sub-sections */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 4rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 118, 110, 0.05);
  margin-top: -6rem;
  position: relative;
  z-index: 10;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--primary-teal);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stat-number span {
  color: var(--gold-muted);
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
}

@media (max-width: 992px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 3rem; }
}

@media (max-width: 576px) {
  .stats-grid { grid-template-columns: 1fr; padding: 2rem; margin-top: -4rem; }
}

/* Team Grid */
.team-member-card {
  text-align: center;
}

.team-member-img {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  height: 350px;
  position: relative;
}

.team-member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-member-card:hover .team-member-img img {
  transform: scale(1.03);
}

.team-member-info h4 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.team-member-info p:not(.team-member-bio) {
  color: var(--gold-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Tab filter layout for retreats/properties */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.filter-tab-btn {
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  border: 1px solid var(--sand-med);
  background-color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-light);
}

.filter-tab-btn.active,
.filter-tab-btn:hover {
  background-color: var(--primary-teal);
  color: var(--white);
  border-color: var(--primary-teal);
  box-shadow: 0 5px 15px rgba(15, 118, 110, 0.15);
}

/* Retreat Page details */
.retreat-include-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.include-item {
  background-color: var(--sand-light);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid rgba(15, 118, 110, 0.05);
  transition: var(--transition);
}

.include-item:hover {
  background-color: var(--white);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.2);
}

.include-item svg {
  color: var(--gold-muted);
  margin-bottom: 1.5rem;
}

.include-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

.include-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 300;
}

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

@media (max-width: 576px) {
  .retreat-include-grid { grid-template-columns: 1fr; }
}

/* Property Page specific styles */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.property-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(15, 118, 110, 0.05);
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.2);
}

.property-img {
  height: 250px;
  position: relative;
  overflow: hidden;
}

.property-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.property-label {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background-color: var(--gold-muted);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.property-price {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: var(--dark-teal);
  color: var(--gold);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
}

.property-details-content {
  padding: 2.2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.property-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--gold-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.property-details-content h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.property-specs {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 0.8rem 0;
  font-size: 0.85rem;
  color: var(--text-light);
}

.property-specs span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.property-specs svg {
  color: var(--primary-teal);
}

.property-details-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.property-btn {
  width: 100%;
}

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

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

/* Female Friendly details */
.female-hero-accent {
  background-color: var(--gold-bg);
  border-radius: var(--border-radius-lg);
  padding: 4rem;
  display: flex;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.female-hero-accent-text {
  flex: 1.2;
}

.female-hero-accent-text h3 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  color: var(--primary-teal);
}

.female-hero-accent-text p {
  font-size: 1.05rem;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.7;
}

.female-hero-accent-image {
  flex: 0.8;
  height: 300px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.female-hero-accent-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .female-hero-accent { flex-direction: column; padding: 2rem; }
  .female-hero-accent-image { width: 100%; height: 200px; }
}

#femaleFriendly {
  background: linear-gradient(135deg, var(--white) 0%, var(--gold-bg) 60%, var(--white) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

#femaleFriendly .content-side p {
  line-height: 1.8;
  font-size: 1.05rem;
}

#femaleFriendly .image-side {
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

/* NEW STYLES: Logo, Team, Activities, Travel Options, Upcoming Retreats */

.logo {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.8rem;
}

.logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

header.sticky .logo-img {
  height: 42px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text h1 {
  font-size: 1.4rem !important;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
}

header.sticky .logo-text h1 {
  color: var(--primary-teal);
}

.logo-text span {
  font-family: var(--font-sans);
  font-size: 0.55rem !important;
  letter-spacing: 0.35em;
  color: var(--gold-bg) !important;
  text-transform: uppercase;
  margin-top: 0.1rem;
  font-weight: 500;
}

header.sticky .logo-text span {
  color: var(--gold-muted) !important;
}

.hero-logo {
  max-width: 120px;
  height: auto;
  margin: 0 auto 1.5rem auto;
  display: block;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
  border-radius: var(--border-radius);
  border: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.95);
  padding: 0.8rem;
  transition: var(--transition);
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (max-width: 768px) {
  .hero-logo {
    max-width: 90px;
    margin-bottom: 1.2rem;
    padding: 0.6rem;
  }
  .hero-content {
    padding-top: 60px;
  }
}

.hero-logo:hover {
  transform: scale(1.03) translateY(-3px);
  border-color: var(--light-teal);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}

/* Team Section Styles */
.team-photo-placeholder {
  width: 100%;
  height: 320px;
  background-color: var(--gold-bg);
  border: 1px dashed var(--gold);
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold-muted);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.team-photo-placeholder svg {
  margin-bottom: 1rem;
  opacity: 0.7;
}

.team-photo-placeholder::after {
  content: 'RUH TEAM';
  position: absolute;
  bottom: 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  font-weight: 600;
  opacity: 0.5;
}

.team-member-card:hover .team-photo-placeholder {
  transform: scale(1.02);
  background-color: var(--white);
  border-color: var(--primary-teal);
}

.team-member-bio {
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 300;
  margin-top: 0.8rem;
  line-height: 1.5;
  padding: 0 1rem;
  text-transform: none;
  letter-spacing: normal;
}

/* Activities Grid & Cards */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.activity-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 118, 110, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.activity-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.activity-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.activity-card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.activity-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--dark-teal);
}

.activity-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
}

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

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

/* Gallery Grid & Items */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(15, 118, 110, 0.05);
  transition: var(--transition);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 992px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

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

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

/* Why Choose Us Grid & Cards */
.why-intro {
  max-width: 850px;
  margin: 0 auto 4rem auto;
  text-align: left;
}

.why-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.why-intro p:last-child {
  margin-bottom: 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
  margin-top: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.why-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 118, 110, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.why-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.why-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.why-card-content {
  padding: 2rem;
  padding-top: 2.5rem;
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.why-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -24px;
  left: 2rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--white);
  transition: var(--transition);
}

.why-card:hover .why-card-icon {
  background-color: var(--gold);
  transform: scale(1.05);
}

.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--dark-teal);
  line-height: 1.4;
}

.why-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
}

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

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

/* Travel Options Grid & Cards */
.options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.option-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid rgba(15, 118, 110, 0.05);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.option-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.option-card-image {
  width: 100%;
  height: 185px;
  overflow: hidden;
}

.option-card-image.collage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
}

.option-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.option-card-content {
  padding: 1.8rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.option-card h4 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-teal);
  margin-bottom: 0.6rem;
}

.option-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.5;
}

/* Featured Retreat Card Showcase */
.featured-retreat-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 118, 110, 0.05);
  margin-top: 3rem;
}

.featured-retreat-image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 450px;
  overflow: hidden;
}

.featured-retreat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.featured-retreat-card:hover .featured-retreat-image img {
  transform: scale(1.03);
}

.featured-retreat-content {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-retreat-dates {
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1.15rem;
  font-family: var(--font-sans);
}

.featured-retreat-desc {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
}

.featured-retreat-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.detail-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  background-color: var(--gold-bg);
  color: var(--gold-muted);
  font-weight: 500;
  font-size: 0.85rem;
  font-family: var(--font-sans);
}

.detail-pill svg {
  color: var(--gold);
}

.detail-pill.price-pill {
  background-color: var(--primary-teal);
  color: var(--white);
  font-weight: 600;
}

.featured-retreat-footer .btn {
  padding: 1rem 2.5rem;
}

@media (max-width: 992px) {
  .featured-retreat-card {
    grid-template-columns: 1fr;
  }
  .featured-retreat-image {
    height: 350px;
    min-height: auto;
  }
  .featured-retreat-content {
    padding: 3rem 2rem;
  }
}

@media (max-width: 1200px) {
  .options-grid { grid-template-columns: repeat(3, 1fr); }
}

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

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

/* Upcoming Retreats / Flyer Grid */
.flyer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 2rem;
}

.flyer-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  border: 2px dashed var(--gold);
  padding: 4rem 3rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.flyer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.flyer-card:hover {
  border-color: var(--primary-teal);
  background-color: var(--gold-bg);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.flyer-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--gold-bg);
  color: var(--gold-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.flyer-card:hover .flyer-icon {
  background-color: var(--primary-teal);
  color: var(--white);
}

.flyer-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--dark-teal);
  font-family: var(--font-serif);
}

.flyer-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 320px;
}

.flyer-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--border-radius-sm);
  background-color: var(--gold);
  color: var(--dark-teal);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition);
}

.flyer-card:hover .flyer-upload-btn {
  background-color: var(--primary-teal);
  color: var(--white);
}

@media (max-width: 768px) {
  .flyer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .flyer-card { min-height: 320px; padding: 3rem 2rem; }
}

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

@media (max-width: 1200px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

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

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

/* Why Choose Ruh Checkmark List & Two Column List Styles */
.checkmark-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem 2rem;
}

.checkmark-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--dark-teal);
  font-weight: 500;
  background: var(--white);
  padding: 1.2rem 1.5rem;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 118, 110, 0.03);
  transition: var(--transition);
}

.checkmark-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.25);
}

.checkmark-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: var(--gold-bg);
  color: var(--gold);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.two-col-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2.5rem;
  margin: 2rem 0;
  list-style: none;
  padding: 0;
}

.two-col-list li {
  position: relative;
  padding-left: 2rem;
  font-weight: 500;
  color: var(--dark-teal);
  font-size: 0.95rem;
}

.two-col-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  background-color: var(--gold);
  border-radius: 50%;
}

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

@media (max-width: 576px) {
  .two-col-list {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25D366;
  color: #ffffff !important;
  border-radius: 50px;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  fill: currentColor;
  display: block;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 1rem !important;
    right: 1rem !important;
    padding: 0 !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .whatsapp-float span {
    display: none !important;
  }
}

/* ==========================================================================
   Luxury Mobile Viewport Optimization & Fixes
   ========================================================================== */

@media (max-width: 992px) {
  /* Premium Glassmorphic Mobile Drawer */
  .nav-links {
    background-color: rgba(4, 47, 46, 0.97) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-left: 2px solid var(--gold);
    gap: 2rem !important;
    padding: 5rem 2.5rem 3rem 2.5rem !important;
    display: flex !important;
    align-items: center;
  }

  /* Force Close Button ('X') visibility when active */
  .burger-menu.active span {
    background-color: var(--white) !important;
  }

  /* Split section image boxes height & styling */
  .split-section .image-side {
    height: 380px !important;
    border-radius: var(--border-radius) !important;
  }
}

@media (max-width: 768px) {
  /* Force reveal elements to show instantly on mobile */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Increase horizontal space for cards and text */
  .container {
    padding: 0 1.25rem !important;
  }

  /* Reduce Section Spacing on mobile */
  .section-padding {
    padding: 3rem 0 !important;
  }

  /* Make card image boxes taller to display images clearly without extreme cropping */
  .feature-card-image {
    height: 260px !important;
  }
  
  .package-image {
    height: 310px !important;
  }

  .activity-card-image {
    height: 250px !important;
  }

  .why-card-image {
    height: 240px !important;
  }

  .option-card-image {
    height: 220px !important;
  }

  .property-img {
    height: 290px !important;
  }
  
  .team-member-img {
    height: 380px !important;
  }

  /* Avoid squashing for filter tabs on mobile */
  .filter-tabs {
    flex-wrap: wrap !important;
    gap: 0.6rem !important;
    margin-bottom: 2.5rem !important;
  }

  .filter-tab-btn {
    padding: 0.6rem 1.2rem !important;
    font-size: 0.75rem !important;
  }

  /* Make sure buttons are easy to tap and look premium on phone */
  .btn {
    width: 100%;
    max-width: 320px;
    padding: 0.9rem 2rem !important;
    font-size: 0.8rem !important;
  }

  /* Mobile spacing optimizations for headings, text, and descriptions */
  .section-title {
    margin-bottom: 2rem !important;
  }
  
  .section-subtitle {
    margin-bottom: 2rem !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }
  
  .split-section h2 {
    margin-bottom: 1.2rem !important;
  }
  
  .split-section p {
    margin-bottom: 1.2rem !important;
    line-height: 1.75 !important;
    font-size: 1rem !important;
  }
  
  .split-section .image-side {
    margin-bottom: 1.8rem !important;
  }

  /* Spacious retreat package content styling */
  .featured-retreat-content {
    padding: 3.8rem 2.2rem !important;
  }
  
  .featured-retreat-desc {
    line-height: 1.8 !important;
    margin-bottom: 2.5rem !important;
    font-size: 0.96rem !important;
  }
  
  .featured-retreat-dates {
    margin-bottom: 1.5rem !important;
    font-size: 1.05rem !important;
  }
  
  .featured-retreat-card h3 {
    margin-bottom: 1.2rem !important;
    font-size: 1.8rem !important;
  }
  
  .featured-retreat-details {
    margin-top: 1.5rem !important;
    margin-bottom: 2.5rem !important;
    gap: 1rem !important;
  }
}

@media (max-width: 576px) {
  /* Hero header adjustments: prevent text wrapping and vertical clipping */
  .hero-content {
    padding: 1.5rem !important;
    margin-top: 60px !important;
  }

  .hero-content h2 {
    font-size: 2.1rem !important;
    line-height: 1.3 !important;
  }

  .hero-content p {
    font-size: 0.95rem !important;
    margin-bottom: 1.5rem !important;
  }

  /* Improve grid-based layouts and cards readability with tighter spacing */
  .grid-2, .grid-3, .why-grid, .activities-grid, .team-grid {
    gap: 1.8rem !important;
  }

  /* Avoid single column photo layouts that look like a Word document; keep premium 2-column gallery grid */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.8rem !important;
  }
}

/* FAQ Section Styles */
.faq-container {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.faq-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2.2rem 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(15, 118, 110, 0.04);
  transition: all 0.4s ease;
  text-align: left;
}

.faq-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15, 118, 110, 0.05);
  border-color: rgba(212, 175, 55, 0.3);
}

.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.faq-q-indicator {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

.faq-question h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark-teal);
  margin: 0;
  line-height: 1.4;
}

.faq-answer {
  padding-left: 2rem;
}

.faq-answer p {
  color: var(--text-light);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .faq-card {
    padding: 1.8rem 1.8rem;
  }
  .faq-answer {
    padding-left: 1.8rem;
  }
  .faq-question h3 {
    font-size: 1.05rem;
  }
}

/* Gallery Lightbox Styles */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(4, 47, 46, 0.95); /* Luxury deep riad shadow teal overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay.active .lightbox-content {
  transform: scale(1);
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--border-radius); /* 12px, matching global cards */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 300;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 2010;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--gold);
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .lightbox-close {
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
  .lightbox-content {
    max-height: 75%;
  }
}



