/* General Body and Typography */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    text-align: justify;
    color: #333;
    background-color: #f4f4f4;
}

h1, h2, h3 {
    color: #0056b3;
    text-align: center;
}

/* Header and Navigation Bar */
header {
    background: #fff;
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
}

.hamburger {
    display: none; /* Hidden on desktop */
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

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

.admin-link {
    background-color: #007bff;
    color: #fff !important;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.admin-link:hover {
    background-color: #0056b3;
}

/* Hero Section */
.hero-section {
    color: #fff;
    text-align: center;
    padding: 150px 20px;
    position: relative;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* CHANGE: Replaced rgba(0, 0, 0, 0.5) with the new RGB color */
    background: rgb(4 77 255 / 50%);
    z-index: -1;
}

/* ... rest of your styles ... */.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 10px;
    color: #fff;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #007bff;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #0056b3;
}

/* General Sections */
section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-section {
    background-color: #fff;
}

/* Services Section */
.services-section {
    background-color: #e9ecef;
}

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

.service-item {
    background-color: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-item i {
    font-size: 3em;
    color: #007bff;
    margin-bottom: 15px;
}

.service-item h3 {
    margin-top: 0;
}

/* Contact Form Section */
.contact-form-section {
    background-color: #fff;
}

.contact-form-section h2, .contact-form-section p {
    text-align: center;
}

.contact-form-section form {
    max-width: 600px;
    margin: 20px auto;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

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

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

.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

button[type="submit"] {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

.status-message {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
}

.status-message.success {
    background-color: #d4edda;
    color: #155724;
}

.status-message.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2em;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: block;
    }
}

.time-button-grid {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.time-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.time-btn:hover:not(.unavailable) {
    background-color: #e0e0e0;
}

.time-btn.selected {
    background-color: #ff7800;
    color: white;
    border-color: #ff7800;
}

/* Style for unavailable time slots */
.time-btn.unavailable {
    background-color: #e0e0e0;
    color: #a0a0a0;
    cursor: not-allowed;
    border-color: #a0a0a0;
    /* Optional: Greyscale effect for visual clarity */
    filter: grayscale(100%);
    opacity: 0.6;
}

