/* Global styles here */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
  background-color: #fff;
  color: #202124;
}

/* ==========================
   GoogleAB Branding & Logo Begin
=========================== */
.logo-wrapper {
  display: block;
  margin-bottom: -2px;
  margin-top: 5px;
}

.google-style {
  display: block; /* Ã¢Å“â€¦ Forces it to occupy full width */
  font-size: 36px;
  font-weight: bold;
  font-family: "Product Sans", Arial, sans-serif;
  text-decoration: none;
}
/* ==========================
   GoogleAB Branding & Logo End
=========================== */

/* ==========================
   CSE Search Box Styling Begin
=========================== */
/* Searchbox Style Begin */
.searchbox {
  display: inline-block;
    padding-top: 5px;
    padding-bottom:0px;
    padding-left: 3px;
    padding-right: 2px;
  margin-bottom:-4px;
  margin-top: 0px;
  color:rgb(32, 33, 36);
box-shadow: 0 10px 8px 0 rgba(0, 0, 0, 0.2); 
background-color: transparent; 
box-shadow: 0 8px 5px 0 rgba(0, 0, 0, 0.2);
  background-color: white;
  border-radius: 10px;
  border: 0px solid #BBC2CC;
text-align: center; 
font-family: Google Sans Text&quot;, Arial, Helvetica, sans-serif;
font-size: 24px;
max-width: 95% !important;
}

/* Make the search box compact */
.gsc-input {
    width: auto; /* Adjust width */
    height: auto;
    font-size: 14px;
}

/* Makes the Google Search box background transparent Begin */
.gsc-control-cse {
    border-color: transparent !important; 
    background-color: transparent !important; 
    max-width: 350px !important; /* Adjust width as needed */
    padding: 0.4em !important; /* Reduced padding */
    padding-bottom: 0.0em !important; /* Reduced padding */
    padding-top: 0.1em !important; /* Reduced padding */
    margin: auto; /* Centers the box */
    margin-top: 0.0em !important; /* Reduced padding */
    margin-left: 0.0em !important; /* Reduced mkargin */
    margin-right: 0.2em !important; /* Reduced mkargin */
}
/* Ensures input field inside search box is also transparent */
input.gsc-input {
    background-color: transparent !important;
    color: rgb(32, 33, 36);
  padding-left: 0.0em !important; /* Reduced padding */
  padding-right: 0.0em !important; /* Reduced padding */
  padding-top: 0.0em !important; /* Reduced padding */
  padding-bottom: 0.0em !important; /* Reduced padding */
  margin-left: 0.0em !important; /* Reduced mkargin */
  margin-right: 0.0em !important; /* Reduced mkargin */
  margin-top: 0.0em !important; /* Reduced padding */
  margin-bottom: 0.0em !important; /* Reduced padding */
}
/* Optional: Customize the border color of the search input field */
.gsc-input-box {
    border: 2px solid #BBC2CC !important;
    border-radius: 10px;
  padding: 0.0em !important; /* Reduced padding */
  padding-left: 0.1em !important; /* Reduced padding */
  padding-right: 0.0em !important; /* Reduced padding */
  padding-top: 0.0em !important; /* Reduced padding */
  padding-bottom: 0.0em !important; /* Reduced padding */
  margin-left: 0.0em !important; /* Reduced mkargin */
  margin-righ: 0.0em !important; /* Reduced mkargin */
  margin-top: -0.2em !important; /* Reduced padding */
  margin-bottom: 0.0em !important; /* Reduced padding */
}
/* Makes the Google Search box background transparent End */

/* Style the search button */
.gsc-search-button {
    height: 35px !important;
}

/* Narrow the search result container */
.gcse-search-results {
    max-width: 90% !important;
    margin-left: 0 !important; /* Shift to the left */
    margin-right: auto !important; /* Prevent centering */
}

/* Transparent search results background and make search results stylish */
.gsc-results-wrapper-visible {
    background: rgba(255, 255, 255, 0.9) !important; /* Light white transparency */
    position: absolute;
    top: 110px; /* Adjust based on header */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px; /* Limits width for a clean view */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: left !important;
}

/* Ensure mobile responsiveness */
@media (max-width: 600px) {
    .gsc-results-wrapper-visible {
        width: 82%;
        max-width: 100%;
        top: 100px;
    }
}

