/* =====================================================
   RESET & BASE
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  overflow-x: hidden;
}

/* =====================================================
   ROOT VARIABLES
===================================================== */
:root {
  --gold-1: #ffa333;
  --gold-2: #c76a00;
  --dark-bg: linear-gradient(225deg, #352109 0%, #000000 80%);
  --light-bg: linear-gradient(180deg, #f4f4f4, #dcdcdc);
  --glass-dark: rgba(255,255,255,0.08);
  --glass-light: rgba(255,255,255,0.9);
}

/* =====================================================
   BODY THEMES
===================================================== */
body.dark {
  background: var(--dark-bg);
  color: #eaeaea;
}

body.light {
  background: var(--light-bg);
  color: #1a1a1a;
}

/* =====================================================
   SCROLLBAR
===================================================== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  border-radius: 6px;
}

/* =====================================================
   HEADER
===================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  height: 64px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(14px);
}

body.dark header {
  background: rgba(0,0,0,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

body.light header {
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

/* =====================================================
   BRAND
===================================================== */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 36px;
}

.brand h2 {
  font-size: 22px;
  letter-spacing: 1px;
}

/* =====================================================
   CENTER SEARCH BAR
===================================================== */
header input#search {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  max-width: 60%;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.3s ease;
}

body.dark header input#search {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}

body.light header input#search {
  background: #fff;
  color: #111;
  border: 1px solid #bbb;
}

header input#search:focus {
  outline: none;
  border-color: var(--gold-1);
  box-shadow: 0 0 0 3px rgba(255,163,51,0.35);
}

/* =====================================================
   BUTTONS
===================================================== */
button {
  background: linear-gradient(225deg, var(--gold-1), var(--gold-2));
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255,163,51,0.45);
  transition: all 0.25s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255,163,51,0.7);
}

/* =====================================================
   SIDEBAR
===================================================== */
aside {
  position: fixed;
  top: 64px;
  left: 0;
  width: 240px;
  height: calc(100% - 64px);
}

