

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    color: black;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1200px;
}

/* Header Styles */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    flex-wrap: wrap;
}

#Logo {
    height: auto;
    width: 230px;
    max-width: 100%;
}

header ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
}

header ul li {
    flex: 1;
    text-align: center;
}

header ul li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    background-color: rgba(0, 35, 125, 1);
    padding: 10px 20px;
    display: block;
    font-size: 1.2rem;
    transition: transform 0.4s ease-in-out;
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 6px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

header ul li a:hover {
    background-color: rgba(0, 35, 125, 0.9);
    transform: scale(1.1);
}

header ul li a:active {
    background-color: rgba(0, 35, 125, 0.7);
}

h1 {
    color: rgb(0, 35, 125);
    margin-bottom: 20px;
}

p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

button {
    background-color: rgb(0, 35, 125);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

button:hover {
    background-color: rgba(0, 35, 125, 0.9);
    transform: scale(1.05);
}

button:active {
    background-color: rgba(0, 35, 125, 0.7);
}

/* Gallery Section */
.gallery {
    padding: 40px 0;
    text-align: center;
}

.gallery h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: rgb(0, 35, 125);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}

.gallery-item {
    width: 100%;
    aspect-ratio: 4 / 3; /* Forces all items to same 4:3 size */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.quote-form-container {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.quote-form-container h2 {
    text-align: center;
    color: rgb(0, 35, 125);
    margin-bottom: 20px;
    font-size: 2rem;
}

.quote-form-container label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

.quote-form-container input,
.quote-form-container textarea,
.quote-form-container button {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
    font-family: inherit;
}

.quote-form-container button {
    background-color: rgba(0, 35, 125, 1);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.quote-form-container button:hover {
    background-color: rgba(0, 35, 125, 0.9);
    transform: scale(1.05);
}

.error-message {
    color: red;
    font-size: 0.9rem;
    display: none;
}

@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    header ul {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding-top: 10px;
    }

    header ul li {
        width: 100%;
    }

    header ul li a {
        width: 100%;
    }

    header ul li a:hover {
        transform: scale(1.02);
    }

    .gallery {
        padding: 20px 0;
    }

    .gallery h2 {
        font-size: 1.5rem;
    }

    .gallery-grid {
        gap: 15px;
    }

    .quote-form-container {
        padding: 15px;
         margin: 20px auto;
    }

    .quote-form-container h2 {
        font-size: 1.5rem;
    }

    .quote-form-container input,
    .quote-form-container textarea {
        padding: 10px;
    }

    .quote-form-container button {
        padding: 10px;
    }
}
