/* Reset default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

a {
    color:#009688;
    text-decoration: none;
}

/* Contained Button Style */
.contained-btn {
    display: inline-flex;
    align-items: center;
    background-color: #009688;  /* Default button color (can be overridden) */
    color: white;
    padding: 12px 24px; /* Adjust the size */
    font-size: 1.2rem; 
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px; /* Rounded corners for a modern look */
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
}

.contained-btn:hover {
    background-color: #00796b; /* Darker shade on hover */
    transform: scale(1.05); /* Slight zoom effect on hover */
}

.contained-btn:active {
    background-color: #004d40; /* Even darker shade on click */
    transform: scale(1); /* Return to original size on click */
}

/* WhatsApp Specific Button Style */
.whatsapp-btn-style {
    background-color: #25D366; /* WhatsApp green color */
}

.whatsapp-btn-style:hover {
    background-color: #22BF5B; /* Darker green for hover */
}

/* Instagram Specific Button Style */
.instagram-btn-style {
    background-color: #E1306C; /* Instagram pink color */
}

.instagram-btn-style:hover {
    background-color: #D61F5C; /* Darker pink for hover */
}

/* Icon Style */
.social-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* Header and Navigation */
header {
    background-color: #009688;
    color: white;
    padding: 10px 0;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px);
    background-color: #00695c;
    color: white;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 20px;
}

.hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.3;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
}

.action-button {
    margin-top: 24px;
    z-index: 100;
    display: flex;
    gap: 12px;
}

.action-button a {
   text-decoration: none;
}

/* Basic Styles for the section */
.services-section {
    text-align: center;
    background-color: #009688;
}

.services-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

/* Container for the service items */
.services-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 0 auto;
}

.service-item {
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    width: 100%;
    height: 400px;
}

.service-item h3 {
    font-size: 1.5rem;
    margin: 0;
    text-transform: uppercase;
    font-weight: bold;
}

/* About and Contact Section */
.about-section, .contact-section {
    padding: 12% 16%;
}

.about-section h2, .contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-section p, .contact-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Contact Section */
.contact-section {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px);
    color: black;
    justify-content: center;
    position: relative;
    text-align: left;
}

.contact-us {
    padding: 64px;
    background-color: white;
    border-radius: 8px;
    width: 50%;
    z-index: 100;
}

.contact-section::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/map.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.6;

}

.contact-section h2, .contact-section p {
    z-index: 2; /* Ensure text appears above the overlay */
}

/* Contact Section Address */
.contact-section address {
    font-style: normal;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: #009688;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 40px;
}

footer p {
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-container {
        grid-template-columns: 1fr;
    }

    .service-item {
        height: 300px;
    }

    .service-item h3 {
        font-size: 1.3rem;
    }

    .about-section, .contact-section {
        padding: 8%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .contact-us {
        padding: 64px;
        background-color: white;
        border-radius: 8px;
        width: 80%;
        z-index: 100;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 30px 10px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .service-item {
        height: 200px;
    }

    .service-item h3 {
        font-size: 1.3rem;
    }

    .about-section, .contact-section {
        padding: 8%;
    }

    .about-section h2, .contact-section h2 {
        font-size: 2rem;
    }

    .about-section p, .contact-section p {
        font-size: 1rem;
    }

    .contact-us {
        padding: 64px;
        background-color: white;
        border-radius: 8px;
        width: 80%;
        z-index: 100;
    }
    
    footer p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    nav ul li {
        display: inline;
        margin: 0 12px;
        font-size: 12px;
    }

    
    .hero-section {
        padding: 32px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .action-button {
        flex-direction: column;
        align-items: center;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .service-item {
        height: 200px;
    }

    .service-item h3 {
        font-size: 1.3rem;
    }

    .about-section, .contact-section {
        padding: 8%;
    }

    .about-section h2, .contact-section h2 {
        font-size: 2rem;
    }

    .about-section p, .contact-section p {
        font-size: 1rem;
    }

    .contact-us {
        padding: 32px;
        background-color: white;
        border-radius: 8px;
        width: 90%;
        z-index: 100;
        justify-items: center;
    }
    
    footer p {
        font-size: 14px;
    }
}