body.dark aside {
  background: linear-gradient(180deg, #0b0b0b, #000);
  border-right: 1px solid rgba(255,255,255,0.08);
}

body.light aside {
  background: linear-gradient(180deg, #ffffff, #eeeeee);
  border-right: 1px solid #ccc;
}

aside a {
  display: block;
  padding: 16px 30px;
  text-decoration: none;
  color: inherit;
  transition: background 0.25s ease;
}

aside a.active {
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  color: #fff;
}

/* =====================================================
   MAIN
===================================================== */
main {
  margin-left: 240px;
  padding: 42px;
}

main h1 {
  font-size: 34px;
  margin-bottom: 24px;
}

/* =====================================================
   FILTER BAR
===================================================== */
.filter-box {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}

.filter-box input {
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
}

body.dark .filter-box input {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

body.light .filter-box input {
  background: #fff;
  color: #111;
  border: 1px solid #ccc;
}

/* =====================================================
   GRID
===================================================== */
#cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

/* =====================================================
   CARDS – PREMIUM
===================================================== */
.card {
  position: relative;
  padding: 26px;
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(.2,.8,.2,1);
}

body.dark .card {
  background: linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 22px 50px rgba(0,0,0,0.75);
}

body.light .card {
  background: #ffffff;
  border: 1px solid #ccc;
  box-shadow: 0 14px 28px rgba(0,0,0,0.15);
}

/* glow sweep */
.card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent 30%, rgba(255,163,51,0.4), transparent 70%);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-12px) scale(1.035);
  box-shadow: 0 30px 70px rgba(0,0,0,0.8);
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* =====================================================
   FEATURES LIST
===================================================== */
.features-list {
  margin-top: 8px;
  padding-left: 18px;
}

.features-list li {
  margin-bottom: 6px;
}

/* =====================================================
   MAP BUTTON
===================================================== */
.map-btn {
  width: 100%;
  margin-top: 12px;
}

/* =====================================================
   FEEDBACK BUTTON
===================================================== */
.feedback-btn {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* =====================================================
   LOGIN PAGE
===================================================== */
.login-box {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.login-hero {
  width: 720px;
  max-width: 95%;
  margin-bottom: 40px;
  animation: floatHero 6s ease-in-out infinite;
}

@keyframes floatHero {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

.login-box input {
  width: 320px;
  padding: 16px;
  margin-bottom: 18px;
  border-radius: 8px;
  border: none;
  font-size: 18px;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 900px) {
  aside { display: none; }
  main { margin-left: 0; }
  header input#search { display: none; }
}

/* =====================================================
   CUSTOM GOLD CURSOR (REAL POINTER)
===================================================== */
/* 🔥 SLIDESHOW VISIBILITY FIX */
.login-slideshow::after {
  background: rgba(0,0,0,0.45);
}

/* ✨ CUSTOM CURSOR */
body {
  cursor: url("cursor.png"), auto;
}

button:hover {
  cursor: pointer;
}

/* ===============================
   FULLSCREEN BACKGROUND SLIDESHOW
================================ */

.bg-slideshow {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.bg-slide.active {
  opacity: 1;
}

/* DARK OVERLAY (NOT BLUR) */
.bg-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

/* ===== FIX ADMIN BUTTON CLICK ISSUE ===== */
.card::before,
.card::after {
  pointer-events: none;
}

.card button {
  position: relative;
  z-index: 10;
}

/* =====================================================
   LOGIN BACKGROUND SLIDESHOW (STABLE)
===================================================== */

/* apply only on login page */
body.login-page {
  position: relative;
  overflow: hidden;
}

/* slideshow container */
.login-slideshow {
  position: fixed;
  inset: 0;
  z-index: -2;
}

/* individual slides */
.login-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* IMPORTANT: no blur, full quality */
  opacity: 0;
  animation: loginSlide 60s infinite;
}

/* overlay for readability (NOT blur) */
.login-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* slideshow animation */
@keyframes loginSlide {
  0% { opacity: 0; }
  8% { opacity: 1; }
  18% { opacity: 1; }
  26% { opacity: 0; }
  100% { opacity: 0; }
}

/* stagger timing for 10 images */
.login-slideshow img:nth-child(1) { animation-delay: 0s; }
.login-slideshow img:nth-child(2) { animation-delay: 6s; }
.login-slideshow img:nth-child(3) { animation-delay: 12s; }
.login-slideshow img:nth-child(4) { animation-delay: 18s; }
.login-slideshow img:nth-child(5) { animation-delay: 24s; }
.login-slideshow img:nth-child(6) { animation-delay: 30s; }

/* login box on top */
.login-box {
  position: relative;
  z-index: 5;
}

/* SEARCH + SORT FIX */
.search-sort-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 520px;
  margin-left: auto;
}

.search-sort-bar input {
  flex: 1;
  min-width: 220px;
}

.search-sort-bar select {
  width: 150px;
  padding: 10px;
  border-radius: 8px;
}

/* ===============================
   HEADER RIGHT ALIGN FIX
================================ */

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Sort dropdown styling */
#sort {
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}

/* Dark mode */
body.dark #sort {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}

/* Light mode */
body.light #sort {
  background: #fff;
  color: #111;
  border: 1px solid #bbb;
}

/* Prevent center drifting */
header {
  position: relative;
}

/* Prevent sort dropdown overlapping cards visually */
header {
  margin-bottom: 14px;
}

main {
  padding-top: 20px;
}

/* FIX: Native select dropdown white glitch */
select {
  background-color: #1e1e1e;
  color: #fff;
}

select option {
  background-color: #1e1e1e;
  color: #fff;
}

/* hover clarity */
select option:hover,
select option:checked {
  background-color: #ffa333;
  color: #000;
}

/* ================================
   SEARCH + SORT FIX (NO OVERLAP)
================================ */

.search-sort {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto;           /* centers the block */
}

.search-sort input,
.search-sort select {
  height: 42px;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.25);
}

