@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;1000&display=swap");

* {
  font-family: "Nunito", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 10px 40px;
  background: #47baf0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/*  Logo */
.logo-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: rgb(241, 10, 10);
}
/*  Search*/
#search-button a {
  margin-left: 1px;
}

#search-button:hover {
  background-color: white;
  color: #007bff;
}

#nav-button {
  padding: 8px 16px;
  color: #007bff;
  background-color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

#nav-button a {
  margin-left: 1px;
}

#nav-button a:hover {
  color: white;
}

#nav-button:hover {
  color: white;
  background-color: #007bff;
}

.search-bar {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  align-items: center;
}

#search-input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 300px;
  font-size: 14px;
}

#search-button {
  padding: 8px 16px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

/*  Nav */
.nav-bar {
  font-family: Calibri;
}

/* Dropdown Styling */
.nav-bar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
  align-items: center;
}


.nav-bar ul li {
  position: relative;
}

.nav-bar .dropdown-content {
  display: none;
  position: absolute;
  background-color: #eec3d0;
  min-width: 180px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  top: 100%;
  left: 0;
}

.nav-bar .dropdown-content li {
  display: block;
}

.nav-bar .dropdown-content li a {
  color: white;
  padding: 10px 16px;
  display: block;
  text-decoration: none;
}

.nav-bar .dropdown-content li a:hover {
  background-color: #b17993;
}

.nav-bar .dropdown:hover .dropdown-content {
  display: block;
}

.dropbtn {
  cursor: pointer;
}

.navdiv {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-bar a {
  position: relative;
  font-size: 15px;
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
  margin-left: 10px;
}

.nav-bar a::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: 0.3s;
}

.nav-bar a:hover::before {
  width: 100%;
}


.hamburger-menu {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 15px;
  z-index: 10;
  color: white;
}


.mobile-dropdown {
  position: absolute;
  top: 60px;
  right: 0;
  max-width: 75vw;
  width: 100%;
  background-color: #47baf0;
  border-radius: 0 0 10px 10px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  max-height: 0;
  padding: 0 15px;
  transition: max-height 0.4s ease, padding 0.3s ease;
  z-index: 9;
}

.mobile-dropdown.open {
  max-height: 50vh; 
  overflow-y: auto; 
  padding: 15px;
}

.mobile-nav-bar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-nav-bar li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav-bar ul li a {
  display: block;
  text-decoration: none;
  color: white;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.3s;
}

.mobile-nav-bar ul li a:hover {
  background-color: #3aa5d2;
}

/* DROPDOWN INSIDE MENU (like Register Business) */
.mobile-dropdown-content {
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-top: 5px;
  padding-left: 10px;
  transition: max-height 0.3s ease;
}
/* When submenu is open */
.mobile-dropdown-content.open {
  max-height: 1000px; /* high enough for full list */
}
/* Optional: icon rotation */
.mobile-dropbtn.toggle-open::after {
  content: " ▴";
}
.mobile-dropbtn::after {
  content: " ▾";
}


.mobile-dropdown-content li a {
  font-size: 0.95rem;
  padding: 6px 10px;
  color: #555;
}

/* SIGN IN / SIGN UP BUTTONS */
.mobile-nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.mobile-nav-link button {
  width: 100%;
  padding: 8px;
  font-size: 1rem;
  background-color: #47baf0;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.mobile-nav-link button:hover {
  background-color: #349fd1;
}

.dynamic-banner {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
}

/* image and color overlay in one layer */
.dynamic-banner .background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;

  /* Image and color overlay combined */
  background-image:  linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)), url("../icon/bckgrnd.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  animation: cameraMotion 60s ease-in-out infinite alternate;
  filter: blur(0px);
}

