/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@600;700;800&display=swap');

/* Import Google Fonts for headers and body */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Inter:wght@400;500;700&display=swap');

body {
    background: #232323;
    color: #f5f5f5;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Apply Inter to navigation, buttons, and paragraphs */
.w3-bar.w3-black .w3-button,
.nav-more-menu .w3-button,
.free-quote-btn,
p, li, .about-list-centered, .about-nfpa-blurb p, .trusted-brand-name, .service-map-caption, .map-caption, .service-text p, .service-text h4 {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    font-weight: 400;
}

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

.w3-bar.w3-black {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #181818;
    border-bottom: 2px solid #990000;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    padding: 0 8px;
    gap: 0.5vw;
    min-height: 48px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}
.w3-bar.w3-black::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.w3-bar.w3-black .w3-button {
    color: #fff;
    background: transparent;
    border-radius: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    padding: 8px 2vw;
    margin: 0 2px;
    font-size: 1.05em;
    min-width: 70px;
    max-width: 160px;
    width: auto;
    text-align: center;
    white-space: nowrap;
    flex: 0 1 auto;
    box-sizing: border-box;
}

.w3-bar.w3-black .w3-button:hover {
    background: #990000;
    color: #fff;
    transform: scale(1.07);
}

/* Medium screens: slightly smaller font and padding */
@media (max-width: 900px) {
    .w3-bar.w3-black .w3-button {
        font-size: 0.98em;
        padding: 7px 1.5vw;
        min-width: 60px;
        max-width: 120px;
    }
}

/* Small screens: even smaller font and padding, allow wrapping if needed */
@media (max-width: 600px) {
    .w3-bar.w3-black {
        gap: 1vw;
        padding: 0 2vw;
    }
    .w3-bar.w3-black .w3-button {
        font-size: 0.92em;
        padding: 6px 1vw;
        min-width: 48px;
        max-width: 90px;
        border-radius: 12px;
        letter-spacing: 0.2px;
    }
}

/* Prevent nav from overlapping content when using anchor links */
#home, #about, #services, #contact, #careers {
    scroll-margin-top: 60px;
}

h2, p, h3, img, h6{
    text-align: center;
}

/* Apply Montserrat to all headers */
h1, h2, h3, h4, h5, h6,
nav.w3-bar.w3-red h2,
nav.w3-bar.w3-red h4,
.trusted-brands-section h3,
.service-map-section h3,
.about-nfpa-blurb h4 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.home, .contact {
    background-color: #e7e0d7ff;
}

.about, .careers {
    background-color: #ece8e2ff;
}

#flex{
    display: flex;
}

.mainDiv{
    margin: 0;
    border: 0;
    padding: 20px;
}

.compare{
  width: 50%;
  height: auto;
  max-width: 50%;
  display: conten;
}

.row{
    display: flex;
}
.column {
    flex: 50%;
    padding: 5px;
}


.img-comp-container {
    position: relative;
    overflow: hidden;
    margin: 0 auto 20px auto;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.22), 0 1.5px 6px rgba(153,0,0,0.08);
    background: #181818;
    border: 2px solid #990000;
    transition: box-shadow 0.3s;
}

.img-comp-container.landscape {
    aspect-ratio: 4/3;
    max-width: 850px;
    min-width: 320px;
    min-height: 400px;
}

.img-comp-container.portrait {
    aspect-ratio: 2/3;
    max-width: 420px;
    min-width: 220px;
    min-height: 520px;
}

.img-comp-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
}

.img-comp-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: filter 0.3s;
}

.img-comp-overlay {
    clip-path: inset(0 0 0 50%);
    /* This creates a default split at 50% */
}

.img-comp-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 18px 18px 18px;
}

.img-comp-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 20px 0;
    width: 100%;
}

.img-comp-slider {
    position: absolute;
    z-index: 9;
    cursor: ew-resize;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #cc0000 60%, #990000 100%);
    opacity: 0.85;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    transform: translate(-50%, -50%);
    transition: background 0.3s, box-shadow 0.3s;
}

