/* ===== NAVBAR ===== */

.navbar{
  height:72px;
  border-bottom:1px solid #e5e7eb;
  background:#fff;

  position:sticky;
  top:0;
  z-index:999;
}

/* container */
.nav-container{
  max-width:1200px;
  height:100%;
  margin:auto;
  padding:0 24px;

  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* ===== LOGO ===== */

.logo{
  display:flex;
  align-items:center;
}

.logo img{
  height: 55px;
  width:auto;
  display:block;
}

/* ===== NAV LINKS ===== */

.nav-links{
  display:flex;
  gap:32px;
}

.nav-links a{
  text-decoration:none;
  color:#111;
  font-weight:500;
  font-size:16px;
  transition:.2s;
}

.nav-links a:hover{
  color:#2563eb;
}

/* ===== SEARCH ===== */

.search-box{
  position:relative;
}

#siteSearch{
  width:260px;
  padding:10px 16px;

  border-radius:999px;
  border:1px solid #e4e7ec;
  outline:none;

  font-size:14px;
}

#siteSearch:focus{
  border-color:#2563eb;
}

/* dropdown */

.search-dropdown{
  position:absolute;
  top:120%;
  left:0;
  width:100%;
  background:#fff;

  border-radius:12px;
  border:1px solid #eef1f5;
  box-shadow:0 12px 30px rgba(0,0,0,0.08);

  display:none;
  overflow:hidden;
}

.search-item{
  padding:12px;
  cursor:pointer;
}

.search-item:hover{
  background:#f6f8fb;
}
/* ===== GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: #f4f6fb;
}

html {
  scroll-behavior: smooth;
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }
}

/* ===============================
   AD CONTAINERS (RESERVED)
=============================== */

.ad-container {
  width: 100%;
  margin: 20px 0;  /* Slight spacing only */
}

.ad-slot {
  width: 100%;
  max-width: 970px;
  min-height: 50px;  /* Minimal height */
  margin: auto;
  background: #fafbfc;  /* Barely visible */
  border-radius: 8px;
}

/* Prevent margin stacking */
.ad-container + section{
   margin-top:0;
}

@media(max-width:768px){
  .ad-slot{
    min-height:140px;
  }
}
.trust-signals{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:8px;
  font-size:14px;
  color:#5f6368;
}

.trust-signals span{
  background:#f1f3f4;
  padding:4px 10px;
  border-radius:6px;
  font-weight:500;
}

/* FOOTER */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h3,
.footer-col h4 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-col a {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: #1e4dd8;
}

.footer-bottom {
  text-align: center;
  padding: 15px;
  background: #020617;
  font-size: 13px;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  #siteSearch {
    width: 140px;
    padding: 8px 12px;
    font-size: 13px;
  }
}

.footer-logo-wrapper {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 14px;
  backdrop-filter: blur(4px);
}

.footer-logo-wrapper img {
  width: 200px;  /* adjust this value to taste */
  height: auto;
}

/* ===== MOBILE HAMBURGER & SLIDE MENU ===== */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-search-icon {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #111;
  padding: 4px;
  line-height: 1;
}

/* Slide-in menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 75vw;
  max-width: 300px;
  height: 100vh;
  background: #fff;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  visibility: hidden;
}

.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 4px 0 30px rgba(0,0,0,0.12);
  visibility: visible;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #444;
  padding: 4px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  background: #fff !important;
  position: static !important;
}

.mobile-nav-links a {
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 500;
  color: #111 !important;
  text-decoration: none !important;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.2s, color 0.2s;
  margin-left: 0 !important;
  background: #fff !important;
  display: block !important;
}

.mobile-nav-links a:hover {
  background: #f0f5ff !important;
  color: #2563eb !important;
}

/* ===== MOBILE FULL-SCREEN SEARCH ===== */

.mobile-search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 9999;
  flex-direction: column;
}

.mobile-search-overlay.open {
  display: flex;
}

.mobile-search-bar {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.mobile-search-back {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: #111;
  padding: 6px;
  display: flex;
  align-items: center;
}

#mobileSearchInput {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 42px;
  padding: 0 14px;
  font-size: 16px;
  color: #111;
  background: #f4f6f9;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  caret-color: #111;
}

#mobileSearchInput:focus {
  border-color: #2563eb;
  background: #fff;
}

#mobileSearchInput::placeholder {
  color: #aaa;
}

.mobile-search-results {
  overflow-y: auto;
  background: #fff;
}

.mobile-search-results .search-item {
  padding: 14px 20px;
  font-size: 15px;
  color: #111;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}

.mobile-search-results .search-item:hover {
  background: #f0f5ff;
  color: #2563eb;
}

/* ===== RESPONSIVE SHOW/HIDE ===== */

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .mobile-search-icon {
    display: flex;
    align-items: center;
  }

  /* Hide desktop elements on mobile */
  .nav-links {
    display: none;
  }

  #desktopSearchBox {
    display: none;
  }

  .nav-container {
    gap: 0px;
    justify-content: flex-start;
  }

  .nav-container .mobile-search-icon {
    margin-left: auto;
  }
}