/* css/style.css
   Glass theme — robust layout + responsive fixes
*/

/* RESET */
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
html, body { height: 100%; }
body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  
  /* NEW GRADIENT BACKGROUND */
  background: linear-gradient(120deg, #042d4b 20%, #04395E 40%, #023c90 100%);
  background-attachment: fixed;
  
  color: #fff;
  line-height: 1.6;
  padding-top: 76px;
  background-image:
  radial-gradient(circle at 25% 20%, rgba(255,255,255,0.10) 0%, transparent 40%),
  linear-gradient(120deg, #043253 20%, #04395E 40%, #023c90 100%);

}

/* White tick bullet list style */
.tick-list {
  list-style: none;
  padding-left: 0;
  color: #fff;
}

.tick-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 26px; /* spacing for tick */
  line-height: 1.6;
}

.tick-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffffff;         /* tick color */
  font-weight: bold;
  font-size: 17px;
}


/* CONTAINER (original centered width) */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* NAVBAR - fixed glass */
.navbar {
  position: fixed;
  inset: 0 auto auto 0;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1100;
  height: 86px;
  display: flex;
  align-items: center;
  backdrop-filter: blur(10px) saturate(130%);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Ensure nav-wrapper can position things */
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  position: relative;
  padding-right: 0px;   /* 🔥 reserve space for hamburger on PC */
}

/* Hidden checkbox */
.menu-toggle {
  display: none;
}

/* 3-line hamburger button – visible on PC + mobile */
.menu-btn {
  position: fixed;              /* move it independently from nav */
  top: 12px;                    /* adjust vertical position */
  right: 22px;                  /* push further to right edge */
  z-index: 2000;                /* ensure always above everything */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 32px;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(8,25,70,0.9);
  cursor: pointer;
}


.menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 3px;
}

/* Dropdown with all titles – HIDDEN by default */
.menu-panel {
  position: fixed;
  top: 60px;
  right: 22px;
  width: 220px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(5,20,60,0.97);
  box-shadow: 0 14px 40px rgba(0,0,0,0.55);
  display: none;
  z-index: 1900;
}


.menu-panel a {
  display: block;
  padding: 6px 2px;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
}

.menu-panel a:hover {
  color: #00e5ff;
}

/* When checkbox is checked → show panel */
.menu-toggle:checked + .menu-btn + .menu-panel {
  display: block;
}

/* Optional: on very large screens you can shrink button slightly */
@media (min-width: 1024px) {
  .menu-btn {
    top: 12px;
    right: 24px;
  }
}

/* LOGO - constrain size (prevents huge logos) */
.logo {
  height: 52px;         /* fixed height */
  width: auto;
  object-fit: contain;
  display: block;
  margin-right: 8px;
  border-radius: 8px;
}

/* BRAND (Logo + name text) */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* LOGO - constrain size (prevents huge logos) */
/* LOGO - constrain size (prevents huge logos) */
.logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-right: 8px;
  border-radius: 8px;
}

/* BRAND (Logo + title) */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* Main brand title text – slide in from right on load */
.brand-popup-title {
  margin: 0;
  font-weight: 700;
  color: #ffffff !important;
  white-space: nowrap;                 /* keep on a single line */
  font-size: clamp(16px, 3.5vw, 22px); /* desktop bigger, mobile smaller */
  overflow: visible;

  opacity: 0;                          /* start hidden */
  transform: translateX(40px);         /* start slightly to the right */
  animation: brandTitleSlide 0.9s ease-out forwards;
  animation-delay: 0.2s;               /* small delay after page load */
}
@keyframes brandTitleSlide {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Rotate for 3s → Pause 5s → Repeat */
@keyframes logoRotateControlled {
    0%   { transform: rotate(0deg); }
    37.5% { transform: rotate(360deg); } /* 3s out of 8s total */
    100% { transform: rotate(360deg); }  /* Hold still for remaining 5s */
}

.logo {
    animation: logoRotateControlled 8s ease-in-out infinite;
    transform-origin: center center;
}




/* Make header taller and stack brand + nav on smaller screens */
@media (max-width: 768px) {
  .navbar {
    height: auto;             /* 🔥 allow full height instead of fixed 86px */
    padding: 8px 0;
  }

  .nav-wrapper {
    flex-direction: column;   /* brand on first row, nav on second row */
    align-items: flex-start;  /* align left (you can change to center) */
    gap: 8px;
  }
}




/* NAV LINKS */
nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* base nav-link */
.nav-link {
  position: relative;
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  transition: transform .12s ease, color .18s ease, background .18s ease;
}

/* underline animation */
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #fff, #E7F1FF);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: width .28s cubic-bezier(.2,.9,.2,1);
}
.nav-link:hover::after,
.nav-link:focus::after { width: 72%; }

