/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

/* Header Section */
header {
    width: 100%;
    background-color: #003366; /* Bootstrap's primary blue */
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: white;
    font-family: Georgia, serif;
}

header p {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center; /* Ensure icons and text are aligned vertically */
    margin: 0;
    gap: 15px; /* Space between elements */
    font-size: 14px;
}

header p i {
    display: inline-flex; /* Ensures icons align inline with text */
    align-items: center; /* Aligns icon vertically with text */
    margin-right: 8px; /* Space between icon and text */
    font-size: 16px; /* Adjust icon size */
}

header p span {
    display: inline-flex; /* Align text and icon together */
    align-items: center; /* Align text vertically */
}

/* Mobile Styles */
@media (max-width: 768px) {
    header p {
        flex-direction: column; /* Stack items vertically */
        align-items: flex-start; /* Align items to the left on smaller screens */
        font-size: 12px; /* Adjust font size for mobile */
        gap: 10px; /* Adjust spacing between items */
    }

    header p i {
        margin-right: 8px; /* Keep consistent spacing */
    }
}


/* Navigation Bar */

nav.navbar {
    background: #EAEAEA !important; /* Override the background */
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: adds a subtle shadow */
}

/* Navbar Brand (logo or text) */
nav .navbar-brand {
    color: #003366 !important; /* Dark color for the brand */
}
.navbar-logo {
    height: auto; /* Allow the height to adjust based on the width */
    max-height: 60px;  /* Control the maximum height of the logo */
    width: auto; /* Maintain aspect ratio */
    max-width: 150px; /* Control the maximum width of the logo */
}

nav .navbar-brand {
    padding: 0 15px;
}

/* Navbar Links */
nav .navbar-nav .nav-link {
    color: #003366 !important; /* Set the text color to blue for nav links */
    text-decoration: none;
    font-size: 16px;
    margin: 0 15px;
    font-family: Georgia, serif;
}

/* Hover Effects */
nav .navbar-nav .nav-link:hover {
    text-decoration: underline;
}

/* Nav-Item Background Color */
nav .navbar-nav .nav-item {
    background-color: transparent; /* Default background color for nav-items */
    border-radius: 5px; /* Optional: rounded corners for a cleaner look */
}

/* Update the company name styling */
.company-name {
    font-size: 1.5rem; /* Adjust size */
    font-weight: bold; /* Make it bold */
    color: #003366; /* Set the company name color to blue */
}


/* Carousel Container */
.carousel-container {
    position: relative;
    width: 100%; /* Full width of the viewport */
    height: 70vh; /* Height set to 70% of the viewport */
    overflow: hidden; /* Prevent overflow */
    display: flex;
    align-items: center; /* Center children vertically */
}

/* Carousel Images */
.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%; /* Ensure container height is 100% */
    width: 100%; /* Ensure container width is 100% */
}

/* Individual Carousel Image */
.carousel-image {
    flex-shrink: 0;
    width: 100%; /* Full width of the container */
    position: relative; /* To position the text over the image */
}

/* Image Styling */
.carousel-image img {
    width: 100%;
    height: 100%; /* Fill container */
    object-fit: cover; /* Maintain aspect ratio and cover */
    display: block; /* Prevent inline gaps */
}

/* Carousel Text */
.carousel-text {
    position: absolute;
    bottom: 40%; /* Adjust as needed */
    left: 50%;
    transform: translate(-50%, 0);
    color: #FFFFFF; /* White text */
    padding: 15px;
    font-size: 25px; /* Adjust font size */
    font-family: 'Montserrat', sans-serif; /* Modern and clean */
    border-radius: 5px;
    text-align: center;
    z-index: 15;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Shadow for better readability */
    word-wrap: break-word;
    max-width: 90%;
}


/* Carousel Buttons */
.carousel-button {
    position: absolute;
    top: 50%; /* Center vertically */
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: #EAEAEA;
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%; /* Round button */
}

.carousel-button-left {
    left: 20px; /* Position on the left */
}

.carousel-button-right {
    right: 20px; /* Position on the right */
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .carousel-button {
        font-size: 18px; /* Smaller buttons */
        padding: 8px 12px;
    }
    .carousel-text {
        font-size: 16px; /* Smaller text for mobile */
        padding: 10px;
    }
}


/* Section Styling */
.section {
    padding: 40px 20px;
    text-align: center;
    background: #EAEAEA;
    font-family: Georgia, serif;
}

.section h2 {
    font-size: 32px;
    color: #003366;
}

/* Footer Styling */

footer {
    background-color: #003366; /* Footer background color */
    color: white; /* White text color for contrast */
    padding: 20px 0;
    font-family: Georgia, serif;
}

footer h5 {
    font-size: 18px; /* Larger heading for better visibility */
    margin-bottom: 15px; /* Add space below the heading */
    text-transform: uppercase; /* Optional: make headings uppercase */
}

footer ul {
    list-style: none; /* Remove bullet points */
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 10px; /* Add space between list items */
    font-size: 16px; /* Standardize font size */
}

footer a {
    color: #ffffff; /* Ensure links are white */
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline; /* Underline on hover for better interaction feedback */
}

.text-start, .text-center, .text-end {
    text-align: center; /* Center-align text by default */
}

.footer-text div {
    display: flex; /* Flexbox for alignment */
    justify-content: right; /* Center icons */
    align-items: center; /* Center vertically */
    gap: 10px; /* Gap between items */
}

.footer-text {
    display: flex;
    flex-direction: column; /* Stack the heading and the icons vertically */
    align-items: center; /* Center the content */
    text-align: center;
}

.icon-container {
    display: flex;
    justify-content: center; /* Center the icons */
    align-items: center; /* Center icons vertically */
    gap: 10px; /* Space between icons */
}

.icon-container a {
    font-size: 24px; /* Adjust icon size if needed */
}

.footer-text h5 {
    margin-bottom: 15px; /* Space below the heading */
}



/* Adjusting text sections for smaller screens */
@media (max-width: 768px) {
    .row {
        flex-direction: column; /* Stack sections vertically */
        align-items: center; /* Center align content */
    }
    
    .col-md-4 {
        width: 100%; /* Full width for columns */
        text-align: center; /* Center-align text */
        margin-bottom: 20px; /* Add space between sections */
    }

    .footer-text div {
        justify-content: center; /* Center icons */
    }
}

footer.bg-dark {
    background-color: #003366 !important;  /* Use !important to override Bootstrap styles */
}


