.main-header {
  background-color: #fff; /* uniform background */
  box-shadow: none; /* remove shadow */  
  margin-top: 0 !important;     /* remove default top margin */
  padding-top: 0 !important; 
  
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100%;
  background: #fff;
  transition: left 0.3s ease;
  z-index: 1050;
  padding: 1.5rem;
}

.mobile-menu.open {
  left: 0;
}

.mobile-menu-content ul li {
  margin: 1rem 0;
}

.mobile-menu-content ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.mobile-menu-content hr {
  margin: 0.5rem 0;
  border: 0;
  border-top: 1px solid #333;
}
.top-bar {
  background-color: #fff; /* your brand color */ 
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.golos-text-medium {
  font-family: 'Golos Text', sans-serif;
  font-weight: 500;
}

/* 🌟 Search Wrapper Styling */
.search-wrapper {
  background-color: #fff;
  padding: 2rem 0; /* top and bottom padding */
}

/* 🔍 Search Box Container */
.search-box {
  position: relative;
}

.search-box .input-group-text i {
  color: #4e7c05 !important; /* or your preferred color */
}


/* ✏️ Input Group — larger and modern */
.search-box .input-group {
  border: 1px solid #dee2e6;
  border-radius: 50px;
  overflow: hidden;
  transition: all 0.2s ease;
}



/* 🔹 Input Field */
.search-box input.form-control {
  border: none;
  height: 58px;          /* ✅ Makes it taller */
  font-size: 1.05rem;    /* Slightly larger text */
  padding: 0 1.25rem;
  font-family: 'Golos Text', sans-serif;
}

/* Remove outline glow when focused */
.search-box input.form-control:focus {
  box-shadow: none;
}

/* 📦 Results Dropdown Box */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 360px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  background-color: #fff;
  z-index: 1050;
  display: none; /* hidden by default */
}

/* Show it when not d-none */
.search-results.show {
  display: block !important;
}

/* 🧾 Section Headers inside Results */
.search-results .recent-title {
  background-color: #f8f9fa;
  font-weight: 500;
  font-size: 0.9rem;
}

/* 📋 List Items */
.search-results .list-group-item {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.95rem;
  padding: 10px 16px;
  border: none;
  border-bottom: 1px solid #f1f1f1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.search-results .list-group-item:hover {
  background-color: #f8f9fa;
}


.search-box {
  position: relative;
}

/* Make the input group thicker and cleaner */
.search-box .input-group {
  border: 1px solid white;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 9.75rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
  background-color: white;
}

.search-box .input-group:focus-within {
  border-color: #dee2e6;
  z-index: 1001; /* ensure it’s above panel */
}

/* Icon color */
.search-box .input-group-text i {
  color: #4e7c05 !important;
  font-size: 1.2rem;
}

/* --- Search Panel --- */
.search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 280px;
  background: white;
  border: 1px solid #dee2e6;
  border-top: none; /* merges seamlessly */
  transform: translateY(-20px); /* moves it up*/
  border-radius: 0 0 0.75rem 0.75rem;
  margin-top: -2px; /* 👈 remove the tiny gap */
  overflow-y: auto;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}

/* Custom scrollbar */
.search-panel::-webkit-scrollbar {
  width: 6px;
}
.search-panel::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

/* Fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.search-panel.show {
    display: block !important;
}

.search-panel .d-flex {
    gap: 0.5rem; /* spacing between columns */
}

.search-panel .column-left {
    border-right: 1px solid #dee2e6; /* vertical line */
    padding-right: 0.5rem; /* optional padding so line doesn’t touch content */
}

.search-panel .column-right {
    padding-left: 0.5rem; /* optional spacing from line */
}

.search-panel ul {
    max-height: 280px; /* panel height */
    overflow-y: auto;  /* scroll if content exceeds */
}




.search-box {
  max-width: 915px !important;
}
.search-wrapper {
  padding: 1.5rem 0;
}

.search-box {
  max-width: 700px;
  width: 100%;
  position: relative;
}

/* Search input styling */
.search-box .form-control {
  height: 58px; /* taller search bar */
  font-size: 1.05rem;
  border-radius: 12px;
}

/* Search icon */
.search-box .input-group-text i {
  color: green !important;
}

/* Results dropdown */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
}


