/* Our Services Page Specific Styles */

/* Services Hero Section */
.services-hero {
    background: linear-gradient(145deg, #ffffff 0%, #f8fdfd 35%, #e8f8f5 70%, #f0fff4 100%);
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><circle cx="60" cy="60" r="3" fill="%232D8783" opacity="0.06"/><circle cx="340" cy="80" r="2" fill="%231ED3CA" opacity="0.08"/><circle cx="80" cy="320" r="2.5" fill="%232D8783" opacity="0.06"/><circle cx="320" cy="340" r="3.5" fill="%231ED3CA" opacity="0.07"/><path d="M200,80 C220,90 220,110 200,120 C180,110 180,90 200,80" fill="%232D8783" opacity="0.04"/><rect x="100" y="200" width="8" height="6" rx="3" fill="%231ED3CA" opacity="0.05"/><rect x="280" y="180" width="6" height="4" rx="2" fill="%232D8783" opacity="0.04"/></svg>');
    background-size: 400px 400px;
    animation: floatSlow 45s infinite linear;
    pointer-events: none;
    z-index: 1;
}

.services-hero .container {
    position: relative;
    z-index: 2;
}

.services-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.services-hero .highlight {
    color: var(--primary-teal);
}

.services-hero p {
    font-size: 20px;
    color: var(--text-grey);
    text-align: center;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
}

/* Detailed Services Section */
.detailed-services {
    padding: var(--section-padding);
    background: white;
}

.services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.detailed-service-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e8 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.detailed-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 181, 168, 0.15);
}

.detailed-service-card:nth-child(even) {
    grid-template-columns: 2fr 1fr;
}

.detailed-service-card:nth-child(even) .service-image {
    order: 2;
}

.detailed-service-card .service-image {
    width: 200px; /* Fixed width for circular container */
    height: 200px; /* Fixed height for circular container */
    border-radius: 50%; /* Make the container circular */
    overflow: hidden; /* Hide parts of the image outside the circle */
    display: flex; /* To center the image */
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 181, 168, 0.3); /* Apply shadow to container */
    transition: all 0.3s ease; /* Apply transition to container */
}

.detailed-service-card .service-image img {
    width: 100%; /* Make image fill the circular container */
    height: 100%; /* Make image fill the circular container */
    object-fit: cover; /* Crop image to fit the circular container */
    border-radius: 0; /* Remove border-radius from img, it's on the parent */
}

.detailed-service-card .service-image:hover {
    transform: scale(1.05); /* Apply hover effect to container */
}

.service-content h3 {
    color: #00695c;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

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

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    color: #555;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.service-features li::before {
    content: "✓";
    color: #2d8783;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.service-cta {
    background: linear-gradient(45deg, #2d8783, #26a69a);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 181, 168, 0.3);
    transition: all 0.3s ease;
}

.service-cta:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 181, 168, 0.4);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .services-hero {
        padding: 60px 0;
    }
    
    .detailed-service-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px;
        gap: 30px;
    }
    
    .detailed-service-card:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .detailed-service-card:nth-child(even) .service-image {
        order: 0;
    }
    
    .detailed-service-card .service-image {
        width: 160px;
        height: 160px;
        margin: 0 auto;
    }
    
    .service-content h3 {
        font-size: 1.5rem;
    }
    
    .service-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 40px 0 30px;
    }
    
    .services-hero h1 {
        font-size: 28px;
    }
    
    .services-hero p {
        font-size: 16px;
        padding: 0 15px;
    }
    
    .services-wrapper {
        gap: 30px;
    }
    
    .detailed-service-card {
        padding: 25px;
        gap: 25px;
        border-radius: 15px;
    }
    
    .detailed-service-card .service-image {
        width: 140px;
        height: 140px;
    }
    
    .service-content h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .service-content p {
        margin-bottom: 20px;
        font-size: 0.95rem;
    }
    
    .service-features {
        margin-bottom: 25px;
    }
    
    .service-features li {
        margin-bottom: 8px;
        padding-left: 20px;
        font-size: 0.9rem;
    }
    
    .service-cta {
        padding: 10px 20px;
        font-size: 0.9rem;
        border-radius: 20px;
    }
}

/* Animation Keyframes */
@keyframes floatSlow {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(1deg); }
    50% { transform: translate(-10px, 10px) rotate(-1deg); }
    75% { transform: translate(15px, -15px) rotate(0.5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}