/* General Body Styles */
body {
    font-family: 'Open Sans', sans-serif; /* A clear, readable font */
    margin: 0;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark backgrounds */
    background-color: #1a1a2e; /* Fallback dark background */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header */
.main-header {
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent dark header */
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header h1 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #8cffb3; /* Bright green for contrast */
    font-size: 1.8rem;
}

.main-header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-header nav ul li {
    display: inline-block;
    margin-left: 25px;
}

.main-header nav a {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.main-header nav a:hover {
    color: #4CAF50; /* A nice green on hover */
}

/* Hero Section - Uses your background image */
.hero {
    height: 100vh; /* Full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 60px; /* Offset for fixed header */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 800px;
}

.hero h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #4CAF50; /* Green button */
    color: #ffffff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

/* Section Styling */
section {
    padding: 60px 0;
    text-align: center;
}

.about-section {
    background-color: #2b2b4d; /* Dark blue-purple */
    color: #e0e0e0;
}

.about-section h3 {
    color: #8cffb3;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.about-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 15px auto;
}

.services-section {
    background-color: #1a1a2e; /* Even darker blue */
    color: #f0f0f0;
}

.services-section h3 {
    color: #8cffb3;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-item {
    background-color: #2b2b4d;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border-left: 5px solid #4CAF50; /* Green accent */
}

.service-item:hover {
    transform: translateY(-5px);
    background-color: #3a3a60;
}

.service-item h4 {
    color: #4CAF50;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 1rem;
    color: #c0c0c0;
}

/* Contact Section */
.contact-section {
    background-color: #2b2b4d;
    color: #e0e0e0;
}

.contact-section h3 {
    color: #8cffb3;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.contact-section form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    padding: 20px;
    background-color: #1a1a2e;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

/* --- 1. CORE INPUT/TEXTAREA STYLING (The original block, but fully corrected) --- */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"], /* CORRECTED: Date field included */
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #4CAF50; 
    background-color: #3a3a60; 
    color: #f0f0f0;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box; 
    /* NEW ADDITION: Force height and fix placeholder */
    min-height: 45px; /* Ensures all inputs have a minimum height */
}

/* --- 2. TEXTAREA SPECIFIC FIXES (Separate rule for height) --- */
.form-group textarea {
    min-height: 150px; 
    resize: vertical;
}

.form-group textarea::placeholder {
    color: #b0b0d0; /* Ensures visibility */
}

/* --- 3. BUTTON STYLING FIX (Targeting the button outside the form-group) --- */
.contact-section form button[type="submit"] {
    display: block; /* Forces it onto its own line */
    margin-top: 25px; 
    padding: 15px 30px;
    /* Match your existing .btn styles to fix misalignment */
    background-color: #4CAF50;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Add the hover state for the button */
.contact-section form button[type="submit"]:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="date"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8cffb3; /* Lighter green on focus */
    box-shadow: 0 0 8px rgba(140, 255, 179, 0.5);
}

/* Footer */
.main-footer {
    background-color: #000000; /* Solid black footer */
    color: #a0a0a0;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 2px solid #4CAF50; /* Green line at top */
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
    }
    .main-header nav ul {
        margin-top: 15px;
        text-align: center;
    }
    .main-header nav ul li {
        margin: 0 10px;
    }
    .hero h2 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    .about-section h3, .services-section h3, .contact-section h3 {
        font-size: 2rem;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-header h1 {
        font-size: 1.5rem;
    }
    .main-header nav a {
        font-size: 1rem;
    }
    .hero h2 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