/* active state (visible even without hover) */
.nav-link.active,
.nav-link[aria-current="page"] {
  color: #ffffff;
  font-weight: 700;
}
.nav-link.active::after,
.nav-link[aria-current="page"]::after {
  width: 100%;
}

/* CTA button style (white on blue) */
.btn-primary {
  background: #ffffff;
  color: #1c3ec9 !important;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(2,43,160,0.12);
  border: none;
}
.btn-primary:hover { transform: translateY(-3px); }

/* Secondary button uses same style as primary for now */
.btn-secondary {
  background: #ffffff;
  color: #1c3ec9 !important;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(2,43,160,0.12);
  border: none;
  text-decoration: none;   /* remove underline on <a> */
  display: inline-block;   /* so padding & radius work properly on <a> */
}

.btn-secondary:hover {
  transform: translateY(-3px);
}

/* GHOST button */
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 10px 16px;
  border-radius: 10px;
}

/* HERO VIDEO BACKGROUND */
.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;              /* 🔥 IMPORTANT: NOT -1 */
}


#hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* fill like background image */
  display: block;
}

/* HERO CONTAINER */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;       /* ensure there is space */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0;
  padding: 0;
  overflow: hidden;        /* hide overflow from video */
}


/* Portrait hero image */
.hero-img {
  height: 50vh;
  width: auto;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0 auto;
}

/* Center the hero glass card */
/* Center the hero glass card */
.hero-glass {
  position: absolute;           /* sits ON TOP of the video */
  bottom: 6vh;                  /* distance above bottom, tweak if you want */
  left: 24%;                    /* center horizontally */
  transform: translateX(-50%);  /* perfect centering */
  z-index: 1;                   /* above the video */

  width: min(900px, 55%);
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 18px 50px rgba(0,0,0,0.25);
}


.hero-glass h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  margin-bottom: 8px;
  color: #fff;
}
.hero-glass p { color: rgba(255,255,255,0.92); }

/* SECTION TITLES */
.section {
  padding: 48px 0;
}
.section-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  color: #fff;
  margin-bottom: 20px;
}
.section-title::after {
  content: "";
  width: 64px;
  height: 4px;
  display: block;
  margin: 12px auto 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  opacity: .9;
}

/* GRID & CARDS */
.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  align-items: start;
}

.card {
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform .28s ease, box-shadow .28s ease;
  padding-bottom: 12px;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 18px 50px rgba(2,43,160,0.14); }

