/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* Hero Section with Background Image */
.hero {
    background: url('services.avif') no-repeat center center/cover;
    color: white;
    text-align: center;
    height: 60vh; /* Sets height to 50% of the viewport */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

/* Adding a dark overlay for better text visibility */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.732); /* Adjust opacity for better readability */
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

/* Ensure text appears above the overlay */
.hero h1, .hero p {
    position: relative;
    z-index: 1;
}

/* Hero Section Heading */
.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    animation: fadeIn 1s ease-in-out;
}

/* Hero Section Paragraph */
.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}
/* Services Section Styling */
.services {
    text-align: center;
    padding: 50px 20px;
    background: #f9f9f9;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: auto;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.icon {
    font-size: 3rem; /* Increased icon size */
    color: #ff6600;
    margin-bottom: 15px;
}
/* View Details Button */
.view-details-btn {
    display: inline-block;
    padding: 10px 15px;
    background: #3498db;
    color: white;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: 0.3s;
    margin-top: 15px;
}

.view-details-btn:hover {
    background: #2980b9;
}
.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.service-card p {
    font-size: 1rem;
    color: #666;
}
