:root {
      --font-primary: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    }

    body {
      font-family: var(--font-primary);
      background-color: #f8f9fa;
    }

    /* Header base */
    /* Base header style */
.search-header {
  padding: 1rem 0;
  background-color: #fff;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Mobile: simple white header */
@media (max-width: 991.98px) {
  .search-header {
    background-color: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    background-image: none;
  }
}

/* Desktop: background image only */
@media (min-width: 992px) {
  .search-header {
    background-image: url("/images/header-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .search-header .navbar-brand img {
    filter: brightness(1.1);
  }

  .search-header a,
  .search-header i,
  .search-header button {
    color: black !important;
    transition: color 0.3s ease;
  }

  .search-header a:hover,
  .search-header i:hover {
    color: black !important;
  }
}

/* Keep items aligned horizontally inside desktop header */
@media (min-width: 992px) {
  .search-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .search-header .d-lg-flex {
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  /* Ensure search bar grows but doesn't push menu vertically */
  .search-header form {
    flex: 1 1 auto;
    max-width: 600px; /* optional limit */
  }

  .search-header .ms-3 {
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }
}



    /* General container margins */
    .custom-body {
      margin-left: 120px;
      margin-right: 170px;
      padding-right: 110px;
    }

    @media (max-width: 992px) {
      .custom-body {
        margin: 0 20px;
      }
    }

    /* --- Search bar --- */
    .search-container {
      position: relative;
      display: inline-block;
    }

    .search-bar {
      width: 340px;
      max-width: 4400px;
      transition: all 0.35s ease;
      height: 53px;
      z-index: 5;
    }

    .search-bar .input-group-text {
      /* border: 1px solid #ddd; */
      border-right: none;
      border-radius: 8px 0 0 8px;
      background-color: #fff;
    }

    .search-bar .form-control {
      border: 1px solid #ddd;
      border-left: none;
      border-radius: 0 8px 8px 0;
      background-color: #fff;
      height: 53px;
      transition: all 0.35s ease;
    }

    .search-panel {
      position: absolute;
      top: 100%;
      left: 0;
      width: 605px;
      background: #fff;
      border: 1px solid white;
      border-top: none;
      border-radius: 0 0 8px 8px;
      overflow: hidden;
      opacity: 0;
      max-height: 0;
      pointer-events: none;
      transition: all 0.35s ease;
      z-index: 9;
    }
    .search-panel .list-group-item {
  border: none;
  /* border-bottom: 1px solid #f1f1f1; */
  color: #333;
  padding: 0.75rem 1rem;
  transition: background 0.2s;
}
.search-panel .list-group-item:hover {
  background: #f8f9fa;
}

/* Mobile results styling */
#mobileSearchResults .list-group-item {
  border: none;
  border-bottom: 1px solid #eee;
  padding: 1rem 0.75rem;
}
#mobileSearchResults a {
  display: block;
  text-decoration: none;
  color: #212529;
}
#mobileSearchResults a:hover {
  background-color: #f8f9fa;
}


    .search-container.expanded .search-bar {
      max-width: 605px;
      width: 605px;
      border-radius: 8px 8px 0 0;
      
    }

    .search-container.expanded .search-panel {
      max-height: 420px;
      opacity: 1;      
      pointer-events: auto;
    }

    /* --- Responsive adjustments --- */
    @media (max-width: 992px) {
      .search-bar { max-width: 220px; }
      .search-container.expanded .search-bar { max-width: calc(100vw - 120px); }
      .search-container.expanded .search-panel { width: 100%; max-height: 360px; }
    }

    @media (max-width: 576px) {
      .search-bar { max-width: 160px; }
      .search-container.expanded .search-bar { max-width: calc(100vw - 40px); }
      .search-container.expanded .search-panel {
        max-height: 320px;
        width: 100%;
        left: 0;
        border-radius: 0;
      }
    }

    /* --- Mobile Header --- */
    .logo-img {
      display: block;
      margin: 0 auto;
    }

    @media (max-width: 991px) {
      .custom-body { margin: 0 12px; }
      .search-container, .search-bar, .search-panel { display: none !important; }
      .search-header > .container { padding-left: 6px !important; padding-right: 6px !important; }
      #menuToggle { margin-left: 2px; }
    }

    /* Menu button styling */
    #menuToggle {
      text-decoration: none !important;
      color: #6c757d !important; /* Bootstrap gray */
      font-size: 1rem;
      font-weight: 500;
      padding: 0;
    }

    #menuToggle:hover {
      color: #5a6268 !important;
    }

    #menuToggle i {
      transition: transform 0.3s ease;
      font-size: 1.1rem;
    }

    #menuToggle.open i {
      transform: rotate(90deg);
    }

    /* Mobile search overlay */
    .mobile-search-overlay {
      position: fixed;
      inset: 0;
      background: rgba(255,255,255,0.98);
      z-index: 1050;
      padding: 1.5rem;
      display: none;
    }

    .mobile-search-overlay.active {
      display: block;
      animation: fadeIn 0.25s ease;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    /* Desktop menu */
.desktop-menu a {
  padding: 0.5rem 0.75rem;
  transition: color 0.2s ease;
  color: #fff !important ;
}
.desktop-menu a:hover {
  color: white !important;
}


/* Mobile Slide-in Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -280px;
  width: 260px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 10px rgba(0,0,0,0.15);
  z-index: 2000;
  transition: left 0.35s ease;
  padding: 1rem;
}
.mobile-menu.open {
  left: 0;
}
.mobile-menu-content ul li {
  margin-bottom: 1rem;
}
.mobile-menu-content a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.2s ease;
}


/* Hide desktop menu on small screens */
@media (max-width: 991.98px) {
  .desktop-menu {
    display: none;
  }
}
/* --- Desktop layout fix --- */
@media (min-width: 992px) {
  .search-desktop {
    gap: 1rem;
  }

  .search-form {
    transition: all 0.3s ease;
    max-width: 400px;
  }

  .search-form:focus-within {
    max-width: 600px; /* expands smoothly */
  }

  .desktop-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    min-width: 320px; /* ensures menu/login area doesn’t collapse */
  }

.desktop-menu ul {
  display: flex;
  align-items: center;
  gap: 0.1rem; /* slightly tighter spacing */
}



  .desktop-menu a {
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
  }

  .desktop-menu a:hover {
    color: #49ce3a;
  }
}
/* ====== FIX DESKTOP SEARCH EXPANSION LAYOUT ====== */
@media (min-width: 992px) {
  .search-desktop {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 1rem;
  }

  /* Make the middle section flexible */
  .search-desktop .d-flex.flex-grow-1.justify-content-between {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0; /* Prevent overflow issues */
  }

  /* Search form grows smoothly, pushing menu to the right */
  .search-form {
    flex: 1 1 auto;
    max-width: 400px;
    transition: all 0.3s ease;
  }

  .search-form:focus-within {
    max-width: 600px;
  }

  /* Menu area stays pinned to right and adapts */
  .desktop-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    margin-left: auto;
    gap: 1rem;
  }

  /* Menu list stays in a row with tighter spacing */
  .desktop-menu ul {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0;
    padding-left: 0;
  }

  .desktop-menu li {
    list-style: none;
  }

  .desktop-menu a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
  }

 
}

