/* =========================================
   GLOBAL RESET & BASE
========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}



:root {
  --primary: #2c5aa0;
  --primary-dark: #1e3f73;

  --accent: #00a8e8;
  --accent-hover: #008bbf;

  --text: #555;
  --text-dark: #333;
  --light-text: #666;

  --bg-light: #f8f9fa;

  --font: 'Nunito', sans-serif;

  --radius-pill: 25px;
  --radius-card: 12px;

  --shadow-soft: 0 4px 18px rgba(0, 0, 0, 0.08);
  --shadow-btn: 0 3px 10px rgba(0, 168, 232, 0.4);
  --shadow-btn-hover: 0 6px 16px rgba(0, 168, 232, 0.45);
}

body {
  font-family: var(--font);
  background-color: #fff;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden; 
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================================
   BUTTON SYSTEM (NEW - SAFE ADDITION)
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  font-family: var(--font);
  font-weight: 800;
  font-size: 16px;

  padding: 11px 26px;
  border-radius: var(--radius-pill);
  white-space: nowrap;

  border: none;
  cursor: pointer;

  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

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

/* Accent button (Book Now) */
.btn--accent {
  background-color: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-btn);
}

.btn--accent:hover {
  background-color: var(--accent-hover);
  box-shadow: var(--shadow-btn-hover);
}

/* Primary button (Search) */
.btn--primary {
  background-color: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background-color: var(--primary-dark);
  transform: scale(1.05);
}

/* Static pill (Top bar phone) */
.btn--static {
  background-color: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-btn);
  cursor: default;
  user-select: none;
}

/* =========================================
   TOP BAR (YOUR ORIGINAL - KEPT)
========================================= */
.top-bar {
  background-color: #fff;
  color: #333;
  font-size: 15px;
  padding: 6px 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-left {
  display: flex;
  gap: 30px;
  align-items: center;
}

.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: 0.92;
}

.top-bar-inner i {
  font-size: 14px;
}

/* =========================================
   NAVBAR (UNCHANGED STRUCTURE)
========================================= */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background-color: #ffffff;
  height: 80px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}



/* =========================================
   LOGO
========================================= */
.logo {
  height: 70px;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
}

/* =========================================
   NAV MENU
========================================= */
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}

.nav-menu > li {
  position: relative;
  height: 80px;
  display: flex;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: #333;
  height: 75px;
  white-space: nowrap;
  transition: color 0.2s ease;
  cursor: pointer;
}

.nav-link:hover,
.nav-menu > li:hover > .nav-link {
  color: var(--primary);
}

/* underline */
.nav-menu > li::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-menu > li:hover::after {
  transform: scaleX(1);
}

/* =========================================
   DROPDOWN
========================================= */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 220px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-top: 3px solid var(--primary);
  list-style: none;
  padding: 8px 0;
  z-index: 999;
  animation: dropIn 0.2s ease;
}

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

@media (min-width: 993px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.dropdown-menu li a i {
  font-size: 13px;
  color: var(--primary);
  width: 16px;
  text-align: center;
}

.dropdown-menu li a:hover {
  background-color: #f0f5ff;
  color: var(--primary);
  padding-left: 26px;
}

/* =========================================
   RIGHT SECTION
========================================= */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* SEARCH */
.search-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

.search-input {
  width: 0;
  opacity: 0;
  border: none;
  border-bottom: 2px solid var(--primary);
  outline: none;
  font-family: var(--font);
  font-size: 14px;
  padding: 4px 6px;
  transition: width 0.3s ease, opacity 0.3s ease;
  background: transparent;
  color: #333;
}

.search-wrapper.expanded .search-input {
  width: 160px;
  opacity: 1;
}



/* =========================================
   HAMBURGER (Mobile)
========================================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 38px;
  height: 38px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* =========================================
   DROPDOWN TOGGLE BUTTON (Plus/Minus)
========================================= */
.dropdown-toggle-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  font-weight: 800;
  color: #2c5aa0;
  padding: 0 16px;
  line-height: 1;
  margin-left: auto;
  align-items: center;
  justify-content: center;
}

