/* General Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #4d4d4d; /* Dark gray from logo for body text */
}

/* Navbar */
.navbar {
    padding: 15px 0;
    box-shadow: 0 4px 2px -2px #ccc;
    background-color: #f8f9fa;
}

.navbar-brand img {
    max-height: 50px;
}

.navbar-nav .nav-link {
    font-size: 1.1rem;
    padding: 8px 15px;
    color: #4d4d4d;
}

.navbar-nav .nav-link:hover {
    color: #0099a5; /* Teal from logo for hover effect */
}

.navbar-nav .dropdown-menu {
    background-color: #f8f9fa;
    border: none;
}

.navbar-nav .dropdown-item {
    color: #4d4d4d;
}

.navbar-nav .dropdown-item:hover {
    background-color: #0099a5;
    color: #fff;
}

/* Hero Section */
.hero {
    position: relative;
    height: 400px; /* Height for the hero section */
    overflow: hidden; /* Prevent overflow of elements */
    display: flex;
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
    text-align: center; /* Center text */
}

.hero h1 {
    font-size: 36px; /* Adjusted font size */
    font-weight: bold;
    color: black; /* Set heading color to black */
    margin-top: 0; /* Remove margin to center vertically */
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.7); /* Add text shadow for contrast */
}

/* Ensure the header is not overlapped */
.header {
    position: relative;
    z-index: 10; /* Ensure header is above everything else */
}

/* About Us Page Styling */
.display-4 {
    font-weight: bold;
    color: #0099a5; /* Teal for main headings */
}

.text-primary {
    color: #0099a5 !important;
}

.lead {
    font-size: 1.2rem;
    font-weight: 300;
    color: #4d4d4d;
}

/* List with Icons */
.list-group-item {
    border: none;
    background-color: transparent;
    font-size: 1.1rem;
    color: #0099a5;
}

.list-group-item i {
    font-size: 1.4rem;
    color: #0099a5;
}

/* Call to Action Button */
.btn-primary {
    background-color: #0099a5;
    border-color: #0099a5;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #007b8e;
    border-color: #007b8e;
}

/* Section Styles */
.section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    color: #0099a5; /* Teal for section headings */
}

.section .card {
    border: none;
    transition: transform 0.3s;
}

.section .card:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background-color: #4d4d4d; /* Dark gray from logo for footer background */
    color: #fff;
    padding: 40px 0;
}

.footer h5 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #0099a5; /* Teal for footer headings */
}

.footer a {
    color: #ddd;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer .form-control {
    border-radius: 0;
}

.footer .btn-primary {
    background-color: #0099a5;
    border-color: #0099a5;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px; /* Adjust size for mobile */
    }

    .hero p {
        font-size: 16px; /* Adjust size for mobile */
    }

    .navbar-nav .nav-link {
        padding: 10px;
        text-align: center;
    }

    .section h2 {
        font-size: 28px; /* Smaller font size for section headings */
    }

    .section p {
        font-size: 1rem; /* Smaller font size for paragraph */
    }

    .footer h5 {
        font-size: 16px; /* Smaller font size for footer heading */
    }
}
