@charset "utf-8";

/* CSS Document */

body {font-family:'Poppins',sans-serif;background: #f8f9fa;margin:0;padding:0;}
.top-bar {/* background:#0d6efd; */color:#fff;font-size:14px;background: linear-gradient(135deg, #0d6efd, #6610f2);}
.top-bar a { color:#fff; margin-left:10px; text-decoration:none; }
.logo-bar { background:#fff; box-shadow:0 2px 8px rgba(0,0,0,.08); }
.search-box { border-radius:30px; }
.navbar { background:#111827; }
.navbar .nav-link { color:#fff !important; margin:0 5px; }
.navbar .nav-link:hover { color:#0d6efd !important; }
.country-card { background:#fff; border-radius:16px; padding:20px; text-align:center; box-shadow:0 6px 16px rgba(0,0,0,.08); }
.country-card img {width: 100px;/* height:40px; */object-fit:cover;border-radius:6px;}
.slider { position:relative; }
.slides { position:relative; overflow:hidden; }
.slide { display:none; width:100%; }
.slide.active { display:block; }
.slide img { width:100%; display:block; }
.prev,.next { position:absolute; top:50%; transform:translateY(-50%); background:#0008; color:#fff; border:none; padding:10px 15px; font-size:22px; cursor:pointer; border-radius:8px; z-index:10; }
.prev { left:10px; }
.next { right:10px; }
@media(max-width:768px){ .prev,.next{font-size:18px; padding:6px 10px;} }

/* Dropdown Submenu */
.dropdown-submenu { position: relative; }
.dropdown-submenu .dropdown-menu { top: 0; left: 100%; margin-left: 0.1rem; margin-right: 0.1rem; }

/* Responsive input group */
.input-group { gap:10px; }
@media(max-width:768px){
  .input-group { flex-direction: column; }
  .input-group .form-control, .input-group .form-select, .input-group .btn { width:100%; }
}

/* Offcanvas submenu toggler */
.offcanvas-body .dropdown-submenu > a:after {
  content: '▸';
  float: right;
}
.offcanvas-body .dropdown-menu { position: static; float: none; display: none; margin:0; box-shadow:none; }
.offcanvas-body .dropdown-submenu.show > .dropdown-menu { display:block; }

/* NAv and category section css */
.main-navbar {
  top: 0;
  z-index: 1030; /* above slider */
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

/* Shadow when sticky */
.main-navbar.stuck {
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.category-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}
.category-card .card-img {
  overflow: hidden;
  height: 180px;
  flex-shrink: 0;
  position: relative;
}
.category-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.category-card:hover .card-img img {
  transform: scale(1.05);
}

/* Badge for popular/trending */
.badge-trending, .badge-popular {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff5722;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.category-card:hover .badge-trending,
.category-card:hover .badge-popular {
  opacity: 1;
}

.category-card .card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.category-card h5 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}
.category-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}
.category-card ul li {
  font-size: 0.9rem;
  color: #b71c1c;
  margin-bottom: 5px;
  position: relative;
  padding-left: 15px;
}
.category-card ul li:before {
  content: "›";
  position: absolute;
  left: 0;
  color: #b71c1c;
}

/* Item count circle */
.item-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #b71c1c;
  color: #fff;
  font-size: 0.8rem;
  width: 42px;
  height: 31px;
  border-radius: 10%;
  font-weight: 600;
}

.category-card .btn {
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 5px 10px;
}

@media(max-width:992px){
  .category-card .card-img { height: 160px; }
}
@media(max-width:576px){
  .category-card .card-img { height: 140px; }
}
/* Paralex section css*/
.parallax-section {
  background-image: url('../images/howwk.png?blur'); /* Replace with your image */
  height: 400px; /* adjust height */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  flex-direction: column;
}

.parallax-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.parallax-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right:0;
  bottom:0;
  background: rgba(0,0,0,0.4); /* optional overlay */
  z-index: 1;
}

.parallax-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.parallax-section p {
  font-size: 1.2rem;
}

@media(max-width:768px){
  .parallax-section {
    background-attachment: scroll; /* parallax doesn't work well on mobile */
    height: 300px;
  }
  .parallax-section h1 {
    font-size: 1.8rem;
  }
  .parallax-section p {
    font-size: 1rem;
  }
}

/* Our Partners*/
.partner-card {
  background: #fff;
  border-radius: 10px;
  padding: 25px 15px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: all .35s ease;
  cursor: pointer;
}

.partner-card img {
  max-width: 100%;
  margin: auto;
  transition: .3s;
}

.partner-card h6 {
  margin-top: 15px;
  font-weight: 600;
}

.partner-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.partner-card:hover img {
  transform: scale(1.1);
}

/* Owl Nav Buttons */
.fancy-social {
  display: flex;
  gap: 5px;
}

.fancy-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #000;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Glow ring */
.fancy-icon::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s;
}

/* Ripple effect */
.fancy-icon::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255,255,255,0.7) 10%, transparent 60%);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.6s, opacity 0.6s;
}

.fancy-icon:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.fancy-icon:hover::after {
  transform: scale(1);
  opacity: 1;
}

/* Brand gradient glow */
.fancy-icon.android::before {
  background: linear-gradient(45deg, #3ddc84, #00c853);
}
.fancy-icon.ios::before {
  background: linear-gradient(45deg, #000, #555);
}
.fancy-icon.facebook::before {
  background: linear-gradient(45deg, #1877f2, #42a5f5);
}
.fancy-icon.youtube::before {
  background: linear-gradient(45deg, #ff0000, #ff5252);
}
.fancy-icon.linkedin::before {
  background: linear-gradient(45deg, #0a66c2, #4dabf7);
}

.fancy-icon:hover::before {
  opacity: 1;
}

/* Icon colors */
.fancy-icon.android i { color: #3ddc84; }
.fancy-icon.ios i { color: #000; }
.fancy-icon.facebook i { color: #1877f2; }
.fancy-icon.youtube i { color: #ff0000; }
.fancy-icon.linkedin i { color: #0a66c2; }


  .text-wrapper {
  width: 250px;              /* adjust width */
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.text-wrapper span {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Scroll effect only if text is long */
.scroll-on-hover:hover span {
  animation: scroll-text 6s linear infinite;
}

@keyframes scroll-text {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.partner-card {
  background: #fff;
  border-radius: 10px;
  padding: 25px 15px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: all .35s ease;
  cursor: pointer;
  height: 290px;
  max-height: 300px;
  margin-bottom: 3%;
}

.partner-card img {
  max-width: 100%;
  margin: auto;
  transition: .3s;
}

.partner-card h6 {
  margin-top: 15px;
  font-weight: 600;
}

.partner-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.partner-card:hover img {
  transform: scale(1.1);
}

/* Owl Nav Buttons */
.partner-slider .owl-nav button {
  position: absolute;
  top: 40%;
  background: #000 !important;
  color: #fff !important;
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.partner-slider .owl-nav .owl-prev {
  left: -20px;
}

.partner-slider .owl-nav .owl-next {
  right: -20px;
}

.partner-slider .owl-nav button:hover {
  background: #ff6b00 !important;
}

/*business state list page css*/
.placeholder-bg-section {
  position: relative;
  background: url("../images/placeholder.jpg") center/cover no-repeat;
  padding: 50px 0;
}

.placeholder-bg-section .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.placeholder-bg-section .container {
  position: relative;
  z-index: 2;
}

.placeholder-content h2 {
  font-weight: 700;
  letter-spacing: 1px;
}

.placeholder-content p {
  font-size: 16px;
  opacity: 0.9;
}

.country-card {
  position: relative;
  text-align: center;
  padding: 15px 10px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.country-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/*.country-card img {
  width: 40px;
}
*/
.country-card p {
  margin-bottom: 0;
  font-weight: 600;
  font-size: 14px;
}

/* Count Circle */
.count-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #207c1a, #b71c1c);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(13,110,253,0.4);
}


.fancy-search {
  position: relative;
  background: rgba(255,255,255,0.9);
  border-radius: 50px;
  padding: 10px 18px 10px 45px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transition: 0.3s ease;
}

.fancy-search:hover {
  transform: translateY(-2px);
}

.fancy-search i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #0d6efd;
}

.fancy-search input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  padding: 8px 0;
}

.fancy-search input::placeholder {
  color: #888;
}

/* Focus glow */
.fancy-search:focus-within {
  box-shadow: 0 12px 35px rgba(13,110,253,0.35);
}
/*CIty page css*/
.fancy-search {
  position: relative;
  background: #fff;
  border-radius: 50px;
  padding: 12px 20px 12px 45px;
}

.fancy-search i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
}

.fancy-search input {
  border: none;
  width: 100%;
  outline: none;
}

/* Card */
.company-item {
  border-radius: 14px;
  transition: 0.3s;
}

.company-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.company-logo {
  max-height: 90px;
}

/* Text */
.company-title a {
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
}

.company-link a {
  color: #0d6efd;
  font-size: 15px;
}

.company-address {
  font-size: 16px;
  color: #555;
}

.company-location {
  font-size: 16px;
}

.city { font-weight: 600; }
.state { color: #666; }
.country { color: #999; margin-left: 5px; }

/* Pagination */
.pagination {
  gap: 6px;
}

.pagination .page-link {
  border-radius: 8px;
  padding: 6px 14px;
}

.pagination .active .page-link {
  background: linear-gradient(135deg,#0d6efd,#4c8dff);
  border: none;
  color: #fff;
}