body.dark .search-sort input,
body.dark .search-sort select {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

body.light .search-sort input,
body.light .search-sort select {
  background: #fff;
  color: #111;
  border: 1px solid #ccc;
}

.search-sort select {
  cursor: pointer;
}

/* mobile safety */
@media (max-width: 900px) {
  .search-sort {
    display: none;
  }
}

/* HEADER RIGHT CONTROLS FIX */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions select {
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 14px;
}

body.dark .header-actions select {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}

body.light .header-actions select {
  background: #fff;
  color: #111;
  border: 1px solid #bbb;
}

/* ABOUT BUTTON */
.about-btn {
  margin: 20px;
  padding: 12px;
  width: calc(100% - 40px);
  border-radius: 10px;
  background: linear-gradient(225deg, #ffa333, #c76a00);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* ABOUT MODAL */
.about-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.about-modal.hidden {
  display: none;
}

.about-content {
  width: 520px;
  max-width: 90%;
  background: #111;
  padding: 28px;
  border-radius: 18px;
  color: #fff;
  position: relative;
}

.about-content h2 {
  margin-bottom: 12px;
}

.about-content ul {
  margin: 12px 0;
  padding-left: 18px;
}

.about-video {
  margin-top: 16px;
}

.close-about {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
}

/* ===============================
   FIX: ABOUT BUTTON AT BOTTOM
================================ */

aside {
  display: flex;
  flex-direction: column;
}

aside .sidebar-bottom {
  margin-top: auto;           /* pushes it to bottom */
  padding: 20px;
}

aside .sidebar-bottom button {
  width: 100%;
  background: linear-gradient(225deg, #ffa333, #c76a00);
  border: none;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255,163,51,0.45);
}

aside .sidebar-bottom button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255,163,51,0.7);
}

.loader {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(255,255,255,0.2);
  border-top: 4px solid #ffa333;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin: auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==============================
   ABOUT RESERVA MODAL
============================== */

.about-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.about-overlay.show {
  display: flex;
}

.about-modal {
  background: linear-gradient(180deg, #1a1a1a, #000);
  color: #fff;
  width: 520px;
  max-width: 90%;
  border-radius: 16px;
  padding: 28px 30px 32px;
  position: relative;
  box-shadow: 0 40px 90px rgba(0,0,0,0.85);
  animation: modalPop 0.35s ease;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Close button */
.about-close {
  position: absolute;
  top: 14px;
  left: 14px;
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.7;
}

.about-close:hover {
  opacity: 1;
}

/* Content */
.about-modal h2 {
  margin-bottom: 14px;
  font-size: 26px;
  color: #ffa333;
}

.about-modal p {
  line-height: 1.6;
  opacity: 0.9;
}

.about-modal ul {
  margin: 12px 0 16px;
  padding-left: 18px;
}

.about-modal li {
  margin-bottom: 6px;
}

/* ===== About Reserva Improvements ===== */

.about-intro {
  margin-bottom: 18px;
  font-size: 15px;
  opacity: 0.9;
}

.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}

.about-columns ul {
  list-style: disc;
  padding-left: 18px;
}

.about-columns li {
  margin-bottom: 6px;
  font-size: 14px;
}

/* Video section */
.about-video {
  margin-top: 16px;
}

.video-title {
  font-size: 14px;
  margin-bottom: 8px;
  opacity: 0.85;
}

.about-video iframe {
  width: 100%;
  height: 220px;
  border-radius: 10px;
  background: #000;
}

/* Responsive fix */
@media (max-width: 600px) {
  .about-columns {
    grid-template-columns: 1fr;
  }

  .about-video iframe {
    height: 190px;
  }
}

.hidden{

  display: none !important;

}

/* MOBILE VIEW FIXES */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  #search {
    width: 90%;
    margin: 10px auto;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
    margin-top: 5px;
  }

  aside {
    position: fixed;
    left: -250px;
    top: 0;
    width: 230px;
    height: 100%;
    background: #111;
    transition: 0.3s;
    z-index: 999;
  }

  aside.open {
    left: 0;
  }

  .menu-toggle {
    background: none;
    border: none;
    color: orange;
    font-size: 24px;
    cursor: pointer;
    margin-right: 10px;
  }

  main {
    margin-left: 0 !important;
  }

  .sidebar-bottom {
    position: absolute;
    bottom: 15px;
    left: 20px;
  }

  .about-modal {
    width: 90%;
  }
}

.enquiry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.enquiry-card {
  background: #1e1e1e;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #333;
}

.enquiry-card h3 {
  margin: 0 0 8px;
}

.enquiry-status {
  font-weight: bold;
  margin-top: 10px;
}

.enquiry-actions button {
  margin-right: 8px;
}

/* ================================
   TESTIMONIALS
================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 30px;
}

.testimonial-card {
  padding: 26px;
  border-radius: 18px;
  text-align: center;
  transition: transform .3s ease;
}

body.dark .testimonial-card {
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.12),
    rgba(255,255,255,0.02)
  );
  box-shadow: 0 20px 45px rgba(0,0,0,0.7);
}

body.light .testimonial-card {
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
}

.testimonial-card:hover {
  transform: translateY(-8px);
}

.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
}

.testimonial-card h3 {
  margin-bottom: 10px;
}

.testimonial-card p {
  font-size: 14px;
  line-height: 1.6;
  opacity: .9;
}

/* ================================
   MOBILE FIXES
================================ */
@media (max-width: 900px) {

  header {
    padding: 0 16px;
    height: auto;
    flex-wrap: wrap;
    gap: 10px;
  }

  .brand {
    flex: 1;
  }

  header input#search {
    position: static;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin: 8px 0;
  }

  .header-actions {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }

  aside {
    position: fixed;
    left: -260px;
    top: 64px;
    width: 240px;
    height: calc(100% - 64px);
    transition: left 0.35s ease;
    z-index: 1000;
  }

  aside.open {
    left: 0;
  }

  main {
    margin-left: 0;
    padding: 22px;
  }

  .menu-toggle {
    display: inline-block;
    font-size: 22px;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
  }
}