/* =========================================
   RESPONSIVE — MOBILE
========================================= */
@media (max-width: 992px) {

  .navbar {
    padding: 0 20px;
    height: 65px;
    position: sticky;
    top: 0;
    z-index: 9999;
  }

  .navbar .logo {
    height: 50px;
    object-fit: contain;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: #fff;
    width: 100%;
    overflow: hidden;
    max-height: 0;
    padding: 0 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    gap: 0;
    height: auto;
    transition: max-height 0.4s ease, padding 0.4s ease;
  }

  .nav-menu.open {
    max-height: 600px;
    padding: 12px 0 20px;
  }

  .nav-menu > li {
    width: 100%;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-menu > li::after {
    display: none;
  }

  .nav-link {
    flex: 1;
    height: auto;
    padding: 12px 24px;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-menu > li.dropdown {
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-menu > li.dropdown > .nav-link {
    border-bottom: none;
  }

  .dropdown-menu {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    background-color: #f8f9fc;
    border-left: 3px solid #2c5aa0;
    margin-left: 24px;
    border-radius: 0;
    animation: none;
    padding: 4px 0;
    width: 100%;
  }

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

  .dropdown-menu li a {
    font-size: 13.5px;
    padding: 9px 18px;
  }

  .nav-right .btn--accent {
    display: none;
  }

  .top-bar {
    padding: 6px 20px;
    font-size: 12px;
  }

  .top-bar-left {
    gap: 16px;
  }

   
  .btn--static {
    font-size: 13px;
    padding: 5px 16px;
  }

}

@media (max-width: 480px) {
  .top-bar-left span:nth-child(2) {
    display: none;
  }
}


/* =========================================
   FOOTER
========================================= */
.site-footer {
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    margin-top: 60px;
}

/* --- TRUST RIBBON --- */
.trust-ribbon {
    padding: 40px 0;
    background: #f4f7fb;
    border-top: 1px solid #e3eaf5;
    border-bottom: 1px solid #e3eaf5;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* --- ICON COLORS --- */
.badge-wrapper {
    position: relative;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legacy-seal { color: #0a192f; }
.seal-number {
    position: absolute;
    font-size: 0.9rem;
    color: #fff;
    font-weight: 800;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.icon-blue   { color: #3498db; }
.icon-green  { color: #2ecc71; }
.icon-teal   { color: #1abc9c; }
.icon-orange { color: #f1c40f; }

.trust-title { font-weight: 700; margin: 0; color: #333; }
.trust-sub   { font-size: 0.8rem; margin: 0; color: #777; }

/* --- MAIN FOOTER GRID --- */
.footer-main {
    padding: 60px 20px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.f-logo { height: 45px; margin-bottom: 15px; }

.footer-col h3 {
    font-size: 1.1rem;
    color: #0a192f;
    margin-bottom: 20px;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }

/* Quick Links hover */
.footer-col a {
    text-decoration: none;
    color: #666;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer-col a:hover {
    color: #2c5aa0;
    padding-left: 6px;
}

/* Get In Touch — icon + text rows */
.footer-col > p {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    margin-bottom: 10px;
    transition: color 0.2s ease;
    cursor: default;
}

.footer-col > p:hover {
    color: #2c5aa0;
}

.footer-col > p i {
    color: #2c5aa0;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

/* --- COPYRIGHT BAR --- */
.footer-copyright {
    background-color: #0a192f;
    padding: 18px 20px;
    text-align: center;
}

.copyright-inner p {
    color: #aab4c4;
    font-size: 13.5px;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 992px) {
    .trust-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
    }
    .trust-item { min-width: 240px; }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Hide Our Services column entirely */
    .footer-col:nth-child(3) {
        display: none;
    }

    /* Quick Links — show only Privacy & Terms */
    .footer-col:nth-child(2) ul {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .footer-col:nth-child(2) ul li:nth-child(1),
    .footer-col:nth-child(2) ul li:nth-child(2) {
        display: none;
    }

    /* Make Privacy & Terms links blue */
    .footer-col:nth-child(2) ul li a {
        color: var(--primary);
        font-weight: 700;
    }

    /* Get In Touch — center everything */
    .footer-col:nth-child(4) {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col:nth-child(4) p {
        justify-content: center;
    }

    .footer-col {
        overflow: hidden;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .footer-col > p {
        overflow-wrap: break-word;
        word-break: break-word;
    }
}