.img-comp-slider:hover {
    background: linear-gradient(135deg, #990000 60%, #cc0000 100%);
    box-shadow: 0 4px 16px rgba(153,0,0,0.18);
}

.img-comp-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #cc0000 60%, #990000 100%);
    z-index: 8;
    transform: translateX(-50%);
    height: 100% !important;
    border-radius: 2px;
}

.slide{
    width: 100%;
    height: 510px;
    position: relative;
}

.slide img {
    width: 100%;
    height: 500px;
    position: relative;
    top: 0;
    left: 0;
}

.slide img:first-child{
    z-index: 1;
}

.slide img:nth-child(2){
    z-index: 0;
}

.nav-button{
    text-align: center;
    position: relative;
}

.dot{
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}

.active
.dot:hover {
    background-color: #717171;
}

/* Sticky navbar */
nav.w3-bar.w3-black {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #111;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Section backgrounds for distinction */
.home {
    background: linear-gradient(120deg, #2c2c2c 80%, #990000 100%);
    color: #fff;
}

.about {
    background: linear-gradient(120deg, #990000 80%, #2c2c2c 100%);
    color: #fff;
}

.contact {
    background: #292929;
    color: #fff;
}

.careers {
    background: #181818;
    color: #fff;
}

/* Header */
nav.w3-bar.w3-red {
    background: linear-gradient(90deg, #990000 0%, #cc0000 100%);
    color: white;
    padding: 18px 0 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border-bottom: 4px solid #222;
}

nav.w3-bar.w3-red h2,
nav.w3-bar.w3-red h4 {
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 1px 1px 4px #222;
}

/* Button hover effects */
.w3-bar.w3-black .w3-button:hover {
    background-color: #cc0000;
    color: white;
}

/* Section styling */
.mainDiv {
    padding: 50px 20px 40px 20px;
    border-bottom: 2px solid #333;
    background: #232323;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    max-width: 1100px;
    margin: 0 auto 0 auto;
    border-radius: 18px;
    margin-top: 30px;
    margin-bottom: 30px;
    animation: fadeInUp 1s;
}

@media (max-width: 700px) {
    .mainDiv {
        padding: 24px 6px 18px 6px;
        margin-top: 14px;
        margin-bottom: 14px;
        border-radius: 10px;
        max-width: 99vw;
    }
    .services-row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 0;
  }

  .service-item {
    max-width: 95vw;
    width: 95vw;
    flex: none; /* Override the flex-grow/shrink that causes gaps */
    margin: 0;
    padding: 12px 16px;
  }

  .service-text {

    width: 100%;
  }

  .service-icon {
    margin-bottom: 12px;
  }
}

footer {
    background: #181818;
    color: #fff;
    text-align: center;
    padding: 24px 10px 10px 10px;
    font-size: 15px;
    border-top: 3px solid #990000;
    letter-spacing: 0.5px;
}

footer a {
    color: #fff;
    margin: 0 12px;
    font-size: 1.3em;
    transition: color 0.2s;
}

footer a:hover {
    color: #cc0000;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 1s ease-in-out;
}

.slide-in {
    animation: slideIn 1.2s cubic-bezier(.77,0,.18,1) forwards;
    opacity: 0;
}

@keyframes slideIn {
    from {
        transform: translateX(-80px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.img-comp-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(30, 30, 30, 0.92);
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.4s;
}
.img-comp-modal-content {
    position: relative;
    background: #232323;
    border-radius: 18px;
    padding: 30px 18px 18px 18px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.45);
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.img-comp-modal-close {
    position: absolute;
    top: 18px; 
    right: 38px;
    font-size: 2.5em;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
    font-weight: bold;
    user-select: none;
}
.img-comp-modal-close:hover {
    color: #cc0000;
}
@media (max-width: 700px) {
    .img-comp-modal-close {
        top: 8px; 
        right: 18px;
        font-size: 2em;
    }
}
.img-comp-modal .img-comp-container {
    max-width: 900px !important;
    min-height: 400px !important;
    width: 80vw !important;
    aspect-ratio: 4/3;
    margin: 0 auto;
    box-shadow: 0 8px 40px rgba(0,0,0,0.45);
}
.img-comp-modal .img-comp-container.landscape {
    max-width: 900px !important;
    min-height: 400px !important;
    width: 80vw !important;
    aspect-ratio: 4/3;
}
.img-comp-modal .img-comp-container.portrait {
    max-width: 450px !important;
    min-height: 600px !important;
    width: 40vw !important;
    aspect-ratio: 2/3;
}
@media (max-width: 900px) {
    .img-comp-modal .img-comp-container {
        width: 98vw !important;
        min-height: 220px !important;
    }
}
@media (max-width: 600px) {
    .img-comp-modal .img-comp-container.portrait {
        width: 90vw !important;
        min-width: 220px !important;
        max-width: 98vw !important;
        min-height: 220px !important;
        max-height: 80vh !important;
        aspect-ratio: 3/4 !important; /* More natural for phones */
        height: auto !important;
    }
}

.services-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-top: 30px;
}

.services-row.center-row {
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}


/* Reuse service-item style */
.service-item {
  display: flex;
  align-items: flex-start;
  background: #292929;
  padding: 18px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s;
  /*flex: 1 1 320px;*/
  max-width: 360px;
  flex: 1 1 calc(33.333% - 32px);
  max-width: calc(33.333% - 32px);
  box-sizing: border-box;
}

.service-item:hover {
  transform: translateY(-4px);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-right: 20px;
  flex-shrink: 0;
  filter: grayscale(0%) brightness(110%);
}

.service-text h4 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    width: 100%;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 1px;
}

.service-text p {
  margin: 0;
  font-size: 16px;
  color: #cccccc;
}

/* Mobile view */
@media (max-width: 700px) {
  .services-row {
    flex-direction: column;
    align-items: center;
  }

  .service-item {
    max-width: 100%;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .service-icon {
    margin: 0 0 12px 0;
  }
}

/* Gallery wheel styles */
.gallery-section {
    background: #232323;
    color: #fff;
    margin-bottom: 40px;
}

.gallery-wheel {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 28px;
    padding: 24px 0;
    scrollbar-width: thin;
    scrollbar-color: #990000 #232323;
    justify-content: center;
    align-items: center;
}

.gallery-wheel::-webkit-scrollbar {
    height: 10px;
}
.gallery-wheel::-webkit-scrollbar-thumb {
    background: #990000;
    border-radius: 5px;
}
.gallery-wheel::-webkit-scrollbar-track {
    background: #232323;
}

.gallery-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 3px solid #990000;
    background: #181818;
}

.gallery-img:hover {
    transform: scale(1.10);
    box-shadow: 0 4px 16px rgba(153,0,0,0.18);
}

@media (max-width: 700px) {
    .gallery-img {
        width: 70px;
        height: 70px;
    }
    .gallery-wheel {
        gap: 14px;
        padding: 12px 0;
    }
}

/* Modal styles for gallery */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(30, 30, 30, 0.95);
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.4s;
}
.gallery-modal-content {
    display: block;
    max-width: 90vw;
    max-height: 80vh;
    margin: auto;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.45);
}
.gallery-modal-close {
    position: absolute;
    top: 18px; right: 38px;
    font-size: 2.5em;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
    font-weight: bold;
    user-select: none;
}
.gallery-modal-close:hover {
    color: #cc0000;
}

@media (max-width: 700px) {
    .gallery-modal-content {
        max-width: 98vw;
        max-height: 60vh;
    }
    .gallery-modal-close {
        top: 8px; right: 18px;
        font-size: 2em;
    }
}

/* New gallery carousel styles */
.gallery-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 18px 0;
    position: relative;
}
.gallery-carousel-img {
    width: 520px;
    max-width: 92vw;
    height: 340px;
    max-height: 70vh;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    cursor: pointer;
    background: #181818;
    border: 3px solid #990000;
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
    margin: 0 auto;
}
.gallery-carousel-img:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(153,0,0,0.18);
}
.gallery-arrow {
    background: #990000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 2em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}
.gallery-arrow:hover {
    background: #cc0000;
    color: #fff;
}
@media (max-width: 700px) {
    .gallery-carousel-img {
        width: 90vw;
        height: 140px;
        border-radius: 10px;
    }
    .gallery-arrow {
        width: 34px;
        height: 34px;
        font-size: 1.3em;
    }
}
.gallery-carousel-img.portrait {
    width: 260px;
    max-width: 60vw;
    height: 400px;
    max-height: 70vh;
    object-fit: cover;
}
@media (max-width: 900px) {
    .gallery-carousel-img.portrait {
        width: 140px;
        height: 220px;
    }
}
@media (max-width: 600px) {
    .gallery-carousel-img.portrait {
        width: 90vw;
        height: 180px;
    }
}

/* Hamburger button always last */
.nav-more-btn {
    margin-left: auto;
    background: transparent;
    border: none;
    font-size: 1.4em;
    color: #fff;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 10px;
    transition: background 0.2s;
}
.nav-more-btn:hover {
    background: #990000;
}

.nav-more-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 220px;
    height: 100vh;
    background: #181818;
    box-shadow: -2px 0 16px rgba(0,0,0,0.35);
    z-index: 2000;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 18px 18px 18px;
    animation: fadeInUp 0.3s;
}
.nav-more-menu .w3-button {
    display: block;
    width: 100%;
    text-align: left;
    margin: 8px 0;
    font-size: 1.08em;
    background: transparent;
    color: #fff;
    border-radius: 8px;
    padding: 10px 8px;
}
.nav-more-menu .w3-button:hover {
    background: #990000;
}
.nav-more-close {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 2em;
    background: none;
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 0 8px 0 0; /* Add right padding to move the X icon itself further right */
    z-index: 10;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Move the X icon to the right within the button */
    line-height: 1;
    transition: color 0.2s;
    box-sizing: border-box;
}
.nav-more-close:hover {
    color: #cc0000;
}
@media (max-width: 700px) {
    .nav-more-close {
        top: 0;
        right: 0;
        font-size: 1.5em;
        width: 38px;
        height: 38px;
    }
}

