/* Responsive Carousel Adjustments */
@media (max-width: 767.98px) {
  .carousel-item .row>[class*="col-"] {
    padding: 0 10px;
  }

  .reason-card,
  .blog-card,
  .testimonial-card {
    margin-bottom: 10px;
  }
}

/* Custom styling for multi-item carousel transition if needed */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.2);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1) grayscale(100%) brightness(0);
}

.carousel-indicators [data-bs-target] {
  background-color: var(--primary-dark) !important;
}

/* For dynamic blog carousel on mobile */
@media (max-width: 767.98px) {
  .blog-mobile-carousel {
    display: block !important;
  }

  .blog-desktop-grid {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .blog-mobile-carousel {
    display: none !important;
  }

  .blog-desktop-grid {
    display: flex !important;
  }
}


/* Additional Rounded Elements */
.btn {
  border-radius: 50px !important;
}

.bg-warning {
  background-color: var(--accent-orange) !important;
  color: var(--text-light) !important;
}

.text-warning {
  color: var(--accent-orange) !important;
}

/* === PREMIUM HERO SECTION STYLING === */
.hero-section.bg-primary {
  /* Very light, warm/beige modern interior image */
  background: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') !important;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  overflow: hidden;
}

.hero-section.bg-primary::before {
  display: none !important;
  /* No overlay */
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

/* Updated Text Colors for VERY Light Background */
.hero-title {
  color: #0f172a !important;
  /* Almost Black */
  text-shadow: none !important;
}

.hero-subtitle {
  color: #334155 !important;
  /* Dark Slate Grey */
  font-weight: 500;
}

.hero-section .form-label {
  color: #1e293b !important;
  /* Dark Slate */
  font-weight: 600;
}

border-bottom-left-radius: 50px !important;
}

.input-group> :last-child {
  border-top-right-radius: 50px !important;
  border-bottom-right-radius: 50px !important;
}

.modal-content {
  border-radius: 20px !important;
}

.progress {
  border-radius: 10px !important;
  overflow: hidden;
}

.progress-bar {
  border-radius: 10px;
}

.list-group-item {
  border-radius: 8px !important;
  margin-bottom: 0.5rem;
}

.alert {
  border-radius: 12px !important;
}

.badge {
  border-radius: 20px !important;
  padding-left: 0.75em;
  padding-right: 0.75em;
}

.nav-pills .nav-link {
  border-radius: 50px !important;
}

.nav-tabs .nav-link {
  border-radius: 0 !important;
}

.nav-tabs .nav-link:first-child {
  border-top-left-radius: 10px !important;
}

.nav-tabs .nav-link:last-child {
  border-top-right-radius: 10px !important;
}

.breadcrumb {
  border-radius: 50px !important;
  padding: 0.75rem 1rem;
}

.pagination .page-link {
  border-radius: 8px !important;
  margin: 0 0.2rem;
}

.tooltip-inner {
  border-radius: 8px;
}

.popover {
  border-radius: 12px;
}

.carousel {
  border-radius: 15px;
  overflow: hidden;
}

.carousel-item {
  border-radius: 15px;
  overflow: hidden;
}

.table {
  border-radius: 12px;
  overflow: hidden;
}

.table th:first-child {
  border-top-left-radius: 12px;
}

.table th:last-child {
  border-top-right-radius: 12px;
}

.table tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

.table tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

.img-thumbnail {
  border-radius: 12px !important;
}

.figure {
  border-radius: 12px;
  overflow: hidden;
}

.blockquote {
  border-radius: 12px;
  border-left: 5px solid var(--emerald-green);
}

.card-img {
  border-radius: 15px;
}

.card-img-top {
  border-radius: 15px 15px 0 0;
}

.card-img-bottom {
  border-radius: 0 0 15px 15px;
}

/* Rounded Cards and Improved Buttons */

/* Enhanced Card Styles */
.benefit-card,
.reason-card,
.blog-card,
.testimonial-card,
.tip-card {
  border-radius: 15px !important;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.benefit-card::before,
.reason-card::before,
.blog-card::before,
.testimonial-card::before,
.tip-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), var(--primary-dark));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.benefit-card:hover,
.reason-card:hover,
.blog-card:hover,
.testimonial-card:hover,
.tip-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
  border-color: var(--accent-orange) !important;
}

