body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  /* keep your existing background (image or colour) */
  background-image: url('Home page new (3).png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

header {
  background: transparent; /* Transparent background */
  color: #3b82f6; /* Light blue text */
  padding: 0;
  margin: 0;
  margin-top: -0.5rem;
  border-bottom: none;
  width: 100%;
}

nav {
  background: transparent; /* Transparent background */
  padding: 0.5rem 1rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  border-bottom: none;
  width: 100%;
  max-height: 3cm;
  box-sizing: border-box;
}

/* Ensure nav layout is correct on all pages */
nav {
  flex-wrap: nowrap;
  gap: 1rem;
}

/* Position logo lower in banner */
.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  flex: 0 0 auto;
  margin-top: 1.2rem;
  margin-left: 0;
  margin-right: auto;
}

.logo-img {
  width: 18rem !important;
  height: auto !important;
  max-width: none !important;
}

/* Mobile logo - keep same size as desktop, just ensure visibility */
@media (max-width: 600px) {
  .logo-img {
    width: 18rem !important;
    height: auto !important;
    max-width: 90% !important;
    object-fit: contain;
    margin-left: -5rem !important;
  }
  
  .logo {
    margin-left: 5rem !important;
  }
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  height: 100%;
  flex: 1;
  justify-content: flex-end;
}

