/* General Styles */
body {
    font-family: Arial, sans-serif;

    background: white;

}

/* Hero Section */
.hero {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative; /* Ensures child absolute elements are positioned relative to this container */
    z-index: 1;
}

.hero img {
    width: 100%;    /* Span the full width of the container */
    height: auto;   /* Adjust height based on aspect ratio */
}

.btn {
    position: absolute;    /* Position the button on top of the image */
/*    bottom: 0px;   */
    top: 40%;       /* Adjust as needed */
    left: 9.75%;             /* Center horizontally */
    transform: translateX(-50%);
    padding: 10px 20px;
    background: #FFC107;
    color: #34495E;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background: #FFD54F;
    transform: scale(1.05);
}


/* Services Section */
.services {
    padding: 40px 20px;
}

.services h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

/* Services Container */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1000px;
    margin: auto;
}

/* Service Cards */
.service {
    background: white;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
    cursor: pointer;
}

.service img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.service h3 {
    margin: 15px 0 5px;
}

.service p {
    font-size: 0.9em;
    margin-bottom: 10px;
}

.service a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background: #34495E;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

/* Hover Effect */
.service:hover {
    transform: scale(1.05);
    background: #7F8C8D;
    color: white;
}

.service:hover a {
    background: white;
    color: #34495E;
}

/* Text Section */
.text-section {
    margin: 40px auto;
    padding: 20px;
    width: 80%;
}

.text-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-box p {
    font-size: 1.2em;
    margin: 0 20px;
}

/* Horizontal Separator */
.separator {
    width: 3px;
    height: 40px;
    background: #34495E;
}

/* Info Cards */
.info-cards {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 30px 20px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 220px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    border: 1px solid #ddd;
}

.card:hover {
    transform: scale(1.05);
    background: #7F8C8D;
    color: white;
}
