/* Global Styles */
body, html {
    margin: 0;
    padding: 0;
   font-family: 'Arial', sans-serif;
    height: 100%;
    background-color: rgb(173, 177, 181);
}

.container {
    margin: 20px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    background-color: white;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    padding: 10px 20px;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
}

.hamburger {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: black;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    z-index: 2;
    width: 140px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Section Styles */
.hero {
    display: flex;
    flex-direction: row;
    height: 400px;
    margin-top: 20px;
    position: relative;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    z-index: 1;
}

.hero-content span {
    font-size: 2em;
    margin-bottom: 20px;
}

.explore-button {
    padding: 0.7rem 1.2rem;
    font-size: 1em;
    max-width:300px;
    cursor: pointer;
    border: none;
    background-color: #1b2256;
    color: white;
    border-radius: 20px;
}

.hero-image {
    flex: 1;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 50%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* About Section Styles */
.about {
    padding: 20px;
    text-align: center;
}

.about h2 {
    margin-bottom: 10px;
    font-size: 2em;
}

.about p {
    font-size: 1.2em;
    line-height: 1.5;
}

/* Contact Section Styles */
.contact {
    padding: 20px;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: auto;
}

.contact-left,
.contact-right {
    flex: 1;
}

.contact-left {
    text-align: center;
}

.contact h2 {
    margin-bottom: 10px;
    font-size: 2em;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    margin: auto;
}

.contact-form label {
    margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.contact-form button {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border: none;
    background-color: #1b2256;
    color: white;
    border-radius: 20px;
}

/* Footer Styles */
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 20px;
}

.footer a {
    color: #1b2256;
    font-size: 1.5em;
    text-decoration: none;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    /* Hamburger icon */
    .hamburger {
        display: block;
        z-index: 3; /* Ensure it stays on top of other elements */
    }

    /* Navigation links for mobile */
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #1b2256;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        padding: 20px 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 2; /* Ensure it stays above other content */
        transition: all 0.3s ease-in-out; /* Smooth opening/closing transition */
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        color: white; /* White text for better contrast */
        padding: 15px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border between links */
    }

    .nav-links a:hover {
        background-color: rgba(255, 255, 255, 0.1); /* Highlight on hover */
    }

    /* Dropdown menu in mobile view */
    .dropdown-content {
        display: none;
        flex-direction: column;
        background-color: #1b2256; /* Match background color */
        padding: 10px 0;
        width: 100%; /* Full width */
        text-align: center;
    }

    .dropdown:hover .dropdown-content, /* Always display dropdown content on hover */
    .dropdown-content.show {
        display: flex;
    }

    .dropdown-content li {
        padding: 10px 0;
    }

    /* Hero Section */
    .hero {
        flex-direction: column;
        height: auto;
    }

    .hero-image {
        position: static;
        clip-path: none;
        width: 100%;
        height: 200px;
    }

    .hero-image img {
        border-radius: 15px 15px 0 0;
    }

    /* Contact Section */
    .contact-content {
        flex-direction: column;
    }

    .contact-form {
        max-width: 100%;
    }
}
