*{
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}
.container{
    width: 100%;
    min-height:50vh;
    background-image: linear-gradient(rgba(65, 105, 225, 0.3), rgba(65, 105, 225, 0.5)), url("/assets/images/about-bg.jpg");
    background-position:center;
    background-size:cover;
    text-align: center;
    color: #fff;
}

.container h1{
    padding-top: 210px;
    font-size: 45px;

}
/* General styles for the .discr section */
.discr {
    width: 100%;
    height: 300px;
    background: linear-gradient(rgba(65, 105, 225, 0.7), rgba(0, 0, 0, 0.2));
    text-align: center;
    color: #fff;
    padding: 20px; /* Added padding to ensure the content doesn't touch the edges */
    box-sizing: border-box;
}

/* Heading styles */
.discr h1 {
    padding: 30px 10px 0.5px 10px;
    font-size: 40px;
}

/* Subheading styles */
.discr h4 {
    font-size: 20px;
    padding-bottom: 50px;
}

/* Paragraph styles */
.discr p {
    padding-left: 60px;
    padding-right: 60px;
    padding-bottom: 30px;
    font-size: 17px;
    line-height: 1.6; /* Added line height for better readability */
}

/* Media Query for devices less than 768px (Tablet and Mobile) */
@media (max-width: 768px) {
    .discr {
        height: auto; /* Allow the height to adjust based on content */
        padding: 15px; /* Reduce padding for smaller screens */
    }

    .discr h1 {
        font-size: 30px; /* Make the heading smaller */
        padding: 20px 10px;
    }

    .discr h4 {
        font-size: 18px; /* Slightly reduce font size of the subheading */
    }

    .discr p {
        padding-left: 20px; /* Reduce padding on the left */
        padding-right: 20px; /* Reduce padding on the right */
        font-size: 15px; /* Reduce font size of the paragraph */
        text-align: justify; /* Justify text for better readability */
    }
}

/* Media Query for devices less than 480px (Mobile) */
@media (max-width: 480px) {
    .discr {
        padding: 10px; /* Further reduce padding for very small screens */
    }

    .discr h1 {
        font-size: 24px; /* Make the heading much smaller */
        padding: 15px 10px;
    }

    .discr h4 {
        font-size: 16px; /* Further reduce font size of subheading */
    }

    .discr p {
        font-size: 14px; /* Reduce the paragraph font size */
        padding-left: 10px; /* Further reduce padding */
        padding-right: 10px; /* Further reduce padding */
        line-height: 1.5; /* Adjust line height for readability */
    }
}

/* General styles for the .mot section */
.mot {
    width: 100%;
    text-align: center;
    color: black;
    height: 200px; /* Fixed height for larger screens */
    box-sizing: border-box; /* Ensure padding is included in height calculation */
}

/* Heading styles for the .mot section */
.mot h1 {
    padding: 30px 10px;
    font-size: 40px;
    padding-top: 62px; /* Space above the heading */
}

/* Media Query for devices less than 768px (Tablet and Mobile) */
@media (max-width: 768px) {
    .mot {
        height: auto; /* Allow the height to adjust based on content */
        padding: 20px; /* Add padding to adjust for smaller screens */
    }

    .mot h1 {
        font-size: 30px; /* Reduce font size for smaller screens */
        padding-top: 40px; /* Adjust padding for better spacing */
    }
}

/* Media Query for devices less than 480px (Mobile) */
@media (max-width: 480px) {
    .mot {
        height: auto; /* Further adjust height for very small screens */
        padding: 10px; /* Reduce padding for very small screens */
    }

    .mot h1 {
        font-size: 24px; /* Further reduce font size */
        padding-top: 30px; /* Adjust padding for mobile screens */
    }
}

/* General styles for the section */
.prsn {
    padding: 20px;
    background-color: #fff;
}

/* Row container to hold the columns */
.prsn-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Individual column styles */
.prsn-col {
    flex: 1;
    max-width: 30%;
    display: flex;
    justify-content: center;
}

/* Card styles */
.card {
    width: 100%;
    max-width: 300px;
    background-color: rgba(135, 206, 250, 0.7); /* Light Sky Blue with reduced intensity */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    opacity: 1; /* Set opacity to 1 by default */
    transform: scale(1); /* Set initial scale to 1 */
}

/* Image styles to ensure it fits properly inside the card */
.card img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
}

/* Card info */
.card-info {
    padding: 15px;
}

.name, .designation {
    color: white; /* White text color */
}

.name {
    font-size: 1.2rem;
    margin: 10px 0;
}

.designation {
    font-size: 1rem;
}

/* Hover effect for the card */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(65, 105, 225, 0.4); /* Royal blue shadow effect */
}

/* Image hover effect */
.card:hover img {
    transform: scale(1.1); /* Image zoom-in effect */
}

/* Pop-out animation for cards on hover (only for hover effect, not for initial load) */
@keyframes popOut {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Add animation for the cards when they come into view */
.card.visible {
    animation: popOut 1s forwards; /* Apply pop-out animation when the card becomes visible */
}

/* Media query for responsiveness */
@media (max-width: 700px) {
    .prsn-col {
        max-width: 100%;
    }
    
    .prsn-row {
        flex-direction: column;
        gap: 20px;
    }
}
/* Contact Section */
.contact-info {
    padding: 40px 20px;
    background-color: #f5f5f5;
    text-align: center;
}

.contact-info h1 {
    font-size: 2rem;
    color: #1f1f1f;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Contact details layout */
.contact-details {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    text-align: left;
}

/* Individual contact info items */
.info-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 22%;
    box-sizing: border-box;
}

/* Title for each info item */
.info-item h3 {
    font-size: 1.2rem;
    color: #1f1f1f;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Description under each title */
.info-item p {
    font-size: 1rem;
    color: #555;
}

/* Media Query for Small Devices (Mobile & Tablet) */
@media (max-width: 768px) {
    .contact-details {
        flex-direction: column;
        align-items: center;
    }

    .info-item {
        width: 80%;
        margin-bottom: 20px;
    }
}

/* Media Query for Very Small Devices (Mobile) */
@media (max-width: 480px) {
    .info-item {
        width: 90%;
        margin-bottom: 20px;
    }

    .contact-info h1 {
        font-size: 1.5rem;
    }
}



