/* General Reset */
body {
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

/* Container Styling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Intro Section */
.intro {
    text-align: center;
    margin-top: 20px;
}

.intro h1 {
    font-size: 2.5em;
    color: #4a4a6a; /* Dark purple */
    font-weight: bold;
}

.intro p {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 1.2em;
    color: #4a4a6a;
}

/* Header Section */
.header img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section Headings */
section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #4a4a6a;
    font-weight: bold;
    text-align: center;
}

/* Add space between paragraphs in "Student Driven" section */
section h2 + p {
margin-bottom: 20px; /* Adjust spacing */
}

/* Add even spacing between headers */
section h2 {
margin-top: 30px;  /* Increase top margin */
margin-bottom: 25px; /* Adjust bottom margin */
}


/* Team Grid Styling */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-items: center;
    margin-top: 20px;
}

/* Team Card Styling */
.team-card {
    background: #2e3141; /* Dark purple */
    border-radius: 12px; /* Slight rounding for modern design */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    width: 100%;
    max-width: 260px; /* Adjusted for consistent card sizing */
    height: 340px; /* Balanced height for consistent layout */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* Image Styling */
.team-card img {
    width: 150px; /* Larger image size for better proportion */
    height: 150px;
    border-radius: 10px; /* Slightly rounded edges */
    object-fit: cover;
    margin-bottom: 10px;
}

/* Text Styling */
.team-card h3 {
    font-size: 1.3em; /* Name font size */
    color: #ffffff;
    margin: 5px 0;
    line-height: 1.1; /* Reduced line height for tighter spacing */
    text-align: center;
}

.team-card p {
    font-size: 1em; /* Slightly reduced text size */
    color: #c5c5c5;
    margin: 3px 0; /* Reduced margin between lines */
    line-height: 1.2; /* Compact line height */
    text-align: center;
}

.team-card a {
    font-size: 0.9em; /* Social handle font size */
    color: #add8e6; /* Light blue */
    text-decoration: none;
    font-weight: bold;
    margin-top: 5px; /* Spacing above the social handle */
    line-height: 1.1; /* Compact spacing for links */
}

.team-card a:hover {
    color: #ffffff; /* Highlight link on hover */
    text-decoration: underline;
}

/* CTA Button */
.cta {
    text-align: center;
    margin-top: 20px;
}

.cta a {
    display: inline-block;
    padding: 15px 30px;
    background-color: #4a4a6a; /* Dark purple */
    color: white;
    font-size: 2em;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta a:hover {
    background-color: #2e3141; /* Slightly darker on hover */
}
