/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #4CAF50;
    padding: 15px 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.logo {
    width: 120px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s ease-in-out;
}

nav ul li a:hover {
    color: #FFD700;
}

/* Hero Section (Flash Images) */
.flash-images {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 300px;
    position: relative;
    background-color: #ddd;
    width: 100%;
    max-width: 100%;
}

.flash-images img {
    max-width: 100%;
    height: 300px;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Ensure the first image is always visible */
.flash-images img:first-child {
    opacity: 1;
}

/* Home Section */
#home {
    text-align: center;
    padding: 50px 20px;
}

h1 {
    font-size: 32px;
    color: #333;
}

p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 20px auto;
}

/* Book Appointment Button */
#book-appointment {
    display: inline-block;
    padding: 12px 20px;
    font-size: 18px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    border-radius: 5px;
    margin-top: 20px;
}

#book-appointment:hover {
    background-color: #388E3C;
}

/* Appointment Form */
#appointment-form {
    display: none;
    text-align: center;
    padding: 20px;
    background-color: white;
    width: 50%;
    max-width: 600px;
    margin: auto;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-top: 20px;
}

#appointment-form form {
    display: flex;
    flex-direction: column;
}

#appointment-form input,
#appointment-form select,
#appointment-form button {
    margin-bottom: 10px;
    padding: 10px;
    font-size: 16px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#appointment-form button {
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
}

#appointment-form button:hover {
    background-color: #388E3C;
}



.services-background {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.services-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('fash1.jpg'), url('flash2.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.2; /* Adjust to make it faint */
    animation: backgroundFade 10s infinite alternate;
}

@keyframes backgroundFade {
    0% {
        background-image: url('fash1.jpg');
    }
    100% {
        background-image: url('flash2.jpg');
    }
}

.services-container {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    max-width: 800px;
    margin: auto;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: auto;
}

input, select, button {
    padding: 10px;
    font-size: 16px;
}

button {
    background-color: green;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: darkgreen;
}
