/* General Styles */
body {
    font-family: 'Poppins', sans-serif; /* Modern font */
    background-color: #f8f9fa;
    margin: 0;
    color: #333; /* Darker text for better readability */
    line-height: 1.6;
}

/* Header and Navigation */
header {
    background-color: #fff;
    padding: 1.5rem 0; /* Use rem for responsive sizing */
    box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Ensure full width */
}

nav .logo {
    width: 100px;
}

/* Navigation Menu */
nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 2.5rem;
    text-transform: uppercase;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s ease;
    font-weight: 500;
}

nav ul li a:hover {
    color: #007bff;
}

/* Hamburger Icon (Mobile) */
.navbar-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    display: none; /* Hidden by default */
}

.navbar-toggle .bar {
    width: 1.5rem;
    height: 0.1875rem;
    background-color: #8d8484;
    margin: 0.3125rem auto;
    transition: all 0.3s ease-in-out;
    display: block;
}

.navbar-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active .bar:nth-child(1) {
    transform: translateY(0.5rem) rotate(45deg);
}

.navbar-toggle.active .bar:nth-child(3) {
    transform: translateY(-0.5rem) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    text-align: center;
    background-color: #fff;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #222;
    font-weight: 600;
}

.hero p {
    font-size: 1.25rem;
    color: #555;
}

.hero-image {
    max-width: 100%;
    margin-top: 2rem;
    
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
}

/* Story Section */
.story {
    padding: 4rem 0;
    background-color: #f8f9fa; /* Consistent background */
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.story h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #222;
}

.story p {
    margin-bottom: 1.25rem;
    color: #444;
}

/* CEO Section */
.ceo-section {
    padding: 4rem 0;
    background-color: #fff;
    text-align: center;
}

.ceo-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ceo-photo {
    width: 300px; /* Increased size */
    height: 300px; /* Increased size */
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: filter 0.3s ease;
}

.ceo-photo:hover {
    filter: grayscale(100%);
}

.ceo-info h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.ceo-info h2 {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 1rem;
}

.ceo-info p {
    color: #444;
}

/* ... (Your existing CSS code) ... */

/* Footer */
footer {
    background-color: #343a40;
    color: #fff;
    text-align: center;
    padding: 1.25rem 0;
    font-size: 0.875rem;
    display: flex;                   /* Use flexbox */
    flex-direction: column;          /* Stack content vertically */
    align-items: center;           /* Center content horizontally */
}

/* Social Icons */
.social-icons {
    margin-bottom: 0.75rem;        /* Add space above the copyright */
}

.social-icons a {
    display: inline-block;
    width: 2.5rem;                    /* Adjust size as needed */
    height: 2.5rem;                   /* Adjust size as needed */
    background-color: rgba(255, 255, 255, 0.1);   /* Light transparent background */
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 2.5rem;             /* Vertically center the icon */
    font-size: 1.25rem;                 /* Adjust icon size */
    margin: 0 0.5rem;                 /* Spacing between icons */
    transition: all 0.3s ease;     /* Smooth transition for hover effects */
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.3); /* Darker background on hover */
    transform: scale(1.1);               /* Slightly scale up on hover */
    color: #007bff;                      /* Change the color on hover */
}

/* Media Queries (Responsiveness) */
@media (max-width: 768px) {
    /* General styling */
    nav .logo{
        z-index: 1;
    }

    /* Menu */
    nav ul {
        display: none; /* Hide the menu by default */
        flex-direction: column; /* Stack the menu items vertically */
        position: absolute;
        top: 0; /* Adjust based on your header height */
        left: 0;
        width: 100%;
        height: 270px;
        background-color: rgba(41, 31, 14, 1); /* Optional: Add a background to the mobile menu */
        text-align: center;
    }

    nav ul li {
        display: block; /* Make list items block elements */
        margin: 20px 0;
    }

    nav ul li a {
        font-size: 18px;
        color:#fff;
    }

    /* Show the menu when the 'active' class is added (by JavaScript) */
    nav ul.active {
        display: block;
    }

    /* Bar toggle */
    .navbar-toggle {
        display: block; /* Show the toggle button */
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1;
    }

    /* Scroll down */
    .scroll-down{
        z-index: -10;
    }

    /* General styling */
    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .apropos-image {
        max-width: 90%;
    }

    .story {
        padding: 3rem 0;
    }

    .ceo-section {
        padding: 3rem 0;
    }

    .ceo-photo {
        width: 150px;
        height: 150px;
    }

    /* CEO Section */
    .container {
        padding: 0 1rem;
    }
}