/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box; /* Include padding and border in element's total width and height */

}
/* 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 */
    }
}




/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

.hero-title {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Projects Section */
.projects-section .project-card {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projects-section .project-card img {
    width: 100%;
    transition: transform 0.3s ease;
    height: 45vh;
}

.projects-section .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.projects-section .project-card:hover img {
    transform: scale(1.05);
}

.project-info {
    background-color: white;
    padding: 15px;
    text-align: center;
}

/* Gallery Section */
/* Gallery Section */
.gallery-section {
    position: relative;
}

.gallery-slider {
    display: flex;
    align-items: center;
    overflow: hidden; /* Hide overflowing images */
    position: relative;
}

.gallery-wrapper {
    display: flex;
    transition: transform 0.4s ease-in-out; /* Smooth transition effect */
}

.gallery-item {
    flex: 0 0 20%; /* Default to 5 images at a time */
    padding: 0 10px;
    transition: transform 0.3s ease-in-out;
}

.gallery-item img {
    width: 100%;
    cursor: pointer;
    border-radius: 5px;
    height: 35vh;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-prev, .gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

/* Fullscreen Modal */
.gallery-modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0s linear 0.5s; /* Smooth transitions */
    opacity: 0;
    visibility: hidden;
}

/* Show modal */
.gallery-modal.show {
    display: flex;
    opacity: 1; /* Fade in */
    visibility: visible; /* Make visible immediately */
    transition: opacity 0.5s ease; /* Smooth fade-in */
}

/* Overlay */
.gallery-modal .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dark semi-transparent background */
    z-index: 1; /* Behind modal content */
}

/* Modal content - image */
.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    z-index: 2; /* In front of overlay */
    object-fit: contain; /* Prevents stretching */
    border: none; /* Remove any borders */
    box-shadow: none; /* Remove any box shadows */
    background-color: rgba(0, 0, 0, 0.8); /* Dark semi-transparent background */
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index: 3; /* In front of overlay and image */
    transition: color 0.3s;
}

.close-modal:hover {
    color: #ff0000; /* Red on hover for better visibility */
}

/* Media Queries */
@media (max-width: 767px) {
    .gallery-item {
        flex: 0 0 100%; /* Display one image at a time on mobile view */
        display: none; /* Hide all items initially, shown via JS */
    }
    .gallery-item.visible {
        display: block; /* Show only the visible item on mobile */
    }
}


/* Why Choose Us Section Styles */
.why-choose-us {
    padding: 60px 0; /* Increase padding for better spacing */
    background-color: #f9f9f9; /* Light background for contrast */
}

.why-choose-us h2 {
    font-size: 2.5rem; /* Larger heading for emphasis */
    color: #003366; /* Consistent color scheme */
    font-weight: 700; /* Bold text */
    margin-bottom: 30px;
}

.why-choose-card {
    background-color: #ffffff; /* White card background */
    padding: 30px; /* Space around the text */
    border-radius: 8px; /* Rounded corners for modern look */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}

.why-choose-card:hover {
    transform: translateY(-10px); /* Subtle lift on hover */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.why-choose-card h3 {
    font-size: 1.75rem; /* Clear section headings */
    color: #003366; /* Consistent color */
    margin-bottom: 15px;
    font-weight: 600;
}

.why-choose-card p {
    font-size: 1rem; /* Readable paragraph text */
    color: #555555; /* Darker grey for better readability */
    line-height: 1.6; /* Line height for better spacing */
}

/* Responsive Design for Mobile Screens */
@media (max-width: 767px) {
    .why-choose-us {
        padding: 30px 0; /* Reduce padding on smaller screens */
    }

    .why-choose-us h2 {
        font-size: 2rem; /* Adjust font size for smaller screens */
    }

    .why-choose-card {
        padding: 20px; /* Reduce padding inside cards */
    }

    .why-choose-card h3 {
        font-size: 1.5rem; /* Adjust heading size */
    }

    .why-choose-card p {
        font-size: 0.9rem; /* Adjust paragraph text size */
    }
}





.footer-section {
    background-color: #003366; /* Dark Blue Background */
    color: #ffffff; /* White Text */
    padding: 40px 0;
}

.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 */
}



/* General Styles for Mobile Devices */
@media (max-width: 767px) {
    /* Hero Section */
    .hero-section {
        height: 40vh; /* Adjust height for smaller screens */
        padding: 10px;
    }
    
    .hero-title {
        font-size: 2em; /* Reduce font size */
    }
    
    .hero-subtitle {
        font-size: 1.2em; /* Reduce font size */
    }
    
    /* Projects Section */
    .projects-section .project-card {
        margin-bottom: 15px;
    }

    .projects-section .project-card img {
        height: auto; /* Allow image height to adjust */
    }

    /* Gallery Section */
    .gallery-wrapper {
        flex-wrap: nowrap; /* Prevent wrapping on small screens */
        display: flex;
        overflow: hidden; /* Hide overflowing images */
    }

    .gallery-item {
        flex: 0 0 100%; /* Display one image at a time */
        display: none; /* Hide all items initially */
    }

    .gallery-item.visible {
        display: block; /* Show only visible images */
    }

    /* Navigation Buttons */
    .gallery-prev, .gallery-next {
        display: block;
        font-size: 16px;
    }

    /* Footer */
    .footer-section {
        padding: 15px 0;
    }
}

/* Tablet Devices */
@media (min-width: 768px) and (max-width: 991px) {
    /* Hero Section */
    .hero-section {
        height: 50vh;
        padding: 15px;
    }

    .hero-title {
        font-size: 2.5em;
    }

    .hero-subtitle {
        font-size: 1.3em;
    }

    /* Projects Section */
    .projects-section .project-card {
        margin-bottom: 20px;
    }

    .projects-section .project-card img {
        height: 40vh; /* Adjust image height */
    }

    /* Gallery Section */
    .gallery-wrapper {
        flex-wrap: nowrap;
    }

    .gallery-item {
        flex: 0 0 33.33%; /* Display three images at a time */
    }

    .gallery-prev, .gallery-next {
        font-size: 16px; /* Adjust button size */
    }
}

/* Desktop and Larger Screens */
@media (min-width: 992px) {
    /* Hero Section */
    .hero-section {
        height: 60vh;
    }

    .hero-title {
        font-size: 3em;
    }

    .hero-subtitle {
        font-size: 1.5em;
    }

    /* Projects Section */
    .projects-section .project-card img {
        height: 45vh; /* Keep consistent height for larger screens */
    }

    /* Gallery Section */
    .gallery-item {
        flex: 0 0 20%; /* Display five images at a time */
    }

    .gallery-prev, .gallery-next {
        font-size: 18px; /* Larger buttons for larger screens */
    }
}

