/* End Images */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
  /* overflow: hidden; */
}

:root {
  --white: #ffffff;
  --light: #f9fbfd;
  --primary: #f26332;
  --dark: #26272c;
  --text: #26272c;
}

body {
  font-family: "Questrial";
  font-size: 16px !important;
  line-height: 24px;
  color: var(--dark);
  font-weight: 500;
  padding-top: 85px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins";
  color: var(--dark);
  margin: 0 0 1rem;
}

.highlight {
  color: var(--primary);
}

.img-responsive {
  width: 100%;
  height: auto;
}

.br-15 {
  border-radius: 5px;
}

h1 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2em;
}

h2 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3em;
}

body p {
  color: var(--text);
  margin-bottom: 1.5em;
  font-weight: 500;
}

a {
  color: var(--primary);
}

ul,
ol {
  list-style: none;
  padding: 0;
}

ul li,
ol li {
  line-height: 1.5em;
}

.admin-bar #myheader {
  top: 32px;
  /* Adjust for admin bar height */
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.container-fluid {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

#myheader {
  position: fixed;
  width: 100%;
  top: 0px;
  z-index: 99;
  box-shadow: 0 0 18px 5px #00000012;
  padding: 16px 15px;
  margin: 0;
  background-color: var(--white);
}

.default_btn {
  font-family: "Poppins";
  background-color: var(--primary);
  color: var(--white);
  text-decoration: none;
  padding: 12px 25px;
  border-color: var(--primary);
  border-width: 1px;
  border-style: solid;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: none;
  text-shadow: none;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  justify-content: center;
  cursor: pointer;
}
.default_btn i {
  display: inline-block;
  margin-left: 5px;
}

.default_btn:hover {
  opacity: 0.8;
}

.default_btn.btn-dark {
  background-color: var(--dark);
  border-color: var(--dark);
}

/* .default_btn:hover {
  background-color: #fff;
  color: var(--dark);
} */

