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

/* Check-in scan page */
.falcon-checkin {
  width: 100%;
  max-width: 100vh;
  margin: 0 auto;
  overflow: hidden;
}

.falcon-checkin #falcon-qr-reader {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
}

.falcon-checkin #falcon-qr-reader__scan_region,
.falcon-checkin #falcon-qr-reader__dashboard {
  max-width: 100% !important;
}

.falcon-checkin-status {
  padding: 8px 0;
  text-align: center;
  font-size: 15px;
}

/* Check-in scanner modal — aligned with booking form style */
.falcon-checkin-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.falcon-checkin-modal.is-active {
  display: flex;
}

.falcon-checkin-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

.falcon-checkin-modal-content {
  position: relative;
  background: #4a3c32;
  color: #efebe5;
  padding: 28px 24px 24px;
  border-radius: 24px;
  min-width: 280px;
  width: 100%;
  max-width: min(420px, 90vw);
  z-index: 1;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.falcon-checkin-close {
  position: absolute;
  top: 12px;
  left: 12px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  opacity: 0.95;
}

.falcon-checkin-close:hover {
  opacity: 1;
}

.falcon-checkin-modal-content #falcon-checkin-title {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 20px;
  padding: 0 28px 0 0;
}

.falcon-checkin-details {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.7;
  text-align: right;
  direction: rtl;
}

.falcon-checkin-details > div:not(#falcon-checkin-fields) {
  background: #efebe0;
  color: #6b5e51;
  padding: 12px 16px;
  margin-bottom: 10px;
  border-radius: 16px;
  text-align: right;
}

.falcon-checkin-details > div:not(#falcon-checkin-fields):last-of-type {
  margin-bottom: 0;
}

.falcon-checkin-details strong {
  color: #5a4d42;
  margin-left: 6px;
}

#falcon-checkin-fields {
  margin-top: 10px;
}

.falcon-checkin-field-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: #efebe0;
  border-radius: 16px;
  border: none;
}

.falcon-checkin-field-row:last-child {
  margin-bottom: 0;
}

.falcon-checkin-field-label {
  font-weight: 600;
  color: #6b5e51;
  flex-shrink: 0;
}

.falcon-checkin-field-value {
  color: #5a4d42;
  text-align: left;
  direction: rtl;
  max-width: 200px;
  word-break: break-word;
}

.falcon-checkin-field-row span {
  display: block;
  font-size: 15px;
}

.falcon-checkin-modal-content .status-error + span,
.falcon-checkin-modal-content [class*="status-error"] {
  color: #c65d7b;
}

/* Prevent horizontal scrolling */
html,
body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

/* Ensure elements are visible in Elementor editor */
.elementor-editor-active [data-aos],
.elementor-editor-active .aos-animate {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Overlay will hide content until AOS is ready - AOS handles element visibility naturally */

/* Overlay to hide content until animations are ready */
.aos-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.5s ease-out,
    visibility 0.5s ease-out;
  pointer-events: none;
}

.aos-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Hide overlay in Elementor editor */
.elementor-editor-active .aos-overlay {
  display: none !important;
}

body {
  font-family: "Cairo", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  direction: rtl;
  overflow-x: hidden;
}

/* Prevent horizontal overflow from all sections and containers */
section,
.footer,
.footer-columns {
  overflow: hidden;
  max-width: 100%;
  width: 100%;
}

/* Navbar needs visible overflow for dropdown menu */
.navbar {
  overflow: visible;
}

/* Ensure images don't cause overflow */
img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  padding: 20px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
  overflow: visible; /* Allow dropdown menu to show */
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  background-color: rgba(212, 184, 150, 0.95);
  border-radius: 50px;
  padding: 18px 60px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: visible; /* Allow dropdown menu to show */
}

/* Logo */
.nav-logo {
  display: none; /* Hidden on desktop, shown on mobile */
}

