/* Go Beyond - Main Stylesheet */

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

:root {
  --primary-color: #1E1D49;
  --secondary-color: #B50061;
  --tertiary-color: #E45B01;
  --font-color: #000000;
  --black-color: #000000;
  --light-blue: #F5F8FF;
  --mid-blue: #B7C6E2;
  --neutral-color: #FFFFFF;
  --divider-color: #C7D1E5;
  --accent-green: #25D366;
}

body {
  position: relative;
  font-size: 16px !important;
  color: var(--font-color);
  background: var(--neutral-color);
  font-family: "Open Sans", Arial, sans-serif;
  margin: 0 auto;
  overflow-x: clip;
}

a {
  display: inline-block;
  text-decoration: none;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--font-color);
  text-transform: capitalize;
  font-family: "Quicksand", sans-serif;
}

p {
  margin: 0;
  color: var(--font-color);
  font-size: 16px;
}

img {
  border: none;
  max-width: 100%;
  height: auto;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

ul li {
  list-style: none;
}

select, input, textarea, button {
  box-shadow: none;
  outline: 0 !important;
}

.text-white {
  color: var(--neutral-color) !important;
}

.light-blue {
  background: var(--light-blue);
}

.main-section {
  padding: 120px 0;
}

.section-title h2 {
  position: relative;
  color: var(--primary-color);
  font-size: 32px;
  font-weight: 800;
  text-transform: capitalize;
  padding-bottom: 0;
}

.section-title p {
  position: relative;
  color: var(--font-color);
  font-size: 24px;
  margin-top: 10px;
  font-weight: 400;
}

.form-control,
select:not(.form-select) {
  display: block;
  width: 100%;
  height: 45px;
  padding: 10px;
  font-size: 16px;
  line-height: 1.42857143;
  color: #000000;
  background-color: var(--neutral-color);
  background-image: none;
  border: 0.5px solid var(--divider-color);
  border-radius: 4px;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

textarea.form-control {
  height: auto;
  resize: vertical;
}

/* Button Styles */
.btn.btn-primary,
.btn.btn-lg.btn-primary,
.btn.btn-md.btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  white-space: nowrap;
  color: var(--neutral-color);
  font-size: 18px;
  font-weight: 500;
  text-transform: capitalize;
  border-radius: 5px;
  box-shadow: 0 5px 20px rgba(14, 15, 18, .2);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.btn.btn-primary,
.btn.btn-md.btn-primary {
  padding: 6px 12px;
}

.btn.btn-lg.btn-primary {
  width: 200px;
  height: 60px;
  padding: 12px 24px;
}

.btn.btn-primary:hover,
.btn.btn-lg.btn-primary:hover,
.btn.btn-md.btn-primary:hover {
  color: var(--neutral-color);
  background: var(--tertiary-color);
  box-shadow: 0 5px 20px rgba(14, 15, 18, .7);
  border: 1px solid var(--tertiary-color);
}

/* ============================================
   1. Navbar
   ============================================ */

.navbar-toggler {
  border-color: rgba(255,255,255,0.5) !important;
}

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

.navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  background-color: transparent !important;
  padding: 12px 20px;
  border: none;
}

.navbar.scrolled {
  background-color: var(--primary-color) !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  color: var(--neutral-color) !important;
  font-weight: bold;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  padding: 0 !important;
  height: auto !important;
  margin: 0 !important;
}

.navbar-brand img {
  height: 45px !important;
  width: auto;
  transition: opacity 0.3s ease;
}

.navbar-brand:hover img {
  opacity: 0.9;
}

.navbar-nav > li > a {
  color: var(--neutral-color) !important;
  padding: 10px 15px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.navbar-nav > li.active > a {
  background-color: var(--secondary-color) !important;
  color: var(--neutral-color) !important;
  border-radius: 5px;
}

@media (min-width: 992px) {
  .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
  .navbar-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
  }
}

.dropdown-menu {
  background-color: var(--neutral-color);
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 5px 0;
}

.dropdown-menu > li > a,
.navbar .dropdown-menu > li > a {
  display: block !important;
  width: 100% !important;
  color: var(--font-color) !important;
  padding: 10px 15px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  background-color: var(--secondary-color) !important;
  color: var(--neutral-color) !important;
}

@media (max-width: 767px) {
  .navbar-collapse {
    background: var(--primary-color);
  }
  .dropdown-menu {
    position: static;
    width: 100%;
  }
}

/* [Fix #5] Offcanvas dropdown styling for mobile nav */
.offcanvas {
  background-color: var(--primary-color);
}

.offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 15px 20px;
}

.offcanvas-header .offcanvas-title {
  color: var(--neutral-color);
  font-weight: 700;
}

.offcanvas-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 0.7;
}

.offcanvas-body .navbar-nav > li > a {
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 16px;
}

.offcanvas-body .navbar-nav > li > a:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-radius: 0;
}

@media (max-width: 991.98px) {
  .offcanvas-body .dropdown-menu {
    position: static !important;
    width: 100%;
    background: rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
  }

  .offcanvas-body .dropdown-menu > li > a {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 10px 20px 10px 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 15px;
  }

  .offcanvas-body .dropdown-menu > li > a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--neutral-color) !important;
  }
}

/* ============================================
   2. Inner Banner
   ============================================ */

.inner-banner {
  width: 100%;
  height: 50vh;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
  background-color: var(--primary-color);
  margin-top: -70px;
  padding-top: 70px;
}

.inner-banner-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(30, 29, 73, 0.8);
}

.inner-banner-content {
  position: relative;
  z-index: 1;
  color: var(--neutral-color);
}

.inner-banner-content h1 {
  color: var(--neutral-color);
  margin-bottom: 10px;
  font-size: 3.5rem;
  font-weight: 700;
}

.inner-banner-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .inner-banner-content h1 {
    font-size: 2.2rem;
  }
  .inner-banner-content p {
    font-size: 1.1rem;
  }
}

/* ============================================
   3. Filters
   ============================================ */

.filters {
  margin-top: -60px;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.filters label {
  font-weight: 500;
  color: var(--primary-color);
  font-size: 14px;
}

.filters .form-control,
.filters .form-select {
  background-color: var(--neutral-color);
  border: 1px solid var(--divider-color);
  height: 48px;
  font-size: 15px;
}

.filters .form-control:focus,
.filters .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 29, 73, 0.1);
}

.search-input-wrapper {
  position: relative;
}

.search-input-wrapper .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 14px;
  pointer-events: none;
}

.form-control-with-icon {
  padding-left: 38px !important;
}

.results-count {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 15px;
}

/* ============================================
   4. Restaurant Directory
   ============================================ */

.restaurants-directory {
  padding: 80px 0 60px;
}

/* Restaurant Card */
.restaurant-card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.restaurant-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Card Image */
.restaurant-image {
  position: relative;
  aspect-ratio: 16/7;
  overflow: hidden;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.restaurant-image .placeholder-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  opacity: 0.12;
}

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

.neighborhood-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(30, 29, 73, 0.85);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  font-size: 11px;
  color: var(--neutral-color);
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.kosher-tags {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.kosher-tag {
  display: inline-block;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 3px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.kosher-tag.meat {
  background: #C0392B;
}

.kosher-tag.dairy {
  background: #2980B9;
}

.kosher-tag.parve {
  background: #27AE60;
}

.kosher-tag.chalav-yisrael {
  background: #8E44AD;
}

.kosher-tag.mehadrin {
  background: #D4AC0D;
  color: #333;
}

.kosher-tag.supermarkets {
  background: var(--tertiary-color);
}

.restrictions-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: #FFD700;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Card Body */
.restaurant-details {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 180px;
}

.category-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--secondary-color);
  margin-bottom: 4px;
}