/* Profile icon inside circle */
.profile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;           /* circle width */
  height: 30px;          /* circle height */
  background-color: #fff; /* white background */
  border-radius: 50%;     /* circle */
  color: #10e167 !important;           
  font-size: 18px;        /* icon size */
}

/* Adjust spacing between text and icon */
.profile-link {
  gap: 0.5rem;
}
/* Desktop header links */
@media (min-width: 992px) {
  .search-header a {
    color: #fff !important;  /* force white text for links */
  }

  .search-header a:hover {
    color: white !important; /* green on hover */
  }

  .search-header i {
    color: black !important; /* profile icon color */
    font-size: 20px !important; /* profile icon size */
  }
}

/* Profile icon circle */
.profile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: #fff;
  border-radius: 50%;
}

/* Align text and icon */
.profile-link {
  gap: 0.5rem;
  display: flex;
  align-items: center;
}
/* Fix: Make desktop search results text black */
@media (min-width: 992px) {
  .search-panel a,
  .search-panel .list-group-item a {
    color: #000 !important;
    background-color: #fff;
  }

  .search-panel .list-group-item:hover a {
    color: #000 !important;
    background-color: #f8f9fa;
  }
}
/* Desktop search suggestions - clean hover effect */
@media (min-width: 992px) {
  .search-panel {
    background-color: #fff;
    /* border: 1px solid #ddd; */
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }

  .search-panel a,
  .search-panel .list-group-item a {
    display: block;
    padding: 10px 14px;
    color: #000 !important;
    text-decoration: none;
    background-color: #fff;
    transition: background-color 0.25s ease;
  }

  /* ✅ Hover effect: light-gray background, text stays black */
  .search-panel a:hover,
  .search-panel .list-group-item:hover a {
    background-color: #f2f2f2;
    color: #000 !important;
  }

  /* Optional: add subtle divider lines */
  .search-panel .list-group-item {
    border-bottom: 1px solid #eee;
  }
}
/* === Search Hero Section === */
/* 🌍 Desktop (Full width, flush with header) */
/* .search-hero {
  width: 100%;
  background-color: #fff;
  padding: 3rem 1rem 2rem;
  text-align: center;
  border-radius: 0;
  margin: 0; 
  display: block;
} */

