/* src/components/ParallaxSection.css */

.parallax {
    background-attachment: fixed; /* Fix the background for parallax effect */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px; /* Set a height for the parallax section */
    display: flex;
    align-items: center;
}

.counter-box {
    border: 2px solid white; /* White border around the box */
    border-radius: 10px; /* Rounded corners */
    padding: 20px; /* Inner padding */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: #fff; /* Text color */
    margin: 0 auto; /* Center the box */
    width: 80%; /* Adjust width as needed */
}

.counter {
    font-size: 3rem; /* Size of the counter */
    margin: 0; /* Remove default margin */
    animation: fadeIn 1s ease-in-out; /* Fade in animation */
}
.feature-box {
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: justify;
}
.feature-box {
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    align-items: center;
}

.feature-title {
    font-weight: 600;
     margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
    align-items: center;
}

ul li span {
     font-size: 1rem;
    line-height: normal;
    letter-spacing: 1px;
}
.feature-box p{
 font-size: 1rem;
    line-height: normal;
    letter-spacing: 1px;
}
.cert{
    margin-top: 10px;
    margin-bottom: 20px;
}
.counterbox{
    margin-top: 10px;
    margin-bottom: 20px;
}
/* Optional: Animation for the counters */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

p {
    margin: 10px 0 0; /* Margin above paragraph */
}

.pp {
    text-align: center;
    color: #fff;
}

.bgimg {
    background-image: url('/assets/images/others/parallaximage.jpg');
}

/* Media Queries */
@media (max-width: 768px) {
    .parallax {
        height: 600px; /* Reduced height on smaller screens */
    }

    .counter-box {
        width: 90%; /* Increased width for smaller screens */
        padding: 15px; /* Decreased padding */
    }

    .counter {
        font-size: 2.5rem; /* Adjusted font size */
    }

    .pp {
        font-size: 1.2rem; /* Reduced font size for paragraph */
    }

    .parallaxbox {
        margin-top: 300px; /* Adjusted margin */
        margin-bottom: 300px; /* Adjusted margin */
    }
    .counterbox{
        margin-top: 10px;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .counter {
        font-size: 2rem; /* Further adjustment for very small screens */
    }

    .pp {
        font-size: 1rem; /* Further reduced font size */
    }

    .parallax {
        height: 500px; /* Further reduced height for very small screens */
    }
}