.restaurant-details h3 {
  font-size: 17px;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}

.restaurant-details .tagline {
  font-size: 13px;
  color: #888;
  margin-bottom: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta section (phone + hours) */
.restaurant-meta {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}

.restaurant-phone {
  margin-bottom: 4px;
}

.restaurant-phone a {
  font-size: 12px;
  color: #555;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.restaurant-phone a:hover {
  color: var(--primary-color);
}

.restaurant-phone i {
  font-size: 11px;
  color: var(--primary-color);
  opacity: 0.6;
}

/* Hours (always visible, stacked) */
.restaurant-hours {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.restaurant-hours > i {
  color: var(--primary-color);
  opacity: 0.5;
  font-size: 11px;
  margin-top: 2px;
  flex-shrink: 0;
}

.hours-list {
  display: flex;
  flex-direction: column;
}

.hours-entry {
  font-size: 11px;
  color: #777;
  line-height: 1.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- Card Actions ---- */
.restaurant-actions {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Primary action row (WhatsApp, Order, Reserve) */
.restaurant-actions-primary {
  display: flex;
  gap: 6px;
}

.restaurant-actions-primary a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  flex: 1;
  min-width: 0;
}

.restaurant-actions-primary .action-whatsapp {
  background: var(--accent-green);
  color: #fff;
}

.restaurant-actions-primary .action-whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(37, 211, 102, 0.3);
}

.restaurant-actions-primary .action-order {
  background: var(--tertiary-color);
  color: #fff;
}

.restaurant-actions-primary .action-order:hover {
  background: #cc5000;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(228, 91, 1, 0.3);
}

.restaurant-actions-primary .action-reserve {
  background: var(--secondary-color);
  color: #fff;
}

.restaurant-actions-primary .action-reserve:hover {
  background: #9a0053;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(181, 0, 97, 0.3);
}

.restaurant-actions-primary .action-menu {
  background: var(--primary-color);
  color: #fff;
}

.restaurant-actions-primary .action-menu:hover {
  background: #15143a;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(30, 29, 73, 0.3);
}

/* Secondary links row (Website, Instagram, Map) */
.restaurant-actions-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-top: 6px;
  border-top: 1px solid #f0f0f0;
}

.restaurant-actions-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 28px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  color: #888;
  transition: all 0.2s ease;
  padding: 0 8px;
}

.restaurant-actions-links a:hover {
  color: var(--primary-color);
  background: var(--light-blue);
}

.restaurant-actions-links a i {
  font-size: 13px;
}

.restaurant-actions-links .link-instagram i {
  color: #E4405F;
}

.restaurant-actions-links .link-map i {
  color: var(--primary-color);
  opacity: 0.7;
}

.restaurant-actions-links .link-website i {
  color: #555;
}

/* When there are no primary actions, remove the gap */
.restaurant-actions-primary:empty {
  display: none;
}
.restaurant-actions-primary:empty + .restaurant-actions-links {
  border-top: none;
  padding-top: 0;
}

/* ============================================
   5. Loading Skeletons
   ============================================ */