.card img { width:100%; height:200px; object-fit:cover; display:block; border-bottom-left-radius: 0; border-bottom-right-radius:0; }
.card h3 { font-size:1.05rem; margin:14px; color: #fff; }
.card p { margin: 0 14px 14px; color: rgba(255,255,255,0.9); }

/* FORM CARD styles (book page) */
form.card { padding: 18px; max-width: 640px; margin: 0 auto; }

/* FOOTER */
footer {
  padding: 36px 0;
  margin-top: 44px;
  text-align: center;
  color: rgba(255,255,255,0.95);
}

/* Fix for document checklist text color */
.section ul {
  color: rgba(255,255,255,0.9) !important;
}
.section ul li {
  margin-bottom: 6px;
}


/* REVEAL animation utilities */
.reveal { opacity: 0; transform: translateY(12px); transition: transform .6s cubic-bezier(.2,.9,.2,1), opacity .6s; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* MOBILE */
@media (max-width: 880px) {
  .nav-wrapper { padding: 0 12px; }
  .logo { height: 46px; }
  nav { gap: 10px; }
  .hero-img { height: 220px; }
  .hero-glass { padding: 20px; }
  body { padding-top: 72px; }
}

/* reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

body::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  width: 70vw;              /* adjust size here */
  height: 70vw;
  max-width: 900px;         /* limit scaling */
  max-height: 900px;
  background-image: url("../img/bg.png"); /* <-- this is your logo */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.07;            /* transparency of watermark */
  filter: grayscale(100%) brightness(140%);
  transform: translate(-50%, -50%);
  z-index: -10;             /* stays behind ALL content */
  pointer-events: none;     /* click-through */
}

/* FULL-BLEED HERO (removes side gaps completely) */
.fullhero {
  width: 100vw;              /* full viewport width */
  margin-left: calc(50% - 50vw); /* pull section outward to stretch */
  margin-right: calc(50% - 50vw);
}

/* Hero image also needs edge-to-edge */
.fullhero .hero-img {
  width: 100vw;
  height: 90vh;              /* adjust height */
  object-fit: cover;
  object-position: center;
}

/* ===========================
   FULL-WIDTH HEADLINE TICKER (solid block)
   =========================== */




/* Responsive tweaks */
@media (max-width: 900px) {
  .site-notice { padding: 0 12px; top: 12px; }
  .site-notice__inner { padding:10px 12px; max-width: 94%; flex-direction: column; align-items:flex-start; gap:8px; }
  .site-notice__actions { width:100%; justify-content:flex-end; }
  .site-notice__text { margin-right: 0; }
}

/* ===============================
   ⏩ SITE NOTICE — Right→Left News Ticker
   ===============================*/
/* ===============================
   ⏩ SITE NOTICE — News Ticker
   ===============================*/

#site-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 44, 88, 0.92);
  color: #fff;
  padding: 8px 0;
  z-index: 99999;
  display: flex;                 /* text on left, buttons on right */
  align-items: center;
  border-top: 2px solid rgba(255,255,255,0.25);
}

/* Left area that contains the animated text */
#site-notice .ticker-track {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

/* The actual scrolling text */
#site-notice .ticker-text {
  display: inline-block;
  padding-left: 100%;            /* start off-screen on the right */
  animation: noticeSlide 18s linear infinite;
  font-size: 15px;
  letter-spacing: 0.3px;
}

/* Pause the animation when hovering the bar */
#site-notice:hover .ticker-text {
  animation-play-state: paused;
}

/* Right area: Book Now + Close */
#site-notice .notice-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 0 8px;
}

/* BOOK NOW button */
.notice-btn {
  background: #00d5ff;
  color: #003b63;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.25s;
}

.notice-btn:hover {
  background: #29e3ff;
  color: #002b46;
}

/* Close (X) button */
.notice-close {
  background: transparent;
  color: white;
  font-size: 18px;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  transition: 0.2s;
}

.notice-close:hover {
  opacity: 1;
  transform: scale(1.15);
}

/* Scroll animation: right → left */
@keyframes noticeSlide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Slightly smaller on very small screens */
@media (max-width: 480px) {
  #site-notice .ticker-text {
    font-size: 13px;
  }
  .notice-btn {
    padding: 5px 10px;
    font-size: 13px;
  }
}



/* Booking form layout */

.booking-form {
  max-width: 800px;
  margin: 24px auto;
  padding: 24px;
  border-radius: 18px;
}

.booking-form .form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  align-items: flex-start;   /* ensure all inputs are fully visible */
}

