/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: white;
    background-color: black;
}

header {
    display: flex;
    justify-content: space-between;
    background-color: #2e5b70;
    padding: 10px 20px;
    color: white;
}

.logo {
    font-size: 1.5rem;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 10px;
}

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

.section {
    padding: 50px 20px;
    text-align: center;
    position: relative;
    color: white;
}

/* Home Section Styling */
.home {
    background: url('J4x.gif') no-repeat center center/cover;
    height: 100vh;
}

.home .overlay {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home .content h1 {
    font-size: 3rem;
    color: white;
}

/* Vision Section Styling */
.vision {
    background: url('background-home.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.vision .overlay {
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.vision-heading {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
}

.vision-text {
    font-size: 1.2rem;
    color: white;
    max-width: 700px;
    text-align: center;
}

/* Team Section Styling */
.team {
    background-color: #f9f9f9;  /* Light background */
    padding: 100px 20px;
    color: black;
}

.team h2 {
    color: black;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.team-members {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px; /* Added spacing between members */
}

.member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 220px;
    transition: transform 0.3s ease; /* Smooth hover effect */
    padding: 20px; /* Added padding for spacing */
}

.member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow to images */
    transition: box-shadow 0.3s ease; /* Smooth shadow effect on hover */
}

.member:hover {
    transform: translateY(-10px); /* Move the card upwards slightly on hover */
}

.member img:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* Darker shadow on hover */
}

.member h3 {
    color: #333;
    font-size: 1.4rem; /* Slightly larger font for names */
    margin-bottom: 10px;
}

.member p.designation {
    font-size: 1.1rem; /* Increase font size for designations like Co-founder and AI/ML Researcher */
    font-weight: bold;
    margin-bottom: 5px;
}

.member p.institution {
    font-size: 0.9rem; /* Slightly smaller font for institution names */
    color: #666;
    line-height: 1.4rem;
}

/* Adjusted for consistent spacing between members */
.member p {
    margin: 0;
    padding: 5px 0;
    display: block;
    text-align: center;
}

/* Specific to Ashwin */
.member:nth-child(3) p.institution {
    content: 'Professor at Naveen Jindal School of Management, UT Dallas';
}

/* Contact Section */
.contact {
    background: url('background-contact.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #2e5b70;
    color: white;
}
