* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Header Styles */
header {
    background-color: #244649;
    color: white;
    padding: 2rem 1rem 1rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

header p {
    font-size: 1.1rem;
    color: #E5D7B9;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

/* Navigation */
nav {
    background-color: rgba(0,0,0,0.1);
    padding: 1rem;
    margin-top: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s;
    display: inline-block;
}

nav a:hover {
    background-color: rgba(229, 215, 185, 0.1);
}

/* Main Content Sections */
section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

h2 {
    color: #244649;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    color: #244649;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

/* Before/After Image Container */
.image-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.image-item {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.image-item:hover {
    transform: translateY(-5px);
}

.image-item p {
    color: #244649;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.image-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

/* Updated Form Styles */
form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #244649;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #244649;
    box-shadow: 0 0 0 2px rgba(36, 70, 73, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 1rem 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    margin: 0;
}

button {
    background-color: #244649;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

button:hover {
    background-color: #1a3437;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.modal-content h2 {
    color: #244649;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.modal-buttons button {
    flex: 1;
}

#quoteDetails {
    margin: 1rem 0;
}

#quoteDetails p {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: #244649;
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
}

footer p {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    nav a {
        display: block;
        margin: 0.5rem 0;
    }
    
    .image-container {
        gap: 1rem;
    }
    
    .image-item {
        min-width: 100%;
    }
    
    form {
        padding: 1rem;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .modal-buttons button {
        width: 100%;
        margin: 0.5rem 0;
    }
}