.img-comp-labels {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 10px;
    margin-bottom: 18px;
}
.img-comp-label {
    font-size: 1.1em;
    color: #bbb;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s;
}
.img-comp-label.active {
    color: #cc0000;
    text-shadow: 1px 1px 4px #222;
}

/* Try a different font for about-list-centered to fix bullet rendering */
.about-list-centered {
    font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
    list-style-type: disc;
    list-style-position: outside;
    padding-left: 40px;
    margin: 0 auto 1em auto;
    display: table;
}
.about-list-centered li {
    margin: 0.4em 0;
    padding: 0;
    line-height: 1.6;
}

.about-nfpa-blurb {
    background: #181818;
    border-left: 4px solid #cc0000;
    border-radius: 10px;
    padding: 18px 18px 12px 18px;
    margin: 22px auto 18px auto;
    max-width: 600px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(153,0,0,0.08);
}
.about-nfpa-blurb h4 {
    color: #ff0000;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.18em;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-weight: 900;
}

.about-nfpa-blurb p {
    margin-bottom: 8px;
    font-size: 1.01em;
    color: #ffeaea;
}

/* Trusted Brands section styles */
.trusted-brands-section {
    background: #232323;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.13);
    padding: 32px 20px 24px 20px;
    color: #fff;
    margin: 0 auto 36px auto;
    max-width: 900px;
    text-align: center;
}
.trusted-brands-section h3 {
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: 1px;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-weight: 900;
}

