.elementor-8 .elementor-element.elementor-element-304e5faf{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-8 .elementor-element.elementor-element-676404ff{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0rem;--margin-bottom:0rem;--margin-left:0rem;--margin-right:0rem;--padding-top:0rem;--padding-bottom:0rem;--padding-left:0rem;--padding-right:0rem;}.elementor-8 .elementor-element.elementor-element-1492eaa8{margin:0rem 0rem calc(var(--kit-widget-spacing, 0px) + 0rem) 0rem;padding:0rem 0rem 0rem 0rem;}.elementor-8 .elementor-element.elementor-element-4131d518{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0rem;--margin-bottom:0rem;--margin-left:0rem;--margin-right:0rem;--padding-top:1rem;--padding-bottom:1rem;--padding-left:0rem;--padding-right:0rem;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-8 .elementor-element.elementor-element-2286013a{width:var( --container-widget-width, 100% );max-width:100%;margin:0rem 0rem calc(var(--kit-widget-spacing, 0px) + 0rem) 0rem;padding:1rem 0rem 0rem 0rem;--container-widget-width:100%;--container-widget-flex-grow:0;text-align:center;font-family:"Noto Sans", Sans-serif;font-size:1.1rem;font-weight:400;}.elementor-8 .elementor-element.elementor-element-358872df{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0rem;--margin-bottom:0rem;--margin-left:0rem;--margin-right:0rem;--padding-top:0rem;--padding-bottom:0rem;--padding-left:0rem;--padding-right:0rem;}.elementor-8 .elementor-element.elementor-element-19ddc6ac{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-8 .elementor-element.elementor-element-75d7a109{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0rem;--margin-bottom:0rem;--margin-left:0rem;--margin-right:0rem;--padding-top:0rem;--padding-bottom:0rem;--padding-left:0rem;--padding-right:0rem;}.elementor-8 .elementor-element.elementor-element-660fb28a{margin:0rem 0rem calc(var(--kit-widget-spacing, 0px) + 0rem) 0rem;padding:0rem 0rem 0rem 0rem;}.elementor-8 .elementor-element.elementor-element-28e13fc2{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0rem;--margin-bottom:0rem;--margin-left:0rem;--margin-right:0rem;--padding-top:0rem;--padding-bottom:0rem;--padding-left:0rem;--padding-right:0rem;}.elementor-8 .elementor-element.elementor-element-28e13fc2:not(.elementor-motion-effects-element-type-background), .elementor-8 .elementor-element.elementor-element-28e13fc2 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F5F5F7;}.elementor-8 .elementor-element.elementor-element-3d13d65b{margin:0rem 0rem calc(var(--kit-widget-spacing, 0px) + 0rem) 0rem;padding:0rem 0rem 0rem 0rem;}.elementor-8 .elementor-element.elementor-element-68c1e1c4{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0rem;--margin-bottom:0rem;--margin-left:0rem;--margin-right:0rem;--padding-top:0rem;--padding-bottom:0rem;--padding-left:0rem;--padding-right:0rem;}.elementor-8 .elementor-element.elementor-element-47927325{margin:0rem 0rem calc(var(--kit-widget-spacing, 0px) + 0rem) 0rem;padding:0rem 0rem 0rem 0rem;}.elementor-8 .elementor-element.elementor-element-1e7f6c5e{--display:flex;--min-height:0px;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0rem;--margin-bottom:0rem;--margin-left:0rem;--margin-right:0rem;--padding-top:0rem;--padding-bottom:2rem;--padding-left:0rem;--padding-right:0rem;}.elementor-8 .elementor-element.elementor-element-160e864c{margin:0rem 0rem calc(var(--kit-widget-spacing, 0px) + 0rem) 0rem;padding:0rem 0rem 0rem 0rem;}:root{--page-title-display:none;}@media(max-width:767px){.elementor-8 .elementor-element.elementor-element-2286013a{margin:0rem 0rem calc(var(--kit-widget-spacing, 0px) + 0rem) 0rem;padding:1rem 1rem 1rem 1rem;font-size:1.1rem;}.elementor-8 .elementor-element.elementor-element-19ddc6ac{--min-height:100vh;}.elementor-8 .elementor-element.elementor-element-5d5c5719{margin:0rem 0rem calc(var(--kit-widget-spacing, 0px) + 0rem) 0rem;padding:0rem 0rem 0rem 0rem;}.elementor-8 .elementor-element.elementor-element-75d7a109{--margin-top:0rem;--margin-bottom:0rem;--margin-left:0rem;--margin-right:0rem;--padding-top:0rem;--padding-bottom:0rem;--padding-left:0rem;--padding-right:0rem;}.elementor-8 .elementor-element.elementor-element-660fb28a{margin:0rem 0rem calc(var(--kit-widget-spacing, 0px) + 0rem) 0rem;padding:0rem 0rem 0rem 0rem;}.elementor-8 .elementor-element.elementor-element-28e13fc2{--margin-top:0rem;--margin-bottom:0rem;--margin-left:0rem;--margin-right:0rem;--padding-top:0rem;--padding-bottom:0rem;--padding-left:0rem;--padding-right:0rem;}}@media(min-width:768px){.elementor-8 .elementor-element.elementor-element-304e5faf{--content-width:1400px;}.elementor-8 .elementor-element.elementor-element-676404ff{--content-width:1400px;}.elementor-8 .elementor-element.elementor-element-4131d518{--content-width:1400px;}.elementor-8 .elementor-element.elementor-element-358872df{--content-width:1400px;}.elementor-8 .elementor-element.elementor-element-19ddc6ac{--content-width:1400px;}.elementor-8 .elementor-element.elementor-element-28e13fc2{--content-width:1400px;}.elementor-8 .elementor-element.elementor-element-68c1e1c4{--content-width:1400px;}.elementor-8 .elementor-element.elementor-element-1e7f6c5e{--content-width:1400px;}}/* Start custom CSS for html, class: .elementor-element-71a2d391 *//* DEFAULT STYLES */
#scrolling-menu {
  position: fixed;
  top: 320px;
  left: 0;
  width: 100%;
  z-index: 9999;
  pointer-events: none;
  transition: top 0.3s ease;
}

#scrolling-menu.scrolled {
  top: 0;
}

