/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Focus State for Search Input and Button */
.search-container input:focus,
.search-container button:focus {
    outline: none; /* Removes default focus outline */
    border: 2px solid #0077b6; /* Focused border on search input */
}

/* Base Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #caf0f8; /* Extremely Light Blue */
    color: #03045e; /* Dark Blue */
}

/* Container */
.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background-color: #0096c7; /* Light Blue */
    color: white;
    padding: 50px 0;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
}

header p {
    font-size: 1.2rem;
    margin: 20px 0;
}

/* CTA Button */
/* Center-Align Button */
.container .cta-button {
    display: block;
    margin: 20px auto; /* Center-align and add margin for spacing */
    text-align: center;
    background-color: #00b4d8; /* Aqua Blue */
    color: black;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.1em;
    border-radius: 5px;
}

.container .cta-button:hover {
    background-color: #0077b6; /* Medium Blue */
}



/* Services Section */
.services {
    background-color: #f1faff; /* Very Light Blue */
    padding: 50px 0;
}

.services h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #023e8a;
}

/* Services Container to display grid */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Responsive grid */
    gap: 30px; /* Space between grid items */
    padding: 0 20px;
}

.service-item {
    background-color: #ffffff; /* White background for each service box */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition effect */
}

.service-item h3 {
    font-size: 1.8em;
    color: #0077b6;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 1.1em;
    color: #333;
    line-height: 1.6;
}

/* Hover effects */
.service-item:hover {
    transform: translateY(-10px); /* Slight lift effect on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}


/* Navigation Menu */
/* Navigation Menu */
/* Navigation Menu */
/* Navigation Menu */
/* Navigation Menu */
/* Navigation Menu */
nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Ensure the navigation menu is above the video */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for readability */
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Menu Items */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 5px; /* Reduced space between items in the navigation menu for ex: space between about us, services, tools, contact us */
    text-align: center;
    flex-wrap: nowrap; /* Prevent wrapping */
    justify-content: flex-start; /* Align items to the left */
    width: auto;
}

nav ul li {
    text-align: center;
    margin: 0 3px; /*  Reduce horizontal margin */
}

/* Navigation Menu Items */
nav ul li a {
    color: white !important; /* Ensure color is white */
    text-decoration: none !important; /* Ensure no text decoration */
    text-transform: uppercase !important; /* Ensure text is uppercase */
    font-size: 0.75em !important; /* Reduced font size */
    padding: 10px 15px !important; /* Ensure padding is applied */
    display: block !important; /* Ensure block display */
}

nav ul li a:hover {
    color: #FFD700; /* Gold hover effect */
}

nav ul li:last-child {
    margin-right: 18vw; /* Pushes "Contact Us" 18% left */
}