.nav-links li a {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

/* Dropdown container */
.dropdown {
  position: relative;
}

/* Dropdown toggle (Services link) */
.dropdown > a {
  display: inline-block;
}

/* Dropdown menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  color: #1e3a8a;
  min-width: 180px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  padding: 0.5rem 0;
  z-index: 1000;
}

/* Mobile dropdown menu styling */
@media (max-width: 768px) {
  .nav-links.active .dropdown-menu {
    position: static;
    display: block;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: none;
    margin-top: 0.5rem;
    border-radius: 4px;
    padding: 0.5rem 0;
  }
  
  .nav-links.active .dropdown-menu li {
    list-style: none;
  }
  
  .nav-links.active .dropdown-menu a {
    color: #ffffff;
    padding: 0.75rem 1rem;
    display: block;
  }
  
  .dropdown.open .dropdown-menu {
    display: block !important;
  }
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  color: #1e3a8a;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: #f1f5f9;
}

/* Show menu on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Logo image sizing */
.logo-img {
  height: calc(40px + 2cm);
  width: calc(40px + 2cm);
  vertical-align: middle;
}

nav a {
  color: #ffffff; /* White text */
  margin: 0;
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-weight: bold;
  border: none; /* Remove border */
  border-radius: 6px;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

nav a:hover {
  background-color: transparent; /* No background on hover */
  color: #cc5500; /* Match CTA orange */
  text-decoration: none;
  transition: all 0.3s ease; /* Smooth transition effect */
}

nav a.active {
  color: #ffffff; /* White text for active page */
  font-weight: bold;
  text-decoration: none;
  position: relative;
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background-color: #3b82f6; /* Light blue underline */
  border-radius: 2px;
}

main {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
  background: rgba(248, 250, 252, 0.2); /* More transparent background */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  backdrop-filter: blur(5px); /* Add blur effect for better readability */
}

/* Remove panel background on pages that should be text directly on the image */
main.overlay,
main.services {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  max-width: none;
  margin: 0;
  padding: 4rem; /* managed by their own layout styles */
}


/* Homepage extracted styles */
.home-hero {
  text-align: center;
  padding: 3rem 1rem;
}

/* Buyers page background - only apply to buyers page */
body:has(.overlay):not(:has(.btn-sell)) {
  background-image: url('Buyers (1).png') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}



/* Sellers page background */
body.sellers-page {
  background-image: url('Sellers 2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body.sellers-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  z-index: -1;
}

body.sellers-page main {
  background: rgba(248, 250, 252, 0.3);
  backdrop-filter: blur(5px);
}

/* Sellers page hero/content: transparent and aligned further from the left */
.sellers-page .sellers-content {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  border-radius: 0;
  max-width: 600px;
  margin-left: 3cm;
  margin-right: auto;
  padding: 0 0 2rem 0;
  color: #ffffff;
}

.sellers-page .sellers-content h1,
.sellers-page .sellers-content h2,
.sellers-page .sellers-content p,
.sellers-page .sellers-content li {
  color: #ffffff;
}

/* Constrain and align Fresh Start block to avoid right-side image overlap */
.sellers-page .sellers-content .fresh-start {
  max-width: 48ch;
}

.sellers-page .sellers-content .fresh-start h2 {
  font-size: 2.075rem;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.sellers-page .sellers-content .fresh-start p {
  font-size: 1.175rem;
  line-height: 1.6;
}

/* Constrain hero intro to prevent right-side image overlap */
.sellers-page .sellers-content .hero-intro {
  max-width: 48ch;
}

.sellers-page .sellers-content .hero-intro h1 {
  font-size: 3rem;
  line-height: 1.05;
}

.sellers-page .sellers-content .hero-intro p {
  font-size: 1.25rem;
  line-height: 1.6;
}

.no-wrap { white-space: nowrap; }

/* iPad and Tablet specific breakpoints */
@media (max-width: 1024px) and (min-width: 769px) {
  .services-overlay {
    width: 70%;
    padding: 4rem 3rem;
    margin-left: 3%;
  }
  .contact-box {
    width: 70%;
    margin-left: 2cm;
  }
  .overlay-text {
    margin-top: calc(1.5cm + 2px);
  }
}

@media (max-width: 768px) and (min-width: 601px) {
  .services-overlay {
    width: 80%;
    padding: 3rem 2rem;
    margin-left: 2%;
  }
  .contact-box {
    width: 80%;
    margin-left: 1.5cm;
  }
  .overlay-text {
    margin-top: calc(1cm + 2px);
  }
  .faq-header, .faq-container {
    margin-left: 1cm;
  }
}

/* ============================================
   STAGE 2: Mobile Layout Consistency
   ============================================ */

/* Touch-friendly sizing - minimum 44px for all interactive elements */
nav a {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Orientation-aware: Portrait mobile (phones in portrait mode) */
@media (max-width: 600px) and (orientation: portrait) {
  .services-overlay {
    width: 90%;
    max-width: none;
    padding: 2rem 1rem;
    padding-left: calc(1rem + 1rem);
    margin-left: calc(5% + 1rem);
    margin-top: 3rem !important;
    transform: none;
    margin-bottom: 1rem;
  }
  #services-heading { font-size: clamp(1.75rem, 5vw, 2rem); }
  .services-overlay h2 { font-size: clamp(1rem, 2.5vw, 1.1rem); }
  .services-overlay p,
  .services-overlay li { font-size: clamp(0.95rem, 2.5vw, 1rem); }
  .cta { text-align: left; }
  
  .contact-box {
    width: 90%;
    margin: 3rem auto 1rem auto !important;
    margin-left: 1cm;
    padding: 1.5rem 1rem;
  }
  .contact-box h1 { font-size: clamp(1.75rem, 5vw, 2rem); }
  .contact-box p,
  .contact-details li,
  .contact-form label {
    font-size: clamp(0.95rem, 2.5vw, 1rem);
  }
  
  .faq-header, .faq-container {
    margin-left: 0.5cm;
    margin-top: 3rem !important;
  }
  
  .overlay-text {
    margin-top: 0 !important;
    padding: 1rem;
    max-width: 100%;
  }
  
  .overlay-text h1 {
    font-size: clamp(1.75rem, 5vw, 2rem);
    margin-top: 0 !important;
    margin-bottom: 1rem;
  }
  
  .overlay-text p {
    font-size: clamp(0.95rem, 2.5vw, 1rem);
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  /* Mobile Home page text - black - override all other rules with maximum specificity */
  body.home-page .overlay .overlay-text p,
  body.home-page .overlay-text p,
  .home-page .overlay .overlay-text p,
  .home-page .overlay-text p {
    color: #000000 !important;
    color: rgb(0, 0, 0) !important;
  }
  
  .buyers-hero {
    margin-left: 0;
    padding: 2rem 1rem;
    margin-top: 3rem !important;
  }
  
  .sellers-page .sellers-content {
    max-width: none;
    margin-left: 1cm;
    margin-top: 3rem !important;
  }
  
  /* Buttons side-by-side on mobile, matching desktop */
  .buttons {
    flex-direction: row;
    gap: 1rem;
    width: 100%;
    margin-top: 1.5rem;
    align-items: center;
    justify-content: center;
  }
  
  .btn {
    width: 100%;
    padding: 1rem;
    font-size: clamp(1rem, 3vw, 1.1rem);
  }
  
  /* Compact footer on mobile */
  footer {
    padding: 1.5rem 0.75rem 0.75rem 0.75rem;
    margin-top: 2rem;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  .footer-logo {
    width: 18rem !important;
    height: auto !important;
    max-width: 90% !important;
    min-width: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }
  
  .footer-section {
    width: 100%;
  }
  
  .footer-section h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .links-row {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: 0.5rem 0.75rem;
    margin-top: 0.25rem;
  }
  
  .links-row a {
    font-size: 0.85rem;
    padding: 0.4rem 0.25rem;
    min-height: 36px;
  }
  
  .contact-us p {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }
  
  .contact-us i {
    font-size: 1.1rem !important;
    margin-right: 0.3rem !important;
  }
  
  .social-icons {
    gap: 0.5rem;
    margin-top: 0.25rem;
  }
  
  .social-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  
  footer > p {
    font-size: 0.75rem;
    margin-top: 1rem;
    padding: 0 0.5rem;
    line-height: 1.4;
  }
}

/* Orientation-aware: Landscape mobile (phones in landscape mode) */
@media (max-width: 896px) and (orientation: landscape) and (max-height: 600px) {
  .services-overlay {
    width: 85%;
    padding: 2rem 1.5rem;
    margin-left: 2%;
    transform: none;
    margin-top: 1rem;
  }
  
  .contact-box {
    width: 85%;
    margin-left: 1cm;
    padding: 1.5rem;
  }
  
  .overlay-text {
    margin-top: 0.5rem;
    padding: 1rem;
  }
  
  .overlay-text h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 0.75rem;
  }
  
  .overlay-text p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    margin-bottom: 1rem;
  }
  
  /* Buttons side-by-side in landscape */
  .buttons {
    flex-direction: row;
    gap: 0.75rem;
  }
  
  .btn {
    flex: 1;
    padding: 0.875rem 1rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }
  
  .faq-header, .faq-container {
    margin-left: 1cm;
  }
  
  /* Compact header in landscape */
  header {
    padding: 0.25rem 0;
  }
  
  .logo-img {
    height: calc(30px + 1.5cm) !important;
    width: calc(30px + 1.5cm) !important;
  }
}

/* Unified mobile breakpoints (applies to both orientations) */
@media (max-width: 480px) {
  /* Small phones - extra compact */
  .overlay-text h1 {
    font-size: clamp(1.5rem, 6vw, 1.875rem);
  }
  
  .overlay-text p {
    font-size: clamp(0.9rem, 3vw, 0.95rem);
  }
  
  .services-overlay {
    padding: 1.5rem 1rem;
  }
  
  .contact-box {
    padding: 1.25rem;
  }
  
  .btn {
    padding: 0.875rem 1rem;
    font-size: clamp(0.9rem, 3.5vw, 1rem);
  }
  
  .footer-content {
    gap: 0.75rem;
    padding-left: 0.75rem;
  }
}

@media (min-width: 481px) and (max-width: 600px) {
  /* Medium phones - standard mobile */
  .overlay-text h1 {
    font-size: clamp(1.75rem, 5vw, 2rem);
  }
  
  .overlay-text p {
    font-size: clamp(0.95rem, 2.5vw, 1rem);
  }
}

/* Tablet breakpoints with orientation awareness */
@media (min-width: 601px) and (max-width: 768px) {
  .services-overlay {
    width: 80%;
    padding: 3rem 2rem;
    margin-left: 2%;
  }
  
  .contact-box {
    width: 80%;
    margin-left: 1.5cm;
  }
  
  .overlay-text {
    margin-top: calc(1cm + 2px);
  }
  
  .faq-header, .faq-container {
    margin-left: 1cm;
  }
  
  /* Buttons can be side-by-side on tablets */
  .buttons {
    flex-direction: row;
    gap: 1rem;
  }
  
  .btn {
    padding: 1rem 1.5rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-overlay {
    width: 70%;
    padding: 4rem 3rem;
    margin-left: 3%;
  }
  
  .contact-box {
    width: 70%;
    margin-left: 2cm;
  }
  
  .overlay-text {
    margin-top: calc(1.5cm + 2px);
  }
}

/* Green tick-in-a-box bullet list for sellers page */
.tick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 44ch;
}
.tick-list li {
  position: relative;
  margin: 0 0 0.9rem 0;
  padding-left: 2.2rem;
  color: #ffffff;
}
.tick-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.4rem;
  height: 1.4rem;
  color: #ffffff;          /* white tick */
  background: #16a34a;     /* filled green box */
  border: none;            /* no border for filled box */
  border-radius: 4px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.tick-list strong {
  display: inline-block;
  margin-bottom: 0.15rem;
}

.buyers-hero {
  text-align: left;
  padding: 3rem 1rem; /* left/right padding aligns with nav's 1rem */
  position: relative;
  min-height: 100vh;
  margin-left: -3cm; /* shift 3cm left on large screens */
}

@media (max-width: 900px) {
  .buyers-hero {
    margin-left: -1.5cm; /* smaller shift on tablets */
  }
}

.buyers-hero > * {
  position: relative;
  z-index: 2;
}

.buyers-hero h1 {
  font-size: 3rem;
  color: #ffffff;
  margin: 0 0 1rem 0;
}

.buyers-hero > h2,
.buyers-hero > h3 {
  color: #ffffff;
}

.buyers-hero > p {
  color: #ffffff;
}

.buyers-hero p {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.buyers-hero hr {
  border-color: rgba(255, 255, 255, 0.3);
}

.home-hero h2 {
  font-size: 2.5rem;
  color: #1e3a8a;
  margin-bottom: 1rem;
}

.home-hero p {
  font-size: 1.2rem;
  color: #555;
}

/* Portal badge (Buyers/Sellers) */
.portal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 0.85rem 1.25rem;
  min-width: 220px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #1e3a8a;
  background: #e0e7ff;
  border: 2px solid #c7d2fe;
  border-radius: 10px; /* square-ish button */
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.btn {
  display: inline-block;
  margin: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.btn-sell {
  background: #1e3a8a;
  color: #ffffff;
}

.btn-buy {
  background: #3b82f6;
  color: #ffffff;
}

.why {
  margin-top: 0;
}

section {
  margin: 0;
  padding: 0;
}

.buyers-hero + .why {
  margin-top: 0;
  padding-top: 0;
}

.buyers-hero {
  margin-bottom: 0;
  padding-bottom: 0;
}

.why h3 {
  text-align: center;
  color: #1e3a8a;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.why-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.why-card {
  flex: 1;
  min-width: 250px;
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.why-card h4 {
  color: #3b82f6;
}

.cta-block {
  text-align: center;
  margin-top: 1.5rem;
  padding: 2rem;
  background: #1e3a8a;
  color: #ffffff;
  border-radius: 8px;
}

.cta-block a {
  padding: 1rem 2rem;
  background: #3b82f6;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  display: inline-block;
}

footer {
  background: rgba(75, 85, 99, 0.8); /* Lighter dark grey with transparency */
  color: #ffffff;
  text-align: center;
  padding: 0.75rem;
  margin-top: auto;
  width: 100%;
  flex-shrink: 0;
}

/* Home page footer: 6rem gap from CTA buttons */
.home-page footer {
  margin-top: -9rem;
}

/* Mobile: override footer spacing - ensure proper gap from buttons */
@media (max-width: 600px) {
  .home-page footer {
    margin-top: 2rem !important;
  }
}

.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 4rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
  padding-left: 1cm;
}

/* Footer: recent horizontal links + logo + socials layout */
.footer-logo {
  height: 10rem !important;
  width: auto !important;
  max-width: none !important;
}

.footer-links-horizontal {
  min-width: 280px;
}

.links-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.1rem 0.5rem;
  width: 100%;
  max-width: 500px;
  margin-top: 0.4rem;
}

.links-row a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 1rem;
  white-space: nowrap;
}

/* Move up second row of links (Seller, FAQ, Contact, Privacy) */
.links-row a:nth-child(n+5) {
  margin-top: -1.5rem;
}

.links-row a:hover {
  color: #cc5500;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #d1d5db;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  padding: 0;
  box-sizing: border-box;
}

.social-icon:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.contact-us {
  padding-top: 0;
}

.contact-us h4 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
  color: #ffffff;
}

.contact-us p {
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  text-align: left;
}

.contact-us p:last-of-type {
  margin-bottom: 0;
}
/* Reduce gap between "Armitage Road" and "London" */
.contact-us p:first-of-type {
  margin-bottom: 0.1rem !important;
}
/* Indent second address line ("London ...") to align under text start (not icon) */
.contact-us p:nth-of-type(2) {
  margin-top: -2rem !important; /* Move up by 2rem */
  margin-bottom: calc(1.5rem - 3rem) !important; /* Reduced by 3rem */
}

.contact-us p:nth-of-type(2) a {
  display: inline-block;
  margin-left: 1.8rem; /* 1.4rem icon width + 0.4rem gap */
}

/* Add space after phone number (third paragraph) - reduced by 1.5rem */
.contact-us p:nth-of-type(3) {
  margin-bottom: calc(1.25rem - 1.5rem) !important; /* Reduced spacing */
}

.contact-us i {
  color: #ff9800 !important; /* ensure orange icons */
  font-size: 1.4rem !important; /* increase visibility */
  line-height: 1 !important;
  margin-right: 0.4rem !important;
  flex-shrink: 0;
  width: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-us a {
  transition: color 0.2s ease-in-out;
}

/* Make both address links change color together on hover */
.contact-us p:first-of-type a,
.contact-us p:nth-of-type(2) a {
  transition: color 0.2s ease-in-out;
}

/* When address-hover class is added, both links highlight */
.contact-us.address-hover p:first-of-type a,
.contact-us.address-hover p:nth-of-type(2) a {
  color: #cc5500 !important;
}

.mobile-menu-toggle {
  display: none; /* Hidden by default on desktop */
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
  margin-right: 0;
  order: 999;
  flex-shrink: 0;
  position: relative;
  z-index: 1001;
}

@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important; /* Hide on desktop */
  }
  
  .nav-links {
    display: flex !important; /* Always show on desktop */
  }
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-left: 1rem;
  }
  
  .links-row {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
  
  .footer-logo {
    height: 8rem;
    max-width: none;
  }
}

/* Mobile navigation with hamburger menu - slide down concertina */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex !important; /* Show toggle button on mobile */
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    z-index: 1001;
    position: relative;
  }
  
  nav {
    position: relative;
    z-index: 1000;
  }
}

/* Ensure burger is visible on mobile portrait mode */
@media (max-width: 768px) and (orientation: portrait) {
  .mobile-menu-toggle {
    display: flex !important;
  }
  
  .nav-links {
    display: none !important; /* Hidden by default */
    flex-direction: column !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(0, 0, 0, 0.98) !important;
    padding: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
    z-index: 999 !important;
    width: 100% !important;
    gap: 0 !important;
    margin: 0 !important;
    margin-top: 0 !important;
    list-style: none !important;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out !important;
    max-height: 0 !important;
    overflow: hidden !important;
  }
  
  .nav-links.active {
    display: flex !important; /* Show when active */
    max-height: 800px !important; /* Plenty of height for all items */
    padding: 1rem 0 !important;
    overflow: visible !important;
    height: auto !important;
  }
  
  .nav-links li {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    list-style: none !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    height: auto !important;
    min-height: 48px !important;
    flex-shrink: 0 !important;
    position: relative !important;
  }
  
  .nav-links.active li {
    display: list-item !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    height: auto !important;
  }
  
  .nav-links li:last-child {
    border-bottom: none !important;
  }
  
  /* Ensure ALL list items are visible - explicit targeting */
  .nav-links.active li:first-child,
  .nav-links.active li:nth-child(2),
  .nav-links.active li:nth-child(3),
  .nav-links.active li:nth-child(4),
  .nav-links.active li:nth-child(5) {
    display: list-item !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 48px !important;
  }
  
  .nav-links.active li:first-child a,
  .nav-links.active li:nth-child(2) a,
  .nav-links.active li:nth-child(3) a,
  .nav-links.active li:nth-child(4) a,
  .nav-links.active li:nth-child(5) a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .nav-links li a {
    min-height: 48px !important;
    padding: 0.875rem 1.5rem !important;
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    color: #ffffff !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-weight: 400;
    position: relative !important;
    z-index: 1 !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  
  /* Services dropdown link - ensure full text is visible and properly aligned */
  .dropdown > a {
    padding-left: 0.5rem !important;
    padding-right: 1.5rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow: visible !important;
    text-overflow: clip !important;
    text-align: left !important;
    text-indent: 0 !important;
    margin-left: 0 !important;
    position: relative !important;
    left: 0 !important;
  }
  
  .nav-links li a:hover,
  .nav-links li a:active {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
  }
  
  /* Dropdown menu on mobile - slide down concertina style */
  .dropdown .dropdown-menu {
    position: static !important;
    display: none !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    list-style: none !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out !important;
  }
  
  .dropdown.open .dropdown-menu {
    display: block !important;
    max-height: 200px !important;
    padding: 0.5rem 0 !important;
  }
  
  .dropdown-menu li {
    list-style: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .dropdown-menu li:last-child {
    border-bottom: none !important;
  }
  
  .dropdown-menu a {
    color: #ffffff !important;
    padding: 0.75rem 1.5rem 0.75rem 3rem !important;
    display: block !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
  }
  
  .dropdown-menu a:hover,
  .dropdown-menu a:active {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
  }
  
  /* Prevent context menu on Services link */
  .dropdown > a {
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
  }
}

/* Force hide mobile toggle on tablets and larger (iPad mini is 768px wide, so 769px+) */
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  
  .nav-links {
    display: flex !important;
    position: static !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    flex-direction: row !important;
  }
  
  .nav-links li {
    width: auto !important;
  }
  
  .nav-links li a {
    display: inline-flex !important;
    padding: 0.5rem 1rem !important;
    width: auto !important;
  }
}

/* Additional mobile fixes (applies to all mobile orientations) */
@media (max-width: 600px) {
  /* Header fixes */
  header {
    margin-top: 0 !important;
    padding: 0.5rem 0 !important;
  }
  
  nav {
    padding: 0.5rem 0.75rem !important;
    max-height: 4rem !important;
  }
  
  .logo-img {
    width: 18rem !important;
    height: auto !important;
    max-width: 90% !important;
    object-fit: contain;
    margin-left: calc(-3rem + 0.5rem) !important;
  }
  
  .logo {
    margin-left: calc(-3rem + 0.5rem) !important;
    margin-right: auto;
    order: 1;
    position: relative;
    left: 0 !important;
  }
  
  nav {
    padding-left: 0 !important;
  }
  
  .mobile-menu-toggle {
    order: 2;
    margin-left: auto;
    margin-right: 0;
  }
  
  /* Content spacing - force proper spacing below header - CRITICAL FIX */
  body {
    padding-top: 0 !important;
  }
  
  header {
    position: relative !important;
    z-index: 100 !important;
  }
  
  .home-page .overlay {
    padding-top: 5rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-bottom: 4rem !important;
    min-height: auto !important;
    margin-top: 0 !important;
  }
  
  .home-page .overlay-text {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .home-page .buttons {
    margin-top: 2rem !important;
    margin-bottom: 3rem !important;
  }
  
  .overlay {
    padding-top: 6rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-bottom: 2rem !important;
    min-height: auto !important;
    margin-top: 0 !important;
  }
  
  .overlay-text {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .services-overlay {
    margin-top: 6rem !important;
    padding-top: 2rem !important;
    padding-left: calc(1rem + 1rem) !important;
    padding-right: 1rem !important;
    margin-left: 1rem !important;
  }
  
  .contact-box {
    margin-top: 6rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .buyers-hero {
    margin-top: 6rem !important;
    padding-top: 2rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .sellers-page .sellers-content {
    margin-top: 6rem !important;
    padding-top: 1rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin-left: 0 !important;
    max-width: 100% !important;
  }
  
  /* Sellers page font sizes on mobile - match other pages */
  .sellers-page .sellers-content h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
  }
  
  .sellers-page .sellers-content h2 {
    font-size: clamp(1.25rem, 4vw, 1.5rem) !important;
    line-height: 1.3 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .sellers-page .sellers-content p {
    font-size: clamp(0.95rem, 2.5vw, 1.05rem) !important;
    line-height: 1.6 !important;
    margin-bottom: 0.8rem !important;
  }
  
  .sellers-page .sellers-content li {
    font-size: clamp(0.95rem, 2.5vw, 1.02rem) !important;
    line-height: 1.6 !important;
    margin-bottom: 0.6rem !important;
  }
  
  .sellers-page .sellers-content strong {
    font-size: inherit !important;
  }
  
  /* Move sellers page text up 3rem on mobile portrait */
  @media (max-width: 600px) and (orientation: portrait) {
    .sellers-page .sellers-content {
      margin-top: calc(6rem - 3rem) !important;
    }
  }
  
  .faq-header {
    margin-top: calc(6rem - 6rem) !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin-left: 0 !important;
    max-width: 100% !important;
    margin-bottom: 1rem !important;
    border-bottom: none !important;
  }
  
  .faq-header h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem) !important;
    white-space: normal !important;
    margin-bottom: 0.5rem !important;
  }
  
  .faq-container {
    margin-top: calc(1rem - 4rem) !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin-left: 0 !important;
    max-width: 100% !important;
  }
  
  .faq-item {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
    padding-top: 0.5rem !important;
  }
  
  /* Ensure proper spacing between FAQ items */
  .faq-item:not(:first-of-type) {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  .faq-item h2 {
    font-size: clamp(1.25rem, 4vw, 1.5rem) !important;
    white-space: normal !important;
    margin-top: calc(1rem + 1rem) !important;
    margin-bottom: 0.75rem !important;
  }
  
  .faq-item p {
    font-size: clamp(1rem, 2.5vw, 1.1rem) !important;
    line-height: 1.6 !important;
    margin-top: 0.5rem !important;
  }
  
  /* Ensure separator bars don't cross text - add spacing */
  .faq-item:not(:last-child)::after {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  /* Delete separator under first FAQ item */
  .faq-item:first-of-type::after {
    display: none !important;
    content: none !important;
  }
  
  /* Hide separator between first and second on desktop */
  .mobile-separator-between-first-second {
    display: none;
  }
  
  @media (max-width: 768px) {
    /* Separator between first and second FAQ question - mobile only */
    .mobile-separator-between-first-second {
      display: block !important;
      width: 2cm;
      height: 2px;
      background: rgba(255,255,255,0.6);
      margin: 1.5rem 0 1.5rem 0;
      content: '';
    }
  }
  
  /* Fix burger menu positioning on FAQ page mobile */
  body.faq-page-body .mobile-menu-toggle,
  body.faq-page .mobile-menu-toggle {
    order: 2 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    position: relative !important;
    left: auto !important;
    right: 0 !important;
  }
  
  body.faq-page-body .logo,
  body.faq-page .logo {
    order: 1 !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  
  body.faq-page-body nav,
  body.faq-page nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding-left: 0 !important;
  }
  
  /* Footer compact and consistent on all mobile pages */
  footer {
    padding: 1rem 0.75rem 0.75rem 0.75rem !important;
    margin-top: auto !important;
    min-height: auto !important;
    max-height: none !important;
    width: 100% !important;
    position: relative !important;
    bottom: 0 !important;
  }
  
  /* Ensure all pages have consistent footer - same as sellers page */
  body.home-page footer,
  body.about-page footer,
  body.contact-page footer,
  body.buyers-page footer,
  body.sellers-page footer,
  body.services-page footer,
  body.faq-page footer,
  body.faq-page-body footer,
  body.privacy-page footer {
    padding: 1rem 0.75rem 0.75rem 0.75rem !important;
    margin-top: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box !important;
  }
  
  /* Ensure all page bodies use flexbox for footer positioning */
  body.home-page,
  body.about-page,
  body.contact-page,
  body.buyers-page,
  body.sellers-page,
  body.services-page,
  body.faq-page,
  body.faq-page-body,
  body.privacy-page {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  
  body.home-page main,
  body.about-page main,
  body.contact-page main,
  body.buyers-page main,
  body.sellers-page main,
  body.services-page main,
  body.faq-page main,
  body.faq-page-body main,
  body.privacy-page main {
    flex: 1 !important;
    min-height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Specific fix for FAQ page footer - ensure full width on mobile */
  body.faq-page footer,
  body.faq-page-body footer {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    box-sizing: border-box !important;
    left: 0 !important;
    right: 0 !important;
    position: relative !important;
  }
  
  body.faq-page footer .footer-content,
  body.faq-page-body footer .footer-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    box-sizing: border-box !important;
  }
  
  body.faq-page,
  body.faq-page-body {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative !important;
  }
  
  body.faq-page main,
  body.faq-page-body main {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  
  /* Ensure burger menu is positioned correctly on sellers page */
  .sellers-page .mobile-menu-toggle {
    order: 2 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }
  
  .sellers-page .logo {
    margin-left: calc(-3rem + 0.5rem) !important;
    order: 1 !important;
  }
  
  /* Ensure sellers page body doesn't have extra padding causing layout issues */
  body.sellers-page {
    padding-bottom: 0 !important;
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
  }
  
  .sellers-page main {
    flex: 1 !important;
    min-height: auto !important;
  }
  
  /* Ensure footer goes to bottom on sellers page */
  .sellers-page footer {
    margin-top: auto !important;
    width: 100% !important;
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  .footer-logo {
    width: 18rem !important;
    height: auto !important;
    max-width: 90% !important;
    min-width: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }
  
  .footer-section {
    width: 100%;
  }
  
  /* Quick Links header - center on mobile */
  .footer-links-horizontal h4 {
    text-align: center !important;
  }
  
  /* Create 3x3 invisible grid boxes for perfect alignment */
  .links-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(3, auto) !important;
    max-width: 100%;
    gap: 0.5rem 0.75rem;
    align-items: start !important;
  }
  
  /* Each link is placed in an invisible box cell */
  .links-row a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 2rem !important;
    margin: 0 !important;
    padding: 0.4rem 0.25rem !important;
    box-sizing: border-box !important;
  }
  
  /* Row 1: Home (1), About (2), Services (3) */
  .links-row a:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  
  .links-row a:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }
  
  .links-row a:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }
  
  /* Row 2: Buyer (4), Seller (5), FAQ (6) - all in same row */
  .links-row a:nth-child(4) {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
  
  .links-row a:nth-child(5) {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }
  
  .links-row a:nth-child(6) {
    grid-column: 3 !important;
    grid-row: 2 !important;
  }
  
  /* Row 3: Contact (7), Privacy (8), empty cell */
  .links-row a:nth-child(7) {
    grid-column: 1;
    grid-row: 3;
  }
  
  .links-row a:nth-child(8) {
    grid-column: 2;
    grid-row: 3;
  }
  
  /* Contact Us section - center header and content on mobile */
  .footer-section.contact-us {
    text-align: center !important;
    align-items: center !important;
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
  }
  
  .footer-section.contact-us h4 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .footer-section.contact-us p {
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  .footer-section.contact-us a {
    text-align: center !important;
  }
  
  .links-row a {
    font-size: 0.85rem;
    padding: 0.4rem 0.25rem;
  }
  
  footer > p {
    font-size: 0.75rem;
    line-height: 1.4;
  }
}

.footer-section h4 {
  margin-bottom: 0.4rem;
  color: #ffffff;
  font-size: 1rem;
}

.footer-section p {
  margin: 0;
  color: #d1d5db;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #cc5500;
}

/* Overlay container */
.overlay {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 4rem;
  box-sizing: border-box;
}

/* Home page: shorten from bottom */
.home-page .overlay {
  padding-bottom: calc(4rem - 15rem);
}

/* Mobile spacing fix for home page - text 5rem from header */
@media (max-width: 600px) {
  .home-page .overlay {
    padding-top: 5rem !important;
    padding-bottom: 4rem !important;
    padding-left: 1rem;
    padding-right: 1rem;
    min-height: auto !important;
  }
  
  .home-page .overlay-text {
    margin-top: 0 !important;
  }
  
  .home-page .overlay-text h1 {
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
  }
  
  .home-page .buttons {
    margin-top: 2rem !important;
    margin-bottom: 3rem !important;
  }
  
  .home-page footer {
    margin-top: 2rem !important;
  }
}

/* Left/centre text */
.overlay-text {
  max-width: 600px;
  text-align: left;
  color: white;
  margin-top: calc(2cm + 2px);
  position: relative;
}

/* Mobile override - remove large margin-top on mobile */
@media (max-width: 600px) {
  .overlay-text {
    margin-top: 0 !important;
  }
}

.overlay-text h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  margin-top: -21rem;
  color: white;
}

/* Mobile override - remove negative margin on mobile */
@media (max-width: 600px) {
  .overlay-text h1 {
    margin-top: 0 !important;
  }
}

.overlay-text h2 {
  color: white;
}

.overlay-text h3 {
  color: white;
}

.overlay-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: white;
}

/* Home page paragraph text - mid grey (desktop) */
.home-page .overlay-text p {
  color: #9ca3af !important;
}

/* Mobile Home page text - black (must be after desktop rule) - multiple breakpoints */
@media (max-width: 768px) {
  body.home-page .overlay .overlay-text p,
  body.home-page .overlay-text p,
  body.home-page .overlay .overlay-text p strong,
  .home-page .overlay .overlay-text p,
  .home-page .overlay-text p {
    color: #000000 !important;
    color: rgb(0, 0, 0) !important;
  }
}

@media (max-width: 600px) {
  body.home-page .overlay .overlay-text p,
  body.home-page .overlay-text p,
  .home-page .overlay .overlay-text p,
  .home-page .overlay-text p {
    color: #000000 !important;
    color: rgb(0, 0, 0) !important;
  }
}

.overlay-text p strong {
  color: white;
}

/* Home page strong text in paragraph - keep white or make lighter */
.home-page .overlay-text p strong {
  color: #ffffff !important;
}

.overlay-text .subheading {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #f0f0f0;
}

.overlay-text li {
  color: white;
}



/* Mobile overrides for overlay text */

/* Buttons */
.buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-sell {
  border: 2px solid #cc5500;
  color: white;
  background: #cc5500;
}
.btn-sell:hover {
  background: #a04400;
  color: white;
}
.btn-sell:active {
  background: #8a3a00;
  color: white;
}

.btn-buy {
  border: 2px solid #0f4c81;
  color: white;
  background: #0f4c81;
}
.btn-buy:hover {
  background: #0a3d6b;
  color: white;
}
.btn-buy:active {
  background: #062a4a;
  color: white;
}


.footer-section:first-child {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer-section:first-child h4 {
  margin-bottom: 0;
  margin-top: 0;
}

.footer-section:last-child {
  text-align: center;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0;
  margin-top: 1.5rem; /* lower Follow Us by an extra 0.5rem */
}

.footer-section:last-child h4 {
  margin-bottom: 0.4rem;
  margin-top: 0;
  text-align: center;
  width: 100%;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem;
}

footer a:hover {
  color: #cc5500; /* Orange on hover to match page */
}

/* Services page layout */
.services {
  position: relative;
  padding: 0;
  display: block;
  color: white;
}

.services-overlay {
  width: 55%;
  max-width: 850px;
  padding: 6rem 4rem 0 4rem;
  margin-left: calc(6% - 1cm - 0.5cm);
  margin-top: 2rem;
  margin-bottom: -3cm;
  text-align: left;
  transform: translate(-2cm, calc(-3cm - 2rem));
  position: relative;
}

#services-heading {
  font-size: 3rem;
  margin: 0 0 1rem 0;
  line-height: 1.05;
  color: #ffffff;
}

.lead {
  font-size: 1.15rem;
  margin: 0 0 1.25rem 0;
  color: #ffffff;
}

.services-overlay h2 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.services-overlay p {
  font-size: 1.05rem;
  margin: 0 0 0.8rem 0;
  line-height: 1.6;
  color: #ffffff;
}

.services-overlay ul {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
  list-style: disc;
}

.services-overlay li {
  margin-bottom: 0.6rem;
  font-size: 1.02rem;
  color: #ffffff;
}

.btn-contact {
  display: inline-block;
  padding: 1rem 2rem;
  border: 2px solid #cc5500;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
  background: #cc5500;
  text-decoration: none;
  transition: 0.3s;
}

/* Contact button on mobile - normal size, orientation-aware for buyers page */
@media (max-width: 600px) {
  .btn-contact {
    padding: 1rem 2rem !important;
    width: auto;
    min-width: fit-content;
  }
  
  /* Buyers page button - different sizes for horizontal vs vertical */
  .buyers-page .btn-contact {
    width: auto;
    min-width: fit-content;
    padding: 1rem 2rem !important;
  }
}

@media (max-width: 600px) and (orientation: portrait) {
  .buyers-page .btn-contact {
    padding: 1rem 2.5rem !important;
    width: auto;
  }
}

@media (max-width: 600px) and (orientation: landscape) {
  .buyers-page .btn-contact {
    padding: 1rem 1.5rem !important;
    width: auto;
  }
}
.btn-contact:hover {
  background: #a04400;
  color: white;
}

@media (max-width: 900px) {
  .about {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-text {
    max-width: 100%;
    text-align: left;
  }

  .about-image {
    margin-top: 2rem;
    justify-content: center;
  }

  .about-text h1 {
    font-size: 2rem;
  }

  .about-text p {
    font-size: 1rem;
  }
}

/* Contact Page */
.contact {
  position: relative;
  min-height: 100vh;
  display: block;
  padding-top: 0.5rem;
  margin-top: 0;
  color: #f5f5f5; /* light grey text */
  background: transparent !important;
  margin-left: 0;
  padding-left: 0;
}

.contact-page .overlay-text {
  margin-top: calc(2cm + 2px + 13rem);
}

/* About page: move text down 12rem */
.about-page .overlay-text {
  margin-top: calc(2cm + 2px + 12rem);
}

/* Buyers page: move text down to clear logo */
.buyers-page .overlay-text {
  margin-top: calc(2cm + 2px + 5rem);
  padding-top: 8rem;
}

/* Buyers page: shorten separators by 12rem */
.buyers-page .overlay-text hr {
  max-width: calc(100% - 12rem);
}

/* Left-side box overlay (completely transparent) */
.contact-box {
  width: 45%;
  max-width: 600px;
  padding: 2rem;
  margin-left: 2cm;
  margin-right: auto;
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  border: none !important;
}

.contact-box h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: #f5f5f5;
}

.contact-box p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #f5f5f5;
}

/* Contact details list */
.contact-details {
  list-style: none;
  margin: 0 0 2rem 0;
  padding: 0;
}
.contact-details li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  color: #f5f5f5;
}
.contact-details i {
  margin-right: 0.8rem;
  margin-top: 0.1rem;
  color: #ff9800; /* orange color to stand out */
  font-size: 1.2rem;
}

.contact-details span {
  line-height: 1.4;
}

.contact-details a {
  transition: color 0.2s ease-in-out;
}

.contact-details a:hover {
  color: #cc5500 !important; /* orange hover to match page */
}

/* Form styles */
.contact-form {
  display: flex;
  flex-direction: column;
}
.contact-form label {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: #f5f5f5;
}
.contact-form input,
.contact-form textarea {
  margin-bottom: 1.2rem;
  padding: 0.8rem;
  border: 1px solid rgba(245, 245, 245, 0.6);
  border-radius: 4px;
  background: transparent;
  color: #f5f5f5;
  font-size: 1rem;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(245, 245, 245, 0.7);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ff9800; /* orange focus */
}

/* Button */
.btn-contact {
  display: inline-block;
  padding: 1rem 2rem;
  border: 2px solid #ff9800;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #ffffff;
  background: #ff9800;
  cursor: pointer;
  transition: 0.3s;
}

.btn-contact:hover {
  background: #e68900;
  color: #ffffff;
}

/* Buyers page highlighted sections */
.highlighted-list {
  font-size: 1.3rem !important;
  line-height: 1.6 !important;
}

.highlighted-checklist {
  font-size: 1.3rem !important;
  line-height: 1.6 !important;
}