#scrolling-menu .menu-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  pointer-events: auto;
  font-size: 1rem;
  flex-wrap: wrap; /* ✅ allow wrapping on smaller screens */
}

#scrolling-menu.scrolled .menu-container {
  background: #2e2926;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#scrolling-menu nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

#scrolling-menu nav a:hover {
  color: #ed4036;
}

/* MOBILE FIXES */
@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }

  #scrolling-menu {
    top: 220px; /* ✅ slightly higher so it's not too far down */
  }

  #scrolling-menu .menu-container {
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 0.9rem;
  }

  #scrolling-menu nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  #scrolling-menu nav a {
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
  }

  .banner-title {
    font-size: 2rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-1492eaa8 */.centered-banner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  height: 35vh;
  background-image: url('https://lancashireefs.co.uk/wp-content/uploads/2025/07/efs-vans-hero-homepage.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

/* Gradient overlay */
.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
  z-index: 1;
}

/* Title styling */
.banner-title-home {
  position: relative;
  z-index: 2;
  color: white;
  font-size: 2.8rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  margin: 0;
  font-family: 'Fjalla one', sans-serif;
  font-weight: bold;
}

/* Green bottom border */
.green-border {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 30px;
  width: 100%;
  background-color: #2e2926;
  z-index: 2;
}
.banner-content {
  position: relative;
  z-index: 2;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* Breadcrumb style */
.breadcrumb {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: white;
}

.breadcrumb a {
  color: white;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #c7ab59; /* Optional hover color */
}

.breadcrumb span {
  color: white;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-5cfd9e39 */.dual-card-section {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.dual-card-section .card {
  position: relative;
  flex: 1 1 48%;
  height: 400px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Footer stays pinned to bottom */
}

.card-title-new {
  position: absolute;
  top: 0;
  left: 0;
  color: white;
  padding: 1rem 1.5rem;
  font-size: 2.8rem;
  font-weight: bold;
  font-family: 'Fjalla One', sans-serif;
  z-index: 2;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  font-size: 1rem;
}

.card-desc {
  margin: 0;
  flex: 1;
  color: white;
}

.card-button {
  white-space: nowrap;
  padding: 0.6rem 1.2rem;
  background-color: #fff;
  color: inherit;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  margin-left: 1rem;
  flex-shrink: 0;
}

/* Theme-specific footer backgrounds */
.green-theme .card-footer {
  background-color: #2e2926;
}

.blue-theme .card-footer {
  background-color: #2e2926;
}

/* Responsive */
@media (max-width: 900px) {
  .dual-card-section {
    flex-direction: column;
  }

  .dual-card-section .card {
    flex: 1 1 100%;
  }

  .card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .card-button {
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  .dual-card-section .card {
    height: auto;
    aspect-ratio: 1 / 1; /* Optional: make square on tablet */
  }
}

@media (max-width: 767px) {
  .dual-card-section {
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
  }

  .dual-card-section .card {
    flex: 1 1 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* Optional: keep it square on mobile */
  }

  .card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .card-button {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  .card-title-new {
    font-size: 2rem;
    padding: 0.8rem 1rem;
  }

  .card-desc {
    font-size: 1.1rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-5d5c5719 *//* Default Desktop: Flex Layout */ 
.services-row {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  padding: 0;
}
.services-title{
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 40px;
  margin-top: 40px;
  color: #11;
  font-family: 'Fjalla one', sans-serif;
  color: #e60515;  
}
.service-card {
   width: 100%; /* or a fixed width like 300px */
  aspect-ratio: 3 / 2; /* optional modern way to enforce rectangle */
  height: 200px; /* preferred if you're not using aspect-ratio */
  background-color: #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  font-family: sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.service-card:nth-child(even) {
  background-color: #e0e0e0;
}

.service-card .icon {
  font-size: 3rem;
  color: #333;
  transition: color 0.3s ease;
}

.service-card:hover .icon {
  color: #e60515;
}

.service-card .card-title {
  margin-top: 1rem;
  font-size: 0.85rem;
  white-space: nowrap;
  color: #111;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  height: 0;
  background-color: #e60515;
  transition: height 0.3s ease;
  border-radius: 4px;
}

.service-card:hover::after {
  height: 30px;
}

.service-card:hover .card-title {
  color: #e60515;
}
/* Reduce space between the cards and the detail card */
.services-row {
  margin-bottom: 0 !important;
}

.service-detail-card {
  margin-top: 0.2rem !important; /* Adjust tighter or looser here */
}

/* Tablet: Switch to grid with 3 columns */
@media (max-width: 1199px) {
  .services-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: rem;
  }

  .service-card {
    flex: unset;
    width: 100%;
  }
}

/* Mobile: 1 column */
@media (max-width: 767px) {
  .services-row {
    grid-template-columns: 1fr;
  }
}

/* Large full-width detail card */
.service-detail-card {
  max-width: 1400px;
  margin: 2rem auto 0 auto;
  padding: 2rem;
  background-color: #273992;
  color: white;
  text-align: center;
  font-family: sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
}
@media (max-width: 767px) {
  .services-row {
    grid-template-columns: 1fr;
    padding: 0 1rem; /* Left and right padding for the grid */
  }

  .service-detail-card {
    margin-left: 1rem;
    margin-right: 1rem;
    width: auto; /* ensures it shrinks with margin if needed */
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-660fb28a */.efs-contact-section{
  background:#f5f5f5;
  padding:110px 20px;
}

.efs-contact-container{
  max-width:1320px;
  margin:0 auto;
}

.efs-contact-grid{
  display:grid;
  grid-template-columns:0.9fr 1.1fr;
  gap:70px;
  align-items:start;
}

/* LEFT COLUMN */
.efs-contact-info{
  padding-top:10px;
}

.efs-contact-eyebrow{
  font-size:15px;
  font-weight:700;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:#ef3b2d;
  margin-bottom:16px;
}

.efs-contact-info h2{
  font-size:58px;
  line-height:1.08;
  font-weight:700;
  color:#0f1f3d;
  margin:0 0 22px;
}

.efs-contact-intro{
  font-size:18px;
  line-height:1.65;
  color:#667085;
  max-width:520px;
  margin:0 0 36px;
}

.efs-contact-items{
  display:flex;
  flex-direction:column;
  gap:22px;
}

.efs-contact-item{
  display:flex;
  align-items:flex-start;
  gap:16px;
}

.efs-contact-icon{
  width:42px;
  height:42px;
  border-radius:10px;
  background:linear-gradient(135deg, #ef2f1f, #f3562a);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.efs-contact-icon i{
  color:#ffffff;
  font-size:16px;
}

.efs-contact-text span{
  display:block;
  font-size:15px;
  color:#667085;
  margin-bottom:2px;
}

.efs-contact-text strong{
  display:block;
  font-size:18px;
  line-height:1.4;
  color:#0f1f3d;
  font-weight:700;
}

/* RIGHT COLUMN */
.efs-contact-form-wrap{
  background:#ffffff;
  border:1px solid #dddddd;
  border-radius:12px;
  padding:34px 34px 30px;
}

.efs-contact-form{
  width:100%;
}

.efs-form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.efs-form-group{
  margin-bottom:18px;
}

.efs-form-group label{
  display:block;
  font-size:15px;
  font-weight:600;
  color:#0f1f3d;
  margin-bottom:10px;
}

.efs-form-group input,
.efs-form-group textarea,
.efs-form-group select{
  width:100%;
  border:1px solid #d6d6d6;
  border-radius:8px;
  background:#ffffff;
  padding:15px 16px;
  font-size:16px;
  font-family:inherit;
  color:#0f1f3d;
  outline:none;
  transition:border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing:border-box;
}

.efs-form-group select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg fill='%23667085' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5.5 7.5l4.5 4.5 4.5-4.5'/></svg>");
  background-repeat:no-repeat;
  background-position:right 14px center;
  background-size:16px;
  padding-right:44px;
}

.efs-form-group textarea{
  resize:vertical;
  min-height:130px;
}

.efs-form-group input::placeholder,
.efs-form-group textarea::placeholder{
  color:#7b8794;
}

.efs-form-group input:focus,
.efs-form-group textarea:focus,
.efs-form-group select:focus{
  border-color:#ef3b2d;
  box-shadow:0 0 0 3px rgba(239,59,45,0.08);
}

.efs-captcha-group{
  margin:10px 0 20px;
}

.efs-contact-submit{
  width:100%;
  border:none;
  border-radius:8px;
  background:#ef1414;
  color:#ffffff;
  font-size:18px;
  font-weight:700;
  padding:18px 24px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  transition:background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.efs-contact-submit:hover{
  background:#d91010;
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(239,20,20,0.2);
}

.efs-contact-submit i{
  font-size:16px;
}

.efs-contact-response{
  text-align:center;
  font-size:15px;
  color:#667085;
  margin:18px 0 0;
}


/* FULL WIDTH MESSAGE FIELD */
.efs-form-group.efs-full{
  grid-column:1 / -1;
}

/* Tablet */
@media (max-width:1024px){
  .efs-contact-grid{
    grid-template-columns:1fr;
    gap:50px;
  }

  .efs-contact-info h2{
    font-size:46px;
  }

  .efs-contact-intro{
    max-width:680px;
  }
}

/* Mobile */
@media (max-width:767px){
  .efs-contact-section{
    padding:80px 20px;
  }

  .efs-contact-info h2{
    font-size:36px;
  }

  .efs-contact-intro{
    font-size:16px;
  }

  .efs-contact-form-wrap{
    padding:24px 20px 22px;
  }

  .efs-form-row{
    grid-template-columns:1fr;
    gap:0;
  }

  .efs-contact-submit{
    font-size:17px;
    padding:16px 20px;
  }

  .efs-contact-text strong{
    font-size:17px;
  }

  .efs-captcha-group .g-recaptcha{
    transform:scale(0.92);
    transform-origin:left top;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-3d13d65b */.logo-slider-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 40px;
  color: #11;
  font-family: 'Fjalla one', sans-serif;
  color: #e60515;
}

.logo-slider-section {
  background-color: #eee;
  padding: 60px 40px;
  display: block;
  text-align: center;
}

.logo-slider-viewport {
  overflow-x: auto;
  width: 1360px;
  margin: 0 auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Add this to offset extra padding inside */
  margin-left: -20px;
  margin-right: -20px;
}

.logo-slider-viewport::-webkit-scrollbar {
  display: none;
}

.logo-slider-container {
  display: flex;
  gap: 24px;
  width: fit-content;
  padding-inline: 20px; /* ✅ Adds space left & right */
}

.logo-card {
  flex: 0 0 auto;
  width: 200px;
  height: 200px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.logo-card img {
  max-width: 80%;
  max-height: 120px;
}

.logo-card:hover {
  transform: scale(1.05);
}

/* Tablet */
@media (max-width: 1140px) {
  .logo-slider-viewport {
    width: 100%;
  }

  .logo-card {
    flex: 0 0 140px;
  }
}

@media (max-width: 767px) {
  .logo-slider-section {
    padding: 40px 1rem; /* Consistent left/right spacing */
    overflow-x: hidden;
  }

  .logo-slider-viewport {
    width: 100%;
    overflow-x: auto;
    padding-inline: 1rem; /* Match section padding */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    margin: 0; /* ✅ Remove negative margin */
  }

  .logo-slider-container {
    display: flex;
    gap: 16px;
    width: max-content;
  }

  .logo-card {
    flex: 0 0 90vw;
    width: 90vw;
    height: 200px;
    scroll-snap-align: center;
    background-color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-47927325 */.project-gallery {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.gallery-header {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-header h2 {
  font-size: 2.5rem;
  font-family: 'Fjalla One', sans-serif;
  margin-bottom: 0.5rem;
}

.gallery-header p {
  font-size: 1.2rem;
  color: #666;
}

.masonry-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 1fr;
  gap: 1rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Grid placements */
.featured  { grid-column: span 3; grid-row: span 2; }
.tall      { grid-column: span 1; grid-row: span 2; }
.wide      { grid-column: span 2; grid-row: span 1; }
.square1   { grid-column: span 1; grid-row: span 1; }
.square2   { grid-column: span 1; grid-row: span 1; }
.wide2     { grid-column: span 2; grid-row: span 1; }
.square3   { grid-column: span 1; grid-row: span 1; }
.square4   { grid-column: span 1; grid-row: span 1; }
.square5   { grid-column: span 1; grid-row: span 1; }
.square6   { grid-column: span 1; grid-row: span 1; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .masonry-gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .featured  { grid-column: span 4; grid-row: span 2; }
  .tall      { grid-column: span 2; grid-row: span 2; }
  .wide,
  .wide2     { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 767px) {
  .masonry-gallery {
    grid-template-columns: repeat(2, 1fr); /* 2 cols for mobile */
    grid-auto-rows: 1fr; /* consistent square rows */
  }

  .masonry-gallery .gallery-item {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    aspect-ratio: 1 / 1; /* force square */
  }
}
/* Desktop hover effect */
@media (hover: hover) and (pointer: fine) {
  .gallery-item img {
    transition: transform 0.3s ease;
  }

  .gallery-item:hover img {
    transform: scale(1.1);
  }
}

/* Popup (lightbox) styles */
.gallery-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.gallery-popup.active {
  display: flex;
}

.popup-content {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-160e864c */.map-county-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  gap: 2rem;
  background-color: #eee;
}

/* Left: Map column */
.map-column {
  flex: 0 0 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Ensure map doesn't shrink */
.map-inner {
  width: 100%;
  max-width: 100%;
}

/* Right: County list */
.county-list {
  flex: 0 0 45%;
  padding-top: 1rem;
  padding-right: 2rem;
}

/* County cards */
.county-list-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.county-card {
  margin-bottom: 1.5rem;
}

.county-inner {
  padding: 1rem 1.5rem;
  background-color: #f7f7f7;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  cursor: pointer;
}

.county-card:hover .county-inner {
  background-color: #eaeaea;
  border-left: 4px solid #e60515;
}

.county-title {
  font-size: 1.8rem;
  color: #2e2926;
  font-family: 'Fjalla one', sans-serif;
}

.county-desc {
  margin: 0.3rem 0 0;
  font-size: 1.2rem;
  color: #555;
}

/* Tablet: stack vertically */
@media (max-width: 1024px) {
  .map-county-wrapper {
    flex-direction: column-reverse;
    align-items: center;
    padding: 0 1rem;
  }

  .map-county-wrapper > div {
    width: 100%;
    max-width: 100%;
  }

  .mapsvg-iframe-responsive {
    width: 100% !important;
    height: 800px !important;
    display: block;
    margin: 0 auto;
  }

  .county-list {
    padding-top: 2rem;
    padding-right: 0;
    padding-left: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .county-card {
    max-width: 600px;
    width: 100%;
  }

  .county-title {
    font-size: 1.5rem;
  }

  .county-desc {
    font-size: 1rem;
  }
}

/* Mobile: override iframe height */
@media (max-width: 767px) {
  .mapsvg-iframe-responsive {
    height: 400px !important;
  }

  .county-list {
    padding: 2rem 1rem 0;
  }
}

/* Make the left column stretch, not center */
.map-column {
  flex: 0 0 50%;
  display: flex;
  align-items: stretch;      /* was center */
  justify-content: stretch;  /* was center */
}

/* Give the map a definite box to fill */
.map-inner {
  width: 100%;
  max-width: 100%;
  height: 700px;             /* desktop height */
}

/* Make the iframe fill that box */
.mapsvg-iframe-responsive {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border: 0;
}

/* Tablet / Mobile heights */
@media (max-width: 1024px) {
  .map-inner { height: 500px; }
}
@media (max-width: 767px) {
  .map-inner { height: 360px; }
}/* End custom CSS */