.skeleton .restaurant-image {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-line {
  height: 16px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================
   6. Attribution
   ============================================ */

.attribution {
  border-top: 1px solid var(--divider-color);
}

.attribution p {
  color: #888;
  font-size: 14px;
}

/* ============================================
   7. Newsletter
   ============================================ */

.newsletter {
  position: relative;
  padding: 60px 0;
  background: url('/assets/images/newsletter-bg.webp') no-repeat center center/cover;
}

.newsletter .section-title {
  color: #ffffff;
}

.newsletter .section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 800;
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.newsletter .section-title p {
  font-size: 1.3rem;
  max-width: 600px;
  margin: 10px auto 40px;
  line-height: 1.5;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.newsletter-form {
  max-width: 600px;
  margin: 0 auto 40px;
}

.newsletter .form-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

.newsletter .form-control-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
}

.newsletter .form-control {
  height: 60px;
  font-size: 18px;
  border-radius: 5px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.95);
  color: #333333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  padding: 0 25px;
  width: 100%;
}

.newsletter .form-control:focus {
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
  outline: none;
  background-color: rgba(255, 255, 255, 1);
}

.newsletter .form-control::placeholder {
  color: #666;
}

.newsletter .btn-submit {
  height: 60px;
  font-size: 18px;
  padding: 0 40px;
  background-color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  border-radius: 5px;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  min-width: 160px;
  cursor: pointer;
}

.newsletter .btn-submit:hover {
  background-color: var(--tertiary-color);
  border-color: var(--tertiary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(181, 0, 97, 0.3);
}

.newsletter .btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.newsletter-message {
  margin-top: 20px;
  color: white;
  font-size: 16px;
  text-align: center;
  min-height: 24px;
}

.newsletter-message.success {
  color: #4CAF50;
  background-color: rgba(76, 175, 80, 0.1);
  border: 1px solid #4CAF50;
  padding: 15px 20px;
  border-radius: 5px;
  font-weight: 600;
}

.newsletter-message.error {
  color: #f44336;
  background-color: rgba(244, 67, 54, 0.1);
  border: 1px solid #f44336;
  padding: 15px 20px;
  border-radius: 5px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .newsletter .section-title h2 {
    font-size: 2rem;
  }
  .newsletter .section-title p {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
  .newsletter .form-group {
    flex-direction: column;
    gap: 15px;
  }
  .newsletter .form-control-wrapper {
    min-width: 100%;
    max-width: 100%;
  }
  .newsletter .form-control {
    font-size: 16px;
    height: 50px;
    padding: 0 20px;
  }
  .newsletter .form-group > div {
    width: 100%;
  }
  .newsletter .btn-submit {
    width: 100%;
    font-size: 16px;
    height: 50px;
    padding: 0 20px;
  }
}

/* ============================================
   8. Footer
   ============================================ */

.footer-copyright * {
  color: var(--neutral-color) !important;
}

.footer-copyright {
  background: var(--primary-color) !important;
  padding: 0 0 40px;
  font-family: 'Open Sans', Arial, sans-serif;
}

.footer-content {
  padding: 80px 0 60px 0;
}

.single-footer-item {
  text-transform: none;
  font-weight: 400;
  line-height: 1.7;
  color: var(--neutral-color);
  margin-bottom: 40px;
}

.single-footer-item a {
  color: var(--neutral-color);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  transition: color 0.3s ease;
}

.single-footer-item h2 {
  font-size: 18px !important;
  font-weight: 700 !important;
  margin-bottom: 25px !important;
  color: var(--neutral-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-logo-container {
  margin-bottom: 30px;
}

.footer-logo-container-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.footer-logo-container p {
  color: rgba(255,255,255,0.9) !important;
  margin-top: 20px;
  line-height: 1.7;
  font-size: 15px !important;
  font-weight: 400 !important;
  max-width: 280px;
}

.footer-logo-link .footer-logo {
  height: auto;
  width: 220px;
  margin-bottom: 12px;
  transition: opacity 0.3s ease;
}

.footer-logo-link:hover .footer-logo {
  opacity: 0.8;
}

.single-footer-txt ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.single-footer-txt ul li {
  margin-bottom: 12px;
}

.single-footer-txt ul li a {
  color: rgba(255,255,255,0.9) !important;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  font-size: 15px !important;
  font-weight: 400 !important;
  padding: 6px 0;
}

.single-footer-txt ul li a:hover {
  color: var(--neutral-color) !important;
  transform: translateX(5px);
}

.footer-social-links a {
  color: rgba(255,255,255,0.9) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social-links a:hover {
  color: var(--neutral-color) !important;
  transform: translateX(5px);
}

.footer-social-links i {
  font-size: 20px;
}

.footer-brand-social {
  margin-top: 12px;
}

.atp-credit {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin: 30px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.foot-copyrights-text {
  text-align: center;
  margin-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
}

.foot-copyrights-text p {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.8) !important;
  margin: 0 !important;
  line-height: 1.6;
}

.foot-copyrights-text a {
  color: var(--neutral-color) !important;
  text-decoration: none;
  transition: opacity 0.3s ease;
  font-weight: 500 !important;
}

.foot-copyrights-text a:hover {
  opacity: 0.8;
}

.phone-text {
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--neutral-color) !important;
}

.lang-dropdown {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px 0 20px;
}

.lang-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}

.lang-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.9);
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.lang-dropdown-toggle:hover,
.lang-dropdown-toggle:focus {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.lang-dropdown-menu {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20,20,60,0.96);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  overflow: hidden;
  min-width: 160px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.3);
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 100;
}

.lang-dropdown-menu.open {
  display: block;
}

.lang-dropdown .lang-dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: rgba(255,255,255,0.88) !important;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.15s ease;
}

.lang-dropdown .lang-dropdown-menu li a:hover {
  background: rgba(255,255,255,0.12);
  color: #fff !important;
}

.lang-dropdown-menu li + li {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.lang-flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
}

.lang-chevron {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.lang-dropdown-toggle[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}

.footer-lang-dropdown {
  align-items: flex-start;
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.18);
}

.footer-lang-dropdown .lang-dropdown-menu {
  top: calc(100% + 6px);
  bottom: auto;
  left: 0;
  transform: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

[dir="rtl"] .footer-lang-dropdown {
  align-items: flex-end;
}

[dir="rtl"] .footer-lang-dropdown .lang-dropdown-menu {
  left: auto;
  right: 0;
}

/* Footer responsive */
@media (max-width: 768px) {
  .footer-content {
    padding: 60px 0 40px 0;
  }
  .footer-logo-container-item {
    align-items: center;
    text-align: center;
  }
  .footer-logo-container p {
    text-align: center;
    max-width: 100%;
  }
  .single-footer-item {
    text-align: center;
    margin-bottom: 45px;
  }
  .single-footer-item .contact-link {
    justify-content: center;
  }
  .footer-lang-dropdown {
    align-items: center;
  }
  .footer-lang-dropdown .lang-dropdown-menu,
  [dir="rtl"] .footer-lang-dropdown .lang-dropdown-menu {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

/* Section 9 removed (scroll-to-top replaced by WhatsApp float) */

/* ============================================
   10. WhatsApp CTA Button (standalone, NOT card actions)
   ============================================ */

a.btn-whatsapp-cta,
.btn-whatsapp {
  background-color: #25D366;
  border: 2px solid #25D366;
  color: #fff;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

a.btn-whatsapp-cta:hover,
a.btn-whatsapp-cta:focus,
.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background-color: #128C7E;
  border-color: #128C7E;
  color: #fff;
}

/* ============================================
   11. SR Only (Accessibility)
   ============================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================
   12. Hero Section (Homepage)
   ============================================ */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-color);
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color) 0%, #2a2968 50%, #363580 100%);
  margin-top: -70px;
  padding-top: 70px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(177.78vh, 100vw);   /* cover: use height-based or width-based, whichever is larger */
  height: max(100vh, 56.25vw);   /* 56.25vw = 9/16 of viewport width */
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  border: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-video.loaded {
  opacity: 1;
}

/* Hide video on mobile — saves bandwidth, avoids autoplay issues */
@media (max-width: 768px) {
  .hero-video {
    display: none;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(30, 29, 73, 0.35) 0%, rgba(30, 29, 73, 0.1) 50%, rgba(30, 29, 73, 0.15) 100%);
  z-index: 1;
}

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

.hero-content h1 {
  color: var(--neutral-color);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.hero-buttons .btn-primary {
  background: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  color: var(--neutral-color);
}

.hero-buttons .btn-primary:hover {
  background: var(--tertiary-color);
  border-color: var(--tertiary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: var(--neutral-color);
}

.hero-buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--neutral-color);
  transform: translateY(-2px);
}

/* ============================================
   13. Features Section
   ============================================ */

.features {
  padding: 100px 0;
  background: var(--neutral-color);
}

.feature-card {
  text-align: center;
  padding: 40px 25px;
  height: 100%;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: var(--primary-color);
  transition: background 0.3s ease, color 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--secondary-color);
  color: var(--neutral-color);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* ============================================
   13b. Panama Stats Strip
   ============================================ */

.panama-stats {
  background: var(--primary-color);
  color: #fff;
  padding: 60px 0;
}

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

.panama-stats .stat-number {
  font-family: 'Quicksand', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
}

.panama-stats .stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* ============================================
   14. Experience / Service Cards
   ============================================ */

.experience-cards {
  padding: 100px 0;
}

.card-link {
  display: flex;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.experience-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, .1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.experience-card:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 30px rgba(0, 0, 0, .15);
}

.experience-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--light-blue) 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.experience-card-image .placeholder-icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  opacity: 0.12;
}

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

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

.experience-card-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.experience-card-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.experience-card-body p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.experience-card-body .btn {
  align-self: flex-start;
}

/* ============================================
   15. Partners / Logo Row
   ============================================ */

.partners {
  padding: 80px 0;
  background: var(--light-blue);
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.partner-logos img {
  height: 45px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.3s ease, filter 0.3s ease;
  filter: grayscale(30%);
}

.partner-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ============================================
   16. Testimonials
   ============================================ */

.testimonial {
  padding: 100px 0;
  background: var(--neutral-color);
}

.testimonial .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.home1-testm-single {
  padding: 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.home1-testm-txt .icon {
  display: block;
  margin-bottom: 20px;
}

.home1-testm-txt .icon i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  opacity: 0.5;
}

.home1-testm-txt p {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  font-style: italic;
  margin-bottom: 25px;
}

.home1-testm-txt h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
}

.home1-testm-txt h3 a {
  color: var(--primary-color) !important;
  text-decoration: none;
  font-size: 18px;
}

.home1-testm-txt h4 {
  color: #555;
  font-size: 15px;
  font-weight: 400;
  margin-top: 5px;
}

.owl-dots {
  text-align: center;
  margin-top: 30px;
}

.owl-dots .owl-dot {
  display: inline-block;
  margin: 0 5px;
}

.owl-dots .owl-dot span {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--divider-color);
  transition: background 0.3s ease, transform 0.3s ease;
}

.owl-dots .owl-dot.active span {
  background: var(--secondary-color);
  transform: scale(1.2);
}

/* ============================================
   17. About Page
   ============================================ */

.about-section {
  padding: 100px 0;
}

.about-section h2 {
  color: var(--primary-color);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 25px;
}

.about-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

/* Service Cards */
.service-card {
  text-align: center;
  padding: 35px 25px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, .1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  height: 100%;
  background: var(--neutral-color);
}

.service-card:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 30px rgba(0, 0, 0, .15);
}

.service-card .service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--primary-color);
}

.service-card:hover .service-icon {
  background: var(--secondary-color);
  color: var(--neutral-color);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Team Grid */
.team-grid {
  padding: 100px 0;
}

.team-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, .1);
  transition: transform 0.3s ease-in-out;
  height: 100%;
  background: var(--neutral-color);
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-photo .placeholder-icon {
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.25;
}

