/* Global reset and full height for html and body */
html, body {

  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.hero {
  background: #5f0f40;
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.deliver-point {
    list-style: none;
    text-align: center;
    margin: 0.5em 0;   /* vertical spacing, no horizontal indent */
}

/* Container for the entire hero section */
.hero-section {
  position: relative;
  width: 100vw;
  height: 40vh; /* Fixed height */
  overflow: hidden;
background-color: #ebaf37; /* Add this line */
padding-top: 100px;
}


/* Content that sits above the video */
.content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 300px;
  align-items: center;
}

/* Home page banner first section - Your existing h1, p, and .buttons styles from the previous code should remain */
.content-wrapper h1 {
  font-style: league spartan; /* Make sure this font is loaded */
  font-size: 6rem; /* Changed from 20rem to make it bigger but not ridiculously huge on larger screens */
  color: #f5f5dc;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
  line-height: 1.2;
}

.content-wrapper p {
  font-family: 'League Spartan', sans-serif;
  font-size: 2.8rem;
  color: #f5f5dc;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}




.hero-section h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #ffffff;
}

.hero-section p {
  font-size: 1.5rem;
}

/* Home page banner first section - Your existing h1, p, and .buttons styles from the previous code should remain */
.content-wrapper h1 {
  font-style: league spartan; /* Make sure this font is loaded */
  font-size: 6rem; /* Changed from 20rem to make it bigger but not ridiculously huge on larger screens */
  color: #f5f5dc;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
  line-height: 1.2;
}

.buttons { /* Assuming .buttons is the class for your button container */
      margin-bottom: 0.5rem; /* Reduced this from 0 to 0.5rem to give a tiny bit of space, but still significantly less */
    padding-bottom: 0;
}

/* If there's an element directly below the buttons inside the content-wrapper */
.content-wrapper .next-element-after-buttons {
  margin-top: 0;
  padding-top: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Adds space between h1, p, and buttons */
  align-items: center;
}
/* ============================
   / Delivery Section /
   Colors: Deep Plum background with Beige text
   Purpose: Highlights core services in a stylish block
   ============================ */

.delivery-section {
  background-color: #5f0f40;          /* Deep plum background */
  padding: 20px 20px;
  font-family: 'Segoe UI', sans-serif;
  color: #f5f5dc;                     /* Beige text color applied globally */
}

/* Wrapper for centering and max-width */
.delivery-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Section Heading */
.delivery-container h2 {
  font-size: 3.5em;
  color: #f5f5dc;                     /* Override default heading color */
  margin-bottom: 35px;
  font-weight: 600;
}

/* List container */
.delivery-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Each item row */
.delivery-list li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 20px 0;
  font-size: 2.2em;
  color: #f5f5dc;                     /* Ensure consistency across list items */
}

/* Icon style */
.delivery-icon {
  width: 32px;
  height: 32px;
  margin-right: 15px;
  flex-shrink: 0;
  filter: brightness(1.2);            /* Optional: brighten icons against dark background */
}

/* ============================
   / Security Section: Security Highlight /
   Colors: Amber background (#ebaf37), Beige text (#f5f5dc)
   ============================ */

.security-section {
  background-color: #ebaf37;         /* Vibrant amber to catch attention */
  color: #f5f5dc;                    /* Soft beige text for readability */
  padding: 20px 20px;                /* Spacious padding for visual balance */
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

.security-container h2 {
  font-size: 3.0em;
  margin-bottom: 15px;
  font-weight: 700;
  color: #f5f5dc;                   /* Explicit color override for heading */
}

.security-container p {
  font-size: 1.2em;
  max-width: 600px;
  margin: 0 auto;
  color: #f5f5dc;                   /* Explicit color override for paragraph */
}

/* ============================
   / Circular Section /
   Overlay + Background Image Transparency + Typography
   ============================ */

.circular-section {
  position: relative;
  background-image: url('https://media.licdn.com/dms/image/v2/D5612AQHdICGj1VYZBw/article-cover_image-shrink_720_1280/article-cover_image-shrink_720_1280/0/1694584977856?e=2147483647&v=beta&t=vX0U7X-HaRxez1n_FlZLhWOfiKWxUr9LOOxD8QtXbrs');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 350px;
  font-family: 'Segoe UI', sans-serif;
  color: #f5f5dc;
  
}

/* Semi-transparent overlay (opacity 5%) + solid bg color #004b49 */
.circular-overlay {
  background-color: rgba(0, 75, 73, 0.85); /* overlay with 5% transparency of image beneath */
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

/* Centering content block */
.circular-container {
  max-width: 800px;
  text-align: center;
  z-index: 1;
}

.circular-container h2 {
  font-size: 3.6em;
  font-weight: 600;
  margin-bottom: 25px;
  color: #f5f5dc;
}

.circular-container p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f5f5dc;
}

.circular-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.circular-points li {
  font-size: 1.1em;
  margin-bottom: 15px;
  padding-left: 20px;
  position: relative;
  color: #f5f5dc;
}

.circular-points li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #f5f5dc;
  font-size: 1.2em;
}