@media (max-width: 600px) {
  /* Make logo smaller on mobile */
  .google-style {
    font-size: 28px;
    margin-bottom: 0px;
  }

  /* Reduce margin for logo */
  .logo-wrapper {
    margin-bottom: 0px;
    margin-top: 5px;
  }

/* Mobile Compact the searchbox */
  .searchbox {
    font-size: 16px;
    padding-top: 5px;
    padding-bottom:0px;
    padding-left: 3px;
    padding-right: 2px;
    margin: 0px;
    margin-top: 0px;
    max-width: 72% !important;
    border-radius: 8px;
  }

  /* Compact input box and controls */
  .gsc-control-cse {
    max-width: 100% !important;
    padding: 0.2em !important;
  }

  input.gsc-input {
  font-size: 16px !important;  /* Ã°Å¸â€˜Ë† Prevent zoom on mobile */
  }

  .gsc-input-box {
    border-radius: 6px;
  }

  .gsc-search-button {
    height: 32px !important;
  }
}
/* Searchbox Style End */
/* ==========================
   CSE Search Box Styling End
=========================== */

/* ==========================
   Just Dial Style Header & Search Box Begin
=========================== */
/* Base Reset */
* {
  box-sizing: border-box;
    margin: 0;
  padding: 0;
}

/* Header Container */
.header-bar {
  background: #fff;
  margin-left: 0px;
  border-bottom: 1px solid #ddd; /* visible bottom border */
  position: sticky;
  top: 0;
  padding-left: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 8px;
  padding-bottom: 8px;
}

/* Logo */


.horji_logo {
  margin-left: -20px;
  display: flex;
  align-items: center;
}

.horji_logo img {
  height: 38px;
  vertical-align: middle;
}

/* Search Form */
.jd-header-search {
  display: flex;
  gap: 10px;
  flex: 1;
  margin: 0 0px;
  max-width: 500px;
}

/* Common Box Style */
.jd-box {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #000;
  border-radius: 6px;
  padding: 0px 5px;
  position: relative;
  flex: 1;
  max-width: 100%;
}

/* Location Box */
.jd-location {
  max-width: 220px;

}

.jd-location input,
.jd-query input {
  border: none;
  outline: none;
  font-size: 17px;
  width: 100%;
  background: transparent;
  padding-left: 5px;
  line-height: 2.0;
}

/* Location Icon */
.jd-icon-left {
  width: 22px;
  height: 22px;
}

/* Query Box Specifics */
.jd-query {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
}

/* Mic Icon */
.jd-mic-icon {
  width: 24px;
  height: 26px;
  margin-left: 5px;
  cursor: pointer;
}

/* Search Button */
.jd-search-btn {
  background: #ff5b00;
  border: none;
  border-radius: 6px;
  margin-left: 5px;
  cursor: pointer;
  margin-top: 3px;
  margin-bottom: 3px;
  width: 36px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jd-search-btn img {
  width: 16px;
  height: 16px;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .jd-header-search {
    flex-direction: column;
    width: 100%;
    margin: 10px 0;
    gap: 8px;
  }

  .jd-location,
  .jd-query {
    width: 100%;
  }

  .header-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
  }

  .logo img {
    height: 32px;
  }

  .login-btn {
    margin-top: 5px;
  }
}


/* Language Switcher Begin */
.language-switcher {
  position: relative;
  display: inline-block;
  font-family: 'Segoe UI', sans-serif;
  margin-left: -4px; /* Custom spacing */
  padding-left: 0px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 4px;
  padding: 0px 0px;
}

.lang-icon {
  width: 20px;
  height: 30px;
}

.lang-code {
  font-size: 15px;
  color: #007bff;
  font-weight: 400;
}

.lang-arrow {
  width: 18px;
  height: 16px;
  stroke: #007bff;
  margin-top: 3px;
  margin-left: -5px;
  margin-right: -5px;
}

/* Dropdown menu */
.lang-dropdown {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 999;
  padding: 0px 0;
  min-width: 30px;
}

.lang-dropdown li {
  list-style: none;
  padding: 8px 8px;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  cursor: pointer;
  white-space: nowrap;
}

.lang-dropdown li:hover {
  background-color: #f1f1f1;
}
/* Language Switcher End */

