/* Global styles */
body {
    font-family: 'Merriweather', serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #FAF5F0;
}

header {
    background-color: #F48C4A;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    transition: padding-bottom 0.3s ease;
}

/* Logo and title styles */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px; /* Fixed height for logo */
    width: auto; /* Maintain aspect ratio */
    margin-right: 10px;
}

.logo span {
    font-weight: bold;
    color: white;
}

/* Centering the nav items */
nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    position: relative;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    font-weight: 700;
    color: white;
}

/* Language image size adjustment */
nav ul li img {
    height: 30px; /* Fixed height for language flag */
    width: auto; /* Maintain aspect ratio */
}

/* Toggle button styles */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 20px; /* Position toggle button on the right */
    top: 50%; /* Align it vertically center with logo and text */
    transform: translateY(-99%); /* Center the toggle button */
    z-index: 2;
}

.nav-toggle span {
    background-color: black;
    height: 3px;
    margin: 5px 0;
    width: 25px;
    transition: transform 0.3s ease;
}

/* Media Query for small screens */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex; /* Show the toggle button on small screens */
    }

    header {
        flex-direction: column; /* Stack logo and nav vertically */
    }

    .logo {
        margin-bottom: 10px; /* Add some space between logo and nav */
        margin-right: 120px;
        margin-top: 5px;
        top: 10%;
    }

    nav {
        display: block; /* Stack nav vertically */
        width: 100%;
        position: relative;
    }

    nav ul {
        display: none; /* Hide the links by default */
        flex-direction: column; /* Stack links vertically */
        width: 100%;
        background-color: #F48C4A;
        position: relative;
        padding: 10px 0;
        z-index: 1;
        max-height: 0; /* Initially hide the dropdown */
        opacity: 0; /* Initially hide the dropdown */
    }

    nav ul.show {
        display: flex; /* Show the links when toggled */
        max-height: 200px; /* Allow enough height for the dropdown */
        opacity: 1; /* Show the dropdown */
    }

    nav ul li {
        margin: 10px 0;
        text-align: center; /* Center the links */
    }

    header.open {
        padding-bottom: 200px; /* Adjust padding to fit the open menu */
    }
}

/* Reset styles for larger screens */
@media (min-width: 769px) {
    .nav-toggle {
        display: none; /* Hide the toggle button on larger screens */
    }

    header {
        flex-direction: row; /* Align items horizontally */
        padding-bottom: 10px; /* Reset padding for larger screens */
    }

    nav {
        display: flex;
        justify-content: center; /* Center nav items */
    }

    nav ul {
        display: flex; /* Ensure the links are visible */
        flex-direction: row; /* Ensure links are in a row */
        position: static; /* Position the nav normally */
        width: auto;
        background-color: transparent;
        max-height: none; /* Remove max-height restriction */
        opacity: 1; /* Ensure visible on larger screens */
    }

    nav ul li {
        margin: 0 20px;
        text-align: left; /* Reset alignment */
    }
}

/* Unique styles */

main {
    padding: 20px;
}

.banner {
    background: #FDE8DB;
    border: 1px solid #F48C4A;
    border-radius: 50px;
    padding: 10px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    margin-bottom: 50px;
    margin-top: 10px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1200px;
    height: auto;
}

.banner h1 {
    font-family: 'Merriweather', serif;
    font-size: 30px;
    color: #583017;
}

.banner p {
    font-size: 20px;
    color: #1A1A1A;
}

@media (max-width: 768px) {
    .banner {
        border-radius: 20px;
        padding: 20px;
        margin: 20px;
        width: 90%;
        box-sizing: border-box;
    }

    .banner h1 {
        font-size: 24px;
    }

    .banner p {
        font-size: 16px;
    }
}


.founders {
    margin-bottom: 20px;
}

.founders h2 {
    font-size: 24px;
    color: #3E4997;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.founder {
    display: flex;
    margin-bottom: 20px;
    gap: 20px;
    align-items: center;
}

.founder img {
    width: 430px;
    height: 500px;
    border-radius: 50px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.founder-info {
    max-width: 600px;
}

.founder-info h3 {
    font-size: 40px;
    font-weight: 600;
    color: #000;
}

.founder-info h4 {
    font-size: 24px;
    color: #3E4997;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.founder-info p {
    font-size: 20px;
    color: #000;
    text-align: justify;
}

@media (max-width: 768px) {
    .values-vision-mission {
        flex-direction: column;
        text-align: center;
    }
}

.values-vision-mission {
    display: flex;
    justify-content: space-between;
    margin: 50px auto;
    max-width: 1200px;
}

.values-vision-mission div {
    flex: 1;
    text-align: center;
    background: #FDE8DB;
    border: 1px solid #F48C4A;
    border-radius: 20px;
    padding: 20px;
    margin: 10px;
}

.values-vision-mission div img {
    width: 200px; /* Increased the image size */
    height: auto; /* Keep the aspect ratio */
    margin-bottom: 20px;
}


.value h3 {
    color: #3E4997;
}

.vision h3 {
    color: #862B2B;
}

.mission h3 {
    color: #F48C4A;
}

.value p, .vision p, .mission p {
    font-size: 16px;
    color: #000;
}


/* Footer section */
footer {
    background-color: #F48C4A; /* Orange background */
    color: white; /* Blue text for entire footer */
    padding: 40px 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-content {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-around;
    flex-wrap: wrap;
}

footer h4 {
    font-size: 18px;
    font-family: 'Merriweather', serif;
    margin-bottom: 10px;
    color: white; /* Blue text for headings */
}

footer p, footer ul {
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    list-style: none;
}

footer ul li {
    margin-bottom: 5px;
}

footer ul li a {
    text-decoration: none;
    color: white; /* Blue text for links */
    transition: color 0.3s ease;
    font-weight: bol;
}

footer ul li a:hover {
    color: #FFFFFF; /* Change to white on hover for contrast */
}

.contact-info, .quick-links, .legal, .social-media {
    flex: 1;
    min-width: 200px;
    padding: 10px;
}
