/* Reset CSS for better consistency */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    
}

/* General styles for hero-slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh; 
    overflow: hidden; 
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; 
    transition: opacity 1s ease-in-out;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.hero-slide.active {
    opacity: 1; 
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #024DBD;
    z-index: 10; 
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    /* color: #014ebd; */
    color: #024DBD;
}
h2{
    color: #014ebd;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color:#014ebd ;
}

.hero-content a {
    padding: 10px 20px;
    background-color: #014ebd;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.1rem;
}

.hero-content a:hover {
    background-color: #024DBD; 
}


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

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
    background-size: contain;
    background-repeat: no-repeat;

    height: 100vh;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 20%;
    height: auto;
    object-fit: cover;
}  
/* About Us Section Styling */
#about-us {
    padding: 40px 20px;
    background-color: #f4f4f4;
}

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

/* Image Styling */
.about-us-image {
    flex: 1 1 45%; 
    margin-right: 20px; 
}

.about-us-image img {
    width: 80%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Text Styling */
.about-us-text {
    flex: 1 1 45%; 
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-us-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #024DBD;;
    text-align: center; 
}

.about-us-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

.about-us-text ul {
    list-style-type: disc;
    margin-left: 20px;
    color: #555;
}

.about-us-text ul li {
    font-size: 1rem;
    margin-bottom: 10px;
}
/* Section Title */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #024DBD;
}

/* Products Section Styling */
.products-section {
    padding: 40px 20px;
    background-color: #fff;
}

.products-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px; /* Space between items */
    max-width: 1200px;
    margin: 0 auto;
}

.product-item {
    flex: 1 1 calc(33.33% - 20px); 
    text-align: center;
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-item img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.product-description {
    font-size: 1rem;
    color: #555;
    margin-top: 10px;
}

/* Contact Section  */
.contact-section {
    padding: 40px 20px;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-text {
    flex: 1 1 45%;
}

.contact-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #024DBD;
}

.contact-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

/* Right Side: Contact Information Card */
.contact-card {
    flex: 1 1 45%;
    /* background-color: #fff; */
    padding: 20px 40px;
    border-radius: 8px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    border: 1px solid #ccc;
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.contact-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}

.contact-card .email-color {
    color: #024DBD;
    font-weight: 600;
    
}

.contact-card .email-color:hover {
    text-decoration: underline;
}

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

    .contact-text, .contact-card {
        flex: 1 1 100%; 
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .contact-text h2 {
        font-size: 1.8rem; 
    }

    .contact-card h3 {
        font-size: 1.2rem;
    }

    .contact-card p {
        font-size: 0.9rem; 
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .product-item {
        flex: 1 1 calc(50% - 20px); 
    }
}

@media (max-width: 480px) {
    .product-item {
        flex: 1 1 100%; 
    }

    .section-title {
        font-size: 1.8rem; 
    }

    .product-description {
        font-size: 0.9rem; 
    }
}
/* styles for footer */
.footer {
    background-color: #E0E0E0; 
    padding: 24px 0; 
    text-align: center; 
    width: 100%; 
}

.footer p {
    font-size: 0.875rem; 
    color: #6B6B6B; 
    margin: 0; 
}

/* Responsive Design for smaller screens */
@media screen and (max-width: 768px) {
    .footer p {
        font-size: 0.75rem; 
        padding: 0 10px; 
    }
}

@media screen and (max-width: 480px) {
    .footer p {
        font-size: 0.7rem; 
        padding: 0 5px; 
    }
}

/* Responsive Design */
@media (max-width: 768px) {

    .hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover; 
    }

    /* Hero content for small screens */
    .hero-content {
        font-size: 1.8rem; 
        top: 50%; 
        padding: 0 15px; 
        max-width: 80%; 
    }
}

/* Media Query for Extra Small Screens (mobile phones in portrait mode) */
@media (max-width: 480px) {
    .hero-content {
        font-size: 1.5rem; 
        top: 50%; 
        max-width: 90%; 
    }
}

/* END */
