/* General Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3 {
    color: #333;
}

h1 {
    font-size: 3rem;
}
h2 {
    font-size: 2.5rem;
}
h3 {
    font-size: 1.5rem;
}
h4 {
    font-size: 1.2rem;
}

/* Navigation Bar */
nav {
    background-color: #333;
    color: white;
    padding: 10px 0; /* Fixed padding */
    height: 60px; /* Set a fixed height */
    display: flex;
    align-items: center;
    overflow: visible; /* Ensures elements can extend beyond */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    position: relative; /* Ensures absolute elements are positioned relative to it */
    height: 100%; /* Matches navbar height */
}

.logo-wrapper {
    height: 100%;
    overflow: visible; /* Allow image to extend outside navbar */
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 100px; /* Controls the visible portion inside the navbar */
    width: auto;
    position: absolute; /* Allows overflowing */
    top: 50%; /* Centers vertically */
    transform: translateY(-50%); /* Perfect vertical centering */
}

.nav-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: white;
    font-size: 1.1rem;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s ease;
}

.nav-links a:hover {
    background-color: #ff9900;
    border-radius: 5px;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        width: 100%;
        display: none;
        flex-direction: column;
    }

    .nav-links li {
        width: 100%;
        text-align: left;
        margin: 5px 0;
    }

    .nav-links a {
        padding: 10px 20px;
    }

    .nav-container.active .nav-links {
        display: flex;
    }

    .nav-container .toggle-btn {
        display: block;
        cursor: pointer;
        background-color: #333;
        color: white;
        padding: 10px;
        border: none;
        font-size: 1.5rem;
    }
}

/* Mobile Menu Toggle Button */
.toggle-btn {
    display: none;
}

.about {
    padding: 40px 20px;
    background-color: white;
    text-align: center;
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2.5rem;
    }
    p {
        text-align: left; 
        font-size: 1.1rem;
        max-width: 800px;
        margin: 1rem auto;
        line-height: 1.6;
    }

    .about-logo{
        display: block;
        margin: 0 auto;
        max-width: 200px; 
    }
}

/* Contact Section */
.contact {
    padding: 10px 20px;
    text-align: center;
    background-color: white;

    h2 {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    p {
        font-size: 1.1rem;
    }
}