/* ================================
   TESTIMONIALS
================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 30px;
}

.testimonial-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border-radius: 18px;
  padding: 22px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
}

.testimonial-card h3 {
  margin-bottom: 10px;
}

.testimonial-card p {
  opacity: 0.85;
  line-height: 1.6;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* ================================
   ABOUT PAGE
================================ */
.about-section {
  margin-bottom: 36px;
  max-width: 900px;
}

.about-section h2 {
  margin-bottom: 12px;
  color: var(--gold-1);
}

.about-section p {
  line-height: 1.7;
  opacity: 0.9;
}

.about-list,
.about-steps {
  padding-left: 22px;
  line-height: 1.8;
}

.about-list li,
.about-steps li {
  margin-bottom: 6px;
}

/* ================================
   MODAL IMPROVEMENTS
================================ */
.about-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.about-overlay.show {
  display: flex;
}

.about-modal {
  width: 90%;
  max-width: 720px;
  background: rgba(0,0,0,0.85);
  padding: 26px;
  border-radius: 18px;
  position: relative;
}

.about-close {
  position: absolute;
  top: 14px;
  left: 14px;
  background: none;
  border: none;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
}

/* ================================
   TOUCH FRIENDLY BUTTONS
================================ */
button, select {
  min-height: 42px;
}

select {
  padding: 8px 12px;
  border-radius: 8px;
}