/* Hiring Banner Begin */
.hiring-banner {
  display: inline-flex;
  align-items: center;
  padding: 0px 4px;
  background: #fff;
  border: 1px solid #000;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  box-shadow: 0 0 0 1px #e0e0e0 inset; /* subtle inset border like Justdial */
  transition: all 0.2s ease;
  margin-left: 0px; /* spacing from language switcher */
  margin-right: -5px; 
}

.hiring-icon {
  width: 20px;
  height: 30px;
  margin-right: 2px;
  filter: grayscale(100%) brightness(0.4); /* muted icon tone */
}
/* Hiring Banner End */

/* Lead Icon Begin */
.leads-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
  text-decoration: none;
  color: #000;
  font-size: 14px;
}

.leads-icon-wrapper {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 30px;
}

.leads-icon {
  width: 100%;
  height: auto;
  display: block;
}

.notification-dot {
    position: absolute;
    content: "";
    top: 5px;
    right: -2px;
    width: 8px;
    height: 8px;
    background-color: red;
    border-radius: 100%;
    border: 1px solid #fff;
}
/* Lead Icon End */

/* Advertise Icon Begin */
.advertise-icon {
  display: inline-flex;
  align-items: center;     
  gap: 0px;                  
  position: relative;
  text-decoration: none;
  color: #000;                
  font-size: 14px;           
  margin-left: -3px;
  transition: color 0.3s ease;
}

.advertise-icon:hover {
  color: #000;
}

.advertise-icon-wrapper {
  position: relative;
  width: 26px;
  height: 26px;
  margin-bottom: 0px;
}

.advertise-img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

/* Animated sound lines */
.wave {
  position: absolute;
  bottom: 5px;              /* नीचे से position */
  right: 0px;
  width: 4px;
  height: 8px;              /* Initial height */
  background-color: #007bff;
  opacity: 0.5;
  border-radius: 1px;
  animation: soundWaveDown 1s infinite ease-in-out;
  transform-origin: bottom;
}

.wave1 {
  transform: translateX(5px);
  animation-delay: 0s;
}
.wave2 {
  transform: translateX(8px);
  animation-delay: 0.15s;
}
.wave3 {
  transform: translateX(11px);
  animation-delay: 0.3s;
}

@keyframes soundWaveDown {
  0%, 100% {
    height: 4px;
    opacity: 0.2;
  }
  50% {
    height: 15px;
    opacity: 1;
  }
}
/* Advertise Icon End */

/* Business Free Listing Begin */
.free-listing-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  font-family: Arial, sans-serif;
  margin-left: 4px;
}

.business-label {
  background-color: #e52626;
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 1px 5px;
  border-radius: 4px;
  align-items: center;
  text-transform: uppercase;
  margin-bottom: -6px;
  margin-left: 15px;
}

.listing-row {
  display: inline-flex;
  align-items: center;
  gap: 0px;
}

.listing-icon {
  width: 20px;
  height: 30px;
  display: inline-block;
}

.listing-text {
  color: #000;
  font-size: 14px;
  font-weight: 500;
}
/* Business Free Listing End */


/* Bell Icon Ringing Begin */
.bell-wrapper {
  width: 25px;
  height: 30px;
  display: inline-block;
  position: relative;
  margin-left: -5px;
}

.bell-icon {
  width: 100%;
  height: 100%;
  transform-origin: top center;
}

.ringing {
  animation: ringBell 2s infinite;
}

@keyframes ringBell {
  0%   { transform: rotate(0deg); }
  15%  { transform: rotate(15deg); }
  30%  { transform: rotate(-15deg); }
  45%  { transform: rotate(10deg); }
  60%  { transform: rotate(-10deg); }
  75%  { transform: rotate(5deg); }
  100% { transform: rotate(0deg); }
}
/* Bell Icon Ringing End */





.login-register {
  background: #007bff;
  display: inline-block;
  color: white;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  text-decoration: none;
  outline: 0;
  transition: background-color 0.3s ease;
  margin-left: -5px;
}

.login-register:hover {
  background-color: #007bff;
  color: #fff;
}


/* Sticky scrollable header */
.header-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* ==========================
   Just Dial Style Header & Search Box End
=========================== */


/* ============================
   Navigation Menu Begin
============================ */

/* Outer nav wrapper */
.main-nav {
  position: relative;
  margin-top: 0px;
}

