/* main.css - Shared styles across all pages */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: rgb(32, 32, 32);
    color: white;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav-links a:hover {
    color: #007bff;
}

.main-title {
    text-align: center;
    padding: 40px 0;
    font-size: 36px;
    color: white;
}

.bottom-banner {
    position: relative;
    height: 300px;
    margin-top: 50px;
    background-image: url('frimg/image-20.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.banner-text {
    color: white;
    font-size: 36px;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

.footer a {
    color: #007bff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Service card styles */
.service-card {
    text-align: center;
    width: 280px;
    margin: 10px;
}

.service-card img {
    width: 100%; 
    height: 360px;
    max-width: 250px;
    object-fit: cover;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    margin: 10px 0;
    color: white;
}

.service-card p {
    color: #ddd;
    line-height: 1.6;
}

/* Media query for mobile view */
@media (max-width: 768px) {
    .service-card img {
        height: auto; 
        max-width: 100%;
    }
}

/* Common text styles */
.about-text, .contact-info, .additional-paragraph {
    color: #ddd;
    line-height: 1.6;
    margin: 20px 0;
    text-align: center;
}

/* Services container */
.services-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
}
