/* Services Section */
.services-section {
    text-align: center; /* Center align title */
    margin: 50px 20px; /* Add space above and below the section */
}

.services-section h1 {
    font-size: 2.5rem; /* Adjust title size */
    color: #fff; /* Ensure the title color is visible */
    margin-bottom: 30px; /* Space between title and cards */
}

/* Services Cards Container */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 30px; /* Space between cards */
    justify-items: center; /* Center align the cards */
    margin: 0 auto;
    max-width: 1200px; /* Limit container width */
}

/* Individual Service Card */
.service-card {
    background-color: #1e1e1e; /* Card background */
    color: #fff; /* Text color */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    overflow: hidden;
    max-width: 300px;
    text-align: left;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px); /* Slight hover animation */
}

.service-card img {
    width: 100%; /* Make images responsive */
    height: auto;
}

.service-card h2 {
    font-size: 1.5rem;
    margin: 15px;
}

.service-card p {
    font-size: 1rem;
    margin: 15px;
    line-height: 1.5;
}

.service-card a {
    display: inline-block;
    margin: 15px;
    color: #ff4500; /* Highlight link */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.service-card a:hover {
    color: #fff; /* White color on hover */
}
/* General reset styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #000; /* Background color for the page */
    color: #fff; /* Text color */
}

.services-section {
    padding: 50px 20px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    color: #fff;
}

.section-title .highlight {
    color: #ff4500; /* Highlight color */
}

/* Grid layout for the services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 20px; /* Space between the cards */
    justify-items: center;
    align-items: stretch;
}

.service-card {
    background-color: #121212; /* Card background */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 320px; /* Optional width cap for consistency */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.service-img {
    width: 100%; /* Image stretches to card width */
    height: auto; /* Maintain aspect ratio */
}

.service-content {
    padding: 20px;
    text-align: left;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.service-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    color: #ff4500;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #ffa07a;
}

/* Responsive fixes for smaller screens */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .service-card {
        max-width: 100%; /* Let cards take full width on small screens */
    }
}

@media (max-width: 480px) {
    .service-content h3 {
        font-size: 1.2rem;
    }

    .service-content p {
        font-size: 0.8rem;
    }
}