.team-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.team-card .team-title {
  font-size: 14px;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Pricing */
.pricing-section {
  padding: 100px 0;
}

.pricing-card {
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, .1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease-in-out;
  height: 100%;
}

.pricing-card:hover {
  transform: scale(1.02);
}

.pricing-card.featured {
  border: 2px solid var(--secondary-color);
}

.pricing-card-header {
  background: var(--primary-color);
  color: var(--neutral-color);
  padding: 25px;
}

.pricing-card.featured .pricing-card-header {
  background: var(--secondary-color);
}

.pricing-card-header h3 {
  color: var(--neutral-color);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.pricing-card-header .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--neutral-color);
}

.pricing-card-body {
  padding: 30px 25px;
}

.pricing-card-body ul {
  text-align: left;
  margin-bottom: 25px;
}

.pricing-card-body ul li {
  padding: 8px 0;
  font-size: 15px;
  color: #555;
  border-bottom: 1px solid var(--divider-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-card-body ul li i {
  color: var(--accent-green);
}

/* ============================================
   18. Contact Page
   ============================================ */

.contact-section {
  padding: 100px 0;
}

.contact-form-card {
  background: var(--neutral-color);
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, .1);
  padding: 40px;
}

.contact-form-card h2 {
  color: var(--primary-color);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}

.contact-form-card .form-label {
  font-weight: 500;
  color: var(--primary-color);
  font-size: 14px;
  margin-bottom: 5px;
}

.contact-form-card textarea.form-control {
  height: auto;
  min-height: 120px;
  resize: vertical;
}

.contact-form-card .btn-submit {
  background: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  color: var(--neutral-color);
  padding: 12px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  transition: background 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.contact-form-card .btn-submit:hover {
  background: var(--tertiary-color);
  border-color: var(--tertiary-color);
}

.form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 5px;
  font-size: 14px;
  display: none;
}

.form-message.error {
  display: block;
  color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid #dc3545;
}

.form-message.success {
  display: block;
  color: #198754;
  background: rgba(25, 135, 84, 0.1);
  border: 1px solid #198754;
}

.contact-info-card {
  background: var(--primary-color);
  border-radius: 15px;
  padding: 30px;
  color: var(--neutral-color);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-3px);
}

.contact-info-card i {
  font-size: 2rem;
  color: var(--tertiary-color);
  margin-bottom: 15px;
}

.contact-info-card h3 {
  color: var(--neutral-color);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-info-card p,
.contact-info-card a {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 15px;
  line-height: 1.6;
}

.contact-hero {
  min-height: 460px;
  background-position: center;
}

.contact-hero .inner-banner-overlay {
  background: linear-gradient(90deg, rgba(30, 29, 73, 0.9) 0%, rgba(30, 29, 73, 0.68) 52%, rgba(181, 0, 97, 0.42) 100%);
}

.contact-hero .inner-banner-content {
  width: min(920px, calc(100% - 32px));
  text-align: left;
}

.contact-hero .inner-banner-content h1 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  text-transform: none;
}

.contact-hero .inner-banner-content p {
  max-width: 650px;
  margin: 0;
  font-size: 1.2rem;
}

.contact-eyebrow,
.contact-kicker {
  display: inline-block;
  color: var(--tertiary-color);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-eyebrow {
  color: var(--neutral-color);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 8px 14px;
  margin-bottom: 16px;
}

.contact-page {
  position: relative;
  padding-top: 0;
}

.contact-page .container {
  position: relative;
  z-index: 1;
}

.contact-intro-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--neutral-color);
  border: 1px solid rgba(30, 29, 73, 0.08);
  border-radius: 15px;
  box-shadow: 0 18px 45px rgba(30, 29, 73, 0.12);
  margin: -58px 0 34px;
  padding: 28px;
}

.contact-intro-panel h2 {
  color: var(--primary-color);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 6px 0 0;
  max-width: 690px;
  text-transform: none;
}

.contact-action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  min-width: min(100%, 420px);
}

.contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 15px;
  color: var(--primary-color);
  background: #fff;
  border: 1px solid rgba(30, 29, 73, 0.14);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(30, 29, 73, 0.07);
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.contact-action i {
  color: var(--secondary-color);
}

.contact-action:hover {
  color: var(--secondary-color);
  border-color: rgba(181, 0, 97, 0.35);
  transform: translateY(-2px);
}

.contact-action-whatsapp i {
  color: var(--accent-green);
}

.contact-form-feature {
  border: 1px solid rgba(30, 29, 73, 0.08);
  box-shadow: 0 18px 45px rgba(30, 29, 73, 0.1);
}

.contact-form-heading {
  margin-bottom: 26px;
}

.contact-form-heading h2 {
  margin: 6px 0 8px;
  text-transform: none;
}

.contact-form-heading p {
  color: #5f6370;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

.contact-page .form-control,
.contact-page .form-select {
  min-height: 52px;
  border: 1px solid rgba(30, 29, 73, 0.16);
  border-radius: 8px;
  color: var(--primary-color);
  box-shadow: none;
}

.contact-page .form-control:focus,
.contact-page .form-select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(181, 0, 97, 0.12);
}

.contact-page textarea.form-control {
  min-height: 150px;
}

.contact-submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.contact-submit-row p {
  color: #656977;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.contact-page .btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 7px;
}

.contact-sidebar {
  position: sticky;
  top: 96px;
}

.contact-channel-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  background: var(--primary-color);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 34px rgba(30, 29, 73, 0.14);
}

.contact-channel-card .contact-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.contact-channel-card .contact-card-icon i {
  margin: 0;
  font-size: 1.35rem;
}

.contact-channel-card h3 {
  margin-bottom: 8px;
}

.contact-channel-card p {
  margin-bottom: 10px;
}

.contact-channel-card a {
  display: block;
  font-weight: 700;
  text-decoration: none;
}

.contact-channel-card a:hover {
  color: var(--tertiary-color) !important;
}

.contact-hours {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-hours li {
  display: grid;
  gap: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.contact-hours strong {
  color: var(--neutral-color);
  font-size: 14px;
  font-weight: 700;
}

.contact-note {
  display: flex;
  gap: 12px;
  background: rgba(228, 91, 1, 0.1);
  border: 1px solid rgba(228, 91, 1, 0.28);
  border-radius: 12px;
  padding: 18px;
}

.contact-note i {
  color: var(--tertiary-color);
  margin-top: 3px;
}

.contact-note p {
  color: var(--primary-color);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 991.98px) {
  .contact-intro-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-action-row {
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
  }

  .contact-sidebar {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .contact-hero {
    min-height: 420px;
  }

  .contact-hero .inner-banner-content {
    text-align: center;
  }

  .contact-hero .inner-banner-content p {
    margin: 0 auto;
  }

  .contact-intro-panel {
    margin-top: -38px;
    padding: 22px;
  }

  .contact-action-row,
  .contact-action {
    width: 100%;
  }

  .contact-submit-row {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .contact-submit-row .btn-submit {
    width: 100%;
  }

  .contact-channel-card {
    grid-template-columns: 40px 1fr;
    padding: 24px;
  }
}

/* ============================================
   19. Tour Detail Page
   ============================================ */

.tour-hero {
  position: relative;
  width: 100%;
  height: 50vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  background-color: var(--primary-color);
  margin-top: -70px;
  padding-top: 70px;
}

.tour-hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(30, 29, 73, 0.65);
}

.tour-hero-content {
  position: relative;
  z-index: 1;
  color: var(--neutral-color);
}

.tour-hero-content h1 {
  color: var(--neutral-color);
  margin-bottom: 10px;
  font-size: 3.5rem;
  font-weight: 700;
}

.tour-hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .tour-hero-content h1 {
    font-size: 2.2rem;
  }
  .tour-hero-content p {
    font-size: 1.1rem;
  }
}

.tour-content {
  padding: 60px 0 100px;
}

.tour-content h2 {
  color: var(--primary-color);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.tour-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.tour-highlights {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.tour-highlights li {
  padding: 10px 0;
  font-size: 16px;
  color: #555;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tour-highlights li i {
  color: var(--accent-green);
  margin-top: 4px;
}

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

.tour-booking-card {
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, .1);
  overflow: hidden;
}

.tour-booking-card-header {
  background: var(--primary-color);
  color: var(--neutral-color);
  padding: 25px;
  text-align: center;
}

.tour-booking-card-header h3 {
  color: var(--neutral-color);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.tour-booking-card-body {
  padding: 25px;
}

.tour-booking-card-body .detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--divider-color);
  font-size: 15px;
  color: #555;
}

.tour-booking-card-body .detail-item i {
  color: var(--primary-color);
  width: 20px;
  text-align: center;
}

/* Tour Gallery */
.tour-gallery { padding: 60px 0; background: var(--light-blue); }
.tour-gallery h2 { text-align: center; margin-bottom: 30px; font-family: 'Quicksand', sans-serif; font-weight: 700; color: var(--primary-color); }
.tour-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 15px; }
.tour-gallery-item { border-radius: 10px; overflow: hidden; aspect-ratio: 16/10; }
.tour-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.tour-gallery-item:hover img { transform: scale(1.05); }
.tour-gallery-category { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--primary-color); margin-bottom: 15px; padding-bottom: 8px; border-bottom: 2px solid var(--secondary-color); display: inline-block; }

