
.service-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5.3125rem; 
    background-color: rgba(21, 21, 21, 0.5);
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.service-nav ul {
    display: flex;
    justify-content: flex-start;
    list-style-type: none;
    padding: 0;
    margin-top: 0.625rem; 
    margin-left: 1.25rem; 
}

.service-nav li {
    padding: 0.9375rem 1.25rem; 
}

.service-nav a {
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.5rem; 
    transition: color 0.3s ease;
}

.service-nav a:hover {
    color: #E2353E;
}

.service-hero {
    position: relative;
    width: 100%;
    height: 34.375rem; 
    overflow: hidden;
}

.service-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-hero-title {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 12vw;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    width: 90%;
    text-align: center;
}

.service-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5.3125rem; 
    background-color: rgba(21, 21, 21, 1);
}

.service-section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 2.25rem; 
    color: #E2353E;
    text-align: left;
    margin-top: 2rem;
    margin-left: 30%;
    margin-bottom: 1.5rem;
}

.service-section-content {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.5rem; 
    color: #333;
    text-align: left;
    margin-left: 30%;
    margin-right: 10%;
    line-height: 1.6;
}

.service-section-title:not(:first-of-type) {
    margin-top: 3rem;
}

.section-nav {
    position: fixed;
    left: 1.25rem; 
    background-color: rgba(0, 0, 0, 1);
    padding: 0.9375rem; 
    border-radius: 5px;
    z-index: 100;
    transition: top 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
    width: 25%;
    max-width: 25%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-nav.visible {
    opacity: 1;
    pointer-events: auto;
}

.section-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.section-nav li {
    margin-bottom: 0.625rem; 
}

.section-nav li:last-child {
    margin-bottom: 0;
}

.section-nav a {
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem; 
    transition: color 0.3s ease;
    display: block;
    padding: 0.3125rem 0.625rem; 
    text-align: left;
}

.section-nav a:hover,
.section-nav a.active {
    color: #E2353E;
}

.enquiry-button-container {
    text-align: center;
    margin-top: 3.125rem;
    margin-bottom: 3.125rem; 
    opacity: 0;
    transition: opacity 0.3s ease;
}

.enquiry-button {
    display: inline-block;
    padding: 0.9375rem 1.875rem; 
    background-color: #E2353E;
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.enquiry-button:hover {
    color: black;
}

.footer {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 1rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    position: relative;
    width: 100%;
}

.footer p {
    margin: 0;
}

/* Media Queries */
/* Mobile */
@media screen and (max-width: 660px){
    .service-nav {
        height: 4rem;
    }
    .service-nav li{
        padding: 0.5rem 0.625rem;
    }
    .service-nav a {
        font-size: 0.65rem; 
    }
    .service-hero {
        height: 20rem; 
    }
    .service-hero-image {
        height: 100%;
    }
    .service-hero::after {
        height: 4rem; 
    }
    .service-hero-title {
        font-size: 10vw;
    }
    .service-section-title {
        font-size: 1rem; 
        margin-left: 40%;
    }
    .service-section-content {
        font-size: 0.5rem; 
        margin-left: 40%;
        margin-right: 5%;
        margin-top: 1rem;
    }
    .section-nav {
        width: 23%;
        max-width: 23%;
    }
    .section-nav a {
        font-size: 0.5rem; 
    }
    .enquiry-button {
        font-size: 0.5rem; 
        padding: 0.5rem 1rem; 
    }
    .footer{
        padding: 0.7rem 0;
        font-size: 0.6rem;
      }

}

/* Tablets */
@media screen and (min-width: 661px) and (max-width: 800px) {

    .service-nav a {
        font-size: 1.2rem; 
    }
    .service-hero-title {
        font-size: 6vw;
    }
    .service-section-title {
        font-size: 1.2rem; 
        margin-left: 40%;
    }
    .service-section-content {
        font-size: 1rem; 
        margin-left: 40%;
        margin-right: 5%;
    }
    .section-nav {
        width: 25%;
        max-width: 25%;
    }
    .section-nav a {
        font-size: 0.58rem; 
    }
    .enquiry-button {
        font-size: 1rem;
        padding: 1rem 2rem; 
    }
    .footer{
        padding: 0.7rem 0;
        font-size: 0.6rem;
      }
}

/* Laptops S */
@media screen and (min-width: 801px) and (max-width: 1100px){

    .service-nav a {
        font-size: 1.5rem; 
    }
    .service-hero-title {
        font-size: 6.5vw;
    }
    .service-section-title {
        font-size: 1.5rem;
        margin-left: 33%;
    }
    .service-section-content {
        font-size: 1.1rem;
        margin-left: 33%;
        margin-right: 10%;
    }
    .section-nav {
        width: 23%;
        max-width: 23%;
    }
    .section-nav a {
        font-size: 0.72rem; 
    }
    .enquiry-button {
        font-size: 1.1rem; 
        padding: 1rem 2rem;
    }
    .footer{
        padding: 0.8rem 0;
        font-size: 0.7rem;
      }
}

/* Laptops L*/
@media screen and (min-width: 1101px) and (max-width: 1600px) {

    .service-nav a {
        font-size: 1.5625rem; 
    }
    .service-hero-title {
        font-size: 6vw;
    }
    .service-section-title {
        font-size: 1.75rem; 
        margin-left: 35%;
    }
    .service-section-content {
        font-size: 1.25rem;
        margin-left: 35%;
        margin-right: 7%;
    }
    .section-nav {
        width: 28%;
        max-width: 28%;
    }
    .section-nav a {
        font-size: 0.8rem;
    }
    .enquiry-button {
        font-size: 1.25rem; 
        padding: 1.25rem 2.5rem; 
    }
    .footer{
        padding: 1rem 0;
        font-size: 0.9rem;
      }
}

/* 4k/Desktops */
@media (min-width: 1601px)  {

    .service-nav a {
        font-size: 1.625rem; 
    }
    .service-hero-title {
        font-size: 6vw;
    }
    .service-section-title {
        font-size: 2.5rem;
        margin-left: 30%;
    }
    .service-section-content {
        font-size: 1.625rem;
        margin-left: 30%;
        margin-right: 10%;
    }
    .section-nav {
        width: 25%;
        max-width: 25%;
    }
    .section-nav a {
        font-size: 1.072rem;
    }
    .footer{
        padding: 1.1rem 0;
        font-size: 1.5rem;
      }
}

