html, body {
    margin: 0;
    padding: 0;
    width: 100%;  /* Ensure the body takes up full width */
}
.contact-section {
    background-color: #f0f0f0;
    margin-top: 2vh;
    padding: 10vh;
    text-align: center;
    border-top: 3px solid #ccc;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.contact-section h2 {
    font-size: 2rem;
    margin: 0 0 15px;
    color: black;
}

.contact-section p {
    font-size: 1.0rem;
    margin: 0 0 20px;
    color: black;
    max-width: 700px;
}

.contact-section .contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-section .image-container {
    flex: 1;
    max-width: 400px;
    height: auto;
    padding: 10px;
}

.contact-section .form-container {
    flex: 2;
    max-width: 600px;
    margin: 0 auto;
}

.contact-section input, .contact-section textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
}

.contact-section button {
    background-color: #000;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
}

.contact-section button:hover {
    background-color: #444;
}

@media (max-width: 768px) {
    .contact-section .contact-content {
        flex-direction: column;
        align-items: center;
    }
}
.img-border {
    border: 3px, solid, #000;
}
header {
    background: linear-gradient(90deg, #1a1919, #2b2a2a);
    color: white;
    padding: 1rem 2rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header p {
    font-size: 1.2rem;
    margin-top: 10px;
}

nav {
    display: flex;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 0;
    position: relative;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-radius: 20px;
}
nav a {
    padding: 10px 15px;
    text-decoration: none;
    color: white;
    font-size: 1rem;
    display: inline-block;
    vertical-align: middle; /* Align vertically */
}
nav a:hover {
    text-decoration: underline;
}

.dropdown {
    position: relative; /* Enables dropdown-menu to position relative to parent */
}

.dropdown-menu {
    display: none; /* Initially hidden */
    position: relative;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    margin-top: 5px;
    z-index: 1000;
    width: 150px; /* Optional: Adjust width */
}

.dropdown-menu a {
    color: white;
    text-decoration: none;
    display: block;
    margin: 5px 0;
    font-size: 0.9rem;
    padding: 5px 10px;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* Display dropdown menu when hovering over parent .dropdown */
.dropdown:hover .dropdown-menu {
    display: block;
}
.content {
    position: relative; /* This allows the image to float relative to this container */
}

.floating-image {
    position: absolute;
    bottom: -20vh;
    left: 10px; /* Instead of left, use right to place it on the right side */
    width: 12vw;
    height: auto;
}
/* For screens with a maximum width of 640px */
@media (max-width: 640px) {
    body {
        font-size: 0.875rem; /* Smaller font size for mobile devices */
    }

    header {
        font-size: 1.5rem; /* Smaller font-size in header */
    }

    nav {
        font-size: 0.9rem; /* Adjust nav font size */
    }

    h1 {
        font-size: 1.5rem; /* Reduce size of h1 */
        width: 80vw; /* Use 80% of viewport width */
        left: 10%; /* Align h1 more to the center */
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(30vw, 1fr)); /* Adjust for small screens */
    }
}

/* For screens with a maximum width of 800px */
@media (max-width: 800px) {
    body {
        font-size: 1rem;
    }

    header {
        font-size: 1.8rem; /* Slightly smaller than default */
    }

    nav {
        font-size: 1rem;
    }

    h1 {
        font-size: 2rem;
        width: 70vw;
        left: 15%;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(25vw, 1fr)); /* Adjust gallery grid */
    }
}

/* For screens with a maximum width of 1024px */
@media (max-width: 1024px) {
    body {
        font-size: 1.1rem;
    }

    header {
        font-size: 2rem; /* Default header size */
    }

    nav {
        font-size: 1.1rem;
    }

    h1 {
        font-size: 2.5rem;
        width: 60vw;
        left: 20%;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(20vw, 1fr)); /* Adjust gallery grid */
    }
}

/* For screens with a maximum width of 1280px and a max height of 720px */
@media (max-width: 1280px) and (max-height: 720px) {
    body {
        font-size: 1.2rem;
    }

    header {
        font-size: 2rem; /* Maintain standard size for medium screens */
    }

    nav {
        font-size: 1.2rem;
    }

    h1 {
        font-size: 2.5rem;
        width: 55vw;
        left: 22%;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(18vw, 1fr)); /* Adjust for larger small screens */
    }
}

/* For screens with a width of 1280px and above */
@media (min-width: 1281px) {
    body {
        font-size: 1.2rem;
    }

    header {
        font-size: 2rem; /* Default large header font-size */
    }

    nav {
        font-size: 1.2rem;
    }

    h1 {
        font-size: 3rem; /* Default h1 size */
        width: 38vw;
        left: 30%;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(15vw, 1fr)); /* Gallery grid remains responsive */
    }
}

/* Hamburger icon styles */
#hamburger-menu {
    display: none;  /* Hide the hamburger by default */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    position: relative; /* Ensure it's not hidden behind other elements */
    z-index: 1000; /* Ensure it stays on top */
}

#hamburger-menu div {
    background-color: white;
    height: 4px;
    width: 100%;
    border-radius: 2px;
}

@media (max-width: 768px) {
    #hamburger-menu {
        display: flex;
        position: absolute;
        top: 4.5vh; /* Adjust if needed */
        right: 2vw; /* Adjust if needed */
        z-index: 1000;
    }

    .dropdown-menu {
        display: none; /* Hide by default */
        position: absolute; /* Position relative to the parent */
        top: 5vh; /* Adjust this to move the dropdown below the hamburger button */
        left: 49vw;
        background-color: rgba(0, 0, 0, 0.8); /* Dark background for contrast */
        padding: 10px;
        width: 150px; /* Set a fixed width for the dropdown menu */
        border-radius: 5px; /* Rounded corners */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Slight shadow for depth */
        z-index: 5; /* Make sure it's below the hamburger button */
    }

    /* Make sure dropdown content is not stretched too much */
    .dropdown-menu ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

    .dropdown-menu li {
        padding: 8px;
        text-align: center;
    }

    .dropdown-menu li:hover {
        background-color: rgba(255, 255, 255, 0.2); /* Light hover effect */
    }
}

@media (max-width: 400px) {
    nav a {
        font-size: 0.8rem;
    }

    #hamburger-menu {
        display: flex;
        position: absolute;
        top: 5vh; /* Adjust if needed */
        right: 2vw; /* Adjust if needed */
        z-index: 1000;
    }

    .dropdown-menu {
        display: none; /* Hide by default */
        position: absolute; /* Position relative to the parent */
        top: 5vh; /* Adjust this to move the dropdown below the hamburger button */
        left: 35vw;
        background-color: rgba(0, 0, 0, 0.8); /* Dark background for contrast */
        padding: 10px;
        width: 100px; /* Set a fixed width for the dropdown menu */
        border-radius: 5px; /* Rounded corners */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Slight shadow for depth */
        z-index: 5; /* Make sure it's below the hamburger button */
    }

    /* Make sure dropdown content is not stretched too much */
    .dropdown-menu ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

    .dropdown-menu li {
        padding: 8px;
        text-align: center;
    }

    .dropdown-menu li:hover {
        background-color: rgba(255, 255, 255, 0.2); /* Light hover effect */
    }

    .floating-image {
        position: relative;
        left: 34vw; /* Instead of left, use right to place it on the right side */
        bottom: 0vw;
        width: 35vw;
        height: 8vh;
    }

    .content {
        top: 18%;
        display: flex;
        position: absolute;
    }
}