/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 10px;
    color: white;
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px;
}

/* Slider Section */
.slider {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    text-align: center;
}

.slide-content {
    background-color: rgba(0, 0, 0, 0.5); /* Add a semi-transparent overlay */
    padding: 20px;
    border-radius: 10px;
}

.slide h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.slide p {
    font-size: 18px;
}


.news-marquee {
    background-color: #444;
    color: white;
    padding: 10px;
    font-weight: bold;
}

.about .services, .products, .certificates, .contact, footer {
    padding: 50px;
}
/* About Section */
.about {
    padding: 60px 0;
    background-color: #ffffff;
    color: #333;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    max-width: 50%;
    text-align: left;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #222;
}

.about-text p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.learn-more-btn {
    padding: 12px 30px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.learn-more-btn:hover {
    background-color: #555;
}

.about-image {
    flex: 1;
    max-width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-text, .about-image {
        max-width: 100%;
    }

    .about-text {
        margin-bottom: 30px;
    }

    .about-image img {
        width: 90%;
    }
}


.services .service-columns {
    display: flex;
    justify-content: space-between;
}

.services .service-item {
    background-color: #f4f4f4;
    padding: 20px;
    text-align: center;
    width: 22%;
}

/* Products Section */
.products {
    padding: 50px;
}

.products h2 {
    text-align: center;
    margin-bottom: 50px;
}

.product-section {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.product-text {
    padding: 20px;
    width: 50%;
}

.product-image {
    width: 50%;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Alternate Layout for First Product */
.product-left-text {
    flex-direction: row;
}

/* Alternate Layout for Second Product */
.product-right-text {
    flex-direction: row-reverse;
}

.certificates-scroll {
    display: flex;
    overflow-x: auto;
}

.certificates-scroll img {
    width: 150px;
    margin-right: 20px;
}

/* Contact Section */
.contact {
    padding: 60px;
    background-color: #f9f9f9;
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.contact p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    max-width: 40%;
    text-align: left;
}

.contact-info h3 {
    font-size: 24px;
    color: #444;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

.contact-form {
    flex: 1;
    max-width: 50%;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    border-color: #333;
    outline: none;
}

textarea {
    resize: none;
}

.submit-btn {
    background-color: #333;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-info, .contact-form {
        max-width: 100%;
    }
}

footer {
    display: flex;
    justify-content: space-between;
    background-color: #333;
    color: white;
    padding: 20px;
}

.footer-left img {
    height: 40px;
}

.footer-center ul {
    list-style-type: none;
}

.footer-center ul li {
    margin-bottom: 10px;
}

.footer-right h4 {
    margin-bottom: 10px;
}