.dynamic-banner .hello {
  position: relative;
  z-index: 1;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cameraMotion {
  0% {
    transform: scale(1) translate(0px, 0px) rotate(0deg);
  }
  7% {
    transform: scale(1.01) translate(-3px, 2px) rotate(0deg);
  }
  13% {
    transform: scale(1.02) translate(5px, -1px) rotate(0deg);
  }
  20% {
    transform: scale(1.03) translate(-6px, -3px) rotate(0deg);
  }
  27% {
    transform: scale(1.04) translate(4px, 4px) rotate(0deg);
  }
  33% {
    transform: scale(1.05) translate(-7px, 6px) rotate(0deg);
  }
  40% {
    transform: scale(1.06) translate(8px, -4px) rotate(0deg);
  }
  47% {
    transform: scale(1.04) translate(-9px, -5px) rotate(0deg);
  }
  53% {
    transform: scale(1.03) translate(6px, 3px) rotate(0deg);
  }
  60% {
    transform: scale(1.05) translate(-4px, 7px) rotate(0deg);
  }
  67% {
    transform: scale(1.06) translate(9px, -2px) rotate(0deg);
  }
  73% {
    transform: scale(1.04) translate(-6px, -6px) rotate(0deg);
  }
  80% {
    transform: scale(1.02) translate(3px, 5px) rotate(0deg);
  }
  90% {
    transform: scale(1.01) translate(-2px, -1px) rotate(0deg);
  }
  100% {
    transform: scale(1) translate(0px, 0px) rotate(0deg);
  }
}


.banner-viewport {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* Clipping area */
  z-index: 0;
  pointer-events: none; /* Prevent any accidental clicks */
}

/*  Banner */
.hello {
  height: 451px;
  position: relative;
  padding: 2px;
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  text-align: center;
}

.hello h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.responsive-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  width: 100%;
}

img {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.image-wrapper {
  position: relative;
  justify-content: center;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  margin: 5x;
  flex: 1 0 50%;
  max-width: 100%;
  padding: 0 5px;
  flex-basis: 25%;
}
.floating-image {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.75);
  z-index: 10;
  height: 300px; /* Adjust as needed */
  pointer-events: none; /* Avoid blocking clicks */
  opacity: 0.95;
}

.floating-image.left {
  left: 0;
  margin-left: 60px;
}

.floating-image.right {
  right: 0;
  margin-right: 20px;
}

/* Optional: Responsive */
@media (max-width: 768px) {
  .floating-image {
    height: 180px;
    opacity: 0.6;
  }
}
.content-wrapper {
  text-align: center;
  flex-basis: 50%;
  animation: fadeIn 1.5s ease-in-out;
}
.content-wrapper form {
  margin-top: 20px;
  
}
.content-wrapper h3 {
  color: #f1f1f1;
 /*  text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff;  */
  padding: 10px;
  display: inline-block;
  font-size: 24px;
  margin-bottom: 10px;
}

.content-wrapper h1 {
  font-weight: 600;
  font-size: 36px;
  margin-bottom: 20px;
  color: #ffffff;
   /*  text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff;  */
  padding: 10px;
  display: inline-block;
}

                              /*  HotDeal */

.hotcontainer {
  width: 100%;
  margin: 0 auto;
  padding: 1rem 0.5rem;
  overflow-x: auto;
  overflow: hidden;
  position: relative;
}

.hotcontainer::-webkit-scrollbar {
  width: 0;
}

.hotcontainer .title {
  font-size: 1.5rem;
  color: #007bff;
  text-transform: uppercase;
  text-align: center;
  margin-top: 10px;
  animation: hotDealsFlash 2s ease-in-out infinite;
  text-shadow: 0 0 5px rgba(255, 0, 0, 0.5), 0 0 2px rgba(255, 0, 0, 0.3);
}

.input-group input {
  display: block;
  width: 100%;
  padding: 8px;
  margin-top: 20 px; /* Space between inputs */
  box-sizing: border-box;
}

@keyframes hotDealsFlash {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  25% {
    transform: scale(1) rotate(-1deg);
    text-shadow: 0 0 2px rgba(255, 0, 0, 0.7);
  }

  50% {
    transform: scale(1) rotate(1deg);
    text-shadow: 0 0 2px rgba(255, 0, 0, 0.6);
  }

  75% {
    transform: scale(1) rotate(0deg);
  }
}

.hotcontainer .item-container {
  display: flex;
  gap: 0.5rem;
  border: 2px solid #f506cd;
  overflow-x: auto;
  animation: scroll-left 250s linear infinite;
  width: max-content;
}