/* ================================
   CONTACT PAGE
================================ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 30px;
}

.contact-info,
.contact-form {
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.02)
  );
  padding: 28px;
  border-radius: 18px;
}

.contact-info h2,
.contact-form h2 {
  margin-bottom: 14px;
  color: var(--gold-1);
}

.contact-info p {
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.contact-item span {
  font-size: 22px;
}

.contact-item strong {
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  border: none;
  font-size: 15px;
}

body.dark .contact-form input,
body.dark .contact-form textarea {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

body.light .contact-form input,
body.light .contact-form textarea {
  background: #fff;
  color: #111;
}

.contact-form button {
  width: 100%;
  margin-top: 6px;
}

/* MOBILE */
@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   ABOUT PAGE
================================ */

.about-page {
  max-width: 1100px;
  margin: auto;
}

.about-hero {
  text-align: center;
  margin-bottom: 50px;
}

.about-hero h1 {
  font-size: 42px;
  margin-bottom: 12px;
}

.about-hero p {
  font-size: 18px;
  opacity: 0.85;
  max-width: 700px;
  margin: auto;
}

.about-section {
  margin-bottom: 50px;
}

.about-section h2 {
  font-size: 28px;
  margin-bottom: 14px;
}

.about-section p {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.6;
}

.about-section.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.about-card {
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.12),
    rgba(255,255,255,0.02)
  );
  border: 1px solid rgba(255,255,255,0.15);
  transition: transform 0.3s ease;
}

.about-card:hover {
  transform: translateY(-6px);
}

.about-card h3 {
  margin-bottom: 8px;
}

.about-list {
  padding-left: 20px;
}

.about-list li {
  margin-bottom: 8px;
}

.about-footer {
  text-align: center;
  opacity: 0.9;
}

.about-footer .tagline {
  margin-top: 10px;
  font-weight: 700;
  color: #ffa333;
}

/* MOBILE */
@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 32px;
  }
}

/* =========================
   ABOUT PAGE – POLISHED
========================= */

.about-page {
  max-width: 1100px;
  margin: auto;
  padding-bottom: 60px;
}

.about-hero {
  text-align: center;
  margin-bottom: 70px;
}

.about-hero h1 {
  font-size: 46px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.about-hero p {
  max-width: 720px;
  margin: auto;
  font-size: 18px;
  opacity: 0.85;
  line-height: 1.6;
}

.about-block {
  margin-bottom: 60px;
}

.about-block h2 {
  font-size: 30px;
  margin-bottom: 14px;
}

.about-block p {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  margin-top: 24px;
}

.about-tile {
  padding: 26px;
  border-radius: 18px;
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.12),
    rgba(255,255,255,0.02)
  );
  border: 1px solid rgba(255,255,255,0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.55);
}

.about-tile h3 {
  margin-bottom: 8px;
}

.about-block.highlight {
  padding: 36px;
  border-radius: 22px;
  background: rgba(255,163,51,0.08);
  border: 1px solid rgba(255,163,51,0.35);
}

.about-values {
  margin-top: 16px;
  padding-left: 20px;
}

.about-values li {
  margin-bottom: 10px;
  font-size: 16px;
}

.about-footer {
  text-align: center;
  margin-top: 70px;
  opacity: 0.9;
}

.about-tagline {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  color: #ffa333;
  letter-spacing: 0.6px;
}

/* MOBILE */
@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 34px;
  }
}

/* =====================================
   SAFE COLOR BOOST (NO LAYOUT CHANGES)
===================================== */

/* Background depth */
body.dark {
  background: radial-gradient(
    circle at top,
    #1b1b1b 0%,
    #0f0f0f 60%
  );
}

/* Cards – richer contrast */


/* Hover pop without shifting */
.card:hover,
.testimonial-card:hover {
  box-shadow: 0 14px 40px rgba(255, 165, 0, 0.25);
  border-color: rgba(255, 165, 0, 0.45);
}

/* Headings glow */
h1, h2, h3 {
  text-shadow: 0 0 12px rgba(255, 165, 0, 0.15);
}

