/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    /* background-color: var(--background-color);
    background-color: var(--background-color, #f0f0f0);*/
    background: linear-gradient(to bottom, #76c62b, #f0f4f8);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
}

/* Color Variables */
:root {
    --background-color: #f0f0f0;
    --text-color: #333;
    --primary-color: #4CAF50;
    --card-background: white;
}

[data-theme="dark"] {
    --background-color: #121212;
    --text-color: #ffffff;
    --card-background: #1e1e1e;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* Heading */
h1 {
    margin-bottom: 30px;
    color: #333;
}

/* Hero Section */
.hero {
    background-image: url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    color: black;
    padding: 10px;
    text-align: center;
}

/* Call-to-Action Button */
.cta-button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: black;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #45a049;
    color: white;
}

/* Service Section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}

.service-card {
    background-color: var(--card-background);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s;
    cursor: pointer;
    width: 100%;
    max-width: 250px;
}

.service-card:hover {
    transform: scale(1.05);
}

.service-icon {
    font-size: 50px;
    color: var(--primary-color);
}

.service-label {
    margin-top: 10px;
    font-size: 18px;
    color: #555;
}

.service-description {
    margin-top: 10px;
    font-size: 14px;
    color: #777;
}

/* Contact Section */
.contact-section {
    padding: 20px;
    background-color: #eec;
    margin-top: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form input,
.contact-form textarea {
    width: 50%;
    max-width: 500px;
    padding: 5px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.submit-button {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: black;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #45a049;
    color: white;
}

/* Back Button */
.back-button {
    margin-top: 30px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: progress;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #45a049;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    padding: 1rem 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease;
}

.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin: 0 15px;
    position: relative;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 5px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #FFD700;
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: white;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-list a:hover::after {
    transform: scaleX(1);
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-media a {
    color: white;
    margin: 0 10px;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: var(--primary-color);
}

.social-icons img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons a:hover img {
    transform: scale(1.2);
    opacity: 0.8;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
    }

    .nav-list li {
        margin: 10px 0;
    }

    .social-icons {
        margin-top: 10px;
    }

    .social-icons img {
        width: 20px;
        height: 20px;
    }

    .modal-content {
        width: 95%;
    }
}
