/* Basic resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and general layout */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    margin-top: 70px; /* Added space for the fixed navbar */
    margin-bottom: 120px; /* To ensure footer remains at the bottom */
}

/* Navbar styling */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center; /* centers child elements horizontally */
    align-items: center
    padding: 15px 30px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Ensure navbar stays on top */
}

.navbar .logo a {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

/* Adjust the logo size */
.navbar .logo img {
    max-width: 100%;
    height: auto;
    width: 150px; /* Default size for logo */
}

/* Ensure logo image scales responsively */
@media (max-width: 768px) {
    .navbar .logo img {
        width: 120px; /* Adjust logo size for mobile */
    }
}

/* Navigation links */
.navbar .nav-links {
    list-style-type: none;
    display: flex;
}

.navbar .nav-links li {
    margin-right: 20px;
}

.navbar .nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}

.navbar .nav-links a:hover {
    background-color: #eee;
}

.navbar .nav-links a.active {
    background-color:#4CAF50;
    color: white;
}

/* Hamburger menu (for mobile devices) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: #333;
}

/* Responsive - Mobile */
@media screen and (max-width: 768px) {
    .navbar .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: white;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 10px 20px;
    }
    
    .navbar .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}

/* Footer Styling */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    text-align: center;
    padding: 10px 0;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000; /
}


.footer p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

main {
    padding-bottom: 120px; 
}


.container {
    padding: 20px;
    text-align: center;
}

h3, h1, h2 {
    margin-bottom: 20px;
}

ul {
    list-style-type: none;
}

.card-section {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 30%;
    text-align: center;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.footer p {
    font-size: 14px;
    color: #333;
}

.contact .footer p {
    font-size: 16px;
    color: #555;
}


@media screen and (max-width: 768px) {
    .footer {
        position: relative; 
    }
}