.trusted-brands-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 10px;
}
.trusted-brand-item {
    /* Remove background, border, box-shadow, border-radius, and padding */
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    min-width: 140px;
    max-width: 220px;
}
.trusted-brand-item:hover {
    transform: scale(1.06);
    box-shadow: 0 4px 16px rgba(153,0,0,0.18);
    background: #2c2c2c;
}
@media (max-width: 700px) {
    .trusted-brands-list {
        gap: 12px;
    }
    .trusted-brand-item {
        padding: 10px 10vw;
        font-size: 1em;
    }
}

/* Vertical layout for Trusted Brands section */
.trusted-brands-list-vertical {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 18px;
    justify-items: center;
    align-items: start;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
}
.trusted-brand-list-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Remove background, border, box-shadow, border-radius, and padding */
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    min-width: 140px;
    max-width: 220px;
}
.trusted-brand-logo {
    width: 160px;
    height: 160px;
    object-fit: contain;
    margin-bottom: 8px;
    background: #fff;
    border-radius: 10px;
    border: 1.5px solid #cc0000;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}
.trusted-brand-name {
    font-size: 1.08em;
    color: #fff;
    margin-top: 2px;
    opacity: 0.85;
    text-align: center;
    font-weight: 500;
}
@media (max-width: 700px) {
    .trusted-brands-list-vertical {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .trusted-brand-logo {
        width: 100px;
        height: 100px;
    }
    .trusted-brand-list-item {
        min-width: 120px;
        max-width: 98vw;
        padding: 10px 2vw 6px 2vw;
    }
}

/* Free quote callout in contact section */
.free-quote-callout {
    background: none;
    box-shadow: none;
    border: none;
    outline: none;
    padding: 0;
    margin: 22px auto 22px auto;
    text-align: center;
    max-width: 480px;
}

.free-quote-btn {
    display: inline-block;
    background: #cc0000;
    color: #fff;
    font-size: 1.18em;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 14px;
    border: 3px solid #fff;
    outline: 2px solid #cc0000;
    outline-offset: -6px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(153,0,0,0.18);
    letter-spacing: 1px;
    transition: box-shadow 0.2s, transform 0.2s, background 0.2s, color 0.2s;
    cursor: pointer;
    margin: 0 auto;
    margin-bottom: 8px;
}
.free-quote-btn:hover, .free-quote-btn:focus {
    background: #990000;
    color: #fff;
    animation: pulse 0.7s;
    box-shadow: 0 8px 32px rgba(204,0,0,0.28);
    text-decoration: none;
}

/* Map section */
.map-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

.map-caption {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    font-size: 0.9em;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.map-caption h4 {
    margin: 0;
    font-size: 1.1em;
    color: #ffcc00;
}

.map-caption p {
    margin: 0;
    font-size: 0.85em;
    color: #e0e0e0;
}

/* Service map section */
.service-map-section {
    background: #232323;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.13);
    padding: 32px 20px 24px 20px;
    color: #fff;
    margin: 0 auto 36px auto;
    max-width: 700px;
    text-align: center;
}
.service-map-preview-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}
.service-map-preview {
    width: 520px;
    max-width: 98vw;
    height: auto;
    border-radius: 10px;
    border: 2px solid #cc0000;
    box-shadow: 0 2px 8px rgba(153,0,0,0.08);
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
}
@media (max-width: 700px) {
    .service-map-preview {
        width: 98vw;
        max-width: 98vw;
    }
}
.service-map-caption {
    color: #ffeaea;
    font-size: 0.98em;
    margin-top: 6px;
    opacity: 0.8;
}
.service-map-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(30, 30, 30, 0.95);
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.4s;
}
.service-map-modal-content {
    display: block;
    max-width: 90vw;
    max-height: 80vh;
    margin: auto;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.45);
}
.service-map-modal-close {
    position: absolute;
    top: 18px; right: 38px;
    font-size: 2.5em;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
    font-weight: bold;
    user-select: none;
}
.service-map-modal-close:hover {
    color: #cc0000;
}
@media (max-width: 700px) {
    .service-map-preview {
        width: 98vw;
        max-width: 98vw;
    }
    .service-map-modal-content {
        max-width: 98vw;
        max-height: 60vh;
    }
    .service-map-modal-close {
        top: 8px; right: 18px;
        font-size: 2em;
    }
}
@media (max-width: 700px) {
    .img-comp-container.landscape {
        max-width: 420px;
        width: 98vw;
        min-width: 0;
        min-height: 120px;
    }
    .img-comp-container.portrait {
        max-width: 320px;
        width: 94vw;
        min-width: 0;
        min-height: 120px;
    }
    .img-comp-wrapper {
        gap: 12px;
        padding: 10px 0;
    }
    .service-item {
        margin-bottom: 0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    }
    .services-row {
        gap: 12px;
        margin-bottom: 0;
    }
}