/* Mobile view adjustments */
@media (max-width: 768px) {
  /* Search wrapper */
  .search-wrapper {
    padding: 0.5rem 1rem !important;
  }

  /* Search box */
  .search-box {
    max-width: 100% !important;
  }

  /* Input field */
  .search-box .form-control {
    height: 42px !important;
    font-size: 0.9rem !important;
    padding: 0 0.75rem !important;
  }

  /* Input icon */
  .search-box .input-group-text i {
    font-size: 1rem !important;
  }

  /* Desktop search panel (dropdown) */
  .search-panel {
    height: 200px !important;
    font-size: 0.85rem !important;
  }

  .search-panel .list-group-item {
    padding: 6px 12px !important;
    font-size: 0.85rem !important;
  }

  /* Hide desktop search panel completely on mobile */
  .search-wrapper .search-panel {
    display: none !important;
  }


  .mobile-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 2000;
  display: none;
  overflow-y: auto;
  padding: 1rem;
}
.mobile-search-overlay.active {
  display: block;
}
}
/* Remove any space between top-bar and main-header */
.top-bar {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important; /* override py-2 */
}

.main-header {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
}

/* Optional: ensure no line or shadow separates them */
.top-bar,
.main-header {
  background-color: #fff; /* make both the same color */
  border: none !important;
  box-shadow: none !important;
}

.filter-bar .container {
  max-width: 1300px !important;
  padding-right: 0 !important;
}

/* ✅ Apply left padding only on desktop (≥992px) */
@media (min-width: 992px) {
  .filter-bar .container {
    padding-left: 13px !important;
  }
}

/* ✅ On mobile (<992px), remove left padding */
@media (max-width: 991.98px) {
  .filter-bar .container {
    padding-left: 0 !important;
  }
}


/* Divider sits tightly between left and right filters */
.filter-divider {
  width: 1px;
  height: 25px;
  background-color: #ccc;
  margin: 0 0.5rem; /* minimal space for breathing room */
}

/* Make sure filter sections align tightly */
.left-filters,
.right-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

/* Optional: small tweak for visual balance */
.left-filters {
  margin-right: 0.5rem;
}

/* Buttons hover + active state */
.right-filters .btn:hover {
  background-color: #eff1f2 !important;
  color: black !important;
  border: 1px solid #dee2e6 !important;
}
.right-filters .btn {
    
    border: 1px solid #dee2e6 !important;
    font-weight: 600 !important;
     color: #606970 !important;
     border-radius: 12px !important;
  }

.right-filters .btn.active {
  background-color: #e7ffc3 !important;
  color: #3f6600 !important;
  border-color: #3f6600 !important;
}

