/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Work Sans", sans-serif;
    line-height: 1.6;
}

.cta-button2 {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #03a9f5;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
    font-weight: bold;
}

.b-color2 {
    color: #03a9f5;
    font-size: 1.8rem;
}

/* Hero section */
.hero-2 {
    height: 40vh;
    background-image: url('../images/service-hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    
}

.hero-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #111;
    opacity: 60%;
}

.hero-content-2 {
    position: relative;
    z-index: 1;
    max-width: 90%;
}

.hero-2 h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-2 p {
    font-size: 1.1rem;
}

/* Service sections */
.s-box {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-image {
    text-align: center;
}

.service-image img {
    max-width: 85%;
    height: auto;
}

.service-content {
    margin-top: 1rem;
}

.service-b h3 {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.service-b h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-b p {
    margin-bottom: 1rem;
}

.service-b button:hover {
    background-color: #0056b3;
}

/* Alternating styles */
.service-1, .service-3 {
    background-color: #f8f9fa;
}

.service-2 {
    background-color: #e9ecef;
}

/* Media queries */
@media (min-width: 600px) {
    .s-box {
        align-items: center;
    }
}

@media (min-width: 768px) {
    .s-box {
        flex-direction: row;
        align-items: center;
    }

    .service-image {
        flex: 1;
    }

    .service-content {
        flex: 1;
        margin-top: 0;
        margin-left: 2rem;
    }

    .service-2 {
        flex-direction: row-reverse;
    }

    .service-2 .service-content {
        margin-left: 0;
        margin-right: 2rem;
    }
}

@media (min-width: 1000px) {
    .hero-2 {
        height: 60vh;
    }
    
    .s-box {
        padding: 4rem 6rem;
        gap: 3rem;
    }
   
    .service-image img {
        max-width: 100%;
    }
}

@media (min-width: 1200px) {
    .s-box {
        padding: 4rem 7rem;
    }
}