/* General Styles */
body {
    margin: 0; /* Remove default margin */
}

/* Navbar Styling */
.custom-navbar {
    background: white; /* Seablue */
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    font-family: 'TW Cen MT', sans-serif;
}

.navbar-logo {
    background: white; /* White background for visibility */
    padding: 5px 10px;
    border-radius: 5px;
}

.navbar-logo img {
    height: 45px;
}

.navbar-links {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-left: auto;
}

.navbar-links a {
    text-decoration: none;
    color: #777777;
    font-weight: 500;
    font-size: 18px;
    transition: 0.3s ease-in-out;
    padding: 10px 15px;
}

.dropdown-toggle {
    text-decoration: none;
    color: #004080;
    font-weight: 500;
    font-size: 21px;
    transition: 0.3s ease-in-out;
    padding: 10px 15px;

}

.navbar-links a:hover, 
.dropdown-toggle:hover, 
.navbar-links a.active {
    color: #c7a008; /* Gold */
}

/* Fix White Space on Right */
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Dropdown Styling */
.dropdown-menu {
    border: none;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: none;
    position: absolute;
}

.dropdown:hover .dropdown-menu {
    display: block; /* Enable hover effect */
}

.dropdown-menu a {
    color: #004080;
    padding: 10px;
    display: block;
    white-space: nowrap;
    background: #f5f5f5; /* Ensure background is visible */
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #006994;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95); /* Transparent White */
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    padding: 20px;
    display: flex;
    flex-direction: column;
    z-index: 1100; /* Ensures navbar is above hero section */
    font-family: 'TW Cen MT', sans-serif;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu .close-btn {
    align-self: flex-end;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu a {
    text-decoration: none;
    color: #004080;
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    display: flex;
    transition: 0.3s ease-in-out;
    background: #f5f5f5; /* Ensure background is visible */
}

.mobile-menu a:hover {
    color: #006994;
}

/* Mobile Dropdowns */
.mobile-dropdown {
    display: none;
    padding-left: 15px;
}

.mobile-dropdown a {
    font-size: 16px;
    padding: 8px 0;
    display: flex;
    background: #eaeaea; /* Background for better visibility */
    
}

.mobile-menu .dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.mobile-dropdown-toggle i {
    transition: 0.3s;
}

.rotate {
    transform: rotate(180deg);
}

/* Mobile Icon */
/* Mobile Menu Icon */
.mobile-menu-icon {
    font-size: 30px;
    cursor: pointer;
    display: none;
    color: black !important; /* Force black color */
    z-index: 1101; /* Make sure it's above other elements */
    position: relative; /* Ensure it is positioned correctly */
}



@media (max-width: 991px) {
    .navbar-links {
        display: none;
    }
.mobile-menu-icon {
        display: block;
    }
    .custom-navbar {
        flex-direction: row;
        justify-content: space-between;
    }

    .mobile-menu-icon {
        order: 2; /* Ensures hamburger menu is on the right */
    }

    .navbar-logo {
        order: 1; /* Ensures logo is on the left */
    }
}



/* Team section */
.team {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}


.team-member {
    position: relative;
    width: 300px;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.team-member:hover .overlay {
    opacity: 1;
}

.read-more {
    background-color: #007bff;
    border: none;
    padding: 10px 20px;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.read-more:hover {
    background-color: #0056b3;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.7);
    transition: opacity 0.3s;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 80%;
    max-width: 600px;
    top: 20%;
    background-color: #fefefe;
    border-radius: 10px;
    overflow: hidden;
    animation: slideInFromTop 0.5s ease-out;
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.modal-header .close {
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
    display: flex;
    align-items: center;
    flex-direction: row; /* Default to row */
}

.modal-body img {
    width: 150px;
    border-radius: 10px;
    margin-right: 20px;
}

.modal-text {
    max-width: 400px;
}

/* Media query for smaller screens */
@media (max-width: 576px) {
    .modal-body {
        flex-direction: column; /* Stack vertically */
        align-items: center; /* Center align content */
        text-align: center; /* Center text */
    }

    .modal-body img {
        margin-bottom: 15px; /* Add space below the image */
        margin-right: 0; /* Remove margin right */
    }

    .modal-text {
        max-width: 100%; /* Expand text area */
    }
}




.footer-section {
    background-color: #003366; /* Dark Blue Background */
    color: #ffffff; /* White Text */
    padding: 40px 0;
    margin-top: 100px;
}

.footer-section .container {
    max-width: 1100px;
}

.footer-section h5 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ffffff; /* White Text */
}

.footer-section p,
.footer-section ul {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #cccccc; /* Light Gray Text */
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: #ffffff; /* White Text on Hover */
}

.footer-contact p i,
.footer-social .social-icons a {
    margin-right: 10px;
}

.footer-social .social-icons {
    display: flex;
}

.footer-social .social-icons a {
    color: #ffffff; /* White Text */
    font-size: 1.2rem;
    margin-right: 10px;
    transition: color 0.3s ease;
}

.footer-social .social-icons a:hover {
    color: #cccccc; /* Light Gray Text on Hover */
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #cccccc;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #cccccc; /* Light Gray Text */
}