/* Mobile view: hide left filters + line */
@media (max-width: 768px) {
  .left-filters,
  .filter-divider {
    display: none !important;
  }

  .right-filters {
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .right-filters::-webkit-scrollbar {
    display: none;
  }
}

/* Left filters styling */
.left-filters .form-select,
.left-filters .form-control {
  border-radius: 18px;
  padding: 0.4rem 0.75rem;
  transition: all 0.3s ease;
  box-shadow: none;
}

.left-filters .form-select:hover,
.left-filters .form-control:hover {
  background-color: #eff1f2;
  border-color: #eff1f2;
}

.left-filters .form-select:focus,
.left-filters .form-control:focus {
  border-color: #28a745 !important;
  outline: none;
}
/* 📱 Mobile view: hide left filters + line, make right filters one horizontal row */
@media (max-width: 768px) {
  .left-filters,
  .filter-divider {
    display: none !important;
  }

  .right-filters {
    display: flex;
    flex-wrap: nowrap !important;    /* force single horizontal line */
    justify-content: flex-start;     /* align buttons to the left */
    overflow-x: auto;                /* allow horizontal scrolling */
    overflow-y: hidden;
    white-space: nowrap;             /* prevent wrapping */
    -webkit-overflow-scrolling: touch; /* smooth mobile scrolling */
    scrollbar-width: none;           /* hide scrollbar (Firefox) */
    padding-bottom: 0.5rem;          /* small space for visual balance */
  }

  /* Hide scrollbar in Chrome/Safari */
  .right-filters::-webkit-scrollbar {
    display: none;
  }

  .right-filters .btn {
    flex: 0 0 auto;                  /* prevent buttons from shrinking */
    white-space: nowrap;
    font-weight: 600 !important;
    border: 1px solid #dee2e6 !important;
  }
}
@media (max-width: 768px) {
  .left-filters,
  .filter-divider {
    display: none !important;
  }

  .right-filters {
    display: flex;
    flex-wrap: nowrap !important;    /* one line horizontally */
    justify-content: flex-start;     /* align to the left */
    overflow-x: auto;                /* allow horizontal scroll */
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;           /* hide scrollbar (Firefox) */
    padding-bottom: 0.5rem;
    margin-left: 1rem;               /* 👈 add left margin */
    gap: 0.5rem;                     /* space between buttons */
  }

  .right-filters::-webkit-scrollbar {
    display: none;                   /* hide scrollbar (Chrome, Safari) */
  }

  .right-filters .btn {
    flex: 0 0 auto;   
    color: #606970 !important;  
    border-color: 687078 !important;             /* prevent shrinking */
    white-space: nowrap;
    font-size: 0.95rem;             /* smaller text */
    padding: 0.3rem 0.6rem;         /* smaller padding */
    border-radius: 12px; 
    border: 1px solid #dee2e6 !important;
  }
}

.container {
  max-width: 1300px !important; /* or your desired layout width */
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.event-card a {
  text-decoration: none !important; /* remove underline from link */
  color: inherit !important;        /* inherit text color */
  display: block;                    /* ensure full card clickable */
}

.event-card {
  display: inline-block;
  width: 240px !important;
  margin: 10px;
  text-align: center;
  position: relative;
}

.hover-card {
  position: relative;
  transition: transform 0.3s ease;
}

.hover-card::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  background-color: #f6f8f9; /* grey hover card */
  border-radius: 12px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hover-card:hover::before {
  opacity: 1;
}

.card-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 12px;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hover-card:hover .card-image-wrapper img {
  transform: scale(1.02); /* subtle zoom on hover */
}

.card-title {
  margin-top: 10px;
  font-family: 'Substance', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #000;
  z-index: 1; /* ensures title appears above hover-card background */
  position: relative;
  text-decoration: none !important;
  text-align: left !important;
}
.events-carousel-wrapper {
  position: relative;
  width: 100%;
}
.events-carousel-wrapper .d-flex.flex-nowrap {
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem;
  padding: 0;
  scroll-snap-type: x mandatory;
}


/* Hide scrollbar for a clean look */
.events-carousel-wrapper .d-flex.flex-nowrap::-webkit-scrollbar {
  display: none;
}

.events-carousel {
  scroll-behavior: smooth;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;       /* width of circle */
  height: 40px;      /* height of circle */
  border-radius: 50%; /* makes it circular */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  font-size: 1.25rem;
}

.left-btn {
  left: -20px; /* adjust distance from carousel */
}

.right-btn {
  right: -20px; /* adjust distance from carousel */
}

/* Optional: hover effect */
.carousel-nav:hover {
  background-color: #ddd;
}


.event-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
/* --- GLOBAL FIXES --- */
html, body {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: auto; /* ✅ allows natural scroll chaining */
}

/* --- WRAPPER --- */
.events-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: visible; /* ✅ allows arrows to overlay */
  -webkit-tap-highlight-color: transparent;
}

/* --- CAROUSEL CONTAINER --- */
.events-carousel {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  scroll-snap-type: x mandatory;
  touch-action: pan-x; /* ✅ allow horizontal swipe */
}

/* ✅ Hide scrollbar (Chrome/Safari) */
.events-carousel::-webkit-scrollbar {
  display: none;
}

/* --- CARD STYLING --- */
.event-card {
  flex: 0 0 calc(22% - 1rem);
  scroll-snap-align: start;
}

/* --- DESKTOP ARROWS --- */
@media (min-width: 769px) {
  .carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 10;
    opacity: 0.9;
  }

  .carousel-nav.left-btn {
    left: 0.5rem;
  }

  .carousel-nav.right-btn {
    right: 0.5rem;
  }
}

/* --- MOBILE VIEW --- */
@media (max-width: 768px) {
  .carousel-nav {
    display: none !important;
  }

  .events-carousel {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }

  .event-card {
    flex: 0 0 70%;
    max-width: 70%;
  }
}
.category-heading {
  font-family: 'Substance', sans-serif;
  font-weight: 700;
  font-size: 1.45rem; /* default desktop size (≈ 28px) */
}

/* 👇 Smaller text on mobile */
@media (max-width: 768px) {
  .category-heading {
    font-size: 1.25rem; /* about 20px */
  }
}
/* Reduce space between category title and cards */
.category-block h4 {
  margin-bottom: 0.5rem !important; /* smaller gap below the category title */
  padding-bottom: 0 !important;
}

