/* Import the header and footer styles from Home.css */
@import url('Home.css');

/* Services page specific styles */
.services-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    margin-bottom: 50px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 0 20px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 48px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    animation: fadeInUp 0.8s ease;
}

.hero-text p {
    font-size: 24px;
    color: #E41B23;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-text .hero-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-button {
    display: inline-block;
    background-color: #E41B23;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-button:hover {
    background-color: #C41820;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.hero-image {
    flex: 1;
    max-width: 500px;
    animation: fadeIn 1s ease 0.8s forwards;
    opacity: 0;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 20px;
    }

    .hero-image {
        max-width: 100%;
    }
}

.services-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.service-features li {
    color: #666;
    margin-bottom: 8px;
}

.service-button {
    display: inline-block;
    padding: 10px 25px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

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

/* Features Section */
.service-features-section {
    text-align: center;
    margin-bottom: 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.feature-item h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 20px;
}

/* Pricing Section */
.pricing-section {
    text-align: center;
    margin-bottom: 80px;
}

.pricing-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.pricing-grid::-webkit-scrollbar {
    display: none;
}

.pricing-card {
    flex: 0 0 auto;
    width: 300px;
    min-width: 300px;
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid #007bff;
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.2);
}

/* Optional hover effect for non-featured cards */
.pricing-card:not(.featured):hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.pricing-card h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.price {
    color: #666;
    margin-bottom: 10px;
}

.amount {
    font-size: 36px;
    color: #007bff;
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-card ul li {
    color: #666;
    margin-bottom: 10px;
}

.pricing-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 36px;
    }

    .services-hero p {
        font-size: 20px;
    }

    .pricing-grid {
        padding: 20px 15px;
        margin: 0 -15px;
    }
    
    .pricing-card {
        width: 280px;
        min-width: 280px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

/* Add this after your existing service card styles */
.service-cards {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    flex-wrap: nowrap;
    margin: 50px 0;
}

.service-card {
    flex: 1;
    min-width: 220px;
    max-width: 250px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.service-card h3 {
    margin: 10px 0;
    color: #333;
    font-size: 20px;
}

.service-card p {
    color: #666;
    line-height: 1.4;
    margin-bottom: 15px;
    font-size: 14px;
}

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

.service-features li {
    color: #666;
    margin-bottom: 8px;
}

.service-button {
    display: inline-block;
    background-color: #E41B23;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.service-button:hover {
    background-color: #C41820;
}

/* Add responsive design for smaller screens */
@media (max-width: 968px) {
    .service-cards {
        flex-wrap: wrap;
    }
    
    .service-card {
        min-width: 280px;
    }
}

/* Service cards for services page */
.services-page-grid {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    margin: 50px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-wrap: nowrap; /* Ensure no wrapping */
}

.services-page-grid::-webkit-scrollbar {
    display: none;
}

@media (max-width: 768px) {
    .services-page-grid {
        padding: 20px 15px;
        margin: 30px -15px;
    }

    .services-page-grid .service-card {
        width: 260px;
        min-width: 260px;
        margin: 0;
    }
}