/* Services Page Styles */

/* Basic Layout */
.container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 1rem;
}

.services-page-header.section-padding {
    padding: 10rem 0 5rem;
}

.section-padding {
    padding: 5rem 0 5rem;
}

.bg-light {
    background-color: #f8f9fa;
}

/* Page Header */
.services-page-header {
    background: linear-gradient(135deg, #273039 0%, #1a2329 100%);
    color: white;
    text-align: center;
}

.services-page-header-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: white;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Grid */
.services-grid-section {
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.service-grid-item {
    display: flex;
}

.service-grid-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.service-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.service-grid-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-grid-card:hover .service-grid-image img {
    transform: scale(1.05);
}

.service-grid-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #6c757d;
    font-size: 3rem;
}

.service-grid-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-grid-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.3;
}

.service-grid-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    flex: 1;
}

.service-grid-features {
    margin-bottom: 1.5rem;
}

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

.service-features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

.service-features-list li i {
    color: #bdd653;
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.service-grid-cta {
    margin-top: auto;
}

.service-grid-cta {
    margin-top: auto;
}

.service-grid-link {
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.service-grid-link:hover {
    color: #273039;
    text-decoration: none;
}

.service-grid-link i {
    transition: transform 0.3s ease;
}

.service-grid-link:hover i {
    transform: translateX(3px);
}

/* CTA Section */
.services-cta-section {
    background: #f8f9fa;
}

.services-cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.cta-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-title .btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn {
    background-color: #273039;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn:hover {
    background-color: #1a2329;
    color: white;
    text-decoration: none;
}

.btn-primary {
    background-color: #273039;
    color: white;
}

.btn-primary:hover {
    background-color: #1a2329;
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-grid-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .service-grid-content {
        padding: 1rem;
    }
    
    .service-grid-title {
        font-size: 1.2rem;
    }
    
    .service-grid-excerpt {
        font-size: 0.9rem;
    }
}

/* Animation */
.service-grid-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for grid items */
.service-grid-item:nth-child(1) { animation-delay: 0.1s; }
.service-grid-item:nth-child(2) { animation-delay: 0.2s; }
.service-grid-item:nth-child(3) { animation-delay: 0.3s; }
.service-grid-item:nth-child(4) { animation-delay: 0.4s; }
.service-grid-item:nth-child(5) { animation-delay: 0.5s; }
.service-grid-item:nth-child(6) { animation-delay: 0.6s; }
