header {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}
header nav ul li {
    margin: 0 clamp(10px, 2vw, 15px);
}
header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(1rem, 2.5vw, 1.2em);
    padding: 12px 14px;
    display: block;
    -webkit-tap-highlight-color: transparent;
}
.menu-toggle {
    display: none;
    font-size: clamp(1.2rem, 3vw, 1.5em);
    cursor: pointer;
}
.content-section {
    padding: clamp(20px, 5vw, 40px) 0;
    background: #fff;
    color: #333;
    width: 100%;
    text-align: center;
}
.content-section h2 {
    font-size: clamp(1.2rem, 4vw, 2em);
    margin-bottom: clamp(10px, 2vw, 20px);
}
.content-section h3 {
    font-size: clamp(1rem, 3vw, 1.5em);
    margin: clamp(10px, 2vw, 15px) 0;
}
.content-section p {
    font-size: clamp(0.9rem, 2.5vw, 1.1em);
    margin: 0 auto clamp(10px, 2vw, 20px);
    max-width: clamp(600px, 90vw, 800px);
    line-height: 1.6;
}
.content-section img {
    width: 100%;
    max-width: clamp(300px, 90vw, 768px);
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    margin-bottom: clamp(10px, 2vw, 20px);
    border-radius: 4px;
}
.services {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: clamp(15px, 3vw, 30px);
    padding: 0 clamp(10px, 2vw, 20px);
}
.service {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: clamp(250px, 45vw, 300px);
    max-width: clamp(300px, 90vw, 768px);
    text-align: center;
}
button {
    background: #0073e6;
    color: #fff;
    padding: clamp(12px, 2vw, 15px) clamp(20px, 3vw, 30px);
    border: none;
    cursor: pointer;
    font-size: clamp(0.9rem, 2.5vw, 1.1em);
    border-radius: 5px;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    -webkit-transition: background 0.3s ease, transform 0.2s;
    -o-transition: background 0.3s ease, transform 0.2s;
    transition: background 0.3s ease, transform 0.2s;
    min-width: 120px;
    -webkit-tap-highlight-color: transparent;
}
button:hover {
    background: #005bb5;
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}
.sticky-cta {
    position: fixed;
    bottom: clamp(10px, 2vw, 20px);
    right: clamp(10px, 2vw, 20px);
    z-index: 1000;
}
footer {
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: clamp(15px, 3vw, 20px);
    text-align: center;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
footer p {
    margin: clamp(5px, 1.5vw, 10px) 0;
    font-size: clamp(0.8rem, 2vw, 1em);
}
footer a {
    color: #66b0ff;
}
.map-container {
    width: 100%;
    max-width: 100%;
    margin: clamp(10px, 2vw, 20px) 0;
    overflow: hidden;
}
.map-container iframe {
    display: block;
    width: 100%;
    height: clamp(200px, 40vw, 450px);
    border: none;
    border-radius: 4px;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Ensure tel: links in the hero are white on all devices */
.hero a[href^='tel'] {
    color: #ffffff !important;
    text-decoration: none;
}
.hero a[href^='tel']:hover,
.hero a[href^='tel']:focus {
    color: #ffffff !important; /* Maintain white on hover/focus */
    text-decoration: underline; /* Subtle underline for interactivity */
}

/* Ensure span text (phone number) inherits white, overriding browser defaults */
.hero span {
    color: #ffffff !important;
}

/* Prevent Safari/iOS and other browsers from applying default blue link styling on touch devices */
@media (pointer: coarse) {
    .hero a[href^='tel'] {
        -webkit-text-decoration-color: #ffffff !important;
        text-decoration-color: #ffffff !important;
    }
    .hero span {
        -webkit-text-fill-color: #ffffff !important; /* Explicit Safari override */
    }
}

/* Media Queries */
@media (max-width: 1024px) {
    .services {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: clamp(10px, 2vw, 20px);
    }
    .service {
        min-width: 0;
    }
}
@media (max-width: 768px) {
    .hero h1 {
        font-size: clamp(1.5rem, 4vw, 2em);
    }
    .hero p {
        font-size: clamp(1rem, 3vw, 1.2em);
    }
    .content-section h2 {
        font-size: clamp(1.2rem, 3.5vw, 1.5em);
    }
    .services {
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    header {
        flex-direction: column;
        padding: clamp(5px, 2vw, 10px);
    }
    header nav ul {
        flex-direction: column;
        display: none;
        width: 100%;
        text-align: center;
    }
    header nav ul li {
        margin: clamp(5px, 2vw, 10px) 0;
    }
    .menu-toggle {
        display: block;
    }
    header nav ul.active {
        display: flex;
    }
}
@media (max-width: 480px) {
    .hero h1 {
        font-size: clamp(1.2rem, 4vw, 1.5em);
    }
    .hero p {
        font-size: clamp(0.9rem, 3vw, 1.1em);
    }
    .content-section h2 {
        font-size: clamp(1rem, 3.5vw, 1.2em);
    }
    .content-section p {
        font-size: clamp(0.8rem, 2.5vw, 1em);
    }
    footer p {
        font-size: clamp(0.7rem, 2vw, 0.9em);
    }
}
