* {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: white;
}

header {
    background-color: #1a5f7a;
    color: white;
    padding: 0PX;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    border-right-color: #1a5f7a;
    width: 99.9%;


}

.pqrs {
    border: 1px;
    height: 12vh;

}

#p {
    width: 10%;

}

#blanck {
    width: 20%;
}

#q {
    width: 25%;

}

#r {
    width: 35%;
    text-align: center;

}

#s {
    width: 10%;
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

/* The main container box */
.image-box {
    width: 500px;
    /* Box width */
    height: 300px;
    /* Box height */
    position: relative;
    /* Helps to stack images */
    margin: auto;
    /* Centers the box on the screen */
    overflow: hidden;
    /* Keeps everything neat */
    border-radius: 10px;
    /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

}

/* Settings for all images inside the box */
.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    /* Puts all images on top of each other */
    top: 0;
    left: 0;
    opacity: 0;
    /* Hidden by default */
    animation: fadeSlider 12s infinite;
    /* 12 seconds total loop */
}

/* Animation Timing for each image (Assuming 3 images) */
.slide-img:nth-child(1) {
    animation-delay: 0s;
}

.slide-img:nth-child(2) {
    animation-delay: 4s;
    /* Starts after 4 seconds */
}

.slide-img:nth-child(3) {
    animation-delay: 8s;
    /* Starts after 8 seconds */
}

/* How the fade-in and fade-out effect works */
@keyframes fadeSlider {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    /* Image becomes visible */
    33% {
        opacity: 1;
    }

    /* Stays visible */
    41% {
        opacity: 0;
    }

    /* Fades out */
    100% {
        opacity: 0;
    }

    /* Stays hidden until next turn */
}


nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;

}

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

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

.blood {
    text-align: center;
}

.hero {
    text-align: center;
    padding: 80px 20px;
    background-color: #f4f4f4;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    font-size: 30px;
    color: #1a5f7a;
}

.btn {
    background-color: #1a5f7a;
    color: white;
    padding: 12px 25px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;

}

.features {
    display: flex;
    justify-content: space-around;
    padding: 15px;
}

.box {
    text-align: center;
    width: 90%;
    height: 11vh;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.xyz {
    text-align: center;
    width: 90%;
    height: 4vh;
    padding: 10px;
    border: 1px;
}

footer {
    background-color: #1a5f7a;
    color: aliceblue;
    padding: 0PX;
    display: flex;
    justify-content: space-between;
    text-align: center;
    height: 130px;
}

.and {
    border-radius: 10px;
}

/* Container that hides extra boxes outside the screen */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

/* Flex layout to align boxes from left to right */
.features {
    display: flex;
    width: max-content;
    /* Automatically sets width based on content */
    animation: scrollLeftToRight 15s linear infinite;
    /* 15 seconds speed */
}

/* Box Settings with 10vh height */
.box {
    width: 250px;
    height: 5vh;
    /* Set height to 10% of viewport height */
    margin: 5px 15px;
    padding: 5px 10px;
    border: 1px solid #1a5f7a;
    border-radius: 5px;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centers text vertically */
    align-items: center;
    /* Centers text horizontally */
    text-align: center;
}

/* Small adjustments for text to fit in 10vh */
.box h3 {
    margin: 0;
    font-size: 14px;
    color: #1a5f7a;
}

.box p {
    margin: 2px 0 0 0;
    font-size: 11px;
    color: #666;
}

/* Animation for Left to Right scrolling */
@keyframes scrollLeftToRight {
    0% {
        transform: translateX(-50%);
        /* Starts from left side hidden */
    }

    100% {
        transform: translateX(0);
        /* Moves to the right */
    }
}