/* Accent buttons */
button,
.sidebar-bottom button {
  background: linear-gradient(135deg, #ff9800, #ffb74d);
  color: #111;
  border: none;
  box-shadow: 0 6px 18px rgba(255, 152, 0, 0.35);
}

button:hover {
  filter: brightness(1.08);
}

/* Sidebar active link highlight */
aside a.active {
  background: linear-gradient(
    90deg,
    rgba(255, 152, 0, 0.25),
    rgba(255, 152, 0, 0.05)
  );
  border-left: 4px solid #ff9800;
}

/* Section separators */
main h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ff9800, transparent);
  margin-top: 8px;
}

/* ==============================
   TESTIMONIALS – IMAGE ONLY
============================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 30px;
}

.testimonial-img {
  width: 100%;
  border-radius: 16px;
  background: #2a2a2a;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.12);
}

/* ==============================
   SEARCH BAR ALIGN FIX
============================== */

header input#search {
  align-self: center;
  height: 42px;
  line-height: 42px;
  padding: 0 14px;
}



/* ==============================
   SEARCH BAR – FINAL STABLE FIX
   (NO LAYOUT BREAKS)
============================== */

/* Desktop & tablet */
header {
  position: relative;
}

header input#search {
  position: static !important;   /* kill absolute centering */
  transform: none !important;
  margin: 0 auto;                /* true centering */
  height: 42px;
  line-height: 42px;
  padding: 0 14px;
  max-width: 360px;
  width: 100%;
  align-self: center;
}

/* Ensure header layout behaves */
header {
  display: flex;
  align-items: center;
}

/* Mobile */
@media (max-width: 900px) {
  header input#search {
    width: 100%;
    max-width: 100%;
    margin: 8px 0;
  }
}

/* ==============================
   SEARCH BAR – MOBILE VISIBILITY FIX
============================== */

@media (max-width: 900px) {
  header input#search {
    display: block !important;   /* override old hide rule */
    width: 100%;
    max-width: 100%;
    margin: 8px 0;
  }
}

/* ==============================
   VERIFIED AGENCY BADGE
============================== */

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 10px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  width: fit-content;
  letter-spacing: 0.3px;
}

/* Dark mode */
body.dark .verified-badge {
  background: rgba(0, 200, 120, 0.18);
  color: #6bffb0;
  border: 1px solid rgba(0, 200, 120, 0.45);
}

/* Light mode */
body.light .verified-badge {
  background: rgba(0, 160, 100, 0.15);
  color: #007a4d;
  border: 1px solid rgba(0, 160, 100, 0.35);
}

/* Optional: tiny glow on hover (safe) */
.card:hover .verified-badge {
  box-shadow: 0 0 12px rgba(0, 200, 120, 0.35);
}

/* ==============================
   CARD COLOR DEPTH (NO CIRCLES)
============================== */

body.dark .card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 14px 40px rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.05);
}

/* hover = depth, NOT glow */
.card:hover {
  box-shadow:
    0 20px 55px rgba(0,0,0,0.7),
    inset 0 0 0 1px rgba(255,255,255,0.08);
}

/* =====================================
   HARD CARD RESET (KILLS CIRCLE BUG)
===================================== */

.card,
.card::before,
.card::after {
  background: none !important;
  box-shadow: none !important;
}

.card {
  background-color: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  overflow: hidden;
}

/* SAFE DEPTH – RECTANGLE ONLY */