/* Menu toggle button (☰) for mobile only */
.menu-button {
  position: fixed;
  top: 10px;
  left: 10px;
  font-size: 38px;
  background: none;
  border: none;
  color: #000000;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  display: block;
}

.menu-button span::before {
  content: "☰";
}

.menu-button.open span::before {
  content: "✖";  /* Cross icon */
  font-size: 28px;
}

/* Menu Slide Out Close With Click Anywhere */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.2);
  z-index: 998;
}

.menu-overlay.active {
  display: block;
}

/* Slide-out menu container */
.main-nav-list-wrapper {
  background: #fff;
}

/* Style the menu list */
.main-nav-list {
  list-style: none;
  margin-top: 10px;
  margin-left: 30px;
  padding: 0;
}

/* Style for each menu item */
.main-nav-list li {
  margin: 0;
  padding: 0;
}

/* Style links */
.main-nav-list li a {
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  color: #4285F4;
}

/* ============================
   Desktop Menu View
============================ */
@media (min-width: 768px) {
  .menu-button {
    display: none;
  }

  .main-nav-list-wrapper {
    display: flex !important;
    justify-content: center;
    padding: 0;
    margin: 0;
    background: #ffffff;
    position: static;
    transform: none !important;
    transition: none;
  }

  .main-nav-list {
    display: flex;
    gap: 25px;
    padding: 0;
    margin: 0;
  }

  .main-nav-list li {
    padding: 0;
    margin: 0;
  }

  .main-nav-list li a {
    display: inline-block;
  }

  /* Hide menu heading on desktop */
  .menu-heading {
    display: none !important;
  }
}

/* ============================
   Mobile Slide Out View
============================ */
@media (max-width: 767px) {
  .main-nav-list-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 180px;
    background-color: #ffffff;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    padding-top: 0;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  }

  .main-nav-list-wrapper.visible {
    transform: translateX(0);
  }

  .menu-heading {
    display: block;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 20px;
    color: #000000;
    border-bottom: 1px solid #ddd;
    background-color: #ffffff;
  }

  .main-nav-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0;
    padding: 10px 20px;
  }
}

/* ============================
   Navigation Menu End
============================ */


/* ============================
   Index.php Main Site Layout Begin
============================ */

.home-intro {
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.home-intro h2 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 12px;
}

.home-intro p {
  font-size: 15px;
  color: #444;
  margin-bottom: 28px;
}

/* Link to Google Fonts (Roboto) */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* Grid Layout */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
  gap: 26px;
  justify-content: center;
  align-items: start;
}

/* Category Box */
.category-box {
  text-decoration: none;
  color: #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Roboto', sans-serif; /* Updated to Roboto */
  transition: none;
}

/* Icon container */
.category-icon {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 14px;
  width: 60px;
  height: 60px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

/* Only hover effect on icon */
.category-box:hover .category-icon {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transform: scale(1.08);
}

/* Icon image styling (removes possible blur effect) */
.category-icon img,
.category-icon svg {
  width: 58px;
  height: 58px;
  object-fit: contain;
  image-rendering: auto; /* Changed from 'crisp-edges' to 'auto' */
}

/* Label styling */
.category-label {
  margin-top: 8px;
  font-size: 16px; /* Increased font size */
  font-weight: 530;
  color: #111;
  text-align: center;
  line-height: 1.2;
  word-break: break-word;
  min-height: 32px; /* Ensures height consistency to prevent text jump */
  font-family: 'Roboto', sans-serif; /* Apply Roboto font family */
}

/* Responsive design */
@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 20px;
  }

  .category-icon {
    width: 60px;
    height: 60px;
    padding: 8px;
  }

  .category-icon img,
  .category-icon svg {
    width: 30px;
    height: 30px;
  }

  .category-label {
    font-size: 14px; /* Slightly smaller font size for mobile */
    min-height: 28px;
  }
}

/* ============================
   Index.php Main Site Layout End
============================ */


/* ============================
   Footer Menu & Style Begin
============================ */
footer {
  border-top: 1px solid #ddd;
  padding: 15px 10px;
  background: #f9f9f9;
  color: #777;
  font-size: 14px;
  margin-top: 30px;
}

footer nav {
  margin-bottom: 8px;
}

footer a {
  color: #5f6368;
  margin: 0 8px;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
/* ============================
   Footer Menu & Style End
============================ */