/* Services Variant 3 - Modern Alternating Split-Screen */

.services-3-page {
    /* Inherit font from theme */
    color: inherit;
    background-color: transparent;
}

.services-3-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
    /* Reduced padding to avoid double-padding with theme containers */
}

/* Hero Section */
.hero-v3 {
    padding: 140px 0 100px;
    background: #1a252f;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-v3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(100, 174, 168, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-v3 h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(to right, #fff, #64aea8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-v3 p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.85;
    line-height: 1.6;
}

/* Alternating Sections */
.service-row-v3 {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    gap: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.service-row-v3.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-row-v3:nth-child(even) {
    flex-direction: row-reverse;
}

.service-image-v3 {
    flex: 0 0 calc(50% - 30px);
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.service-image-v3 img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-row-v3:hover .service-image-v3 img {
    transform: scale(1.05);
}

.service-content-v3 {
    flex: 0 0 calc(50% - 30px);
}

.service-content-v3 .tag {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(100, 174, 168, 0.1);
    color: #64aea8;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.service-content-v3 h2 {
    font-size: 2.5rem;
    color: #1a252f;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-content-v3 p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
}

.service-features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 500;
    color: #2c3e50;
}

.service-features-list li i {
    color: #64aea8;
    margin-right: 12px;
    font-size: 1.1rem;
}

.btn-v3 {
    display: inline-block;
    padding: 14px 40px;
    background: #1a252f;            /* matches header button */
    color: #fff;
    text-decoration: none;
    border-radius: 100px;           /* petal/pill shape – same as header */
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 14px rgba(26, 37, 47, 0.25);
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.btn-v3:hover {
    background: #2d3f4f;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 28px rgba(26, 37, 47, 0.35);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {

    .service-row-v3,
    .service-row-v3:nth-child(even) {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 60px;
    }

    .hero-v3 h1 {
        font-size: 2.8rem;
    }

    .service-image-v3,
    .service-content-v3 {
        flex: 0 0 100%;
    }

    .service-image-v3 img {
        height: 350px;
    }
}

@media (max-width: 767px) {
    .hero-v3 {
        padding: 100px 20px 60px;
    }

    .hero-v3 h1 {
        font-size: 2.2rem;
    }

    .service-content-v3 h2 {
        font-size: 1.8rem;
    }
}