/* General Reset */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #2c2c2c;
    color: #fff;
    box-sizing: border-box;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #1f1f1f;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    width: 100%;
    box-sizing: border-box;
}

.header-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 10px;
    border-radius: 5px;
}

/* Full-Width Slider */
.slider {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    padding: 20px; /* Padding around the slider */
    box-sizing: border-box;
}

.slide {
    position: absolute;
    width: calc(100% - 40px); /* Adjust width to account for padding */
    height: calc(100% - 40px); /* Adjust height to account for padding */
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease-in-out;
    opacity: 0;
}

.slide.active {
    opacity: 1;
}

.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Logo Styling */
.logo-container {
    text-align: left;
    padding: 10px;
}

.logo-text {
    font-size: 2rem; /* Increase font size */
    font-weight: bold;
}

.logo-text .highlight {
    color: red;
}

nav {
    display: flex;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    background-color: #555; /* Different grey color for menu container */
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.menu li {
    position: relative;
}

.menu a {
    text-decoration: none;
    color: #fff;
    padding: 10px 15px;
    transition: color 0.3s, background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}

.menu a:hover {
    color: #00aaff;
    background-color: #666;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #666; /* Different grey color for submenu container */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    list-style: none;
    margin: 0;
    padding: 0;
    width: 200px; /* Ensures consistent width */
    text-align: left; /* Aligns submenu items to the left */
    border-radius: 5px;
}

.submenu li {
    width: 100%;
}

.menu li:hover .submenu,
.menu li:focus-within .submenu {
    display: block;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
    cursor: pointer;
    padding-right: 20px;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
}

/* Fading Line */
.fading-line {
    position: relative;
    height: 0.5px;
    background: linear-gradient(to right, red, white 20%);
    animation: moveLine 3s linear infinite;
}

@keyframes moveLine {
    from {
        background-position: 0%;
    }
    to {
        background-position: 100%;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .slider {
        height: 300px; /* Reduce height for smaller screens */
        padding: 10px; /* Adjust padding for mobile */
    }

    .slide {
        width: calc(100% - 20px); /* Adjust width for mobile padding */
        height: calc(100% - 20px); /* Adjust height for mobile padding */
    }

    nav {
        display: flex;
        width: auto;
        flex-direction: row;
        justify-content: center;
        background-color: #1f1f1f;
    }

    .menu {
        flex-direction: row;
        gap: 20px;
    }

    .header-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .logo-container {
        order: -1;
        text-align: center;
    }
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000; /* Ensure submenu appears above other elements */
    background-color: #666; /* Different grey color for submenu container */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    list-style: none;
    margin: 0;
    padding: 0;
    width: 200px; /* Ensures consistent width */
    text-align: left; /* Aligns submenu items to the left */
    border-radius: 5px;
}

/* Content Section Styling */
.content-section {
    padding: 40px 20px;
    background-color: #2c2c2c; /* Matches the site theme */
    color: #fff;
    text-align: center;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff; /* Highlight color for headings */
    text-transform: uppercase;
}

.content-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #ddd; /* Slightly lighter text for readability */
}

.mission-section {
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 8px;
    background: linear-gradient(to right, #1f1f1f, #333);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.vision-section {
    padding: 20px;
    border-radius: 8px;
    background: linear-gradient(to right, #333, #1f1f1f);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .content-section h2 {
        font-size: 1.5rem;
    }

    .content-section p {
        font-size: 1rem;
    }
}

/* Clients Section */
.clients-section {
    padding: 40px 20px;
    background-color: #2c2c2c;
    color: #fff;
    text-align: center;
}

.clients-section h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #00aaff;
    text-transform: uppercase;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.client-container {
    background-color: #333;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.client-container:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5);
}

.client-container img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.client-container p {
    font-size: 1rem;
    font-weight: bold;
    color: #ddd;
    text-transform: capitalize;
}

/* Responsive Design */
@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .client-container img {
        height: 120px;
    }

    .client-container p {
        font-size: 0.9rem;
    }
}

/* Contact Us Section */
.contact-section {
    padding: 40px 20px;
    background-color: #2c2c2c; /* Matches site theme */
    color: #fff;
    text-align: center;
    border-top: 2px solid #444; /* Separator line for distinction */
}

.contact-section h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #00aaff; /* Highlight color for heading */
    text-transform: uppercase;
}

.contact-details p {
    font-size: 1.2rem;
    margin: 10px 0;
    color: lightgrey; /* Default text color */
}

.contact-details a {
    text-decoration: none;
    color: inherit; /* Inherit parent color */
    font-weight: bold;
}

.contact-details a:hover {
    color: #00aaff; /* Highlight color on hover */
}

.contact-details img {
    width: 40px;
    height: 40px;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

.contact-details img:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background-color: #1f1f1f; /* Matches the header background */
    color: #fff;
    text-align: center;
    padding: 15px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.3);
    font-size: 0.9rem; /* Slightly smaller font */
}

footer .highlight {
    color: red; /* Matches the logo highlight */
}

footer div {
    font-weight: bold;
}








/* General h2 Styling */
h2 {
    background-color: #00aaff; /* Bright blue background */
    color: #fff; /* White text for contrast */
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}
.h2-container h2 {
    color: #fff;
    margin: 0;
    padding: 10px;
}