/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}
html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    background-color: #f9f9f9;
    line-height: 1.6;
}

/* Navigation Bar */
.navbar {
    background-color: #004d40; /* Dark teal */
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 20px; /* Add horizontal padding */
}
.navbar {
    background-color: #004d40; /* Retain existing background color */
    padding: 10px 20px;
    border: 2px solid #27ae60; /* Thin green border */
    border-radius: 8px; /* Slightly rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    display: flex; /* Flexbox for layout */
    justify-content: space-between; /* Space out elements */
    align-items: center;
}

.navbar-tagline {
    display: inline-block; /* Ensure border matches the text size */
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff; /* Green text color */
    border: 2px solid #27ae60; /* Thin green border */
    border-radius: 8px; /* Rounded corners */
    padding: 5px 10px; /* Padding inside the border */
    background-color: #004d40; /* Optional: White background */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    text-align: center; /* Center-align text */
    margin-left: 200px; /* Add space to the left to shift right */
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: flex-end; /* Align the navigation items to the right */
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar ul li {
    margin: 0 15px;
    position: relative;
}

.navbar ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar ul li a:hover {
    background-color: #2ecc71; /* Light green */
    color: #004d40; /* Dark teal */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Enhance shadow on hover */
}

.navbar ul li ul.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    background-color: #004d40;
    padding: 10px 0;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    right: 0; /* Align the dropdown to the right */
    left: auto; /* Remove the left alignment */
}

.navbar ul li:hover ul.dropdown {
    display: block;
}

.navbar ul li ul.dropdown li {
    margin: 0;
}

.navbar ul li ul.dropdown li a {
    color: white;
    padding: 10px 20px;
    display: block;
}

.navbar ul li ul.dropdown li a:hover {
    background-color: #2ecc71;
}
.logo img {
    height: 50px; /* Adjust the logo size as needed */
    width: auto; /* Maintain the aspect ratio */
    border: 2px solid #27ae60; /* Thin green border */
    border-radius: 8px; /* Slightly rounded corners */
    padding: 2px; /* Add some space inside the border */
    box-shadow: 0 2px 4px rgb(255, 255, 255); /* Subtle shadow for depth */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth hover effect */
}

.logo img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Enhance shadow on hover */
}


.navbar {
    display: flex; /* Flexbox layout for aligning logo and links */
    justify-content: space-between; /* Space between logo and links */
    align-items: center; /* Vertically center the logo and links */
    padding: 10px 20px;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: flex-end; /* Align links to the right */
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Modal Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black with opacity */
    padding-top: 100px;
    text-align: center;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal h2 {
    margin-bottom: 15px;
}

.modal input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.modal button {
    padding: 10px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.modal button:hover {
    background-color: #2ecc71;
}

.close {
    color: #aaa;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-image: url('hand.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-bottom: 0; /* Ensure no gap below the hero section */
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
}

.hero-content {
    z-index: 1;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

.hero-button {
    background-color: #27ae60;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.hero-button:hover {
    background-color: #2ecc71;
}

/* Sections */
.section {
    padding: 60px 20px;
    text-align: center;
    background-color: #ffffff;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}



/* About Us Section */
.about-us {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 60px 20px;
    background: linear-gradient(135deg, #e0f7fa, #157c34); /* Colorful gradient background */
    border-radius: 8px;
    color: #004d40; /* Dark teal text color for contrast */
}

.about-content {
    flex: 1;
    padding: 20px;
    color: #004d40; /* Dark teal text */
}

.about-content h2 {
    font-size: 2.5em;
    color: #00695c; /* Slightly darker teal for heading */
    margin-bottom: 15px;
}

.about-content p {
    font-size: 1.1em;
    line-height: 1.6;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background for better readability */
    padding: 15px;
    border-radius: 5px;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow for a 3D effect */
}

/* Services Section */
.services-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.service-card {
    background-color: #e8f5e9;
    padding: 20px;
    border-radius: 8px;
    width: 30%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card h3 {
    font-size: 1.5em;
    color: #27ae60;
    margin-bottom: 10px;
}
.service-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #27ae60; /* Green button */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.service-link:hover {
    background-color: #2ecc71; /* Light green hover effect */
}
.services {
    margin-top: 0; /* Remove any extra spacing above the services section */
    padding-top: 20px; /* Optional: Add minimal padding for visual balance */
}

/* Contact Us Section */
.contact-us {
    padding: 60px 20px;
    background: linear-gradient(135deg, #ffffff, #27ae60); /* Soft gradient */
    color: #004d40; /* Teal for text */
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-us h2 {
    font-size: 2.5em;
    color: #00695c; /* Darker teal for heading */
    margin-bottom: 20px;
}

.contact-us p {
    font-size: 1.2em;
    color: #004d40;
    margin-bottom: 30px;
}

/* Form Styling */
form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 8px;
    color: #00695c; /* Match heading color */
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 2px solid #00695c; /* Teal border */
    border-radius: 5px;
    background-color: #fff;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #27ae60; /* Bright green focus */
}

textarea {
    height: 100px;
}

/* Submit Button */
button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #00695c; /* Teal button */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #27ae60; /* Light green hover */
}
/* Create Account Section */


.create-account-section {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.create-account-section form {
    display: flex;
    flex-direction: column;
    
}

.create-account-section label {
    margin-bottom: 10px;
    font-weight: bold;
    color: #00695c;
}

.create-account-section input {
    padding: 10px;
    margin-bottom: 20px;
    border: 2px solid #00695c;
    border-radius: 5px;
}

.create-account-section button {
    padding: 12px;
    background-color: #00695c;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
}

.create-account-section button:hover {
    background-color: #27ae60;
}

.create-account-section p {
    text-align: center;
}

.create-account-section a {
    color: #00695c;
    font-weight: bold;
}
/* Link for "Don't have an account?" */
.create-account-section p {
    margin-top: 15px;
}

.create-account-link {
    color: #27ae60; /* Green color for the link */
    text-decoration: none;
    font-weight: bold;
}

.create-account-link:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Modal Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black with opacity */
    padding-top: 100px;
    text-align: center;

    /* UX Enhancements */
    opacity: 0;
    transition: opacity 0.3s ease; /* Smooth fade-in and fade-out */
}

/* Add a class to make the modal visible */
.modal.show {
    display: block;
    opacity: 1; /* Fully visible */
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

    /* Add animation for content appearance */
    transform: scale(0.8); /* Initial scale */
    transition: transform 0.3s ease; /* Smooth zoom effect */
}

.modal.show .modal-content {
    transform: scale(1); /* Back to normal scale */
}

.modal h2 {
    margin-bottom: 15px;
}

.modal input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.modal button {
    padding: 10px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.modal button:hover {
    background-color: #2ecc71;
}

.close {
    color: #aaa;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


/* Footer */
.footer {
    background: #004d40;
    color: white;
    padding: 15px;
    text-align: center;
    margin-top: 40px;
    font-size: 0.9em;
}