.hotcontainer .item-container .hotitems {
  width: 12rem;
  height: 12rem;
  text-align: center;
  padding: 1rem 0.5rem;
  background: #fff;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  outline: 0.1rem solid #ccc;
  outline-offset: -1.5rem;
  cursor: pointer;
}

.hotcontainer .item-container .hotitems:hover {
  outline: 0.1rem solid #222;
  outline-offset: 0;
}

.hotcontainer .item-container .hotitems img {
  height: 8.5rem;
  width: 8.5rem;
}

.hotcontainer .item-container .hotitems:hover img {
  transform: scale(0.9);
}

.hotcontainer .item-container .hotitems .offer {
  color: #f10404;
  padding: 0.3rem;
  font-size: 1rem;
  font-weight: bold;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

.paused {
  animation-play-state: paused !important;
}

                                            /*  content-area */
body {
  font-family: "Inter", sans-serif;
  margin: 0;
  background-color: #f3f4f6;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}


header h1 {
  font-size: 2.5rem;
  color: #111827;
  font-weight: bold;
}

header p {
  font-size: 1.1rem;
  color: #6b7280;
  margin-top: 10px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 10px;
}

.card {
  background-color: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.card h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 16px;
  color: #4f46e5;
}

form select {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  background-color: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

select:focus {
  border-color: #6366f1;
  outline: none;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.3);
}

.btn.primary:hover {
  background-color: #4338ca;
}

.btn.secondary:hover {
  background-color: #d1d5db;
}

.results-container {
  background-color: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.results-container h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #1f2937;
}

.results-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.text-center {
  text-align: center;
}

.form-select {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  background-color: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  padding: 12px;
  border: none;
  font-weight: bold;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s;
}

.btn.primary {
  background-color: #4f46e5;
  color: white;
}

.btn.secondary {
  background-color: #e5e7eb;
  color: #111827;
}

.result-card {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.result-card:hover {
  transform: translateY(-4px);
}

.result-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  color: #111827;
}

.result-type {
  color: #4f46e5;
  font-weight: 600;
  margin-bottom: 8px;
}

.result-info p {
  font-size: 0.95rem;
  color: #374151;
  margin: 4px 0;
}

.text-error {
  color: #dc2626;
  font-weight: bold;
}

.text-muted {
  color: #6b7280;
  text-align: center;
}

.spinner {
    display: block;
  height: 48px;
  width: 48px;
    border-radius: 50%;
  border: 4px solid #d1d5db;
  border-top-color: #4f46e5;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading {
  text-align: center;
  padding: 20px;
}

-----------------------------------------------
/* Responsive Fixes */
body, .content-area {
  overflow-x: hidden;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background-color: #f7f4f4;
  gap: 5px;
  padding: 10px;
}

.box {
  background-color: #007bff;
  color: white;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
}

.grid-item h2 {
  font-size: 1.2rem;
}

.select-box {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  background-color: #c5c5ca;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
}

.dropdown-group select {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.sale-button a {
  width: auto;
  height: auto;
  display: inline-block;
  padding: 10px 16px;
  margin-top: 8px;
  border: none;
  background-color: #ff00d4;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  margin-top: 10px;
  margin-bottom: 10px;
}

.shop-button button {
  width: auto;
  height: auto;
  display: inline-block;
  padding: 10px 16px;
  margin-top: 8px;
  border: none;
  background-color: #00ff22;
  color: #070707;
  text-align: center;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  margin-top: 10px;
  margin-bottom: 10px;
}

.shop-button button:hover{
  background-color: #57b300;
}

.sale-button a:hover {
  background-color: #2b2023;
}


.grid-item,
.sale-button {
  text-align: center;
}

/*  Footer */
.icon-circle {
  background-color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 4px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  
}

.icon-circle img {
  width: 20px;
  height: 20px;
}


.badge-bg {
  background-color: white;
  border-radius: 12px;
  padding: 6px 12px;
  display: inline-block;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

.badge-bg img {
  height: 30px;
  /* control size explicitly */
  width: auto;
  display: block;
}

footer {
  padding: 20px;
  text-align: center;
  background-color: #007bff;
  color: #fff;
  float: center;
}

.footer-links {
  width: 100%;
  font-weight: normal;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5px;
  /* spacing between icons */
}

.footer-links a {
  font-weight: normal;
}

.footer-links::after {
  content: "";
  display: block;
  clear: both;
}


.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-links ul li {
  display: inline-block;
  line-height: 30px;
  margin: 0 8px;
}

.footer-links ul li a {
  color: #fff;
  font-size: 15px;
  border-radius: 3px;
  text-transform: uppercase;
}

.footer-links ul li a:hover {
  transition: 0.5s;
}

.footer-info::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.5),
      rgba(255, 255, 255, 0));
}


.footer-resources ul li {
  margin-bottom: 10px;
}

.footer-info {
  margin: 20px auto;
  max-width: 600px;
    position: relative;
}

.footer-resources ul,
.footer-social ul {
  list-style: none;
  margin-bottom: 20px;
}

.footer-social ul li {
  display: inline;
  margin-right: 10px;
}

.footer-resources ul li a {
  text-decoration: none;
  color: #fff;
}

/*  Repossesive */

.nav-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  justify-items: center;
}