.light-gradient {
  background: linear-gradient(to right, #f26332 0%, #ff915b 100%);
  color: #fff;
  transition: all 0.3s ease;
}

.light-gradient:hover {
  background: linear-gradient(to right, #ff915b, #f26332);
}

#myheader .default_btn i {
  margin-left: 0;
  margin-right: 5px;
}

/* Utility Classes */

.text-center {
  text-align: center;
}

.align-center {
  align-items: center;
}

.align-strech {
  align-items: stretch;
}

.flex-end {
  display: flex;
  justify-content: flex-end;
}

.grid {
  display: grid;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gap-20 {
  gap: 20px;
}

.gap-30 {
  gap: 30px;
}

.gap-40 {
  gap: 40px;
}

.logo {
  width: 250px;
}

.logo a {
  display: flex;
}

.logo img {
  width: 100%;
  height: auto;
}

.menu-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.navigation-links {
  display: flex;
  gap: 30px;
  margin-right: 30px;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.navigation-links > li > a {
  color: var(--dark);
  cursor: pointer;
  height: inherit;
  display: flex;
  align-items: center;
  padding: 0;
  transition: all 0.3s ease;
  font-size: 17px;
  font-weight: 500;
  gap: 8px;
}

.navigation-links > li > a:hover {
  color: var(--primary);
}

.menu-item {
  position: relative;
  padding: 8px 0;
}

.sub-menu {
  display: none;
}
.menu-item:hover {
  .sub-menu {
    display: block;
  }
}

.sub-menu li {
  padding: 0;
  a {
    background: #fff;
    padding: 8px 16px;
    color: var(--text);
    font-size: 16px;
    display: block;
  }
  &:hover {
    a {
      background: var(--text);
      color: var(--white);
    }
  }
}

.menu-item .sub-menu {
  position: absolute;
  left: -30px;
  right: 0;
  width: 170px;
  top: 40px;
}

/* Dropdown Menu Styles */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 10rem;
  /* box-shadow: 0 8px 16px 5px rgba(0, 0, 0, 0.1); */
  border-radius: 25px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.navigation-links > li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu {
  box-shadow: none;
  padding: 25px 15px;
  margin: 0;
  background-color: #ffffff;
  border-color: var(--primary);
  border-width: 1px;
  border-style: solid;
  max-width: 950px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 20px;
}

.mega-menu .menu-blurb {
  display: flex;
  align-items: flex-start;
  padding: 10px;
}

.mega-menu .menu-blurb p {
  margin-bottom: 0;
}

.mega-menu h4 {
  font-size: 20px;
  margin-bottom: 10px;
  line-height: 1.2em;
  font-family: "Lato";
  font-weight: 600;
}

.mega-menu h4 a {
  color: var(--dark);
}
.mega-menu h4:hover a {
  text-decoration: underline;
}

.mega-menu .img-box {
  width: 50px;
  height: 50px;
  /* overflow: hidden; */
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  margin-right: 15px;
  border-radius: 50%;
}

.mega-menu .img-box img {
  display: block;
  width: 30px;
}

.image-blurb img {
  max-width: 100%;
  /* width: 268px; */
  margin-bottom: 10px;
  border-radius: 10px;
}

.dropdown-item {
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item a {
  display: block;
  padding: 12px 20px;
  color: var(--dark);
  transition: all 0.3s ease;
  font-size: 14px;
}

.dropdown-item a:hover {
  background-color: #fff;
  color: var(--primary);
}

/* Dropdown Arrow Icon */
.dropdown-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.navigation-links > li:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--dark);
  padding: 10px;
}

/* Footer CSS  */

#myfooter {
  background-color: var(--dark);
}

#myfooter .footer-main {
  margin-top: 0;
  margin-bottom: 0;
  padding: 60px 0 40px;
  width: 100%;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.footer-logo .logo {
  max-width: 250px;
}

.footer-logo .logo {
  margin-bottom: 15px;
}

.footer-links * {
  color: #fff;
}

.social-icons-container .social-icon {
  width: 2.5rem;
  padding: 1rem;
}
.social-icons-container .social-icon img {
  height: 20px;
  width: 20px;
  filter: brightness(5);
}

.ql-title {
  font-size: 24px !important;
  line-height: 1.3em;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul li a {
  color: var(--white);
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 10px;
  display: inline-block;
}

.social-icons-container {
  display: flex;
}

#myfooter .copyright-sec {
  margin-top: 0;
  padding: 20px 15px;
  text-align: center;
}

.copyright-sec {
  display: flex;
  justify-content: space-between;
}

.copy-text,
.powered-by {
  font-size: 14px !important;
  font-weight: 400;
  color: #ededed;
  padding: 10px 0;
}

/* Mobile Styles */
@media (max-width: 768px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 26px;
  }

  .navigation-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    flex-direction: column;
    gap: 0;
    margin-right: 0;
    padding: 20px;
    transition: left 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }

  .navigation-links.active {
    left: 0;
  }

  .mega-menu {
    grid-template-columns: 1fr;
  }

  .navigation-links > li {
    position: relative;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
    border-color: transparent;
  }

  .dropdown-open .dropdown-menu {
    max-height: max-content;
    padding: 20px 10px;
    border-color: var(--primary);
  }
  .navigation-links > li > a {
    padding: 0 0 10px;
  }

  /* .navigation-links > li.dropdown-open .dropdown-menu {
    max-height: 300px;
  } */

  /* .dropdown-item a {
    padding: 10px 20px;
  } */

  .mobile-menu-toggle {
    display: block;
  }

  /* .nav-menu {
    position: relative;
  } */

  .logo img {
    max-width: 80%;
  }

  .nav-menu .default_btn,
  .hero-banner .image-box {
    display: none;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  #myfooter .footer-main {
    grid-template-columns: 1fr;
  }
  .hero-banner .content {
    padding: 50px 0;
  }
  .section {
    padding: 60px 0;
  }
  body {
    padding-top: 60px;
  }
  .cta .grid {
    padding: 40px 30px;
  }
  .cta .flex-end {
    justify-content: center;
  }
  .gap-40 {
    gap: 20px;
  }
  #myheader {
    padding: 16px 0;
  }

  .single-listing-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  #_builder-form {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .partners-grid-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    .heading-gb,
    .img-box {
      justify-content: center;
      h3 {
        margin-bottom: 10px;
      }
    }
  }
  .partners-sec {
    padding: 20px 0;
  }

  .menu-item .sub-menu {
    position: static;
    width: auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  .ql-title {
    font-size: 20px !important;
  }
  .footer-links ul li a {
    font-size: 16px;
  }
  .cta .grid {
    padding: 30px 20px;
  }
  #myfooter .footer-main {
    gap: 25px;
  }
  #myfooter .copyright-sec {
    padding: 20px 0;
    flex-direction: column;
  }
  .copy-text {
    padding: 0;
  }
}

.main {
  padding: 80px 0;
}

.listing-wrapper {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .listing-wrapper {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 24px;
  }

  .main {
    padding: 60px 0;
  }
}

.gallery-main {
  display: flex;
}

.gallery-main img {
  width: 100%;
  margin: auto;
  max-height: 500px;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  object-fit: contain;
}

.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.gallery-thumbs img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 6px;
  transition: border-color 0.25s ease;
}

.gallery-thumbs img.active,
.gallery-thumbs img:hover {
  border-color: #ff6a00;
}

.no-gallery {
  background: #fafafa;
  padding: 2rem;
  border-radius: 6px;
  text-align: center;
  color: #888;
  border: 1px dashed #ddd;
}

.listing-details h1 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.75rem;
  color: #26272c;
  line-height: 1.2;
}

.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.listing-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f7f7f7;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid #e0e0e0;
}

.listing-meta .meta-label {
  font-size: 0.75rem;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
}

.listing-price {
  font-size: 1.9rem;
  font-weight: 700;
  color: #e65500;
  margin-bottom: 20px;
}

.listing-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

.fallback-content {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 6px;
  text-align: center;
  color: #666;
  font-size: 1rem;
}