.benefit-card,
.reason-card,
.blog-card,
.testimonial-card,
.tip-card {
  border: 1px solid #F1F5F9 !important;
  background: #fff !important;
}

.benefit-card:hover::before,
.reason-card:hover::before,
.blog-card:hover::before,
.testimonial-card:hover::before,
.tip-card:hover::before {
  opacity: 1;
}

.reason-card img,
.blog-card img {
  border-radius: 15px 15px 0 0 !important;
  transition: transform 0.3s ease;
}

.reason-card:hover img,
.blog-card:hover img {
  transform: scale(1.05);
}

/* Enhanced Button Styles */
.btn {
  border-radius: 50px !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--accent-orange), var(--primary-dark));
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 26, 47, 0.8), rgba(36, 78, 122, 0.6));
  z-index: 1;
}

.btn:hover::before {
  opacity: 0.1;
}

.btn-warning {
  background-color: var(--accent-orange) !important;
  border-color: var(--accent-orange) !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3) !important;
}

/* --- DITTO HERO REBALANCE (The Property Buying Company / Goodmove Style) --- */

.hero-premium-ditto {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-image: url('https://images.unsplash.com/photo-1570129477492-45c003edd2be?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  padding: 6rem 0;
  overflow: hidden;
}

.hero-premium-ditto::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(36, 78, 122, 0.9) 0%, rgba(36, 78, 122, 0.7) 100%);
  z-index: 1;
}

.hero-premium-ditto .container {
  position: relative;
  z-index: 2;
}

.hero-badge-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 2rem;
  color: #fff;
  font-weight: 600;
}

.hero-badge-trust i {
  color: var(--accent-orange);
}