.booking-form .form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.booking-form label {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.centered-text {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 20px auto;
}


/* ⬇️ Important: make inputs fill the column and not clip */
.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e6edf9;
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}

.booking-form textarea {
  resize: vertical;
}

.booking-form .form-actions {
  justify-content: flex-end;
}

.booking-form .btn-primary {
  padding: 10px 24px;
}

/* ---------------------------- */
/* MOBILE RESPONSIVE CSS FIXES  */
/* ---------------------------- */

@media (max-width: 992px) {

  nav {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;               /* keep links in one row */
    gap: 14px;

    overflow-x: auto;                /* enable horizontal scroll */
    overflow-y: hidden;              /* 🔥 disable vertical scroll completely */

    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* smooth swipe */
    scrollbar-width: none;             /* hide scrollbar (Firefox) */

    touch-action: pan-x;              /* 🔥 allow only left-right drag */
    overscroll-behavior-x: contain;   /* prevent bounce up/down */
  }

  nav::-webkit-scrollbar { display: none; } /* hide scrollbar on Chrome/Safari */

  .btn-primary, .nav-link {
    font-size: 15px;
    white-space: nowrap;
  }
}



  .nav-link, .btn-primary {
    white-space: nowrap;
    font-size: 15px;
  }


@media (max-width: 768px) {

  /* Make grid items stack into 1 column */
  .grid {
    grid-template-columns: 1fr !important;
    width: 100%;
  }

  /* Reduce hero/title spacing */
  .section-title {
    font-size: 26px;
    text-align: center;
  }

  .container {
    padding: 0 16px;
  }

  /* Cards full width */
  .card {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Responsive images */
  .card img {
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
  }

  /* Make footer vertical */
  footer .grid {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .social-icons {
    margin-top: 20px;
  }
}

@media (max-width: 520px) {
  /* Smaller mobile screens */
  nav {
    gap: 6px;
    justify-content: center;
  }

  .nav-link {
    font-size: 14px;
  }

  .btn-primary {
    font-size: 14px;
    padding: 8px 14px;
  }

  .section-title {
    font-size: 22px;
  }
}



/* ========== PORTAL / DASHBOARD ========== */

.portal-body {
  background: radial-gradient(circle at top, #144c9b 0, #02254d 45%, #021529 100%);
}

/* Main layout: left sidebar, right portal fills rest */
.portal-wrapper {
  padding-top: 90px;           /* space for navbar */
  padding-bottom: 40px;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr); /* LEFT sidebar, RIGHT main */
  gap: 24px;
  width: 100%;
  max-width: 100%;
  margin: 0;                   /* no side gaps */
  padding: 0 24px 24px;        /* small inside padding */
  box-sizing: border-box;
}

.portal-sidebar {
  background: rgba(4, 32, 80, 0.95);
  border-radius: 18px;
  padding: 18px 16px;
  color: #eaf1ff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.dashboard-main {
  background: rgba(2, 34, 82, 0.96);
  border-radius: 18px;
  padding: 20px 20px 22px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}

.portal-sidebar-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
  margin-bottom: 10px;
}

.portal-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.portal-menu li {
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.95rem;
  cursor: pointer;
  margin-bottom: 4px;
  transition: background 0.15s, transform 0.15s;
}

.portal-menu li:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(2px);
}

.portal-menu li.active {
  background: #ffffff;
  color: #053e77;
  font-weight: 600;
}

.portal-sidebar-footer {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
}

/* Main */
.dashboard-main {
  background: rgba(2, 34, 82, 0.96);
  border-radius: 18px;
  padding: 20px 20px 22px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.dashboard-header h1 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.dashboard-header p {
  font-size: 0.95rem;
  color: rgba(235, 243, 255, 0.9);
  margin: 0;
}

.dashboard-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.status-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(19, 206, 102, 0.15);
  color: #b8ffd7;
  font-size: 0.85rem;
}

/* Filters */
.dashboard-filters {
  display: flex;
  gap: 10px;
  margin: 14px 0 16px;
}