body.dark .card {
  box-shadow:
    0 12px 32px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.card:hover {
  box-shadow:
    0 18px 46px rgba(0,0,0,0.75),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #111;
  background: linear-gradient(135deg, #ffb300, #ff9800);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(255,152,0,0.45);
}

/* ===============================
   LAYOUT FIX — SIDEBAR OVERLAP
================================ */

/* Wrap the entire app in a stable layout */
body {
  display: flex;
  flex-direction: column;
}

/* Header stays on top */
header {
  flex-shrink: 0;
}

/* Sidebar stays fixed, main never slides under it */
aside {
  position: fixed;
  top: 64px;
  left: 0;
  width: 240px;
  height: calc(100vh - 64px);
  overflow-y: auto; /* sidebar scrolls internally if needed */
  z-index: 1000;
}

/* MAIN CONTENT — THIS IS THE KEY */
main {
  margin-left: 240px;
  min-height: calc(100vh - 64px);
  overflow-x: hidden;
  position: relative;
}

/* Prevent any section from bleeding under sidebar */
main > * {
  max-width: 100%;
}

/* ===============================
   HOME PAGE CONTAINER FIX
================================ */

.about-page {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* ======================================
   SIDEBAR TOGGLE – FINAL STABLE FIX
   (Mobile + Desktop)
====================================== */

/* Sidebar base */
aside {
  position: fixed;
  top: 64px;
  left: 0;
  width: 240px;
  height: calc(100% - 64px);
  transform: translateX(0);
  transition: transform 0.3s ease;
  z-index: 1200;
  will-change: transform;
}

/* Closed state */
aside.closed {
  transform: translateX(-100%);
}

/* Mobile default closed */
@media (max-width: 900px) {
  aside {
    transform: translateX(-100%);
  }

  aside.open {
    transform: translateX(0);
  }
}

/* Desktop toggle support */
@media (min-width: 901px) {
  aside.closed {
    transform: translateX(-240px);
  }

  main {
    transition: margin-left 0.3s ease;
  }

  aside.closed ~ main {
    margin-left: 0;
  }
}

/* Menu button safety */
.menu-toggle {
  pointer-events: auto;
  z-index: 2000;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

/* Prevent sidebar scrolling with page */
aside {
  overflow-y: auto;
}

/* Prevent accidental auto-open */
aside:not(.open):not(.closed) {
  transform: translateX(0);
}

/* ===============================
   MOBILE SIDEBAR DEFAULT CLOSED
================================ */

@media (max-width: 900px) {
  aside {
    left: -260px !important;
  }

  aside.open {
    left: 0 !important;
  }
}
/* Ensure hamburger always clickable */
.menu-toggle {
  z-index: 99999 !important;
  pointer-events: auto !important;
  touch-action: manipulation;
}

/* ===============================
   MOBILE SIDEBAR SMOOTH ANIMATION
================================ */

@media (max-width: 900px) {
  aside {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s ease;
    transform: translateX(-100%);
  }

  aside.open {
    transform: translateX(0);
    box-shadow: 20px 0 60px rgba(0,0,0,0.65);
  }
}

/* ===============================
   HAMBURGER BUTTON – PREMIUM
================================ */

.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff9800, #ffb74d);
  color: #111;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(255,152,0,0.45);
  transition: all 0.25s ease;
}

/* Hover (desktop) */
.menu-toggle:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 14px 36px rgba(255,152,0,0.65);
}

/* Tap (mobile) */
.menu-toggle:active {
  transform: scale(0.96);
  box-shadow: 0 6px 18px rgba(255,152,0,0.45);

}

/* ==============================
   OFFLINE MODE OVERLAY
============================== */

.offline-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at center,
    #1a1a1a,
    #000
  );
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offline-overlay.hidden {
  display: none;
}

.offline-box {
  text-align: center;
  padding: 30px;
}

.offline-box img {
  width: 320px;
  max-width: 85%;
  margin-bottom: 26px;
  animation: floatOffline 5s ease-in-out infinite;
}

@keyframes floatOffline {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.offline-box h2 {
  font-size: 26px;
  margin-bottom: 8px;
  color: #ffa333;
}

.offline-box p {
  opacity: 0.85;
  font-size: 15px;
}

/* Mobile safety */
@media (max-width: 600px) {
  .offline-box img {
    width: 240px;
  }
}
