/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Body Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #806f6f;
    color: #333;
}
/* Header Styles */
header {
    background-color: #1d354d;
    padding: 12px;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

header nav ul li {
    margin: 0 65px;

}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}
header nav ul li a:hover {
    color: coral;
}
.logo {
    width: 145px;
    margin-left: 25px;
    margin-bottom: -48px;
    margin-top: 0;
}

/* About Us Section */
.about-us {
    padding: 40px 20px;
    background-color: #fff;
}

.about-us .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
/* animation of about */
.animation {
    position: relative;
    font-family: 'Poppins';
    text-transform: uppercase;
    font-size: 35px;
    letter-spacing: 4px;
    overflow: hidden;
    background: linear-gradient(90deg, #000, #fff, #000);
    background-repeat: no-repeat;
    background-size: 80%;
    animation: animate 8s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba(255, 255, 255, 0);
  }
  
  @keyframes animate {
    0% {
      background-position: -500%;
    }
    100% {
      background-position: 500%;
    }
  }

.about-us h1 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.about-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.about-content .text {
    flex: 1;
    padding-right: 20px;
}

.about-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.about-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.about-content ul {
    list-style: none;
}

.about-content ul li {
    font-size: 18px;
    margin-bottom: 10px;
}

.about-content .image {
    flex: 1;
}

.about-content .image img {
    width: 100%;
    border-radius: 7px;
    object-fit: cover;
    height: 100%;
}
/* Container  holds the entire slider */
.image {
    position: relative;
    margin: auto;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    height: 100%;
    border-radius: 8px;
}

/* The slider that slide itself */
.slider {
    display: flex;
    animation: slide   10s  infinite; /* Set animation duration to 10 seconds */
}

/* Each image slide */
.slide {
    width: 100%;
    flex-shrink: 0;
}

img {
    width: 100%;
    height: auto;
}

/* Animation for sliding images */
@keyframes slide {
    0% {
        transform: translateX(0);
    }
    16.66% {
        transform: translateX(-100%);
    }
    33.33% {
        transform: translateX(-200%);
    }
    50% {
        transform: translateX(-300%);
    }
    66.66% {
        transform: translateX(-400%);
    }
    83.33% {
        transform: translateX(-500%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Responsive styling for mobile screens */
@media (max-width: 768px) {
    .slider-container {
        max-width: 100%;
    }
    .slider {
        width: 100%; /*  6 images wide for smaller screens */
    }
    .slide {
        width: 100%;
    }
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 15px;
}

footer p {
    margin: 0;
}

/* Responsive  for Mobile */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: row;
        align-items: center;
        gap: 26px;
        color: azure;
        margin-top: 25px;
    }

    header nav ul li {
        margin: 10px 0;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .about-content .text {
        padding-right: 0;
        text-align: center;
    }

    .about-content .image {
        margin-top: 20px;
        width: 100%;
    }
}

/* small devices (Phones) */
@media (max-width: 480px) {
    .about-us h1 {
        font-size: 28px;
    }

    .about-content h2 {
        font-size: 20px;
    }

    .about-content p {
        font-size: 16px;
    }

    .about-content ul li {
        font-size: 16px;
    }
} 