/* Ensure it’s not constrained by Bootstrap container width */
/* body .search-hero {
  max-width: 100vw;
} */

/* 📱 Mobile view: rounded + margin */
@media (max-width: 991.98px) {
  header,
  .navbar,
  .search-header {
    box-shadow: none !important;
    background-color: #fff !important;
    border-bottom: none !important;
  }

  /* .search-hero {
    background-color: #fff;
    margin: 0 3px;
    border-radius: 12px;
    padding: 2rem 1rem;
    box-shadow: none;
  } */
}
.content-wrapper {
  width: 100%;
  padding: 0;
  margin: 0;
}
/* ===== Mobile uniform white background ===== */
@media (max-width: 991.98px) {
  body {
    background-color: #f5f7f8 !important;
  }

  .search-header {
    background-color: #ffffff !important;
    box-shadow: none !important; /* remove shadow under header */
  }

  /* .search-hero {
    background-image: url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-color: #ffffff !important;
    margin: 3px; 
    border-radius: 8px;
    box-shadow: none !important; 
  } */
}
/* === Search Hero Background Image === */
/* .search-hero {
  background-image: url('/images/hero-bg.jpg');
  background-size: cover;          
  background-position: center;     
  background-repeat: no-repeat;    
  background-color: white;          
  color: #000;                     
  text-align: center;
  padding: 4rem 1rem 3rem;         
  margin: 0;
  border: none;
  transition: all 0.3s ease;
} */

/* === MOBILE VIEW === */
@media (max-width: 991.98px) {
  .search-hero {
    height: 100px;
    margin: 0 3px;
    border-radius: 12px;

    /* Keep the image visible */
    background-image: url('/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Optional overlay for readability */
    position: relative;
    overflow: hidden;
  }

  /* Optional: overlay layer for better text contrast */
  .search-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3); /* Adjust opacity as needed */
    border-radius: 12px;
  }

  .search-hero .search-query {
    position: relative; /* bring above overlay */
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
  }
  
}