.dashboard-filters input[type="search"],
.dashboard-filters select {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(216, 230, 255, 0.5);
  background: rgba(4, 41, 92, 0.9);
  color: #eaf1ff;
  font-size: 0.9rem;
}

.dashboard-filters input::placeholder {
  color: rgba(227, 236, 255, 0.7);
}

/* Kanban */
.kanban-layout {
  width: 100%;
  margin: 0;
  padding: 0;
}

.kanban-board {
  width: 100%;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.kanban-column {
  background: rgba(5, 51, 110, 0.9);
  border-radius: 14px;
  padding: 10px 10px 12px;
  min-width: 230px;
}

.kanban-column-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.kanban-column-header h2 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.badge {
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.8rem;
}

/* Make empty columns droppable and visible */
.kanban-list {
  min-height: 120px;      /* or 80px / whatever looks good */
  padding: 8px;           /* some padding so it has clickable area */
  border-radius: 10px;    /* optional, for nicer look */
}

.kanban-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 10px 8px;
  color: #143458;
  font-size: 0.9rem;
  box-shadow: 0 8px 18px rgba(3, 34, 82, 0.18);
}

.kanban-card h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.kanban-card p {
  margin: 0 0 6px;
  color: #425a79;
}

.kanban-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(5, 126, 255, 0.12);
  color: #045ad8;
}

.due {
  color: #7b8aa4;
}

/* Side panel (chat-style) */
.portal-sidepanel {
  background: rgba(5, 51, 110, 0.9);
  border-radius: 14px;
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.portal-sidepanel h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.sidepanel-chat {
  background: rgba(1, 24, 56, 0.9);
  border-radius: 10px;
  padding: 8px;
  max-height: 260px;
  overflow-y: auto;
}

.chat-bubble {
  max-width: 90%;
  padding: 6px 8px;
  border-radius: 10px;
  margin-bottom: 6px;
  font-size: 0.85rem;
}

.chat-bubble.left {
  background: rgba(255, 255, 255, 0.1);
  align-self: flex-start;
}

.chat-bubble.right {
  background: rgba(24, 185, 109, 0.18);
  align-self: flex-end;
}

.chat-bubble span {
  display: block;
  margin-top: 2px;
  font-size: 0.7rem;
  opacity: 0.8;
}

.chat-input {
  border-radius: 10px;
  border: 1px solid rgba(216, 230, 255, 0.5);
  padding: 8px;
  background: rgba(1, 24, 56, 0.9);
  color: #eaf1ff;
  font-size: 0.85rem;
  resize: vertical;
}

.chat-send-btn {
  align-self: flex-end;
  margin-top: 4px;
}

/* user pill in navbar */
.nav-user-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  font-size: 0.85rem;
  margin-right: 8px;
}

/* Responsive */
@media (max-width: 960px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }
  .kanban-layout {
    grid-template-columns: 1fr;
  }
  .portal-sidebar {
    order: 2;
  }
}

@media (max-width: 720px) {
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .dashboard-meta {
    align-items: flex-start;
  }
  .dashboard-filters {
    flex-direction: column;
  }
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid rgba(230, 237, 249, 0.2);
  padding: 6px 8px;
  text-align: left;
}

.admin-table th {
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
}

.admin-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

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

.drag-handle {
  cursor: grab;
  font-size: 1.1rem;
  opacity: 0.6;
  user-select: none;
}

.drag-handle:active {
  cursor: grabbing;
  opacity: 1;
}

.service-title-box:hover {
  background:#e5ecff;
  border-color:#b8c7f3;
  transform:translateY(-2px);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* ensures it fills the section */
  object-position: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 20px;
}

.social-icons a {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.25s;
}

.social-icons a img {
  width: 38px;
  height: 38px;
}

.social-icons a:hover {
  transform: translateY(-4px);
  background: #e6f7ff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.nav-link {
  white-space: nowrap;
}


/* ================ CERTIFICATION SCROLLER ================ */

