/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
}

/* Header Styling */
.header {
    background-color: #734e3e; /* Dark brown color */
    color: white;
    text-align: center;
    padding: 8px 20px; /* Reduced padding for a smaller header */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;  /* Ensure the header stays above other content */
    display: flex;
    justify-content: space-between; /* Space out the logo and nav items */
    align-items: center; /* Vertically center the content */
}

/* Container for the logo and slogan */
.logo-container {
    display: flex;
    align-items: center;
    margin-left: 20px; /* Move logo a bit to the left */
}

/* Logo styling */
.logo {
    font-size: 2rem; /* Smaller font size for the logo */
    font-weight: bold;
    margin: 0;
    letter-spacing: 1px; /* Reduced letter spacing for a tighter logo */
    color: #ffffff;
    text-decoration: none;
}

/* Slogan styling */
.slogan {
    font-size: 0.9rem;
    font-weight: lighter;
    margin-top: 5px;
    color: #e0e0e0;
    display: block;
}

/* Navigation Menu Styling */
.navigation {
    background-color: transparent; /* Remove background color for a cleaner look */
    padding: 5px 20px;
}

.navigation ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex; /* Use flex to align items horizontally */
    margin-right: 20px; /* Align the menu items to the right */
}

.navigation ul li {
    display: inline-block;
    margin: 0 12px;
}

.navigation ul li a {
    text-decoration: none;
    font-size: 1rem;
    color: #ffffff;
    padding: 5px 10px;
    transition: color 0.3s;
}

.navigation ul li a:hover {
    color: #734e3e; /* Highlight color on hover */
}

/* Main Content Section Styling */
.container {
    margin-top: 150px;  /* Add space to avoid content being hidden under the header */
    padding: 30px;
}

/* Section Styling */
.section {
    background-color: #ffffff;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section h2 {
    color: #734e3e;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.section p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* Button Styling */
button {
    background-color: #734e3e;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #5c3d2f; /* Darker shade on hover */
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .logo {
        font-size: 1.8rem;
    }
    .slogan {
        font-size: 0.8rem;
    }
    .navigation ul li {
        display: block;
        margin: 10px 0;
    }
    .container {
        padding: 20px;
    }
    .section h2 {
        font-size: 1.5rem;
    }
    .section p {
        font-size: 1rem;
    }
}
/* Space Between Logo and Slogan */
.slogan {
    font-size: 0.9rem;
    font-weight: lighter;
    margin-top: 5px;  /* Added space between the logo and slogan */
    color: #e0e0e0;
    display: block;
}

/* Scroll Animations */
.section-visible {
    opacity: 1;  /* Fade in */
    transform: translateX(0);  /* Move to original position */
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Apply animations to the sections */
.section {
    background-color: #ffffff;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;  /* Start with opacity 0 */
    transform: translateX(100px);  /* Start off-screen (right) */
    transition: all 1.0s ease-in-out;
}

.section-visible {
    opacity: 1;
    transform: translateX(0); /* Move to original position */
}