/* === DESKTOP VIEW (working) === */
@media (min-width: 992px) {
  .search-hero {
    width: 100vw;
    height: 151px;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-radius: 0;
    background-image: url('/images/hero1-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fff;
  }
}
/* === FIX: Remove white line between header and hero === */

/* Remove any shadow, border, or margin from header */
.search-header,
.navbar,
header {
  margin: 0 !important;
  padding-bottom: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

/* Make sure hero starts immediately after header */
.search-hero {
  margin-top: 0 !important;
  padding-top: 3rem; /* keep your content spacing */
  border-top: none !important;
}

/* Optional: if still a line, ensure same background color */
.search-header,
.search-hero {
  background-color: transparent !important;
}
.search-hero .search-query {
  position: absolute;
  bottom: 20px;   /* distance from bottom */
  left: 140px;     /* distance from left */
  margin: 0;
  color: #fff;
  font-size: 3.0rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
  z-index: 2;
}

@media (max-width: 991.98px) {
  .search-hero {
    height: 115px;
    margin: 3px 20px;
    padding: 0 20px;
    border-radius: 12px;
    background-image: url('/images/hero1-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
  }

  .search-hero::before {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
  }

  .search-hero .search-query {
    bottom: 2px;
    left: 20px;
    font-size: 1.3rem !important;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
  }
}
/* Prevent unwanted horizontal scroll on mobile */
html, body {
  overflow-x: hidden;
}

/* Ensure hero fits perfectly without overflow */
.search-hero {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Remove any leftover negative margins on mobile */
@media (max-width: 991.98px) {
  .search-hero {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Right-side event details box */
.event-details-box {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 100px;
}

/* Uniform look: adjust spacing for inner containers */
.container.p-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Mobile view: stack columns */
@media (max-width: 991.98px) {
  .event-details-box {
    margin-top: 1.5rem;
    position: static;
  }
}

/* Position button to far right of card */
/* .event-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-right: 0.5rem;
} */


/* Event Cards */
/* Event list item */
.event-item {
  display: flex;
  position: relative;
  position: relative;
  padding-right: 0.5rem;
  background: #ffffff;
  border: 1px solid #e2e6ea;
  border-radius: 10px;
  transition: all 0.3s ease;
}


/* Left section takes remaining space */
.event-item-left {
  display: flex;
  align-items: center;
  flex-grow: 1; /* stretch left content */
}

.event-item:hover {
  box-shadow: 0px 4px 8px rgba(0,0,0,0.08);  
}

.event-thumb {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

/* Right-side box (already added earlier) */
.event-details-box {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 100px;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .event-thumb {
    width: 90px;
    height: 90px;
  }

  .event-item {
    padding: 0.75rem;
  }
  .event-item:hover {
  cursor: pointer;
}
  /* Shadow on hover */
.event-item:hover {
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

  .event-details-box {
    margin-top: 1.5rem;
    position: static;
  }
}
/* === Event date box === */
.event-date-box {
  flex-shrink: 0;
  justify-content: center;
  width: 70px;
  height: 75px;
  border: 1px solid #e3dede;
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden; /* ensures no white bleed */
  padding: 0;
  margin: 0;
  border-radius: 9px;
}

.event-date-day {
  font-size: 1.4rem;
  font-weight: 700;
  color: #3f6600;
  text-align: center;
  margin-top: 6px;
  line-height: 1;
  padding-bottom: 3px;
}

.event-date-month {
  padding-top: 9px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #3f6600;
  text-align: center;
  line-height: 1;
  margin-bottom: 4px;
}

.event-date-year {
  flex-shrink: 0;
  width: 100%;
  background-color: #d6f7b9;
  color: #3f6600;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.8;
  
  margin: 0;  
  align-self: flex-end; /* ensures it anchors to the bottom */
}
.event-remaining {
  background-color: #ffe8ec; /* solid red background */
  color: #d81f63;               /* white text for contrast */
  padding: 2px 8px;
  border-radius: 4px;        /* optional, for a softer look */
  font-weight: 500;
  display: inline-block;     /* makes it wrap just the text */
}

/* Book Button */
.btn-book {
  position: relative; 
  z-index: 2;
  background-color: #fff;
  border: 1px solid #85a552; /* green border */
  color: #4e7c23;
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}
.book-icon {
  display: none;
  margin-left: 0.25rem;
}
.event-item:hover .btn-book{
  width: 140px; /* expand to the left */
  background-color: #4e7c05; /* dark green bg */
  color: #fff;
  border-color: #4e7c05;
  justify-content: flex-start; /* push text left */
  padding-left: 10px;
}
.btn-book span {
  transition: margin-left 0.3s ease;
}

.event-item:hover .book-icon {
  display: inline-block;
  transition: all 0.3s ease;
}
.stretched-link {
  position: absolute !important;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
}


/* Mobile adjustments */
@media (max-width: 991.98px) {
  .btn-book {
    display: none; /* hide button on mobile */
  }

  /* On hover of card, make card bg green */
  .event-item:hover {
    background-color: #d6f7b9;
    color: black;
    transition: background-color 0.3s ease;
  }

  .event-item:hover p,
  .event-item:hover h5 {
    color: black;
  }
}
/* ===== Pagination Layout ===== */
.pagination {
  justify-content: center;
  margin-top: 1.5rem;
  gap: 0.35rem;
}

/* ===== Base link style ===== */
.page-link {
  color: black; /* green text */
  border: none !important;
  background: none !important;
  border-radius: 50% !important;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  line-height: 1;
  font-size: 0.9rem;  
  padding: 0 !important;
}

/* ===== Hover — for numbers only ===== */
.page-item:not(:first-child):not(:last-child) .page-link:hover {
  background-color: #c8eb99 !important; /* green hover */
  color: #456b08 !important;  
}

/* ===== Hover — for arrows only ===== */
.page-item:first-child .page-link:hover,
.page-item:last-child .page-link:hover {
  background-color: #eff1f2 !important; /* blue hover for arrows */
  color: black !important;
  
}

/* ===== Active page ===== */
.page-item.active .page-link {
  background-color: #4e7c05 !important;
  color: #fff !important;
}

/* ===== Disabled arrows ===== */
.page-item.disabled .page-link {
  color: #adb5bd !important;
  background: none !important;
  pointer-events: none;
}

/* ===== Mobile size ===== */
@media (max-width: 576px) {
  .page-link {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }
}
.category-heading {
  font-family: 'Aktiv Grotesk Corp Bold', sans-serif;
  font-weight: 900;  
  color: #2f343b;
}
@media (max-width: 991.98px) {
  .signup-banner-section .container {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
  }

  .signup-banner {
    border-radius: 0; /* optional: remove rounded corners on mobile */
    padding-left: 1rem; /* keep some padding for inner content */
    padding-right: 1rem;
  }
}

.signup-banner-section {
  background-color: white; /* Light gray outer background */
}

.signup-banner {
  background-color: #f3f9eb; /* Bootstrap green */
  border-radius: 6px;
  color: #fff;  
  padding: 3rem 4rem; /* 🔹 Increased height (was smaller before) */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.banner-text {
  flex: 1;
  margin-right: 2rem; 
}

.banner-heading {
  font-family: 'Aktiv Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.55rem;
  color: #6fb229; /* Slightly larger heading */
}



.vertical-divider {
  width: 1px;
  height: 60px; /* Taller divider to match height */
  background-color: #9fb983;
}

.banner-button {
  flex-shrink: 0;
  margin-left: 2rem; /* Reduced left space to bring button closer to divider */
}
/* Mobile: stack vertically and align left */
@media (max-width: 768px) {
    .signup-banner {
        justify-content: flex-start !important; /* items align to left */
    }

    .banner-button {
        width: 100%;               /* full width row */
        text-align: left;          /* button aligns left */
        padding-left: 0 !important;
        margin-top: 10px;          /* a little spacing under the text */
    }

    .banner-button a,
    .banner-button button {
        margin-left: 0 !important; /* ensure no auto margins */
    }
}


/* Remove container side padding and reduce spacing */
.signup-banner-section .container {
    padding-left: 0;
    padding-right: 0;
}

/* Adjust flex spacing and align items closer in the banner */
.signup-banner {
    justify-content: center !important; /* center contents horizontally */
    gap: 0.5rem; /* reduce space between icon, text, and button */
    padding-left: 1rem; /* small padding if needed */
    padding-right: 1rem;
}

/* Reduce gap between icon and text */
.banner-text-wrapper .d-flex img.me-2 {
    margin-right: 0.5rem; /* smaller space between icon and h4 */
}

/* Optional: reduce spacing of vertical divider */
.vertical-divider {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

/* Optional: reduce button padding for a more compact look */
.banner-btn {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
}

/* For smaller screens: stack elements and reduce spacing */
@media (max-width: 767.98px) {
    .signup-banner {
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
        padding: 0.5rem 1rem;
    }

    .vertical-divider {
        display: none; /* hide divider on mobile */
    }

    .banner-btn {
        width: auto;
    }
}


.banner-btn {
  border-radius: 9px;
  transition: all 0.3s ease;
  padding: 0.75rem 2rem; /* Larger button for proportion */
  font-size: 0.85rem;
  background-color: #4e7c05;
  color: white;
}

.banner-btn:hover {
  background-color: #70a12f;
  color: #fff;  
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.subscribe-section {
  background-color: #ffffff;
}

.subscribe-box {
  background-color: #f3f9eb;
  max-width: 600px;
  border: 1px solid #e0e0e0;
}

.subscribe-heading {
  font-family: 'Aktiv Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  color: #4e7c05;
}

.subscribe-text {
  color: #555;
  font-size: 1rem;
  font-family: 'Rubik', sans-serif;
}

.subscribe-input {
  width: 70%;
  max-width: 350px;
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 0.6rem 1rem;
}

.subscribe-btn {
  background-color: #6fb229;
  color: white;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.subscribe-btn:hover {
  background-color: #4e7c05;
  color: #fff;
}

@media (max-width: 768px) {
  .subscribe-input {
    width: 100%;
  }
}

.footer {
  font-family: 'Nimbus Sans', sans-serif;
  font-weight: 700;
  background-color: #fff;
  color: #222;
}

.footer h5 {
  color: #6c757d; /* gray */
  font-weight: 700;
}

.footer a {
  color: #222;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* bottom spacing for copyright */
.footer p {
  font-weight: 400;
}

/* responsive spacing */
@media (max-width: 768px) {
  .footer {
    text-align: center;
  }

  .footer .col-12 {
    margin-bottom: 1.5rem;
  }
}
.footer-hr {
  border: 0 !important;             /* remove all borders */
  border-top: 3px solid #000000 !important; /* force black line */
  background-color: #000000 !important;     /* ensure black in case of background fallback */
  height: 3px !important;               /* thickness */
  width: 90% !important;
  margin: 0 auto !important;
}
.footer-text-xs {
  font-size: 0.75rem;
  font-weight: 400;
  margin-left: 5%; /* same as the horizontal line's starting point */
  color: #677385;
  font-weight: 800;
}
/* Mobile view adjustments */
@media (max-width: 768px) {
  .footer-text-xs {
    text-align: left; /* ensures left alignment on mobile */
    margin-left: 5%;   /* optional: remove margin on narrow screens */
  }
}

/* Make the card image overlap upwards */
.overlap-card {
  position: relative;
  margin-top: -67px; /* overlap on desktop */
  z-index: 5;
  border-radius: 15px;
  overflow: hidden;
}

.overlap-card img.card-img-top {
  width: 100%;
  height: 257px;            /* consistent card height */
  object-fit: contain;      /* show full image */
  object-position: center;
  background-color: #f5f5f5;
  display: block;
}

.outer-card,
.inner-card {
  overflow: visible !important;
}

.overlap-card .card-body {
  background-color: #fff;
  padding: 1rem 1.2rem;
}


.overlap-card .card-text {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

/* 🔹 Mobile adjustments */
@media (max-width: 767.98px) {
  .overlap-card {
    margin-top: 0 !important; /* remove overlap */
    border: 1px solid #d1d5db !important; /* add subtle border */
    border-radius: 10px; /* keep rounded corners */
  }

  .overlap-card .card-img-top {
    display: none !important; /* hide image */
  }
}

/* --- Modal (Desktop view) --- */
.custom-modal {
  display: none; 
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

.custom-modal-content {
  background-color: #fff;
  border-radius: 12px;
  width: 50%;
  max-width: 700px;
  padding: 2rem;
  color: #333;
  position: relative;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
  font-weight: bold;
}

/* --- Fullscreen for Mobile --- */
.mobile-fullscreen {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  color: #000;
  z-index: 3000;
  overflow-y: auto;
  padding: 2rem;
}

.close-mobile-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  border: none;
  background: none;
  font-size: 2rem;
  color: #000;
}

.mobile-content {
  margin-top: 3rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* --- Responsive Behavior --- */
@media (max-width: 768px) {
  .custom-modal-content {
    width: 90%;
    padding: 1.5rem;
  }
}

/* General button styling */
.see-more-btn {
  font-size: 0.9rem; /* slightly smaller */
  text-decoration: none !important; /* remove underline */
  vertical-align: baseline;
  color: #3f6600 !important;
}

/* Align inline with text in desktop view */
@media (min-width: 768px) {
  .see-more-btn {
    display: inline;
    margin-top: 0;    
  }
}

/* Move below text in mobile view */
@media (max-width: 767.98px) {
  .see-more-btn {
    display: block;
    margin-top: 0.3rem;
    color: #0b669b !important;
  }
}
.views-badge {
    background-color: #e0ecff; /* light yellow */
    color: #137ec8; /* text color */
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-weight: 200;
    margin-bottom: 1rem;
    text-align: left; /* center the text horizontally */
    display: block;
}
@media (max-width: 767px) {
    .views-badge {
        font-size: 1rem; /* smaller text on mobile */
    }
}


@media (max-width: 768px) {
        .search-hero-img {
            display: block !important; /* show image on mobile */
        }

        .search-query {
            font-size: 1rem !important;       /* smaller on mobile */
            white-space: nowrap !important;   /* keep on single line */
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            flex: 1 !important;               /* take remaining space */
        }

        div[style*="display: flex"] {
            display: flex !important;
            align-items: center !important; /* vertical center */
        }
    }


@media (max-width: 991.98px) { 
    /* .search-hero {
        display: flex !important;
        align-items: center;       
        padding: 0.5rem 1rem;      
        height: auto !important;
        position: relative !important; 
        text-align: left !important;
        background-image: url('/images/hero1-bg.png');
        background-size: cover;
        background-position: center;
        border-radius: 12px;
        overflow: hidden;
    } */

    .search-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 12px;
        z-index: 0;
    }

    .search-hero-img {
        display: block !important;
        width: 90px;              /* increased size */
        height: 90px;             /* increased size */
        object-fit: cover;
        border-radius: 6px;
        margin: 2px 0 2px 2px;              /* small space on all sides */
        flex-shrink: 0;
        z-index: 1;               /* above overlay */
    }

    .search-query {
        position: relative !important; 
        z-index: 1;
        font-size: 1rem !important;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;

        /* vertical centering next to image */
        display: flex;
        align-items: center;
        height: 90px;             /* match new image height */
    }
}

@media (max-width: 576px) {

    .event-item h5 {
        font-size: 1rem;       /* smaller title */
        margin-top: 0;
        margin-bottom: 2px;    /* reduce spacing */
        line-height: 1.2;
    }

    .event-item p.text-muted {
        font-size: 0.85rem;    /* smaller venue text */
        margin-bottom: 2px;    /* reduce spacing */
        line-height: 1.2;
    }

    .event-item .event-remaining {
        font-size: 0.75rem;    /* small text */
        margin-bottom: 2px;    /* reduce spacing */
        line-height: 1.2;
    }
}
.no-pt {
    padding-top: 0 !important;
}
@media (max-width: 991.98px) {
    /* Outer card: no border, no shadow */
    .outer-card {
        border: 0 !important;
        box-shadow: none !important;
    }

    /* Inner card: thin border, subtle shadow */
    .inner-card {
        border: 1px solid rgba(0, 0, 0, 0.12);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
        border-radius: 12px;
    }
}

/* Absolute close button */
.banner-close {
    position: absolute;
    top: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    background: transparent;
    border: none;
    color: #4e7c05;
    cursor: pointer;
    z-index: 1000;
}

/* Desktop: keep button inside container */
@media(min-width: 992px){
    .signup-banner-section {
        position: relative;
    }

    .banner-close {
        right: calc((100% - 1200px)/2 + 0.5rem); /* adjust if container max-width is different */
    }
}

/* Mobile: banner is full-width, keep button at edge */
@media(max-width: 991.98px){
    .signup-banner-section {
        position: relative;
    }

    .banner-close {
        right: 0.5rem; /* small space from edge */
    }
}
.header-top-text {
    color: #686563; /* default for mobile */
    font-size: 14px;
}

/* Desktop (lg and above) */
@media (min-width: 992px) {
    .header-top-text {
        color: white;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .search-hero {
        width: auto;           /* allow margin to work */
        max-width: calc(100% - 30px); /* 15px left + 15px right */
        margin: 0 15px !important;
    }
}

.login-icon-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eff5f8; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-icon-circle img {
    width: 90%;
    height: 90%;
    object-fit: contain;
     margin-top: 7px; 
}
.search-container .search-panel {
  top: calc(100% + 10px);
}





















