﻿/* Global Body Styling */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    flex-direction: column;
    box-sizing: border-box;
}

.header-wrapper {
    position: relative;
    width: 100%;
    height: 80px; /* Set the height of the toolbar */
    background-color: #003249; /* Dark background for the toolbar */
    color: #fff; /* White text */
    display: flex;
    justify-content: center; /* Distribute space between the elements */
    align-items: center; /* Vertically align the items */
    padding: 0 20px; /* Add padding for spacing */
    flex-direction: column;
    margin: 0 auto;
}

/* Styling for the logo container */
.logo-container {
    display: flex;
    align-items: center; /* Aligns the logo and text vertically */
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
    color: #BED630;
    margin-left: 10px; /* Space between logo and text */
}

.logo-wrapper {
    background-color: white;
    width: 80px; /* Fixed size */
    height: 80px; /* Fixed size */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0; /* 👈 Prevent shrinking inside flex layouts */
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo-login-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.header {
    position: relative; /* Set this to relative for proper absolute positioning of children */
    width: 100%;
    max-width: 1200px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    padding: 20px; /* Added padding to prevent edges from touching */
}

    .header .logo {
        font-size: 1.2rem;
        font-weight: bold;
        color: #BED630;
        z-index: 10; /* Ensure it appears above other elements */
        margin-right: 15px;
    }

/* Login Button */
.login-btn {
    font-size: 1rem;
    background-color: transparent;
    padding: 12px 0px;
    cursor: pointer;
    font-weight: bold;
    color: #BED630;
    z-index: 10;
    text-align: center;
    outline: none;
    border: none;
}

.header-search {
    position: relative;
    width: 100%;
    height: 700px; /* Adjust based on the desired height */
    background-image: url('../Image/Banner.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 0 auto;
    justify-content: center;
}

.search-box {
    position: relative; /* Keep the search box in place with flexbox */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

    .search-box input {
        width: 80%;
        padding: 8px;
        border: 1px solid #003249;
        border-radius: 4px;
    }

    .search-box button {
        padding: 8px 16px;
        background-color: #003249;
        color: white;
        border: none;
        border-radius: 4px;
        margin-left: 10px;
        cursor: pointer;
    }

/* About Us Section */
.about-us {
    background-color: #f9f9f9;
    padding: 40px 20px;
    margin-top: 40px;
    border-radius: 8px;
}

    .about-us h3 {
        color: #003249;
        font-size: 2rem;
    }

    .about-us p {
        font-size: 1.1rem;
        color: #333;
        line-height: 1.6;
    }

/* Footer Section */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    background-color: #003249;
    color: white;
    width: 100%;
    position: relative;
    margin-top: auto;
    box-sizing: border-box; /* Prevent overflow */
}

    .footer .footer-container {
        display: flex;
        justify-content: space-between;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        flex-wrap: wrap;
    }

    /* Footer Column Styling */
    .footer .footer-left, .footer .footer-middle, .footer .footer-right {
        width: 33%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 10px;
        height: 450px;
        box-sizing: border-box;
        height: auto;
    }

    /* Make iframe responsive */
    .footer .footer-left {
        position: relative;
        width: 30%; /* Full width */
        padding-top: 20%; /* 16:9 aspect ratio (9/16 = 0.5625 = 56.25%) */
        height: 0; /* Make height 0, so padding-top determines height */
    }

        .footer .footer-left iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%; /* Full width */
            height: 100%; /* Full height */
            border: 0;
        }

    .footer .footer-middle, .footer .footer-right {
        text-align: left;
    }

    .footer .footer-middle, .footer .footer-right {
        padding: 10px 0; /* Only adjust padding for text sections */
    }

.footer-right .contact-icon {
    width: 20px; /* Set a size for the icon */
    height: 20px; /* Maintain consistent icon size */
}

.footer h4 {
    color: #BED630;
    margin-bottom: 10px;
}

.footer a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: block;
    margin: 5px 0;
}

/* Footer Contact Section */
.footer .footer-right {
    text-align: left;
    padding: 10px 0;
}

    .footer .footer-right h4 {
        color: #BED630;
        margin-bottom: 0px;
    }

    .footer .footer-right .contact-icon {
        width: 24px; /* Adjust icon size, change this value to your desired size */
        height: 24px; /* Adjust icon size */
        border-radius: 50%;
        margin-right: 12px; /* Adjust space between icon and text */
        vertical-align: middle; /* Align the icon with the middle of the text */
        object-fit: cover;
    }

    /* Adjust the spacing between contact info items */
    .footer .footer-right p {
        display: flex;
        align-items: center; /* Ensure icon and text are aligned */
        margin: 8px 0; /* Space between each contact information, adjust this if needed */
    }

        .footer .footer-right p a {
            color: white;
            text-decoration: none;
            font-size: 1rem; /* Adjust the size of the text */
        }

.footer-middle {
    width: 100%;
    max-width: 400px; /* Limit width for better readability */
    padding: 10px 20px;
    color: white;
}

    .footer-middle h4 {
        color: #BED630; /* Highlight the title with your accent color */
        margin-bottom: 15px; /* Space between the title and content */
        font-size: 1.2rem;
        font-weight: bold;
    }

    .footer-middle p {
        margin-bottom: 8px; /* Space between paragraphs */
        line-height: 1.5; /* Spacing between lines for readability */
        color: #f4f4f4; /* Slightly lighter color for the text */
    }

.company-name {
    font-size: 1.3em; /* Make company name bigger */
    position: relative; /* Needed for positioning the registration number */
    margin-bottom: 2em;
}

.registration-number {
    font-size: 0.5em;
    font-style: normal;
    position: absolute;
    bottom: -1.2em; /* Adjust as needed to place below the name */
    right: 6em;
}

.address {
    word-wrap: break-word; /* Ensure long text breaks into the next line if necessary */
}

@media (max-width: 768px) {
    .footer .footer-left {
        width: 100%;
        padding-top: 56.25%;
        margin-bottom: 30px;
    }

    .footer .footer-middle, .footer .footer-right {
        width: 100%;
        padding: 10px 0;
    }

    .header-search {
        position: relative;
        width: 100%;
        height: 700px; /* You can adjust this as per your need */
        background-image: url('../Image/Banner.jpg');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        color: #fff;
        display: flex;
        align-items: center;
        flex-direction: column;
        margin: 0 auto;
        justify-content: center;
    }
}