.h1-mega {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.h1-mega span.text-gradient {
  color: var(--accent-orange);
}

.hero-usp-list {
  margin-bottom: 2.5rem;
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.usp-item i {
  color: var(--accent-orange);
  font-size: 1.1rem;
}

/* Postcode Card */
.postcode-lead-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-label-premium {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  text-align: center;
}

.input-postcode-xl {
  height: 70px !important;
  border-radius: 12px !important;
  border: 2px solid #E2E8F0 !important;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.3s ease !important;
}

.input-postcode-xl:focus {
  border-color: var(--accent-orange) !important;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1) !important;
}

.btn-cta-mega {
  height: 70px;
  background: var(--accent-orange) !important;
  color: #fff !important;
  border-radius: 12px !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 10px 20px -5px rgba(249, 115, 22, 0.5) !important;
  transition: all 0.3s ease !important;
}

.btn-cta-mega:hover {
  background: #EA580C !important;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(249, 115, 22, 0.6) !important;
}

/* Trust Bar */
.trust-bar-ditto {
  background: #fff;
  padding: 1.5rem 0;
  border-bottom: 1px solid #F1F5F9;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.trust-bar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-logo-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.7;
  filter: grayscale(1);
  transition: all 0.3s ease;
}

.trust-logo-item:hover {
  opacity: 1;
  filter: grayscale(0);
}

.trust-logo-item img {
  height: 35px;
}

.trust-logo-item span {
  font-weight: 600;
  color: #475569;
  font-size: 0.9rem;
}

/* --- GOODMOVE STYLE CENTERED HERO --- */

.hero-centered-goodmove {
  position: relative;
  padding: 0 !important;
  /* Remove excess padding to fit in one page */
  text-align: center;
  background-color: var(--primary-dark);
  color: #fff;
  height: 100vh !important;
  /* Force exact viewport height */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background cityscape effect */
.hero-centered-goodmove::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Bright UK residential street (Local) */
  background: url('../hero-image23.png');
  background-size: cover;
  background-position: center center;
  opacity: 1;
  z-index: 1;
}

.hero-centered-goodmove .container {
  position: relative;
  z-index: 5;
}

.hero-title-centered {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-transform: none;

  /* Professional Dark Slate Blue for contrast/elegance */
  color: var(--primary-dark) !important;

  /* Premium Frosted Glass Effect - Very Low Opacity */
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  display: inline-block;
}

/* Response adjustment to allow wrapping on mobile if needed */
@media (max-width: 992px) {
  .hero-title-centered {
    white-space: normal;
  }
}

.hero-subtitle-centered {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 3rem;
  letter-spacing: 0.5px;

  /* Slightly lighter slate for hierarchy */
  color: var(--primary-dark) !important;

  /* Matching Glass Pill - Reduced Opacity */
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 35px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  display: inline-block;
}

.postcode-form-centered {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  background: #fff;
  border-radius: 50px;
  padding: 8px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.input-postcode-centered {
  flex: 1;
  border: none !important;
  height: 65px !important;
  border-radius: 50px 0 0 50px !important;
  padding: 0 2.5rem !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: var(--primary-dark);
  box-shadow: none !important;
}

.btn-get-offer-centered {
  height: 65px;
  padding: 0 3rem !important;
  border-radius: 50px !important;
  background: #cd287c !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 1.1rem !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease !important;
  border: none !important;
}

.btn-get-offer-centered:hover {
  background: #a01f62 !important;
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(205, 40, 124, 0.4) !important;
}

.hero-trust-text {
  margin-top: 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: #0B2545 !important;
  opacity: 0.85;
}

@media (max-width: 991px) {
  .hero-centered-goodmove {
    padding: 0 !important;
    height: 100vh !important;
    min-height: 100vh;
    /* Ensure full height on tablets/mobile */
  }

  .hero-title-centered {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-centered-goodmove {
    padding: 0 !important;
    height: 100vh !important;
    min-height: 100vh;
    /* Force full screen on mobile */
  }

  .hero-title-centered {
    font-size: 1.8rem;
    padding: 0 1rem;
  }

  .hero-subtitle-centered {
    font-size: 1.2rem;
    padding: 0 1rem;
  }

  .postcode-form-centered {
    flex-direction: column;
    background: transparent;
    box-shadow: none;
    padding: 0;
    gap: 1rem;
    width: 90%;
    /* Prevent full width touching edges */
    margin: 0 auto;
  }

  .input-postcode-centered {
    border-radius: 50px !important;
    /* Keep rounded look */
    text-align: center;
    background-color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    width: 100%;
    margin-bottom: 0;
    /* Let gap handle spacing */
    height: 60px !important;
  }

  .btn-get-offer-centered {
    border-radius: 50px !important;
    width: 100%;
    height: 60px;
  }
}

@media (max-width: 768px) {
  .header-top-inner {
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
  }

  .top-bar-divider {
    display: none;
  }

  .top-bar-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
}

@media (max-width: 991px) {
  .h1-mega {
    font-size: 3rem;
    text-align: center;
  }

  .hero-usp-list {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .postcode-lead-card {
    margin-top: 3rem;
  }

  .trust-bar-wrapper {
    justify-content: center;
  }
}

.btn-outline-primary {
  border-color: var(--primary-dark) !important;
  color: var(--primary-dark) !important;
  background-color: transparent !important;
}

.btn-outline-primary:hover {
  background-color: var(--primary-dark) !important;
  color: var(--text-light) !important;
  border-color: var(--primary-dark) !important;
}

/* Enhanced Navbar */
.header-top-bar {
  background-color: #ffffff;
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1600px !important;
  width: 90%;
  margin: 0 auto;
}

.top-info-link {
  color: #cd287c;
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.top-info-link:hover {
  color: #a01f62;
}

.top-bar-divider {
  color: rgba(26, 58, 90, 0.3);
  margin: 0 10px;
}

.top-social-links {
  display: flex;
  gap: 15px;
}

/* Social Media Icons Styling */
.top-social-icon {
  width: 35px;
  height: 35px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  /* Fully rounded */
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.top-social-icon i {
  color: #ffffff !important;
  /* White Icon */
  font-size: 16px;
}

/* Original Brand Colors */
.top-social-icon.facebook {
  background-color: #1877F2 !important;
}

.top-social-icon.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
}

.top-social-icon.linkedin {
  background-color: #0A66C2 !important;
}

.top-social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  filter: brightness(1.1);
}

.top-social-icon:hover i {
  color: #ffffff !important;
}

.worldclass-navbar {
  background-color: var(--primary-dark) !important;
  box-shadow: 0 -10px 30px rgba(31, 41, 55, 0.3) inset;
  padding: 0 0 !important;
  position: sticky;
  top: 0;
  z-index: 10000;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px !important;
  /* Increased height */
}

.nav-wrapper {
  max-width: 1600px !important;
  /* Increased width significantly */
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem !important;
  /* More breathing room at edges */
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-brand img {
  max-height: 80px;
  /* Increased from 100px */
  width: auto;
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: rgb(255, 255, 255) !important;
  font-weight: 700;
  padding: 0.5rem 0.8rem !important;
  margin: 0 0.1rem;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: #ffffff !important;
}

.nav-link:hover::after {
  width: 80%;
}

.dropdown-menu {
  border-radius: 10px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
  border: none;
  padding: 0.5rem 0 !important;
  margin-top: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  padding: 0.5rem 1rem !important;
  transition: all 0.2s ease;
  border-radius: 0 !important;
}

.dropdown-item:hover {
  background-color: rgba(255, 193, 7, 0.1) !important;
  color: var(--accent-yellow) !important;
}

.btn-nav-contact {
  background-color: #cd287c !important;
  color: white !important;
  border: none !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s ease !important;
  font-family: var(--font-heading) !important;
  box-shadow: 0 4px 15px rgba(205, 40, 124, 0.3) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  height: 40px;
}

.btn-nav-contact:hover {
  background-color: #a01f62 !important;
  transform: scale(1.05) translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(205, 40, 124, 0.4) !important;
  color: white !important;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
  transition: all 0.3s ease;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-light) !important;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-toggle:hover span {
  background-color: var(--accent-yellow) !important;
}

/* Mobile Menu Active States */
@media (max-width: 992px) {
  .mobile-toggle {
    display: flex;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  #navMenu:not(.active) {
    display: none !important;
  }

  #navMenu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    padding: 1rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav-link {
    padding: 0.75rem 1rem !important;
    width: 100%;
  }

  .btn-nav-contact {
    width: 100%;
    justify-content: center;
  }

  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    margin-top: 0.5rem;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .dropdown.show .dropdown-menu {
    display: block;
  }
}

/* Additional enhancements for other elements */
.badge {
  border-radius: 50px !important;
  padding: 0.5rem 1rem !important;
}

.form-control {
  border-radius: 50px !important;
  padding: 0.8rem 1.2rem !important;
  border: 2px solid var(--border-gray) !important;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent-yellow) !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25) !important;
}

/* Step cards enhancement */
.step-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  border: 1px solid #F1F5F9;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-orange);
}

.step-number {
  width: 60px;
  height: 60px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .worldclass-navbar {
    height: auto;
    padding: 0.5rem 0 !important;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0.5rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    padding: 1rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    z-index: 1000;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-link {
    padding: 0.75rem 1rem !important;
    width: 100%;
  }

  .btn-nav-contact {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .worldclass-navbar {
    padding: 0.25rem 0 !important;
  }

  .nav-brand img {
    max-height: 100px;
    /* Increased for mobile */
  }

  .nav-wrapper {
    padding: 0 1rem;
  }

  .nav-menu {
    padding: 0.5rem;
  }
}

/* Logo Color Override - Apply #1F2937 color to logos in navbar and footer */
.nav-logo,
.footer-logo {
  filter: brightness(0) invert(1) !important;
}

/* Enhanced Table Responsiveness */
@media (max-width: 768px) {
  .table-responsive {
    border: 0;
    margin-bottom: 0;
  }

  .table thead {
    display: none;
    /* Hide headers on very small screens if desired, or keep for scrolling */
  }

  /* Alternative: modern card-like tables for mobile */
  /* This works best if you add data-label to your td elements, 
     but for now we'll just ensure horizontal scrolling is smooth 
     and the table doesn't break layout */
  .table td {
    white-space: nowrap;
  }
}

/* Admin Sidebar Responsiveness */
@media (max-width: 992px) {
  .sidebar {
    width: 100% !important;
    min-height: auto !important;
    position: relative !important;
    display: block !important;
  }

  .main-content {
    margin-left: 0 !important;
    padding: 15px !important;
  }

  .sidebar-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 0;
  }

  .sidebar-item a {
    padding: 8px 15px;
    border-right: none !important;
    border-bottom: 2px solid transparent;
  }

  .sidebar-item a:hover,
  .sidebar-item a.active {
    border-bottom: 2px solid white;
  }

  .topbar {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* Medium screen adjustments for Navbar */
@media (min-width: 992px) and (max-width: 1200px) {
  .nav-link {
    padding: 0.5rem 0.4rem !important;
    font-size: 0.85rem;
  }

  .btn-nav-contact {
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem;
  }
}

/* WhatsApp Floating Icon Styles */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: #25d366;
  color: #fff !important;
  width: 60px;
  height: 60px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 100000;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none !important;
  overflow: hidden;
  padding: 0 15px;
}

.whatsapp-float i {
  transition: transform 0.4s ease;
}

.whatsapp-float span {
  width: 0;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.4s ease;
  opacity: 0;
  margin-left: 0;
  font-family: var(--font-body);
}

.whatsapp-float:hover {
  width: 190px;
  background-color: #128c7e;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(18, 140, 126, 0.5);
}

.whatsapp-float:hover i {
  transform: rotate(360deg);
}

.whatsapp-float:hover span {
  width: auto;
  opacity: 1;
  margin-left: 12px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 28px;
    bottom: 20px;
    left: 20px;
    padding: 0;
  }

  .whatsapp-float:hover {
    width: 55px;
    transform: none;
  }

  .whatsapp-float span {
    display: none;
  }
}

/* Utility: Backdrop Blur */
.backdrop-blur {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Hero Badge Items */
.hero-badges-horizontal .badge-item {
  transition: all 0.3s ease;
}

.hero-badges-horizontal .badge-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.text-teal {
  color: #13c1ba !important;
}

/* Responsive adjustments for Hero Section */
/* Responsive adjustments for Hero Section */
@media (max-width: 768px) {
  .hero-centered-goodmove {
    /* Ensure padding + content fits in 100vh but allows scroll if needed */
    padding: 5rem 0 3rem !important;
  }
}

/* --- USER REQUEST: LIGHT PROPERTY HERO IMAGE --- */
.hero-centered-goodmove {
  /* Main Background Image - Classic UK Street Scene (Local) */
  background: url('../new-hero-image.jpg') !important;
  background-size: cover !important;
  background-position: center center !important;
  position: relative;
  color: #333 !important;
}

/* Add light white overlay to ensure "lightness" & readability */
.hero-centered-goodmove::before {
  content: '';
  display: block !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent !important;
  /* Opacity removed as requested */
  z-index: 1;
}

/* Custom Text Styling */
.text-pink {
  color: #E91E63 !important;
  /* Vibrant Pink */
  font-weight: 800;
}

.dot-green {
  color: #10B981 !important;
  /* Emerald Green */
  font-size: 2.5rem !important;
  /* Big Fullstop */
  font-weight: 900;
  line-height: 0;
  vertical-align: middle;
  margin: 0 0.1rem;
}

/* Update Container Backgrounds for Contrast */
.hero-title-centered {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  /* border-radius: 16px; removed */
  color: var(--primary-dark) !important;
  /* Primary color as requested */
  text-shadow: none !important;
  /* Shadow removed */
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 0.5rem !important;
  /* Tightened space */
}

.hero-subtitle-centered {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  /* border-radius: 50px; removed */
  color: var(--primary-dark) !important;
  /* Primary color as requested */
  text-shadow: none !important;
  /* Shadow removed */
  box-shadow: none !important;
}

.hero-subtitle-centered {
  font-size: 1.75rem !important;
  /* Stand out */
  padding: 15px 40px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem !important;
  /* Tightened space */
}

/* Top Bar Info Styling */
.top-bar-right {
  display: flex !important;
  align-items: center;
  gap: 15px;
}

.primary-info {
  font-weight: 700 !important;
  color: #1F2937 !important;
  /* Premium Dark Slate */
}

.top-info-link:hover .primary-info {
  color: #cd287c !important;
}

/* PropertySalesDirect Brand Utilities */
.btn-primary-brand {
  background-color: #1a3a5a !important;
  border-color: #1a3a5a !important;
  color: #fff !important;
}

.btn-secondary-brand {
  background-color: #cd287c !important;
  border-color: #cd287c !important;
  color: #fff !important;
}

.text-primary-brand {
  color: #1a3a5a !important;
}

.text-secondary-brand {
  color: #cd287c !important;
}

.bg-primary-brand {
  background-color: #1a3a5a !important;
}

.bg-secondary-brand {
  background-color: #cd287c !important;
}