/* Optional: reduce top margin on cards */
.category-block .events-carousel {
  margin-top: 0 !important;
}
.category-block {
  margin-bottom: 1.5rem !important; /* reduce from 3rem to 1.5rem */
}


@media (max-width: 768px) {
  .category-block {
    margin-bottom: 0.7rem !important;
  }
}

/* --- Banner Wrapper --- */
.install-banner {
  overflow: hidden;
  border-radius: 16px;
  margin-top: 0 !important;
}

/* Banner images (desktop & mobile) */
.banner-img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* Desktop by default */
.desktop-banner {
  display: block;
}

.mobile-banner {
  display: none;
}

/* --- Overlayed Content (text + buttons) --- */
.install-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff; /* You can adjust or remove if the text is not visible enough */
  display: flex;
}

/* Make sure text is readable over any image */
.text-section h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2f343b;
  
}

.text-section p {
  color: #2f343b;
  font-size: 1rem;
  font-size: 1.1rem;
  
}

/* Store badges */
.store-badge {
  height: 42px;
  transition: transform 0.25s ease;
}

.store-badge:hover {
  transform: scale(1.05);
}

/* --- Mobile adjustments --- */
@media (max-width: 768px) {
  .desktop-banner {
    display: none;
  }
  .install-content .text-section p {
    display: none !important; /* increase bottom space */
  }

  .mobile-banner {
    display: block;
  }

  .install-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }

  .banner-img {
    height: 260px;
  }

  .text-section h3 {
    font-size: 1.4rem;
  }


  .store-badge {
    height: 42px;
  }
}

/* Container style */
.custom-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 350px;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    color: #fff;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1055;
    animation: slideIn 0.5s ease forwards;
}

/* Success type */
.custom-alert.success {
    background: linear-gradient(135deg, #8ca366 0%, #4e7c05 100%);
}

/* Close button */
.custom-alert .close-btn {
    background: transparent;
    border: none;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
}

/* Slide in animation */
@keyframes slideIn {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}

/* Fade out animation */
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Mobile-only horizontal scroll */
@media (max-width: 767.98px) {
    .right-filters-wrapper {
        position: relative;
        overflow: hidden; /* Prevent page shift */
        padding-bottom: 6px; /* Space for scroll indicator */
    }

    .right-filters {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch;
        gap: 0.5rem;
        padding-left: 0.5rem;
        scroll-padding-left: 0.5rem;
    }

    .right-filters::-webkit-scrollbar {
        display: none;
    }

    .right-filters .btn {
        flex: 0 0 auto;
    }

    /* Scroll indicator line below buttons */
    .scroll-indicator {
        position: absolute;
        bottom: 0;
        height: 3px;
        background-color: #e5e9ea; /* less bright grey */
        border-radius: 2px;
        pointer-events: none;
        transition: left 0.1s, width 0.1s;
        left: 0.8rem; /* offset from left edge */
    }
}
/* Target only the mobile search input */
#mobileSearchInput:focus {
    outline: none;           /* remove default outline */
    box-shadow: none;        /* remove Bootstrap focus shadow */
    border-color: #ced4da;   /* optional: keep border color normal */
}

/* Optional: remove focus style for the close button as well */
#closeMobileSearch:focus {
    outline: none;
    box-shadow: none;
}

.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; 
}

.custom-login-icon {
    width: 20px;      /* adjust size */
    height: 20px;
    object-fit: contain;
}

/* Add this to your CSS */
.input-group.focused {
  border-bottom: none !important;
  border-radius: 5px !important;
  box-shadow: none !important;
  transition: border-radius 0.2s, border-bottom 0.2s, box-shadow 0.2s;
}
/* Remove all borders from the icon wrapper */
.input-group .search-icon-wrapper {
    border: none !important;        /* remove all borders */
    background-color: transparent;  /* match input background */
    box-shadow: none;               /* remove shadow if any */
    padding-left: 0.75rem;          /* optional spacing for icon */
}

/* Remove left border of input so it merges seamlessly */
.input-group .form-control {
    border-left: none !important;
}

/* Optional: focus state */
.input-group .form-control:focus {
    border-left: none !important;
    box-shadow: none !important;
    border-radius: 2px !important; /* optional small radius */
}





























