/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and Page Layout */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    padding: 20px;
    text-align: center;
}

/* Main Heading */
h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 50px;
    font-weight: 700;
}

/* Mentors Profile Section */
.mentors-profile {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

/* Individual Mentor Card */
.mentor {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mentor:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Mentor Image */
.mentor img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Mentor Name */
.mentor h2 {
    font-size: 1.6rem;
    color: #2980b9;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Mentor Information (Designation, Company, Alumni Batch) */
.mentor p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 8px;
}

/* Bio Section */
.mentor p:last-of-type {
    font-size: 0.95rem;
    color: #777;
    font-style: italic;
    margin-top: 10px;
}

/* Responsive Design for Smaller Screens */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .mentors-profile {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .mentor img {
        height: 180px;
    }

    .mentor h2 {
        font-size: 1.4rem;
    }

    .mentor p {
        font-size: 0.9rem;
    }
}
