* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #000;
    color: #fff;
}

.header {
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.logo {
    height: 70px;
}
.rehman{
    height: 170px;
    width: 100px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 30px;
    font-size: 20px;
}

.hero {
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    max-width: 800px;
    margin: 0 auto 30px;
    color: #ccc;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ffa500;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.factoryimages {
display: flex;
justify-content: center;
align-items: center;
gap: 20px; /* Adjust spacing between images as needed */
}

.factory-image {
    border-radius: 10px; /* Optional: Adds rounded corners */
    transition: transform 0.3s; /* Optional: Adds hover effect for scale */
}

#img1, #img3 {
    width: 450px; /* Smaller size for the first and third images */
    height: auto;
}

#img2 {
    width: 900px; /* Larger size for the middle image */
    height: auto;
}

.factory-image:hover {
    transform: scale(1.1); /* Optional: Slight zoom on hover */
}


.ceo-section {
    display: flex;
    align-items: center;
    max-width: 800px;
    margin: 100px auto;
    padding: 30px;
    background-color: #fff; /* White background */
    color: black;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    transition: transform 0.3s, box-shadow 0.3s; /* Smooth transition on hover */
}

    .ceo-section:hover {
        transform: translateY(-10px); /* Slight lift on hover */
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
}

    .ceo-image {
        width: 350px;
        height: 150px;
        border-radius: 50%;
        margin-right: 30px;
}

.clients {
    text-align: center;
    padding: 50px 20px;
}

.clients h2 {
    font-size: 34px;
    margin-bottom: 50px;
}

.client-logos {
    display: flex;
    justify-content: space-around;
    gap: 50px;
    flex-wrap: wrap;
}

.client-logo {
    height: 200px;
}

.contact-section {
    position: relative;
    height: 600px;
    margin-top: 100px;
}

.map {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.contact-form {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 600px;
    height: 700px;
   
}

.contact-form h2 {
    color: #000;
    margin-bottom: 20px;
}
.contform{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.contact-form input,
.contact-form textarea {
    height: 50px;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.contact-form textarea{
    height: 300px;
}

.contact-form button {
    background: #000;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    height: 50px;
}






.whitebg{
    margin-top:20px;
    margin-bottom:20px;

    padding-top:20px;
    padding-bottom:20px;
    padding-right: 0px;
    background-color: white;
}
.clientsH2{
    color: black;
}


.carousel-section {
    text-align: center;
    margin: 50px 0;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
    border: 2px solid #ccc;
    border-radius: 10px;
}

.carousel {
    display: flex;
    gap: 10px;
    animation: scroll 20s linear infinite;
}

.carousel img {
    width: calc(25% - 10px); /* Show 4 images at a time */
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.carousel img:hover {
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #000; /* Pure black background */
    padding: 40px 20px;
    color: #fff; /* White text */
    border-top: 2px solid #555; /* Subtle border on top */
    font-family: 'Arial', sans-serif;
}

footer .logo {
    max-width: 90px; /* Small, square logo */
    margin-bottom: 10px;
}

footer .brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    gap: 10px;
}

footer nav {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid #444; /* Line under navigation */
    padding-bottom: 10px;
}

footer nav a {
    color: #ddd;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

footer nav a:hover {
    color: #00aced; /* Blue hover effect */
}

footer .social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

footer .social-links a {
    font-size: 1.5rem; /* Larger icons */
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: #ff6b6b; /* Red hover effect */
}

footer p {
    font-size: 0.9rem;
    color: #aaa; /* Light gray for contact info */
    margin: 0;
}

footer p span {
    display: block;
    margin-top: 5px;
}

/* Flex Layout for Larger Screens */
@media (min-width: 768px) {
    footer {
        flex-direction: column;
        margin: 10px;
        justify-content: space-between;
        align-items: center;
    }

    footer .brand {
        margin-bottom: 0;
    }

    footer nav,
    footer .social-links,
    footer p {
        margin: 5px;
    }
}
@media (max-width: 768px) {
    .header {
        display: none;
        visibility: hidden;
    }

    #img1, #img3 {
        display: none;
        visibility: hidden;
    }
    #img2{
        width: 100%;
    }
    .client-logo{
        height: 100px;
    }
 

    .ceo-section{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .ceo-image{
        width: 200px;
        height: 200px;
        margin-bottom: 10px;
    }

    .aboutceo{
        text-align: center;
    }
    h3{
        text-align: center;

    }

    .hero {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .factoryimages, .client-logos {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .contact-form {
        width: 90%;
        right: 5%;
        height: 500px;
    }
    .contact-form input{
        height: 30px;
    }
    .contact-form textarea{
        height: 170px;
    }

    footer {
        flex-direction: column;
    }

    footer nav, footer .social-links {
        justify-content: center;
    }
    .carousel-container .carousel{
        height: 400px;
        width: 800px;
    }
    
}