.nav-logo img {
  max-height: 40px;
  width: auto;
  display: block;
}

.nav-logo a {
  display: block;
  text-decoration: none;
}

/* Hamburger Menu Button */
.nav-toggle {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  z-index: 1001;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #4a3828;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: #4a3828;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: #2a1810;
}

/* Hero Section */
.hero {
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px 20px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to left,
    rgba(245, 240, 232, 0.85) 0%,
    rgba(245, 240, 232, 0.4) 50%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  display: flex;

  align-items: center;
  width: 100%;
}

.hero-right {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 40px;
  max-width: 700px;
}

.hero-text-wrapper {
  text-align: right;
}

.hero-title {
  font-size: 80px;
  font-weight: 700;
  color: #4a3828;
  margin-bottom: 15px;
  line-height: 0.95;
  letter-spacing: -2px;
}

.hero-subtitle {
  font-size: 20px;
  color: #6a5848;
  margin-bottom: 8px;
  font-weight: 400;
}

.hero-tagline {
  font-size: 16px;
  color: #8a7868;
  font-weight: 300;
}

.hero-logo {
  flex-shrink: 0;
}

.hero-logo img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.hero-btn {
  position: absolute;
  bottom: 80px;

  background-color: #2a1810;
  color: white;
  border: none;
  padding: 18px 60px;
  font-size: 19px;
  border-radius: 35px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.hero-btn:hover {
  background-color: #3a2820;
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Buttons */
.btn-primary {
  background-color: #2a1810;
  color: white;
  border: none;
  padding: 15px 50px;
  font-size: 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Cairo", sans-serif;
}

.btn-primary:hover {
  background-color: #4a3828;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Booking Modal */
.booking-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.booking-modal.active {
  display: flex;
}

.booking-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.booking-modal-content {
  position: relative;
  background-color: white;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 10001;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.booking-modal-close {
  position: absolute;
  top: 15px;
  left: 15px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
  z-index: 10002;
  color: #2a1810;
}

.booking-modal-close:hover {
  background-color: #f5f5f5;
  transform: rotate(90deg);
}

.booking-modal-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.booking-modal-body {
  padding: 40px 30px;
  direction: rtl;
}

.booking-modal-title {
  font-size: 28px;
  font-weight: 700;
  color: #2a1810;
  margin-bottom: 25px;
  text-align: center;
}

.booking-modal-form {
  width: 100%;
}

/* Forminator form styling in modal */
.booking-modal-form .forminator-form {
  background: transparent;
  padding: 0;
}

.booking-modal-form .forminator-label {
  color: #2a1810;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
}

.booking-modal-form .forminator-input,
.booking-modal-form .forminator-field--name input,
.booking-modal-form .forminator-field--phone input,
.booking-modal-form .forminator-field--number input {
  background-color: #f5f0e8;
  border: 2px solid #e8dcc8;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 16px;
  color: #2a1810;
  width: 100%;
  transition: all 0.3s;
}

.booking-modal-form .forminator-input:focus,
.booking-modal-form .forminator-field--name input:focus,
.booking-modal-form .forminator-field--phone input:focus,
.booking-modal-form .forminator-field--number input:focus {
  outline: none;
  border-color: #2a1810;
  background-color: white;
}

.booking-modal-form .forminator-button-submit {
  background-color: #2a1810;
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  margin-top: 20px;
}

.booking-modal-form .forminator-button-submit:hover {
  background-color: #4a3828;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Registration Badge Modal */
.registration-badge-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10050;
  align-items: center;
  justify-content: center;
}

.registration-badge-modal.active {
  display: flex;
}

.registration-badge-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.registration-badge-content {
  position: relative;
  background: transparent;
  z-index: 10051;
  width: min(420px, 92vw);
  padding: 10px;
}

.registration-badge-close {
  position: absolute;
  top: -10px;
  left: -10px;
  background: #2a1810;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  z-index: 2;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.registration-badge-close:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.registration-badge-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.badge-download-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.badge-card {
  background: #fff;
  border: 1px solid #d9cbb9;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  font-family: "Cairo", sans-serif;
  min-height: 600px;
  display: grid;
  grid-template-rows: 1fr auto;
}

.badge-top {
  position: relative;
  background: #fff;
  background-image: url("https://falcon-festival.com/wp-content/uploads/2026/01/arrows-background.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 90px;
}

.badge-logo-center {
}

.badge-logo-center img {
  max-width: 110px;
  max-height: 110px;
  object-fit: contain;
}

.badge-logo-text {
  font-weight: 800;
  color: #2a1810;
}

.badge-qr-wrapper {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.badge-qr-box {
  border: 3px solid #5c4033;
  padding: 10px;
  background: #fff;
  box-shadow: none;
}

.badge-qr-box img {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: contain;
}

.badge-bottom {
  background: #fdecd8;
  padding: 120px 12px 40px;
  text-align: center;
  color: #2a1810;
}

.badge-name {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
}

.badge-phone {
  margin-top: 10px;
  font-size: 28px;
  font-weight: 700;
}

.badge-download-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2a1810;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  z-index: 2;
}

.badge-download-btn:hover {
  transform: scale(1.05);
  opacity: 0.95;
}

@media (max-width: 480px) {
  .badge-logo-center {
    width: 177px;
    height: 120px;
  }

  .badge-logo-center img {
    max-width: 95px;
    max-height: 95px;
  }

  .badge-qr-box img {
    width: 180px;
    height: 180px;
  }

  .badge-bottom {
    padding: 110px 12px 32px;
  }

  .badge-name {
    font-size: 32px;
  }

  .badge-phone {
    font-size: 26px;
  }
}

.btn-secondary {
  background-color: #2a1810;
  color: white;
  border: none;
  padding: 12px 40px;
  font-size: 16px;
  border-radius: 25px;
  cursor: pointer;
  width: 100%;
  margin-top: 15px;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background-color: #4a3828;
}

.btn-small {
  background-color: #2a1810;
  color: white;
  border: none;
  padding: 8px 25px;
  font-size: 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-small:hover {
  background-color: #4a3828;
}

/* Section Titles */
.section-title-badge {
  margin-bottom: 20px;
  display: flex;
}

.section-title-badge h2 {
  background-color: #e8dcc8;
  color: #2a1810;
  padding: 5px 50px;
  line-height: 1.6;
  border-radius: 40px;
  font-size: 28px;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.section-title {
  text-align: center;
  font-size: 36px;
  color: #4a3828;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 100px;
  height: 3px;
  background-color: #d4b896;
}

.section-title.dark {
  background-color: #2a1810;
  color: white;
  padding: 20px;
  border-radius: 30px;
  display: inline-block;
  margin-right: 50%;
}

.section-title.dark::after {
  display: none;
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: #fff;
}

.about-content {
  display: flex;
  flex-direction: row-reverse;
  gap: 60px;
  align-items: flex-start;
}

.about-images-wrapper {
  width: 45%;
  flex-shrink: 0;
  position: relative;
}

.about-images-artistic {
  position: relative;
  width: 100%;
  min-height: 480px; /* Fallback, will be overridden by JavaScript */
  margin-top: -70px;
}

.image-frame {
  position: absolute;

  transition: transform 0.3s ease;
}

.image-frame:hover {
  transform: scale(1.02);
  z-index: 10;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.frame-1 {
  top: 0;
  left: 0;
  width: 75%;

  transform: rotate(0deg);
  z-index: 2;
}

.frame-2 {
  top: 15%;
  left: 45%;
  width: 55%;

  transform: rotate(0deg);
  z-index: 3;
}

.decorative-pattern {
  position: absolute;
  bottom: -35px;
  left: 0;
  width: 100%;
  height: 30px;
  z-index: 1;
}

.decorative-pattern svg,
.decorative-pattern img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-text {
  flex: 1;
  padding-top: 20px;
  width: 55%;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #4a3828;
  margin-bottom: 20px;
  text-align: justify;
}

/* Programs Section */
.programs {
  padding: 80px 0;
  background-color: #f5f0e8;
}

.programs .section-title.dark {
  background-color: #2a1810;
  color: white;
  padding: 5px 50px;
  line-height: 1.6;
  border-radius: 30px;
  display: inline-block;
  margin: 0 auto;
  text-align: center;
  width: auto;
  font-size: 28px;
  font-weight: 600;
  position: relative;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.program-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.program-card img {
  width: 100%;
  height: 250px !important;
  object-fit: cover;
  display: block;
}

.program-card h3 {
  font-size: 24px;
  color: #2a1810;
  margin: 25px 25px 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.program-card p {
  font-size: 15px;
  color: #4a3828;
  margin: 0 25px 25px;
  line-height: 1.8;
  flex-grow: 1;
  text-align: center;
}

.program-card .btn-secondary {
  margin: 0 25px 25px;
  width: auto;
  display: inline-block;
  padding: 12px 40px;
  background-color: #2a1810;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}

.program-card .btn-secondary:hover {
  background-color: #3a2820;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Activities Section */
.activities {
  padding: 80px 0;
  background-color: #fafafa;
}

.activities .section-title.dark {
  background-color: #2a1810;
  color: white;
  padding: 5px 50px;
  line-height: 1.6;
  border-radius: 30px;
  display: inline-block;
  margin: 0 auto;
  text-align: center;
  width: auto;
  font-size: 28px;
  font-weight: 600;
  position: relative;
}

.activities-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.activity-row {
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  gap: 30px;
  width: 100%;
}

.activity-item {
  background-color: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.activity-info {
  flex: 1;
}

.activity-header {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}

.activity-date {
  color: #936b48;
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
}

.activity-item h3 {
  font-size: 24px;
  color: #936b48;
  margin: 0;
  font-weight: 700;
  flex: 1;
}

.activity-item p {
  font-size: 15px;
  color: #4a3828;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: right;
}

.activity-item .btn-small {
  align-self: flex-start;
  background-color: #2a1810;
  color: white;
  border: none;
  padding: 10px 30px;
  font-size: 15px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.activity-item .btn-small:hover {
  background-color: #3a2820;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.activity-image {
  flex-shrink: 0;

  border-radius: 15px;
  width: 300px;
  min-width: 300px;
  display: flex;
  align-items: stretch;
  visibility: visible;
  opacity: 1;
}

.activity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.activity-image > div {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  display: block;
}

/* Packages Section */
.packages {
  padding: 80px 0;
  background-color: #fff;
}

.packages .section-title.dark {
  background-color: #2a1810;
  color: white;
  padding: 5px 50px;
  line-height: 1.6;
  border-radius: 30px;
  display: inline-block;
  margin: 0 auto;
  text-align: center;
  width: auto;
  font-size: 28px;
  font-weight: 600;
  position: relative;
}

.packages-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
  justify-content: center;
}

.package-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  flex: 0 0 calc((100% - 60px) / 3); /* 3 items per row: (100% - 2 gaps of 30px) / 3 */
  max-width: calc((100% - 60px) / 3);
  min-width: 0;
}

.package-card:hover {
  transform: translateY(-10px);
}

.package-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  color: #2a1810;
  display: flex;
  align-items: center;
  justify-content: center;
}

.package-icon img,
.package-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.package-card h3 {
  font-size: 18px;
  color: #2a1810;
  margin-bottom: 15px;
}

.package-card p {
  font-size: 13px;
  color: #6a5848;
  line-height: 1.6;
}

.packages-action {
  text-align: center;
}

/* Gallery Section */
.gallery {
  padding: 80px 0;
  background-color: #3d2c1f;
  background-size: cover;
  background-position: center;
}

.gallery-title-badge {
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.gallery-title-badge h2 {
  background-color: #e8dcc8;
  color: #2a1810;
  padding: 5px 50px;
  line-height: 1.6;
  border-radius: 40px;
  font-size: 28px;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.gallery-subtitle {
  text-align: center;
  color: #e8dcc8;
  font-size: 18px;
  margin-bottom: 40px;
}

.gallery-carousel-wrapper {
  margin-bottom: 50px;
  padding: 20px 0;
  position: relative;
  width: 100%;
}

.gallery-carousel {
  display: flex;
  gap: 15px;
  padding: 0;
  width: 100%;
}

.gallery-carousel.owl-carousel {
  display: block;
  width: 100%;
}

.gallery-carousel.owl-carousel .owl-stage-outer {
  overflow: hidden;
  width: 100%;
}

.gallery-carousel.owl-carousel .owl-item {
  padding: 0 7.5px;
}

.gallery-carousel.owl-carousel .owl-item .gallery-item {
  width: 220px;
  height: 220px;
}

.gallery-carousel.owl-carousel .owl-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fallback for when carousel is not initialized */
.gallery-carousel:not(.owl-loaded) {
  display: flex !important;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  padding: 0 20px;
}

.gallery-carousel:not(.owl-loaded) .gallery-item {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
}

.gallery-item {
  flex-shrink: 0;
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  display: block;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.gallery-item.selected {
  box-shadow: 0 6px 25px rgba(39, 174, 96, 0.5);
  border: 3px solid #27ae60;
  transform: scale(1.02);
}

.gallery-item.selected .like-btn {
  opacity: 1;
  background-color: rgba(231, 76, 60, 0.95);
  transform: scale(1.1);
}

.gallery-item.selected .like-btn.liked svg {
  color: #ffffff;
  fill: #ffffff;
}

.gallery-item .like-btn.liked svg {
  color: #e74c3c;
  fill: #e74c3c;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px;
}

.like-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(232, 220, 200, 0.95);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.like-btn svg {
  width: 24px;
  height: 24px;
  color: #666;
  transition: color 0.3s;
}

.like-btn:hover {
  transform: scale(1.1);
  background-color: rgba(232, 220, 200, 1);
}

.like-btn.liked svg {
  color: #e74c3c;
  fill: #e74c3c;
}

/* Gallery Upload Box - Under Gallery */
.gallery-upload-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px auto;
  width: 100%;
}

.upload-box-container {
  width: 200px;
  height: 150px;
  background-color: #e8dcc8;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.upload-box-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.upload-box-container:hover:not([style*="background-image"]) {
  background-color: #d4c4b0;
}

.upload-box-icon {
  width: 60px;
  height: 60px;
  background-color: #2a1810;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1;
}

.upload-box-icon svg {
  width: 30px;
  height: 30px;
  color: white;
  stroke: white;
}

.upload-box-container:hover .upload-box-icon {
  transform: scale(1.1);
  background-color: #3a2820;
}

/* When image is displayed in upload box */
.upload-box-container[style*="background-image"] {
  background-color: transparent;
}

.upload-box-container[style*="background-image"] .upload-box-icon {
  display: none;
}

/* Forminator Form Styles */
.gallery-form {
  max-width: 500px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.gallery-form .forminator-ui {
  width: 100%;
  font-family: "Cairo", sans-serif;
  direction: rtl;
  text-align: right;
  background: transparent;
  border: none;
  padding: 0;
}

.gallery-form .forminator-label {
  color: #e8dcc8;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
  text-align: right;
}

.gallery-form .forminator-required {
  color: #e74c3c;
  margin-right: 3px;
}

/* File Upload Field */
.gallery-form .forminator-field-upload {
  width: 100%;
  margin-bottom: 20px;
}

.gallery-form .forminator-file-upload {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.gallery-form .forminator-input-file-required {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.gallery-form .forminator-button-upload,
.gallery-form button.forminator-button-upload {
  background-color: #27ae60 !important;
  color: white !important;
  border: none !important;
  padding: 12px 25px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border-radius: 5px !important;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Cairo", sans-serif !important;
  margin-bottom: 8px !important;
  display: inline-block !important;
}

.gallery-form .forminator-button-upload:hover,
.gallery-form button.forminator-button-upload:hover {
  background-color: #229954 !important;
}

.gallery-form .forminator-file-upload span,
.gallery-form .forminator-file-upload span[data-empty-text] {
  color: #e8dcc8 !important;
  font-size: 14px !important;
  display: block !important;
  margin-top: 5px !important;
  margin-right: 0 !important;
}

.gallery-form .forminator-button-delete {
  display: none !important;
}

/* Text Input Fields - Light Grey */
.gallery-form .forminator-input,
.gallery-form input.forminator-input,
.gallery-form .forminator-field--phone,
.gallery-form input.forminator-field--phone,
.gallery-form .iti__tel-input {
  width: 100% !important;
  padding: 12px 20px !important;
  border: 1px solid #ddd !important;
  border-radius: 5px !important;
  background-color: #f5f5f5 !important;
  color: #2a1810 !important;
  font-size: 16px !important;
  text-align: right !important;
  transition: all 0.3s;
  font-family: "Cairo", sans-serif !important;
  box-shadow: none !important;
}

.gallery-form .forminator-input::placeholder,
.gallery-form .forminator-field--phone::placeholder,
.gallery-form .iti__tel-input::placeholder {
  color: #999 !important;
}

.gallery-form .forminator-input:focus,
.gallery-form .forminator-field--phone:focus,
.gallery-form .iti__tel-input:focus {
  outline: none !important;
  background-color: #fff !important;
  border-color: #27ae60 !important;
  box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.1) !important;
}

/* Phone Field with Country Code */
.gallery-form .forminator-iti-input {
  width: 100% !important;
  position: relative;
}

.gallery-form .forminator-phone,
.gallery-form .iti {
  width: 100% !important;
  display: flex !important;
  flex-direction: row-reverse !important;
}

.gallery-form .iti__selected-country,
.gallery-form .iti__country-container button {
  background-color: #f5f5f5 !important;
  border: 1px solid #ddd !important;
  border-left: none !important;
  border-radius: 0 5px 5px 0 !important;
  padding: 12px 8px !important;
}

.gallery-form .forminator-field--phone.iti__tel-input {
  border-radius: 5px 0 0 5px !important;
  border-right: none !important;
  padding-right: 15px !important;
  width: calc(100% - 80px) !important;
}

/* Submit Button - Blue */
.gallery-form .forminator-button-submit,
.gallery-form button.forminator-button-submit {
  background-color: #3498db !important;
  color: white !important;
  border: none !important;
  padding: 15px 40px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  border-radius: 5px !important;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px !important;
  font-family: "Cairo", sans-serif !important;
  width: 100% !important;
  display: block !important;
}

.gallery-form .forminator-button-submit:hover,
.gallery-form button.forminator-button-submit:hover {
  background-color: #2980b9 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3) !important;
}

/* Form Rows */
.gallery-form .forminator-row {
  margin-bottom: 20px;
  width: 100%;
}

.gallery-form .forminator-field {
  margin-bottom: 0;
  width: 100%;
}

.gallery-form .forminator-col {
  width: 100%;
  padding: 0;
}

/* Hide default Forminator styling */
.gallery-form .forminator-response-message {
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
}

.gallery-form .forminator-response-message.forminator-error {
  background-color: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
  border: 1px solid #e74c3c;
}

.gallery-form .forminator-response-message.forminator-success {
  background-color: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
  border: 1px solid #2ecc71;
}

/* Error Messages */
.gallery-form .forminator-error-message {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 5px;
  text-align: right;
}

/* Hide edit form link */
.gallery-form .forminator-edit-module {
  display: none;
}

.form-group.image-upload {
  width: 100%;
  display: flex;
  justify-content: center;
}

.upload-box {
  width: 180px;
  height: 140px;
  background-color: #e8dcc8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

.upload-box:hover {
  background-color: #d4c4b0;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.upload-box svg {
  width: 50px;
  height: 50px;
  color: #4a3828;
  stroke-width: 2;
}

.form-inputs {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-input {
  width: 100%;
  padding: 16px 25px;
  border: none;
  border-radius: 30px;
  background-color: #e8dcc8;
  color: #2a1810;
  font-size: 16px;
  text-align: right;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-input::placeholder {
  color: #8a7868;
}

.form-input:focus {
  outline: none;
  background-color: #f5ede0;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

.btn-submit {
  background-color: #e8dcc8;
  color: #2a1810;
  border: none;
  padding: 15px 80px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 35px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  margin-top: 10px;
}

.btn-submit:hover {
  background-color: #d4c4b0;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
  padding: 0;
}

.footer-columns {
  display: flex;
  width: 100%;
}

/* Left Half: Beige Background - Logo and Social */
.footer-left {
  background-color: #e8dcc8;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  justify-content: flex-start;
  width: 35%;
}

.footer-logo-wrapper {
  text-align: right;
}

.footer-logo {
  width: auto;
  max-width: 200px !important;
  height: auto;
}

.social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  background-color: white;
  padding: 12px 20px;
  border-radius: 25px;
  width: fit-content;
  margin: 0 auto;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;

  background-color: transparent;
  border-radius: 0;
  color: #4a3828;
  transition: all 0.3s;
  box-shadow: none;
}

.social-links a:hover {
  background-color: transparent;
  color: #8a7868;
  transform: translateY(-3px);
  box-shadow: none;
}

.social-links a svg {
  width: 20px;
  height: 20px;
}

/* Right Half: White Background - Navigation Links */
.footer-right {
  background-color: white;
  width: 65%;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-end;
  justify-content: space-between;
}

.footer-nav-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  width: 100%;
  padding: 60px 40px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-nav-col a {
  color: #2a1810;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  transition: color 0.3s;
  text-align: right;
}

.footer-nav-col a:hover {
  color: #8a7868;
}

/* Bottom Contact Bar */
.footer-contact-bar {
  background-color: #2a1810;
  padding: 20px 0;
  width: 100%;
}

.contact-info {
  display: flex;

  align-items: center;
  gap: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 16px;
  font-family: "Cairo", sans-serif;
}

.contact-label {
  color: white;
  font-weight: 500;
}

.contact-value {
  color: white;
  font-weight: 400;
}

.contact-value {
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
    overflow: visible; /* Allow dropdown menu to show */
  }

  .nav-container {
    padding: 12px 20px;
    border-radius: 40px;
    justify-content: space-between;
    overflow: visible; /* Allow dropdown menu to show */
  }

  /* Show logo and hamburger on mobile */
  .nav-logo {
    display: block;
    order: 1;
  }

  .nav-toggle {
    display: flex;
    order: 2;
  }

  /* Hide menu by default on mobile */
  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background-color: rgba(212, 184, 150, 0.98);
    border-radius: 20px;
    margin-top: 10px;
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
    z-index: 1002; /* Higher than navbar to ensure visibility */
    width: calc(100% - 40px); /* Account for navbar padding */
    margin-right: 20px;
    margin-left: 20px;
  }

  /* Show menu when active */
  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 500px;
    overflow: visible; /* Allow content to show */
  }

  .nav-menu li {
    width: 100%;
    text-align: right;
  }

  .nav-menu a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(74, 56, 40, 0.1);
  }

  .nav-menu li:last-child a {
    border-bottom: none;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-content {
    justify-content: center;
    align-items: center;
  }

  .hero-right {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
  }

  .hero-text-wrapper {
    text-align: center;
    width: 100%;
  }

  .hero-title {
    font-size: 56px;
    text-align: center;
  }

  .hero-subtitle {
    text-align: center;
  }

  .hero-tagline {
    text-align: center;
  }

  /* Hide logo on mobile */
  .hero-logo {
    display: none;
  }

  .about-content {
    flex-direction: column;
  }

  .about-images-wrapper {
    width: 100%;
    margin-bottom: 30px;
  }

  .about-images-artistic {
    min-height: 300px;
  }

  .frame-1 {
    width: 65%;
    height: 60%;
  }

  .frame-2 {
    top: 20%;
    left: 40%;
    width: 60%;
    height: 65%;
  }

  .about-text {
    width: 100%;
  }

  .activity-row {
    flex-direction: column-reverse;
  }

  .activity-item {
    width: 100%;
  }

  .activity-header {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 10px;
  }

  .activity-date {
    margin-bottom: 0;
  }

  .activity-item h3 {
    margin-bottom: 0;
  }

  .activity-image {
    width: 100%;
    max-width: 100%;
  }

  /* Packages Mobile Styles */
  .packages-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .package-card {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }

  /* Gallery Mobile - Fix width constraints */
  .gallery {
    padding: 40px 0;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
  }

  .gallery .container {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .gallery-carousel-wrapper {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    padding: 10px 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  .gallery-carousel.owl-carousel {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    display: block !important;
  }

  .gallery-carousel.owl-carousel .owl-stage-outer {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    position: relative;
  }

  .gallery-carousel.owl-carousel .owl-stage {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    display: flex !important;
  }

  .gallery-carousel.owl-carousel .owl-item {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .gallery-carousel.owl-carousel .owl-item .gallery-item {
    width: 85% !important;
    max-width: 85% !important;
    height: auto !important;
    max-height: 250px !important;
    min-height: 200px !important;
    box-sizing: border-box;
    margin: 0 auto !important;
    display: block !important;
  }

  .gallery-carousel.owl-carousel .owl-item .gallery-item img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 250px !important;
    min-height: 200px !important;
    object-fit: cover !important;
    box-sizing: border-box !important;
  }

  /* Fallback for when carousel is not initialized on mobile */
  .gallery-carousel:not(.owl-loaded) {
    padding: 0 !important;
  }

  .gallery-carousel:not(.owl-loaded) .gallery-item {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 250px;
  }

  /* Footer Mobile Styles */
  .footer-columns {
    flex-direction: column-reverse; /* Stack vertically: logo/social on top, nav below */
  }

  .footer-left {
    width: 100%;
    padding: 30px 20px;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  .footer-right {
    width: 100%;
    padding: 0;
    align-items: center;
  }

  .footer-nav-section {
    grid-template-columns: 1fr;
    gap: 25px;
    width: 100%;
    padding: 30px 20px;
    text-align: center;
  }

  .footer-nav-col {
    align-items: center;
    gap: 12px;
  }

  .footer-nav-col a {
    text-align: center;
    font-size: 16px;
  }

  .footer-logo-wrapper {
    text-align: center;
    width: 100%;
  }

  .footer-logo {
    max-width: 140px !important;
  }

  .social-links {
    margin: 0 auto;
    width: fit-content;
    padding: 10px 16px;
  }

  .social-links a svg {
    width: 18px;
    height: 18px;
  }

  /* Contact Bar Mobile */
  .footer-contact-bar {
    padding: 15px 0;
  }

  .footer-contact-bar .container {
    padding: 0 15px;
  }

  .contact-info {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
    justify-content: center;
  }

  .contact-item {
    flex-direction: row;
    gap: 8px;
    font-size: 14px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .contact-label {
    font-size: 14px;
  }

  .contact-value {
    font-size: 14px;
  }
}
