/* Services Page Styling */

/* FontAwesome Icon Styling */
.service-card-icon i {
    font-size: 2.5rem;
    color: #2a9d8f;
    line-height: 1;
    font-weight: 900;
}

/* Service Cards Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 0;
}

/* Modern Service Card */
.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2a9d8f 0%, #1e8b7d 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(42, 157, 143, 0.15);
    border-color: #2a9d8f;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Service Card Icon */
.service-card-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e8f5f2 0%, #f0f8f7 100%);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: #2a9d8f;
    box-shadow: 0 4px 12px rgba(42, 157, 143, 0.1);
    z-index: 10;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    overflow: visible !important;
    visibility: visible !important;
}



.service-card:hover .service-card-icon {
    background: linear-gradient(135deg, #2a9d8f 0%, #1e8b7d 100%);
    color: white;
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(42, 157, 143, 0.3);
}

.service-card:hover .service-card-icon i {
    color: white !important;
}

/* Service Card Body */
.service-card-body {
    width: 100%;
}

.service-card-body h3 {
    color: #1a1a1a;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.service-desc {
    color: #4a4a4a;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* Service Features List */
.service-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-features li {
    color: #4a4a4a;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    line-height: 1.6;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 0.75rem;
    position: relative;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2a9d8f;
    font-weight: bold;
    font-size: 1.1rem;
}

.service-features li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-features strong {
    color: #1a1a1a;
}


/* Services Intro Section */
.services-intro {
    animation: fadeInDown 0.6s ease;
}

.services-intro h2 {
    color: #1a1a1a;
    font-weight: 700;
}

.services-intro p {
    color: #4a4a4a;
}

/* CTA Section */
.services-cta {
    animation: fadeInUp 0.6s ease both;
}

.services-cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.services-cta-text h2 {
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.services-cta-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.services-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.services-cta-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.services-cta-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Why Choose Section */
.why-choose-section {
    animation: fadeInUp 0.6s ease 0.2s both;
}

.why-choose-section h2 {
    color: #1a1a1a;
}

.why-choose-content ul li {
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 2;
}

.why-choose-content .btn {
    background: #2a9d8f;
}

.why-choose-content .btn:hover {
    background: #1e8b7d;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card-icon {
        font-size: 3rem;
        width: 60px;
        height: 60px;
    }

    .services-cta-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-cta-text h2 {
        font-size: 1.8rem;
    }

    .services-cta-text p {
        font-size: 1rem;
    }

    .service-card-body h3 {
        font-size: 1.15rem;
    }

    .service-desc {
        font-size: 0.9rem;
    }

    .service-features li {
        font-size: 0.85rem;
    }

    .services-intro h2 {
        font-size: 1.8rem;
    }

    .services-intro p {
        font-size: 0.95rem;
    }

    .why-choose-section {
        padding: 2rem !important;
    }

    .why-choose-section h2 {
        font-size: 1.6rem;
    }

    .why-choose-content ul li {
        font-size: 0.95rem;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 1.25rem;
        border-radius: 10px;
    }

    .service-card-icon {
        font-size: 2.5rem;
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }

    .services-cta-content {
        grid-template-columns: 1fr;
    }

    .services-cta-text h2 {
        font-size: 1.5rem;
    }

    .services-cta-text p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .services-cta-buttons {
        flex-direction: column;
    }

    .services-cta-buttons .btn {
        width: 100%;
    }

    .service-card-body h3 {
        font-size: 1.05rem;
    }

    .service-desc {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .service-features li {
        font-size: 0.8rem;
        padding: 0.4rem 0;
        padding-bottom: 0.5rem;
    }

    .services-intro {
        margin-bottom: 2rem;
    }

    .services-intro h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .services-intro p {
        font-size: 0.9rem;
        max-width: 100%;
        line-height: 1.6;
    }

    .why-choose-section {
        padding: 1.5rem !important;
        margin-top: 2rem;
    }

    .why-choose-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .why-choose-content ul li {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 0.75rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }

    .btn-sm {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}