.footer-links-list li a {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
}

.footer-links-list li a:hover {
  text-decoration: underline;
}



                                      /* New first Page format*/
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background: #f0f0f5;
  }

  .grid-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /*........try.....*/
.grid-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  background-color: #f8f5f7;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
  .grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }

  .grid-item h2 {
    margin: 0;
    padding: 15px;
    color: #fff;
    font-size: 1.3rem;
    width: 100%;
    box-sizing: border-box;
  }

  /* Title bar colors */
  .grid-item:nth-child(1) h2 { background: #4CAF50; border-bottom: 3px solid #388E3C; }
  .grid-item:nth-child(2) h2 { background: #2196F3; border-bottom: 3px solid #1976D2; }
  .grid-item:nth-child(3) h2 { background: #FF9800; border-bottom: 3px solid #F57C00; }
  .grid-item:nth-child(4) h2 { background: #9C27B0; border-bottom: 3px solid #7B1FA2; }
  .grid-item:nth-child(5) h2 { background: #E91E63; border-bottom: 3px solid #C2185B; }
  .grid-item:nth-child(6) h2 { background: #FF5722; border-bottom: 3px solid #E64A19; }
  .grid-item:nth-child(7) h2 { background: #3F51B5; border-bottom: 3px solid #303F9F; }
  .grid-item:nth-child(8) h2 { background: #00BCD4; border-bottom: 3px solid #0097A7; }
  .grid-item:nth-child(9) h2 { background: #FFC107; border-bottom: 3px solid #FFA000; }


  /* Left panel with gradient backgrounds and borders */
  

  .left-panel {
    width: 250px;
    background: #ffffffaa;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px;
    height: 550px;
    overflow-y: auto;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}
  /* Gradient backgrounds for left panels */
  .grid-item:nth-child(1) .left-panel { background: linear-gradient(135deg, #81C784, #4CAF50); border-color: #4CAF50; }
  .grid-item:nth-child(2) .left-panel { background: linear-gradient(135deg, #64B5F6, #2196F3); border-color: #2196F3; }
  .grid-item:nth-child(3) .left-panel { background: linear-gradient(135deg, #FFB74D, #FF9800); border-color: #FF9800; }
  .grid-item:nth-child(4) .left-panel { background: linear-gradient(135deg, #BA68C8, #9C27B0); border-color: #9C27B0; }
  .grid-item:nth-child(5) .left-panel { background: linear-gradient(135deg, #F06292, #E91E63); border-color: #E91E63; }
  .grid-item:nth-child(6) .left-panel { background: linear-gradient(135deg, #FF8A65, #FF5722); border-color: #FF5722; }
  .grid-item:nth-child(7) .left-panel { background: linear-gradient(135deg, #7986CB, #3F51B5); border-color: #3F51B5; }
  .grid-item:nth-child(8) .left-panel { background: linear-gradient(135deg, #4DD0E1, #00BCD4); border-color: #00BCD4; }
  .grid-item:nth-child(9) .left-panel { background: linear-gradient(135deg, #FFD54F, #FFC107); border-color: #FFC107; }

  .left-panel button,
  .left-panel a {
    padding: 8px;
    border-radius: 6px;
    border: none;
    background: #fff;
    color: #333;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .left-panel button:hover,
  .left-panel a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }

  .right-panel {
    flex: 1;
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    overflow-x: auto;
    gap: 10px;
  }

  .icon-row {
    display: flex;
    gap: 10px;
    min-width: max-content;
  }

  .icon-row div {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    background: #e0e0e0;
  }

  .icon-row div:hover {
    transform: scale(1.2);
    background: #d0f0fd;
  }

  .icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

a div {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  margin: 5px;
  background: #f3f3f3;
  cursor: pointer;
}

.icon-card {
  text-decoration: none;
}

.icon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px;
  height: auto;
}

.icon {
  width: 55px;
  height: 55px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.icon-name {
  margin-top: 40px;   /* space below image */
  font-size: 12px;
  font-weight: 600;
  color: #333;
  text-align: center;
  line-height: 1.2;
}

/* Scroll*/

/*Grouping*/
.grid-body {
    height: 550px;
    display: flex;
    gap: 10px;
    padding: 10px;
}

/* LEFT PANEL */


.reg-btn {
    width: 100%;
    padding: 12px;
    background: #007bff;
    border: none;
    color: white;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    cursor: pointer;
}

.reg-btn:hover {
    background: #0056d2;
}

/* GROUP LIST */
.shop-group-list div,
.off-group-list div,
.serv-group-list div,
.fac-group-list div,
.equip-group-list div,
.fundi-group-list div,
.real-group-list div,
.won-group-list div {
    background: #f2f2f2;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 15px;
}

.shop-group-list div:hover,
.off-group-list div:hover,
.serv-group-list div:hover,
.fac-group-list div:hover,
.equip-group-list div:hover,
.fundi-group-list div:hover,
.real-group-list div:hover,
.won-group-list div:hover {
    background: #e5e5e5;
    transform: translateX(5px);
}


.group-active {
    background: #007bff !important;
    color: white !important;
    transform: translateX(5px);
}

/* RIGHT PANEL */
.right-panel {
    flex: 1;
    height: 550px;
    overflow-y: auto;
    background: #ffffffaa;
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

/* ICON GRID */
.icon-area {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 18px;
}

/* ICON CARD */
.icon-card {
    text-decoration: none;
}

.icon-container {
    background: white;
    border-radius: 15px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
    transition: 0.3s;
    transform: scale(1);
    animation: fadeSlide 0.4s ease;
}

.icon-container:hover {
    transform: scale(1.07);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
}

.icon-name {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
}

/* ANIMATION */
@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Register button */
.reg-btn {
    background: #28a745;
    color: #fff;
    padding: 14px 26px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
    transition: 0.3s ease;
}

.reg-btn:hover {
    background: #1f8a39;
    box-shadow: 0 6px 14px rgba(40, 167, 69, 0.5);
    transform: translateY(-3px);
}



/* JOB APPLICATION */
.job-button a {
  width: auto;
  height: auto;
  display: inline-block;
  padding: 16px 16px;
  margin-top: 8px;
  border: none;
  background-color: #6a05ee;
  color: #fff;
  text-align: center;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Job section container */
.jobapp {
    width: 100%;
    overflow: hidden;
    margin: 10px 0;
    position: relative;
}

/* Moving button */
.job-button {
    display: inline-block;
    animation: swingX 30s ease-in-out infinite;
}

/* Button styling */
.job-button a {
    display: inline-block;
    padding: 14px 32px;
    background: #ff6600;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 20px;
    white-space: nowrap;
}

/* Horizontal swing animation */
@keyframes swingX {
    0% {
        transform: translateX(-120%);
    }
    50% {
        transform: translateX(calc(100vw - 100%));
    }
    100% {
        transform: translateX(-120%);
    }
}


.job-button:hover {
    animation-play-state: paused;
    
}

/* Google Maps */

.location-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.map-btn {
    font-size: 13px;
    padding: 4px 8px;
    background: #1a73e8;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}

.map-btn:hover {
    background: #1558b0;
}





