/* General Styles */
body {
    font-family: sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.logo img {
    max-height: 80px; /* Increased max-height for the logo */
}

.hero-image {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3 {
    color: #555;
    margin-bottom: 1em;
}

p {
    margin-bottom: 1em;
}

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

/* Header */
header {
    background-color: rgba(0, 0, 0, 0.7); /* Dark, semi-transparent background */
    padding: 15px 0;
    border-bottom: none; /* Removed the border-bottom */
}

header .container {
    display: flex;
    justify-content: space-between; /* Logo left, links right */
    align-items: center;
}

nav.navbar .container { /* Target the container within the nav with class 'navbar' */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav.navbar ul.navbar-nav { /* Target the ul with classes 'navbar-nav' within the nav with class 'navbar' */
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav.navbar ul.navbar-nav li.nav-item { /* Target the li with class 'nav-item' within the ul */
    margin-left: 20px;
}

nav.navbar ul.navbar-nav li.nav-item:first-child {
    margin-left: 0;
}

nav.navbar ul.navbar-nav li a.nav-link { /* Target the a with class 'nav-link' within the li */
    display: block;
    padding: 10px 15px;
    color: #f8f8f8; /* Light text color for links */
    font-weight: bold; /* Keep bold */
    text-decoration: none; /* Ensure no underlines */
}

nav.navbar ul.navbar-nav li a.nav-link:hover {
    color: #ccc; /* Lighter on hover */
    background-color: transparent; /* No background on hover */
}

nav.navbar ul.navbar-nav li a.nav-link.active {
    color: #007bff; /* Keep active link color */
}

/* Main */
main {
    padding: 80px 20px 20px 20px;
}

/* Sections */
.section {
    padding: 40px 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 2em;
}

.section-content {
    margin-bottom: 2em;
}

.section-image {
    margin-bottom: 2em;
}

/* Hero Section */
.hero {
    background-color: #e9ecef;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 2.5em;
}

.hero .lead {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 2em;
}

.hero-buttons a {
    display: inline-block;
    padding: 12px 24px;
    margin: 0 10px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.hero-buttons a.primary {
    background-color: #007bff;
    color: #fff;
}

.hero-buttons a.primary:hover {
    background-color: #0056b3;
}

.hero-buttons a.secondary {
    background-color: #6c757d;
    color: #fff;
}

.hero-buttons a.secondary:hover {
    background-color: #545b62;
}

/* Gallery Page */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.image-grid figure {
    margin: 0;
}

.image-grid img {
    border: 1px solid #ddd;
    border-radius: 5px;
}

.image-grid figcaption {
    text-align: center;
    margin-top: 10px;
    color: #666;
}

/* Partnership Page */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

thead th {
    background-color: #f0f0f0;
    font-weight: bold;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* FAQs */
.faq-container {
    margin-top: 20px;
}

.faq {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    background-color: #f8f9fa;
    color: #333;
    padding: 15px;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.faq-answer {
    padding: 15px;
    background-color: #fff;
    border-top: 1px solid #ddd;
}

.search-box {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

/* Contact Page */
.contact-details {
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-details h3 {
    margin-bottom: 0.5em;
}

#contact-form fieldset {
    border: 1px solid #ccc;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

#contact-form legend {
    font-size: 1.2em;
    font-weight: bold;
    padding: 0 10px;
}

#contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
}

#contact-form textarea {
    resize: vertical;
}

#contact-form button[type="submit"] {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contact-form button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9em;
    margin-top: 40px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

footer nav ul li {
    margin-left: 15px;
}

footer nav ul li:first-child {
    margin-left: 0;
}

footer nav ul li a {
    color: #fff;
    padding: 5px 10px;
    font-weight: bold; /* 🔥 Footer links bold too */
}

footer nav ul li a:hover {
    color: #ccc;
}

footer .social-icons {
    margin-top: 10px;
}

footer .social-icons a {
    display: inline-block;
    margin: 0 10px;
}

footer .social-icons img {
    height: 24px;
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    header .logo {
        margin-bottom: 10px;
    }

    nav.navbar .collapse { /* Target the collapse div */
        position: absolute;
        top: 60px; /* Adjust based on your logo height and padding */
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9); /* Darker background for mobile nav */
        z-index: 1000; /* Ensure it's above other content */
    }

    nav.navbar .collapse ul.navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    nav.navbar .collapse ul.navbar-nav li.nav-item {
        margin-left: 0;
        margin-bottom: 10px;
    }

    nav.navbar ul.navbar-nav li a.nav-link {
        padding: 10px;
        border-bottom: 1px solid #333; /* Add a separator for better readability */
        width: 100%;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .hero {
        padding: 60px 20px;
        text-align: left;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        margin-bottom: 20px;
    }

    .hero-image {
        order: -1;
        margin-bottom: 20px;
    }

    .section .container {
        flex-direction: column;
    }

    .section-image {
        order: -1;
        margin-bottom: 20px;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
    }

    footer nav ul {
        flex-direction: column;
        margin-top: 10px;
    }

    footer nav ul li {
        margin-left: 0;
        margin-bottom: 5px;
    }

    footer .social-icons {
        margin-top: 20px;
    }
}