/* Tour Booking Form */
.tour-price-badge {
  font-size: 2rem;
  font-weight: 800;
  color: var(--neutral-color);
  margin-top: 10px;
}

.tour-price-badge span {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.8;
}

.tour-price-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 8px;
  line-height: 1.4;
}

.booking-divider {
  border: 0;
  border-top: 1px solid #e9ecef;
  margin: 20px 0;
}

.group-size-control {
  display: flex;
  align-items: center;
  gap: 0;
}

.group-size-control .form-control {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  width: 60px;
  -moz-appearance: textfield;
}

.group-size-control .form-control::-webkit-outer-spin-button,
.group-size-control .form-control::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.btn-group-size {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #dee2e6;
  background: var(--neutral-color);
  color: var(--primary-color);
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-group-size:first-child {
  border-radius: 6px 0 0 6px;
}

.btn-group-size:last-child {
  border-radius: 0 6px 6px 0;
}

.btn-group-size:hover:not([aria-disabled="true"]):not(:disabled) {
  background: var(--primary-color);
  color: var(--neutral-color);
}

.btn-group-size[aria-disabled="true"],
.btn-group-size:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.booking-addons {
  margin-bottom: 20px;
}

.addon-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  margin-bottom: 8px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.addon-card:hover {
  border-color: var(--primary-color);
  background-color: var(--light-blue);
}

.addon-card:has(.addon-checkbox:checked) {
  border-color: var(--secondary-color);
  background-color: #fef0f6;
}

.addon-checkbox {
  margin-top: 3px;
  accent-color: var(--secondary-color);
  flex-shrink: 0;
}

.addon-card-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 8px;
}

.addon-card-info {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.addon-description {
  font-size: 12px;
  color: #777;
  margin-top: 2px;
}

.addon-price {
  font-weight: 700;
  font-size: 14px;
  color: var(--secondary-color);
  white-space: nowrap;
}

.inquiry-note {
  font-size: 12px;
  color: #777;
  text-align: center;
  margin-bottom: 15px;
}

.inquiry-note i {
  color: var(--secondary-color);
}

.booking-message {
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 15px;
  font-size: 14px;
}

.booking-message-error {
  background: #fef2f2;
  color: #dc3545;
  border: 1px solid #fecaca;
}

.booking-message-success {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}


/* Confirmation page */
.confirmation-details {
  background: var(--light-blue);
  border-radius: 12px;
  padding: 25px 30px;
  margin: 30px auto;
  max-width: 420px;
  text-align: left;
}

.confirmation-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.confirmation-detail-row:last-child {
  border-bottom: none;
}

.confirmation-label {
  color: #888;
  font-size: 14px;
}

.confirmation-value {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
}

/* Other Tours Grid */
.other-tours {
  padding: 100px 0;
}

/* ============================================
   20. Cruise Landing Page
   ============================================ */

.cruise-overview {
  padding: 80px 0;
}

.cruise-overview h2 {
  color: var(--primary-color);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cruise-overview p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.cruise-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--light-blue);
  border-radius: 10px;
  margin-bottom: 25px;
}

.cruise-partner-badge img {
  height: 30px;
  width: auto;
}

.cruise-partner-badge span {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
}

.dining-packages {
  padding: 80px 0;
}

.dining-card {
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, .1);
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease-in-out;
}

.dining-card:hover {
  transform: scale(1.02);
}

.dining-card-header {
  background: var(--primary-color);
  color: var(--neutral-color);
  padding: 20px 25px;
  text-align: center;
}

.dining-card-header h3 {
  color: var(--neutral-color);
  font-size: 20px;
  font-weight: 700;
}

.dining-card-body {
  padding: 25px;
}

.dining-card-body ul {
  margin: 0;
}

.dining-card-body ul li {
  padding: 8px 0;
  font-size: 15px;
  color: #555;
  border-bottom: 1px solid var(--divider-color);
}

.dining-card-body ul li:last-child {
  border-bottom: none;
}

/* Sailing Schedule Table */
.sailing-schedule {
  padding: 80px 0;
}

.sailing-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, .1);
}

.sailing-table thead {
  background: var(--primary-color);
  color: var(--neutral-color);
}

.sailing-table th {
  padding: 15px 20px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sailing-table td {
  padding: 15px 20px;
  font-size: 15px;
  border-bottom: 1px solid var(--divider-color);
}

.sailing-table tbody tr:hover {
  background: var(--light-blue);
}

/* ============================================
   21. FAQ / Accordion
   ============================================ */

.faq-section {
  padding: 100px 0;
}

.faq-section .accordion-item {
  border: 1px solid var(--divider-color);
  border-radius: 10px !important;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-section .accordion-button {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  padding: 20px 25px;
  background: var(--neutral-color);
}

.faq-section .accordion-button:not(.collapsed) {
  background: var(--light-blue);
  color: var(--primary-color);
  box-shadow: none;
}

.faq-section .accordion-button:focus {
  box-shadow: none;
  border-color: var(--divider-color);
}

.faq-section .accordion-button::after {
  color: var(--primary-color);
}

.faq-section .accordion-body {
  padding: 20px 25px;
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* ============================================
   22. Floating WhatsApp Button
   ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  text-decoration: none;
}

.whatsapp-float.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
  font-size: 36px;
  color: #fff;
}

/* ============================================
   23. CTA Section
   ============================================ */

.cta-section {
  padding: 80px 0;
  background: linear-gradient(rgba(30, 29, 73, 0.8), rgba(30, 29, 73, 0.85)), url('/assets/images/banners/tropical-beach.webp') no-repeat center center/cover;
  text-align: center;
  color: var(--neutral-color);
}

.cta-section h2 {
  color: var(--neutral-color);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* ============================================
   24. Simple Page (404, Success, Legal)
   ============================================ */

.simple-page {
  padding: 100px 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.simple-page-centered {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.simple-page-centered .page-icon {
  font-size: 5rem;
  color: var(--primary-color);
  opacity: 0.3;
  margin-bottom: 25px;
}

.simple-page-centered h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.simple-page-centered p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

.simple-page-centered .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Legal Pages */
.legal-content {
  padding: 80px 0;
}

.legal-content h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 30px;
}

.legal-content h2 {
  color: var(--primary-color);
  font-size: 22px;
  font-weight: 700;
  margin-top: 35px;
  margin-bottom: 15px;
}

.legal-content p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.legal-content ul li {
  list-style: disc;
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ============================================
   25. Form Validation
   ============================================ */

.form-control.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-control.is-valid {
  border-color: #198754;
  box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.1);
}

.invalid-feedback {
  font-size: 13px;
  color: #dc3545;
}

/* ============================================
   26. Offcanvas Mobile Menu
   ============================================ */

@media (max-width: 991.98px) {
  .offcanvas {
    background-color: var(--primary-color) !important;
  }

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

  .offcanvas-title {
    color: var(--neutral-color) !important;
    font-weight: 700;
  }

  .offcanvas .btn-close {
    filter: invert(1);
  }

  .offcanvas .navbar-nav > li > a {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .offcanvas .dropdown-menu {
    background: rgba(0, 0, 0, 0.15);
    border: none;
    box-shadow: none;
  }

  .offcanvas .dropdown-menu > li > a {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 10px 30px;
  }

  .offcanvas .dropdown-menu > li > a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--neutral-color) !important;
  }
}

/* ============================================
   27. Tour Card (Listing)
   ============================================ */

.tour-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, .1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--neutral-color);
}