/* Search Form Styles */
.search-container {
    position: absolute;
    right: 2vw; /* Adjusted to be responsive */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-container input {
    padding: 5px;
    font-size: 1vw; /* Adjusts based on screen width */
    width: 12vw; /* Makes the search box responsive */
    max-width: 180px; /* Prevents excessive width */
    border-radius: 5px;
    border: 2px solid #023e8a;
}

.search-container button {
    padding: 5px 10px;
    font-size: 0.9vw; /* Adjusts button text size dynamically */
    background-color: #00b4d8;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}


.search-container button:hover {
    background-color: #0077b6; /* Medium Blue */
}

.navbar {
    position: relative;
}


/* Logo */
.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo {
    width: 80px; /* Default logo size */
    max-height: 60px;
    object-fit: contain;
}

.brand-name {
    color: white;
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav .container {
        flex-direction: column; /* Stack items vertically */
        text-align: center;
    }

    nav ul {
        flex-wrap: wrap; /* Ensure items wrap */
        justify-content: center; /* Center items */
    }

    nav ul li {
        width: auto; /* Ensure items do not take full width */
        margin-bottom: 10px;
    }

    .logo {
        width: 60px; /* Smaller logo for mobile */
    }

    .search-container {
        flex-direction: column;
        margin-left: 0;
        padding-right: 0;
    }

    .search-input,
    .search-button {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Footer (Optional) */
footer {
    background-color: #90e0ef; /* Pale Light Blue */
    padding: 20px;
    text-align: center;
    color: #03045e;
    font-size: 1em;
}

/* Highlighted search term */
.highlight {
    background-color: yellow;
    font-weight: bold;
}
/* Scrolling Text Animation */
.scrolling-text {
    display: inline-block;
    white-space: nowrap;
    color:  #023e8a; /* Deep Blue */
    font-size: 1.2rem;
    font-weight: bold;
    animation: scroll-left 15s linear infinite; /* Right-to-left scrolling */
}

/* Keyframe Animation for Right-to-Left */
@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Style for the contact form */
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Adds space between form elements */
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
}

input, textarea {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

button:hover {
    background-color: #0056b3;
}


<style>
    /* Styling for the Tools section */
    #Tools {
        background-color: #f9f9f9; /* Light background color */
        padding: 40px 0;
        text-align: center;
        border-radius: 8px;
    }

    #Tools h2 {
        text-align: center;
        font-size: 2.5em;
        margin-bottom: 40px;
        color: #023e8a;
    }

    .Tools-container {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .Tools-item {
        background-color: #fff;
        padding: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        width: 250px;
        transition: all 0.3s ease;
    }

    .Tools-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

    .tool-title {
        font-size: 24px;
        color: #2c3e50;
        font-family: 'Roboto', sans-serif;
    }

    .tool-link {
        text-decoration: none;
        color: #3498db;
        font-weight: bold;
        transition: color 0.3s ease;
    }

    .tool-link:hover {
        color: #1abc9c;
        text-decoration: underline;
    }

    /* Responsive design */
    @media (max-width: 768px) {
        .Tools-item {
            width: 100%;
            margin-bottom: 20px;
        }
    }
</style>


/* Scrolling Text Banner */
/* Scrolling Text Banner */
/* Scrolling Text Banner */
.scrolling-text-container {
    position: absolute;
    top: 120px; /* Lowered top position */
    width: 100%;
    text-align: center;
    z-index: 2; /* Ensure the scrolling text is above other content */
}

.scrolling-text {
    display: inline-block;
    color: white !important; /* Change text color to white */
    font-size: 1.2em;
    font-weight: bold;
    white-space: nowrap;
    animation: scroll-text 10s linear infinite;
}

@keyframes scroll-text {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .scrolling-text-container {
        top: 130px; /* Adjust top position for smaller screens */
    }

    .scrolling-text {
        font-size: 1em; /* Adjust font size for smaller screens */
    }
}


/* Video Background */
/* Video Background */
/* Video Background */
/* Video Background */
/* Video Background */
/* Video Background */
/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Set height to full viewport height */
    overflow: hidden;
    z-index: -1; /* Ensure the video is behind other content */
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire container */
    transform: translate(-50%, -50%); /* Center the video */
}

/* Ensure other content is above the video */
.header-content {
    position: relative;
    z-index: 1;
    padding: 20px; /* Add padding to avoid overlap */
    background-color: rgba(255, 255, 255, 0.8); /* Add a semi-transparent background for readability */
    margin-top: 100vh; /* Push content down to be below the video */
}

/* Scrolling Text Banner */
.scrolling-text-container {
    position: absolute;
    top: 100vh; /* Move it below the video */
    width: 100%;
    text-align: center;
    z-index: 2; /* Ensure the scrolling text is above other content */
}

.scrolling-text {
    display: inline-block;
    color: black !important; /* Change text color to white */
    font-size: 1.2em;
    font-weight: bold;
    white-space: nowrap;
    animation: scroll-text 10s linear infinite;
}

@keyframes scroll-text {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .scrolling-text-container {
        top: 100vh; /* Adjust top position for smaller screens */
    }

    .scrolling-text {
        font-size: 1em; /* Adjust font size for smaller screens */
    }

    .header-content {
        padding: 10px; /* Adjust padding for smaller screens */
        margin-top: 100vh; /* Ensure content is below video for smaller screens */
    }
}

/* Tools Buttons */
    
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

.tools {
    text-align: center;
    padding: 20px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive grid */
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
}

.tools-item {
    background: #97caf9;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.tools-item:hover {
    transform: scale(1.05);
}

.tools-item a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}


/* Tools Buttons */
    