/* ============================
   / Sustainability Section /
   Theme: Burnt orange with beige typography
   ============================ */

.sustainability-section {
  background-color: #ba4513;
  color: #f5f5dc;
  font-family: 'Segoe UI', sans-serif;
  padding: 30px 20px;
  text-align: center;
}

.sustainability-container {
  max-width: 800px;
  margin: 0 auto;
}

.sustainability-container h2 {
  font-size: 2.6em;
  font-weight: 600;
  margin-bottom: 25px;
  color: #f5f5dc;
}

.sustainability-container p {
  font-size: 1.2em;
  margin-bottom: 35px;
  color: #f5f5dc;
}

.sustainability-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sustainability-points li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 20px 0;
  font-size: 1.1em;
  text-align: left;
  color: #f5f5dc;
}

.point-icon {
  width: 28px;
  height: 28px;
  margin-right: 15px;
  flex-shrink: 0;
}

.core-messaging {
  background-color: #0a544c;
  color: #ebaf37;
  padding: 40px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.core-messaging {
  background-color: #0d594d;
  color: #ebaf37;
  padding: 40px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.core-messaging h2 {
  color: #ebaf37;
  text-align: left;
  font-size: 45px;
  margin-bottom: 30px;
font-family: 'Segoe UI', sans-serif;
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  align-items: start;
}

.core-item {
  text-align: left;
  padding: 0 10px;
}

.core-item img {
  width: 250px;
  height: auto;
  margin-bottom: 0px;
}

.core-item .divider {
  height: 2px;
  width: 100%;
  background-color: #ebaf37;
  margin: 10px 0;
}

.core-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #ebaf37;
}

/* General Body Styles (optional, but good practice) */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
}
/* --- XUM Call To Action Section Styling --- */
.xum-call-to-action-section {
    background:
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), /* 70% opaque black overlay */
        url('http://localhost:10004/wp-content/uploads/2025/07/recycling-truck-isolated-white-background-vector-illustration-1.png'); /* <-- This is the UPDATED and confirmed working URL */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #0a544c; /* Fallback background color */
    min-height: 400px;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.xum-cta-content {
    max-width: 800px;
    width: 100%;
}