.tour-card:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 30px rgba(0, 0, 0, .15);
}

.tour-card-icon {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--light-blue) 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tour-card-icon i {
  font-size: 3.5rem;
  color: var(--primary-color);
  opacity: 0.15;
}

.tour-card-icon .duration-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--primary-color);
  color: var(--neutral-color);
  padding: 5px 15px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 5px;
}

.tour-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--light-blue) 0%, #e2e8f0 100%);
}

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

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

.tour-card-image .duration-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--primary-color);
  color: var(--neutral-color);
  padding: 5px 15px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 5px;
}

.tour-card-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tour-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.tour-card-body p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.tour-card-body .btn {
  align-self: flex-start;
}

/* ============================================
   28. Hub Card (Experience Panama)
   ============================================ */

.hub-card {
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, .1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  padding: 50px 35px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--neutral-color);
}

.hub-card:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 30px rgba(0, 0, 0, .15);
}

.hub-card .hub-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 2.5rem;
  color: var(--primary-color);
  transition: background 0.3s ease, color 0.3s ease;
}

.hub-card:hover .hub-icon {
  background: var(--secondary-color);
  color: var(--neutral-color);
}

.hub-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.hub-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
  flex: 1;
}

.hub-card .btn {
  align-self: center;
}

/* ============================================
   29. Responsive Image Utilities
   ============================================ */

.img-cover {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.img-cover-16-10 {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.img-cover-4-3 {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ============================================
   30. Individual Restaurant Page
   ============================================ */

.restaurant-hero {
  position: relative;
  width: 100%;
  height: 50vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  margin-top: -70px;
  padding-top: 70px;
}

.restaurant-hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(30, 29, 73, 0.7);
}

.restaurant-content {
  padding: 60px 0 100px;
}

.restaurant-content h2 {
  color: var(--primary-color);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.restaurant-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

/* Detail Grid */
.restaurant-detail-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 25px 0;
}

.restaurant-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--divider-color);
}

.restaurant-detail-item:last-child {
  border-bottom: none;
}

.restaurant-detail-item > i {
  color: var(--primary-color);
  font-size: 18px;
  width: 24px;
  text-align: center;
  margin-top: 2px;
  flex-shrink: 0;
}

.restaurant-detail-item strong {
  display: block;
  font-size: 14px;
  color: var(--primary-color);
  margin-bottom: 2px;
}

.restaurant-detail-item p {
  font-size: 15px;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

/* Sidebar Info Card */
.restaurant-sidebar {
  position: sticky;
  top: 100px;
}

.restaurant-info-card {
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, .1);
  overflow: hidden;
}

.restaurant-info-card-header {
  background: var(--primary-color);
  color: var(--neutral-color);
  padding: 25px;
  text-align: center;
}

.restaurant-info-card-header h3 {
  color: var(--neutral-color);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.restaurant-info-card-header .kosher-tag {
  font-size: 11px;
}

.restaurant-info-card-body {
  padding: 25px;
}

.restaurant-info-card-body .detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--divider-color);
  font-size: 15px;
  color: #555;
}

.restaurant-info-card-body .detail-item:first-child {
  padding-top: 0;
}

.restaurant-info-card-body .detail-item i {
  color: var(--primary-color);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.restaurant-info-card-body .detail-item a {
  color: #555;
  text-decoration: none;
  font-size: 15px;
}

.restaurant-info-card-body .detail-item a:hover {
  color: var(--primary-color);
}

.restaurant-info-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.restaurant-info-links a {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
}

.restaurant-info-links a:hover {
  color: var(--primary-color);
}

.restaurant-info-links a i {
  width: 20px;
  text-align: center;
}

/* Map Section */
.restaurant-map {
  margin-top: 40px;
}

.restaurant-map h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.map-embed-container {
  border-radius: 12px;
  overflow: hidden;
}

.map-embed-container iframe {
  width: 100%;
  height: 350px;
  border: none;
}

/* Menu Embed Section */
.restaurant-menu-embed {
  margin-top: 40px;
}

.restaurant-menu-embed h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.menu-embed-container {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.menu-embed-container iframe {
  width: 100%;
  height: 600px;
  border: none;
}

.menu-external-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

.menu-external-link:hover {
  color: var(--tertiary-color);
}

/* Instagram Section */
.restaurant-instagram {
  margin-top: 40px;
  text-align: center;
}

.restaurant-instagram h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.restaurant-instagram p {
  color: #666;
  margin-bottom: 20px;
}

.instagram-embed-container {
  margin-bottom: 20px;
}

.instagram-embed-container iframe {
  width: 100%;
  min-height: 800px;
  border: none;
}

.instagram-follow-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-follow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
  color: #fff;
}

/* More Restaurants Section */
.other-restaurants {
  padding: 100px 0;
}

/* ============================================
   31. Testimonials Page
   ============================================ */

.testimonials-page {
  padding: 80px 0;
}

.testimonial-card {
  background: var(--neutral-color);
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, .1);
  padding: 35px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
}

.testimonial-card .quote-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  opacity: 0.4;
  margin-bottom: 15px;
}

.testimonial-card .testimonial-text {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  font-style: italic;
  margin-bottom: 20px;
  flex: 1;
}

.testimonial-card .testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid var(--divider-color);
}

.testimonial-card .testimonial-author {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
}

.testimonial-card .testimonial-location {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #555;
  margin-top: 3px;
}

.testimonial-card .testimonial-service {
  display: inline-block;
  padding: 3px 10px;
  background: var(--light-blue);
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
}

.testimonial-card .testimonial-stars {
  color: #F4B400;
  font-size: 14px;
  margin-top: 8px;
}

/* ============================================
   32. Shabbat & Jewish Life Page
   ============================================ */

.shabbat-section {
  padding: 80px 0;
}

.shabbat-section h2 {
  color: var(--primary-color);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.shabbat-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.synagogue-card {
  background: var(--neutral-color);
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, .1);
  padding: 30px;
  height: 100%;
  transition: transform 0.3s ease;
}

.synagogue-card:hover {
  transform: translateY(-3px);
}

.synagogue-card h3 {
  color: var(--primary-color);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.synagogue-card .synagogue-type {
  display: inline-block;
  padding: 3px 10px;
  background: var(--light-blue);
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 15px;
}

.synagogue-card .detail-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: #555;
}

