/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
font-family: 'Open Sans', sans-serif;
line-height: 1.6;
background: url('sss.jpg') no-repeat center center; /* Set bck10.jpg as background */
background-size: cover; /* Cover the entire area with the background */
color: #333;
}


/* Hide sections initially */
section, main {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

/* Active class for when the section is in view */
.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header Styling */
header {
            background-color: #ffffff;
            padding: 15px 0;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            height: 100px;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .logo-text-wrapper {
            display: flex;
            align-items: center;
            gap: 30px;
        }

        .logo img {
            width: 120px;
            height: auto;
        }

        .company-name {
            font-size: 2rem;
            font-weight: 700;
            font-family: 'garet', sans-serif;
            color: #333;
            white-space: nowrap;
        }

        nav ul {
            list-style: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 0px;
        }

        nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-family: 'garet', sans-serif;
    font-size: 1.2rem; /* Increased font size */
    padding: 12px 20px; /* Adjusted padding for better spacing */
    transition: background 0.3s, color 0.3s;
}

nav ul li a:hover {
    background-color: #007bff;
    color: white;
    border-radius: 15px;
}

/* Main Content */
main {
    padding: 150px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Contact Section */
.contact-section {
position: relative; /* To position the transparent box */
padding: 20px;
}

/* Transparent Background Box */
.transparent-box {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255, 255, 255, 0.700); /* Adjust the color and transparency */
border-radius: 15px; /* Match the border-radius */
z-index: -1; /* Place it behind the content */
}

/* Contact Header Styles */
.contact-header {
position: relative; /* Keep the header above the transparent box */
}


.contact-header h1 {
    font-size: 3.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: white;
    text-shadow: 1px 1px 5px rgba(0, 0, 123, 0.3);
}

.contact-header h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    background-color: #007bff;
    margin: 15px auto 0;
}

.contact-content {
    font-size: 1.2rem;
    color: white;
    line-height: 1.8;
    text-align: left;
    max-width: 900px;
    margin: 0 auto 40px;
    text-shadow: 1px 1px 5px rgba(0, 0, 123, 0.3);
}

/* Contact Form Styling */
.contact-form {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 20px auto;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    width: 100%;
    border: 2px solid #007bff;
    border-radius: 10px;
    font-size: 1rem;
    background-color: #f9f9f9;
    transition: box-shadow 0.3s, transform 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.4);
    transform: scale(1.01);
    outline: none;
}

.contact-form button {
    padding: 15px;
    background: linear-gradient(135deg, #33a1ff, #0056b3);
    color: white;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    border: none;
    border-radius: 50px;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Contact Info */
.contact-info {
    margin-top: 50px;
    display: flex;
    justify-content: space-around;
    text-align: center;
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.2);
}

.contact-info div {
    flex: 1;
    margin: 0 20px;
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
}

.contact-info p {
    font-size: 1rem;
    color: #dddddd;
    margin-bottom: 10px;
}

/* Google Map Section */
.map-container {
    margin-top: 40px;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Our Partner Section */
.partner-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.partner-section h2 {
    font-size: 3.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
    color: #007bff;
} 


.partner-section p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 50px;
}

.partners-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partner-logo img {
    width: 150px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s, transform 0.3s;
}

.partner-logo img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.clients-section {
    padding: 60px 20px;
    background-color: #e9ecef;
    text-align: center;
}

.clients-section h2 {
    font-size: 3.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
    color: #007bff;
}

.clients-section p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 20px;
}

/* Continuous Scrolling Animation */
.carousel-track {
    display: flex;
    align-items: center;
    gap: 30px; /* Add spacing between logos */
    animation: scroll 60s linear infinite; /* Increased duration for slower scrolling */
    list-style: none;
    padding: 0;
    margin: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-180px * 40)); /* Adjusted for more logos (40 total) */
    }
}

/* Ensure the track wraps around smoothly */
.carousel-container {
    overflow: hidden;
    position: relative;
    padding: 10px;
    background: linear-gradient(90deg, #f0f0f0 0%, #ffffff 100%); /* Subtle gradient background */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Individual Client Logo */
.client-logo {
    min-width: 180px; /* Include width + gap */
    margin: 0;
}

.client-logo img {
    width: 150px;
    height: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.client-logo img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .client-logo img {
        width: 120px;
        height: 80px;
    }
    @keyframes scroll {
        100% {
            transform: translateX(calc(-140px * 40)); /* Adjust for smaller widths */
        }
    }
}

/* Adjust for responsive view */
@media (max-width: 768px) {
    .client-logo {
        min-width: 120px;
    }
}


/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 0px;
}

footer p {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .clients-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info {
        flex-direction: column;
        text-align: left;
    }

    .contact-info div {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .clients-container {
        grid-template-columns: repeat(1, 1fr);
    }
}