/* General Settings */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    scroll-behavior: smooth; /* Smooth scrolling behavior */
}

/* Navbar structure */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e4e4e4;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px 15px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 80px;
    box-sizing: border-box;
}

.logo-and-toggle-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

.logo-image {
    height: 80px;
    width: auto;
    display: block;
    margin: 0;
    padding: 0;
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    margin-left: 10px;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0;
    padding: 0;
    color: #0B2545;
    font-family: 'Roboto', sans-serif;
    line-height: 1;
    vertical-align: baseline;
}

/* Navigation */
.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    font-size: 16px;
    color: #0B2545;
}

.nav-menu a:hover {
    color: #1a73e8;
}

/* Mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        right: 0;
        top: 110px;
        background: #fff;
        width: 200px;
        border-left: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

    .nav-menu.open {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }
}

/* About Section */
#about {
    padding: 20px; /* Reduced padding for less outer spacing */
    background-color: #0d1416;
    margin-top: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.about-container {
    display: flex;
    align-items: center;
    flex-direction: column; /* Stack vertically for better mobile experience */
}
.about-image {
    width: 100%; /* Full width images look more modern */
    max-width: 800px; /* Limiting max-width for large screens */
    margin-top: 30px; /* Space above the image */
}

.about-image:hover {
    transform: scale(1.1); /* Zoom effect */
}

.about-text {
    text-align: center; /* Centered text for a cleaner look */
    padding: 20px;
}

#about h2 {
    font-size: 30px; /* Slightly smaller font size */
    color: #9a3c3c;
    margin: 10px 0; /* Reduced top and bottom margins */
}

#about p {
    font-size: 18px; /* Slightly smaller font size for paragraph */
    color: #fff;
    line-height: 1.5; /* Tighter line height for better text presentation */
}

/* H3 Heading Styles */
#about h3 {
    font-size: 1.2em; /* Setting a specific font size */
    color: #0056b3; /* A consistent theme color */
    margin-top: 20px; /* Space above each heading */
    margin-bottom: 10px; /* Space below each heading */
    text-align: center; /* Align text to the left */
}

/* Unordered List Styles */
#about ul {
    list-style-type: disc; /* Bullet style, can be 'none' if no bullets are desired */
    margin-left: 20px; /* Indent lists for clarity */
    padding-left: 0; /* Adjust padding if needed */
    color: #fff; /* Slightly lighter text color for less emphasis than headings */
}

#about ul li {
    font-size: 1em; /* Ensures consistent font size */
    line-height: 1.8; /* More readable line spacing */
    margin-bottom: 8px; /* Space between list items */
    margin-left: 120px; /* Indent list items for better readability */
    text-align:left; /* Align text to the left */
}

#about strong {
    color: #0056b3; /* A consistent theme color */
}


/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .about-container {
        gap: 40px; /* Reduce gap for tighter spaces */
    }

    .about-image {
        flex: 1 0 auto; /* Flex-grow is 1, flex-shrink is 0, flex-basis is auto */
        width: 100%; /* Set width to 100% to initially take the full container width */
        max-width: 220px; /* Set a max-width to limit how large the image can grow */
        height: auto; /* Maintain aspect ratio */
        margin: 20px auto; /* Increased vertical margin for better separation, centered horizontally */
        margin-bottom: 0; /* Reduce the space below the image */
        border: 1px solid white; /* Adds a 5px solid white border around the image */
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); /* Optional: adds a shadow for more depth */
        box-sizing: border-box; /* Ensures the border width is included in the width calculation */
    }

    .about-text {
        flex: 1 0 100%; /* Full width on small screens */
        padding-top: 0; /* Reduce the space above the text */
    }

    #about h2 {
        font-size: 24px; /* Slightly smaller font size for small screens */
    }

    #about p {
        font-size: 16px; /* Slightly smaller font size for better readability */
    }
    #about ul li {
        font-size: 1em; /* Ensures consistent font size */
        line-height: 1.8; /* More readable line spacing */
        margin-bottom: 8px; /* Space between list items */
        margin-left: 1px; /* Indent list items for better readability */
        text-align:left; /* Align text to the left */
    }
}

@media (max-width: 480px) {
    .about-container {
        gap: 20px; /* Further reduce gap for very small screens */
    }

    #about h2 {
        font-size: 20px; /* Further reduce for very small screens */
    }

    #about p {
        font-size: 14px; /* Adjust font size for very small screens */
    }
}


/* Footer */
.footer {
    background: #0B2545;
    color: #ffffff;
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.social-icons a {
    color: #fff;
    font-size: 22px;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    text-decoration: none;
}

.social-icons a i {
    font-family: 'FontAwesome', 'Font Awesome 5 Free', 'Font Awesome 6 Free';
    font-weight: 900;
    display: inline-block;
}

.social-icons a:hover {
    background: #1a73e8;
    border-color: #1a73e8;
    color: #fff;
}