.xum-cta-content h2 {
    font-size: 3em;
    color: white;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.xum-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.xum-cta-buttons .btn {
    display: inline-block;
    padding: 18px 40px;
    background-color: #5f0f40;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.xum-cta-buttons .btn:hover {
    background-color: #7a47d2;
    transform: translateY(-2px);
}
/* === Mobile Responsive CSS (max-width: 767px) === */

@media (max-width: 767px) {
  /* === HERO SECTION === */
  .hero-section {
    height: auto !important;           /* allow height to grow with content */
    padding: 120px 15px 70px 30px !important; /* equal left-right padding */
    box-sizing: border-box;
  }

  /* Content wrapper for hero */
  media (max-width: 767px) {
    .content-wrapper {
        width: 100% !important;
        max-width: 556px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 10px !important;
        box-sizing: border-box;
		height: 300px;
    }
}

  .content-wrapper h1 {
    font-size: 34px !important;
    line-height: 1.3 !important;
    max-width: 100% !important;
	color: #f5f5dc;
	margin-top: 7rem;
	margin: 100px 20px 0px 0px;
  }

  .content-wrapper p {
    font-size: 1.2rem !important;
    margin: 1rem auto 1.5rem auto !important;
    max-width: 100% !important;
  }

  /* Buttons container */
  .buttons {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin: 1rem;
  padding: 0px important;
  width: 100% !important;
  max-width: 400px !important;
  box-sizing: border-box;
}

.buttons a,
.buttons button {
  width: 85% !important;
  max-width: 320px !important;
}

  /* === DELIVERY SECTION === */
  .delivery-section {
    padding: 15px 10px !important;
  }

  .delivery-container {
    max-width: 79% !important;
    margin: 0 auto !important;
    padding: 0 10px !important;
    box-sizing: border-box;
    text-align: center !important;
  }

  .delivery-container h2 {
    font-size: 2.3rem !important;
    margin-bottom: 20px !important;
  }

 .delivery-list li {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;  /* center icons + text horizontally */
    gap: 10px !important;                  /* gap between icon and text */
    flex-wrap: nowrap !important;
	font-size: 1.3rem !important;
  }

  .delivery-icon {
    width: 40px !important;
    height: 40px !important;
    margin-right: 8px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    font-weight: 700;  /* Bold */
  }

  /* === SECURITY SECTION === */
  .security-section {
    padding: 10px 10px !important;
  }

  .security-container {
    max-width: 95% !important;
    margin: 0 auto !important;
    padding: 0 10px !important;
    box-sizing: border-box;
    text-align: center !important;
	font-color: #f5f5dc;
  }

  .security-container h2 {
    font-size: 2.2rem !important;
	color: #f5f5dc;
    margin-bottom: 20px !important;
  }

  .security-container p {
    font-size: 1.2rem !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  /* === CIRCULAR SECTION === */
  .circular-section {
    min-height: auto !important;
    padding: 200px 10px !important;
  }

  .circular-container {
    max-width: 90% !important;
    margin: 0 auto !important;
    text-align: center !important;
    padding: 100px 10px !important;
	font-color: #f5f5dc;
  }

  .circular-container h2 {
    font-size: 2.6rem !important;
    margin-bottom: 15px !important;
  }

  .circular-container p {
    font-size: 1.2rem !important;
    margin-bottom: 40px !important;
  }

  .circular-points li {
    font-size: 1rem !important;
    padding-left: 15px !important;
    margin-bottom: 30px !important;
  }

  /* === SUSTAINABILITY SECTION === */
  .sustainability-section {
    padding: 40px 10px !important;
  }

  .sustainability-container {
    max-width: 90% !important;
    margin: 0 auto !important;
    padding: 30 10px !important;
    text-align: center !important;
  }

  .sustainability-container h2 {
    font-size: 1.5rem !important;
    margin-bottom: 15px !important;
  }

  .sustainability-container p {
    font-size: 1rem !important;
    margin-bottom: 20px !important;
  }

  .sustainability-points li {
    font-size: 1.5rem !important;
    margin: 50px 0 !important;
    justify-content: center !important;
  }

  .point-icon {
    width: 40px !important;
    height: 40px !important;
    margin-right: 10px !important;
  }

  /* === CORE MESSAGING SECTION === */
  .core-messaging {
    padding: 25px 15px !important;
  }

  .core-messaging h2 {
    font-size: 2.5rem !important;
    margin-bottom: 20px !important;
    text-align: center !important;
  }

  .core-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }

  .core-item {
    padding: 0 10px !important;
    text-align: center !important;
  }

  .core-item img {
    width: 100px !important;
    max-width: 100px !important;
    margin: 0 auto !important;
  }

  .core-item p {
    font-size: 1rem !important;
  }

  /* === CALL TO ACTION SECTION === */
  .xum-call-to-action-section {
    padding: 40px 15px !important;
    min-height: auto !important;
    text-align: center !important;
  }

  .xum-cta-content {
    max-width: 90% !important;
    margin: 0 auto !important;
    padding: 0 10px !important;
  }

  .xum-cta-content h2 {
    font-size: 2rem !important;
    margin-bottom: 25px !important;
  }

  .xum-cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    justify-content: center !important;
  }

  .xum-cta-buttons .btn {
    width: 100% !important;
    padding: 14px 0 !important;
    font-size: 1.1rem !important;
    border-radius: 25px !important;
  }

  /* === GENERAL FIXES === */
  h1, h2, h3, p {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Ensures all main text blocks are centered */
  .hero, .content, .delivery-container, .security-container, .circular-container,
  .sustainability-container, .core-messaging, .xum-cta-content {
    text-align: center !important;
  }
}

/* ——————————————————————————————
   Re-enable clicks on YouTube embeds
   for What We Deliver page
   — Remove click-blocking overlay */

body.page-template-What-We-Deliver .delivery-container::before {
}

body.page-template-What-We-Deliver .delivery-container iframe {
    pointer-events: auto !important;
    position: relative !important;
    z-index: 9999 !important;
}
.xumitad-wrapper,
.xumitad-video-section {
  pointer-events: none !important;
}

.xumitad-wrapper iframe,
.xumitad-video-section iframe {
  pointer-events: auto !important;
  position: relative !important;
  z-index: 10 !important;
}