.cert-section {
  margin-top: 40px;
}

.cert-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 14px 0 4px 0;
}

.cert-track {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  animation: certScroll 30s linear infinite;
}

/* Pause scroll when hovering over the section */
.cert-marquee:hover .cert-track {
  animation-play-state: paused;
}

.cert-slide img {
  height: 80px;            /* adjust certificate size here */
  width: auto;
  display: block;
  border-radius: 10px;
  background: #ffffff;
  padding: 6px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

/* Left → Right continuous scroll */
@keyframes certScroll {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Slightly smaller on very small screens */
@media (max-width: 600px) {
  .cert-slide img {
    height: 64px;
  }
}

/* Messenger Floating Button */
.messenger-float {
  position: fixed;
  bottom: 92px; /* sits above WhatsApp */
  right: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0084ff;
  color: #fff;
  padding: 12px 16px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.messenger-float img {
  width: 22px;
  height: 22px;
}

.messenger-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}

/* Mobile: icon only */
@media (max-width: 640px) {
  .messenger-float span {
    display: none;
  }
}

/* Book page: make 2-column layout stack on mobile */
.booking-grid{
  grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
}

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

/* Book form: stack inputs on mobile */
.booking-form .form-row{
  display: flex;
  gap: 14px;
}

.booking-form .form-group{
  flex: 1;
  min-width: 0;
}

.booking-form input,
.booking-form select,
.booking-form textarea{
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 700px){
  .booking-form .form-row{
    flex-direction: column;
  }
}

/* ==========================
   Messenger Jump Animation
   ========================== */

@keyframes messengerJump {
  0%   { transform: translateY(0); }
  20%  { transform: translateY(-6px); }
  40%  { transform: translateY(0); }
  60%  { transform: translateY(-3px); }
  80%  { transform: translateY(0); }
  100% { transform: translateY(0); }
}

/* Animate only the icon */
.messenger-float img {
  animation: messengerJump 2.5s ease-in-out infinite;
}

/* Pause animation when user hovers */
.messenger-float:hover img {
  animation-play-state: paused;
}

.login-hero .hero-img {
  filter: blur(4px);
  transform: scale(1.05); /* prevents white edges */
}


/* Force LIGHT native dropdown UI (fixes black dropdown menu) */
:root {
  color-scheme: light;
}

/* Custom time picker (avoids native select black popup) */
.time-picker { position: relative; }

.time-picker input {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.95);
  color: #000;
}

.time-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  max-height: 220px;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid rgba(230, 237, 249, 0.9);
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
  z-index: 9999;
}

.time-menu button {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: #000;
}

.time-menu button:hover {
  background: #f2f6ff;
}

/* Time picker: make it responsive + clickable */
.time-picker {
  position: relative;
  width: 100%;
}

/* Reviews slider */
/* ===== Reviews UI Fix (force card look) ===== */
#reviews .reviews-wrap{
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

#reviews .reviews-viewport{
  overflow: hidden;
  flex: 1;
}

#reviews .reviews-track{
  display: flex;
  gap: 18px;
  padding: 6px 2px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
#reviews .reviews-track::-webkit-scrollbar{ display:none; }

/* FORCE the card styling back */
#reviews .review-card{
  scroll-snap-align: start;
  flex: 0 0 calc(33.333% - 12px);

  padding: 18px !important;
  border-radius: 18px !important;

  background: rgba(255,255,255,0.10) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18) !important;

  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#reviews .review-top{
  display:flex;
  align-items:center;
  gap:12px;
}

#reviews .avatar{
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.18);
}

#reviews .review-text{
  margin: 12px 0 0;
  line-height: 1.55;
  opacity: .95;
}

#reviews .posted{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top: 14px;
  opacity: .9;
}

#reviews .reviews-nav{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.10);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

/* Tablet */
@media (max-width: 950px){
  #reviews .review-card{ flex: 0 0 calc(50% - 10px); }
}