.synagogue-card .detail-item i {
  color: var(--primary-color);
  width: 18px;
  text-align: center;
  margin-top: 3px;
  flex-shrink: 0;
}

.synagogue-card .detail-item a {
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 14px;
}

.synagogue-card .detail-item a:hover {
  color: var(--tertiary-color);
}

.tip-card {
  background: var(--light-blue);
  border-radius: 15px;
  padding: 25px 30px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.row > .col-lg-4 > .tip-card,
.row > .col-md-6 > .tip-card,
.row > .col-lg-6 > .tip-card {
  height: 100%;
}

.tip-card i {
  color: var(--primary-color);
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 3px;
}

.tip-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.tip-card p {
  font-size: 15px;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

/* Did You Know? Box */
.did-you-know-box {
  margin-top: 40px;
  padding: 30px 35px;
  background: var(--light-blue);
  border-radius: 15px;
  border-left: 5px solid var(--secondary-color);
}

.did-you-know-box h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.did-you-know-box ul {
  padding-left: 20px;
  margin: 0;
}

.did-you-know-box li {
  list-style: disc;
  margin-bottom: 8px;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

/* Staff Picks Section */
.staff-picks {
  margin-bottom: 40px;
}

.staff-pick-card {
  background: #fff;
  border-radius: 15px;
  padding: 20px 24px;
  box-shadow: 0 0 20px rgba(0,0,0,.08);
  height: 100%;
  transition: transform 0.3s ease;
}

.staff-pick-card:hover {
  transform: translateY(-3px);
}

.staff-pick-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.staff-pick-card .pick-type {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.staff-pick-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* Shabbat Zmanim Widget */
.zmanim-widget {
  background: var(--primary-color);
  color: #fff;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 10px;
  transition: opacity 0.15s ease;
}

.zmanim-header {
  margin-bottom: 20px;
}

.zmanim-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.zmanim-icon {
  font-size: 22px;
  line-height: 1;
}

.zmanim-title {
  font-family: 'Quicksand', sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.zmanim-location {
  font-size: 14px;
  opacity: 0.7;
  margin-left: auto;
}

.zmanim-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.zmanim-nav-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.zmanim-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.zmanim-nav-center {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.zmanim-nav-center .zmanim-date-range {
  font-size: 14px;
  opacity: 0.75;
}

.zmanim-nav-center .zmanim-parsha {
  font-size: 17px;
  font-weight: 700;
  font-family: 'Quicksand', sans-serif;
}

.zmanim-nav-center .zmanim-parsha:empty {
  display: none;
}

.zmanim-times {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.zmanim-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 14px 18px;
}

.zmanim-label {
  font-size: 15px;
  font-weight: 500;
}

.zmanim-time {
  font-family: 'Quicksand', sans-serif;
  font-size: 22px;
  font-weight: 700;
}

/* Location pills */
.zmanim-location-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}

.zmanim-location-pills .filter-btn {
  padding: 8px 20px;
  border: 2px solid #ddd;
  border-radius: 25px;
  background: #fff;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.zmanim-location-pills .filter-btn:hover,
.zmanim-location-pills .filter-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

/* Centered widget wrapper */
.zmanim-widget-wrapper {
  max-width: 520px;
  margin: 0 auto;
}

/* Parsha sub-line (shown during holiday weeks) */
.zmanim-parsha-sub {
  font-size: 13px;
  opacity: 0.7;
  font-weight: 500;
}

/* Fast day banner */
.zmanim-fast-banner {
  background: rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 10px;
}

.zmanim-fast-title {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 15px;
  display: block;
  margin-bottom: 8px;
}

.zmanim-fast-times {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  opacity: 0.9;
}

/* Synagogue card link wrapper */
.synagogue-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.synagogue-card-link:hover .synagogue-card {
  transform: translateY(-3px);
}

.synagogue-card-link:hover .view-details-link {
  color: var(--tertiary-color);
}

.mikvah-badge {
  display: inline-block;
  padding: 3px 10px;
  background: #E8F4FD;
  color: #1976D2;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 15px;
  margin-left: 6px;
}

.view-details-link {
  color: var(--secondary-color);
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
  transition: color 0.2s ease;
}

/* ============================================
   33. Synagogue Detail Pages
   ============================================ */

.synagogue-hero {
  position: relative;
  width: 100%;
  height: 50vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  margin-top: -70px;
  padding-top: 70px;
}

.synagogue-hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(30, 29, 73, 0.7);
}

.synagogue-content {
  padding: 60px 0 100px;
}

.synagogue-content h2 {
  color: var(--primary-color);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.synagogue-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

/* Detail Grid */
.synagogue-detail-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 25px 0;
}

.synagogue-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--divider-color);
}

.synagogue-detail-item:last-child {
  border-bottom: none;
}

.synagogue-detail-item > i {
  color: var(--primary-color);
  font-size: 18px;
  width: 24px;
  text-align: center;
  margin-top: 2px;
  flex-shrink: 0;
}

.synagogue-detail-item strong {
  display: block;
  font-size: 14px;
  color: var(--primary-color);
  margin-bottom: 2px;
}

.synagogue-detail-item p {
  font-size: 15px;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

/* Service Times */
.service-times-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 25px 0;
}

.service-time-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: var(--light-blue);
  border-radius: 12px;
  margin-bottom: 12px;
}

.service-time-item > i {
  color: var(--primary-color);
  font-size: 20px;
  width: 24px;
  text-align: center;
  margin-top: 2px;
  flex-shrink: 0;
}

.service-time-item strong {
  display: block;
  font-size: 14px;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.service-time-item p {
  font-size: 15px;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

/* Features Grid */
.synagogue-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 25px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  background: var(--light-blue);
  border-radius: 10px;
}

.feature-item > i {
  color: var(--secondary-color);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.feature-item strong {
  display: block;
  font-size: 14px;
  color: var(--primary-color);
  margin-bottom: 2px;
  text-transform: capitalize;
}

.feature-item p {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

/* Sidebar Info Card */
.synagogue-sidebar {
  position: sticky;
  top: 100px;
}

.synagogue-info-card {
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, .1);
  overflow: hidden;
}

.synagogue-info-card-header {
  background: var(--primary-color);
  color: var(--neutral-color);
  padding: 25px;
  text-align: center;
}

.synagogue-info-card-header h3 {
  color: var(--neutral-color);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.synagogue-type-badge {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--neutral-color);
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
}

.synagogue-info-card-body {
  padding: 25px;
}

.synagogue-info-card-body .detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--divider-color);
  font-size: 15px;
  color: #555;
}

.synagogue-info-card-body .detail-item:first-child {
  padding-top: 0;
}

.synagogue-info-card-body .detail-item i {
  color: var(--primary-color);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.synagogue-info-card-body .detail-item a {
  color: #555;
  text-decoration: none;
  font-size: 15px;
}

.synagogue-info-card-body .detail-item a:hover {
  color: var(--primary-color);
}

.synagogue-info-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.synagogue-info-links a {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
}

.synagogue-info-links a:hover {
  color: var(--primary-color);
}

.synagogue-info-links a i {
  width: 20px;
  text-align: center;
}

/* Map Section */
.synagogue-content .tip-card {
  height: auto;
}

.synagogue-map {
  margin-top: 40px;
}

.synagogue-map h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

/* More Synagogues Section */
.other-synagogues {
  padding: 100px 0;
}

/* ============================================
   Cruise Sailing Cards (adapted from FKC)
   ============================================ */
/* Column wrapper: flex so the card fills the column height */
[data-liner] {
  display: flex;
}

.single-package-items {
  margin-bottom: 30px;
  padding-bottom: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,.1);
  transition: .5s;
  border-radius: 15px;
  overflow: hidden;
  background: #fafbfc;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.single-package-items:hover {
  transform: scale(1.02);
  transition: transform .3s ease-in-out !important;
}

.cruise-graphics {
  aspect-ratio: 800/536;
  overflow: hidden;
  background: #e2e8f0;
  position: relative;
}

.cruise-graphics > a {
  display: block;
  width: 100%;
  height: 100%;
}

.single-package-items .cruise-graphics > a > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cruise-graphics .gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(transparent, rgba(6,26,96,.9));
  pointer-events: none;
}

.cruise-graphics .img-overlay-text {
  position: absolute;
  bottom: 15px;
  left: 20px;
  right: 20px;
  color: #fff;
  z-index: 2;
  pointer-events: none;
}

.cruise-graphics .img-overlay-text h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.cruise-graphics .img-overlay-text .dest {
  font-size: 15px;
  color: rgba(255,255,255,.9);
  font-weight: 500;
}

.cruise-graphics .port-stops {
  display: flex;
  align-items: center;
  margin-top: 8px;
  flex-wrap: wrap;
  gap: 0;
}

.cruise-graphics .port-stops .port-name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.95);
}

