body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: #333;
    color: #fff;
    padding:  0;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2em;
}


header .logo {
    font-size: 1.5em;
    font-weight: bold;
}

header ul {
    list-style: none;
    display: flex;
    gap: 1em;
}

header ul li {
    margin: 0;
}

header ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1em;
}

.hero {
    background: url('images/headpic.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5em;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.25em;
    margin-top: 0.5em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.hero .btn {
    background: #ff0000;
    color: #fff;
    padding: 0.75em 1.5em;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    margin-top: 1.5em;
    display: inline-block;
    transition: background 0.3s;
}

.hero .btn:hover {
    background: #cc0000;
}

.about {
    padding: 2em;
    background: #f4f4f4;
    color: #333;
}

.about h2 {
    text-align: center;
    margin-bottom: 1em;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h3 {
    margin-top: 1em;
    color: #444;
}

.about-content ul {
    padding-left: 1.5em;
}

.gallery {
    padding: 2em;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1em;
    justify-content: center; /* Center align the grid items */
    margin: 0 auto; /* Center the entire grid horizontally */
    max-width: 800px; /* Optional: Set a maximum width for the grid */
}

.gallery img {
    width: 100%;
    height: 200px; /* Fixed height for uniform size */
    object-fit: cover; /* Ensures the image covers the container */
    border-radius: 5px;
}

.gallery2-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1em;
    justify-content: center; /* Center align the grid items */
    margin: 0 auto; /* Center the entire grid horizontally */
    max-width: 700px; /* Optional: Set a maximum width for the grid */
}

.gallery2 img {
    width: 200PX;
    height: 100%; /* Fixed height for uniform size */
    object-fit: cover; /* Ensures the image covers the container */
    border-radius: 5px;
}

.gallery3 {
    display: flex; /* Align items in a row */
    gap: 10px; /* Space between images */
    justify-content: center; /* Center items horizontally */
    align-items: center; /* Center items vertically */
}

/* Assuming you want to control the height as a percentage of the viewport height */
.gallery3 img {
    width: 40px; /* Width as a percentage of viewport width to maintain square ratio */
    height: 40px; /* Height matches width to maintain square shape */
    object-fit: cover; /* Ensures the image covers the container */
    border-radius: 5px; /* Rounded corners */
}

.contact {
    padding: 2em;
    background: #f4f4f4;
}

.contact h2 {
    text-align: center;
    margin-bottom: 1em;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
}

.contact label {
    display: block;
    margin: 0.5em 0 0.2em;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 1em;
}

.contact button {
    background: #ff0000;
    color: #fff;
    padding: 0.75em 1.5em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact button:hover {
    background: #cc0000;
}

footer {
    text-align: center;
    padding: 1em 0;
    background: #333;
    color: #fff;
}

footer img {
    height: 200px; /* Fixed height for uniform size */
    object-fit: cover; /* Ensures the image covers the container */
    border-radius: 5px;
}

.contact iframe {
    display: block;
    margin: 0 auto;
    border: none;
    width: 100%;
    max-width: 640px