.cruise-graphics .port-stops .port-sep {
  font-size: 8px;
  color: var(--tertiary-color);
  margin: 0 6px;
}

.date-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #fff;
  border-radius: 10px;
  text-align: center;
  padding: 6px 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  line-height: 1;
  z-index: 5;
}

.date-badge .month {
  font-size: 10px;
  font-weight: 700;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.date-badge .day {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-color);
}

.card-cruise-logo {
  position: absolute;
  z-index: 10;
  left: 20px;
  top: 20px;
}

.card-cruise-logo img {
  height: 42px;
  width: auto;
  max-width: 220px;
}

.package-details {
  padding: 20px;
  background: #fafbfc;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.booknow-btn {
  margin-top: auto;
}

.rabbi-row {
  padding: 10px 0;
  border-bottom: 1px solid var(--divider-color);
  margin-bottom: 12px;
}

.rabbi-row .rabbi-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #999;
  margin-bottom: 2px;
}

.rabbi-row .rabbi-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
}

.minyan-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--divider-color);
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
}

.minyan-badge i {
  color: var(--secondary-color);
  font-size: 14px;
}

.packages-itineraries ul li {
  line-height: 28px;
}

.packages-itineraries ul > li:first-child {
  color: var(--primary-color);
  font-weight: 800;
  font-size: 16px;
}

.packages-itineraries ul > li:nth-child(2) {
  font-weight: 500;
  font-size: 14px;
}

.packages-itineraries ul > li:nth-child(3) {
  font-size: 15px;
  font-weight: 500;
  color: var(--primary-color);
}

.booknow-btn ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

.booknow-btn ul li {
  flex: 1;
}

.booknow-btn ul li.whatsapp {
  flex: 0 0 auto;
}

.package-details li.whatsapp a {
  width: 50px;
  height: 50px;
  border: 2px solid var(--secondary-color);
  border-radius: 5px;
  font-size: 31px;
  text-align: center;
  color: var(--secondary-color);
  margin-left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.package-details li.whatsapp a:hover {
  background: var(--tertiary-color);
  border: 2px solid var(--tertiary-color);
  color: var(--neutral-color);
  transition: .5s ease-in-out;
}

/* Cruise Filter Bar */
.cruise-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.cruise-filters .filter-btn {
  padding: 8px 20px;
  border: 2px solid var(--divider-color);
  border-radius: 25px;
  background: #fff;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cruise-filters .filter-btn:hover,
.cruise-filters .filter-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

/* No Results Message */
.no-sailings-msg {
  display: none;
  text-align: center;
  padding: 40px 20px;
  color: #888;
  font-size: 16px;
}

/* ============================================================
   Zmanim Page (/panama/zmanim/)
   ============================================================ */

.zp-section {
  padding: 80px 0;
}

.zp-section.light-blue {
  background: var(--light-blue);
}

/* Date + location controls */
.zp-controls {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  padding: 24px;
  margin: 30px 0 20px;
}

.zp-date-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.zp-nav-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.zp-nav-btn:hover {
  background: var(--secondary-color);
  transform: scale(1.05);
}

.zp-date-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 240px;
}

.zp-date-label {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--primary-color);
}

.zp-date-picker {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  color: #555;
  background: #fafafa;
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
}

.zp-date-picker:focus {
  outline: none;
  border-color: var(--primary-color);
}

.zp-today-btn {
  display: block;
  margin: 12px auto 0;
  background: transparent;
  border: 1px solid var(--secondary-color);
  color: var(--secondary-color);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.zp-today-btn:hover {
  background: var(--secondary-color);
  color: #fff;
}

.zp-location-row {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.zp-location-label {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #888;
  margin-bottom: 12px;
  font-weight: 600;
}

/* Hebrew date / events strip */
.zp-hebcal-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 15px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.zp-location-heading {
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.zp-hebrew-date {
  font-size: 17px;
  opacity: 0.9;
  direction: rtl;
  text-align: right;
  unicode-bidi: plaintext;
}

.zp-events {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zp-event-chip {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
}

/* Zmanim grid */
.zp-zmanim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.zp-zmanim-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.zp-card-header {
  background: var(--primary-color);
  color: #fff;
  padding: 16px 20px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.zp-times {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  flex: 1;
}

.zp-times li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.zp-times li:last-child {
  border-bottom: none;
}

.zp-times li.zp-highlight {
  background: var(--light-blue);
}

.zp-times li.zp-shabbat {
  background: #fff5e6;
}

.zp-time-label {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.zp-time-label em {
  font-style: normal;
  color: #888;
  font-size: 12px;
  margin-left: 4px;
}

.zp-time-value {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-color);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.zp-highlight .zp-time-value {
  color: var(--secondary-color);
  font-size: 18px;
}

.zp-shabbat .zp-time-value {
  color: var(--tertiary-color);
}

.zp-card-footnote {
  background: #fafafa;
  padding: 12px 20px;
  font-size: 12px;
  color: #666;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid #f0f0f0;
}

/* Share row */
.zp-share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 20px 0 16px;
}

.zp-disclaimer {
  text-align: center;
  font-size: 13px;
  color: #777;
  max-width: 720px;
  margin: 0 auto;
  font-style: italic;
}

/* Glossary */
.zp-glossary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.zp-glossary-item {
  padding: 18px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.06);
}

.zp-glossary-item h3 {
  font-family: 'Quicksand', sans-serif;
  color: var(--primary-color);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}

.zp-glossary-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* Responsive */
@media (max-width: 991px) {
  .zp-zmanim-grid {
    grid-template-columns: 1fr;
  }
  .zp-glossary {
    grid-template-columns: 1fr;
  }
  .zp-hebcal-bar {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .zp-hebrew-date {
    text-align: left;
  }
}

@media (max-width: 575px) {
  .zp-section {
    padding: 50px 0;
  }
  .zp-controls {
    padding: 18px;
  }
  .zp-date-label {
    font-size: 17px;
  }
  .zp-date-center {
    min-width: 0;
    flex: 1;
  }
  .zp-nav-btn {
    width: 38px;
    height: 38px;
  }
  .zp-card-header {
    font-size: 16px;
    padding: 14px 16px;
  }
  .zp-times li {
    padding: 10px 16px;
  }
  .zp-time-label {
    font-size: 13px;
  }
  .zp-time-value {
    font-size: 15px;
  }
  .zp-highlight .zp-time-value {
    font-size: 16px;
  }
}
