/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: rgb(2, 2, 41);
    user-select: none;
    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE/Edge */
}

/* Container and Image Styling */
.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgb(2,0,19);
    background: linear-gradient(90deg, rgba(2,0,19,1) 0%, rgba(8,8,92,1) 98%, rgba(8,8,92,1) 99%, rgba(8,8,92,1) 100%);
    height: 100vh;
    padding: 20px;
}

.left-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -20px;
}

.image {
    width: 600px;
    height: auto;
    border-radius: 10px;
}

.right-side {
    flex: 1;
    color: white;
    padding: 20px;
    margin-top: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

h1 {
    font-size: 36px;
    margin-bottom: 20px;
}
h2{
    font-size: 1.5em;
    margin-top:20px;
}

p {
    font-size: 18px;
    line-height: 1.5;
}
/* table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
  }
  
  td, th {
    border: 0px solid transparent;
    text-align: left;
    padding: 8px;
    font-size: 1.3em;
  }
  
  tr:nth-child(even) {
    background-color: transparent;
  } */

/* Card Layout Styling */
.card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
}

.name h2 {
    margin-top: 20px;
}

.name h1, .name h2 {
    color: white;
}

.name h1 {
    margin-top: 80px;
    margin-bottom: 100px;
}

.card-item {
    background-color: rgba(9, 127, 244, 0.362);
    /* background-color: #6967f4a3; */
    border: 2px solid #e0e0e0; /* Light border for the box */
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 280px;
    height: 270px;
    padding: 20px;
    margin: 20px;
    margin-bottom: 100px;
    position: relative;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.card-item:hover {
    transform: translateY(-10px);
}

.card-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease-in-out; /* Adjusted transition time for smoothness */
}

/* .card-image:hover {
    transform: translateX(-50%) scale(1.3); 
} */


.card-title {
    margin-top: 110px;
    font-size: 20px;
    font-weight: bold;
}

.card-content h3 {
    color: white;
}

.card-description {
    color: white;
    font-size: 16px;
    margin-top: 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.social-links a {
    margin: 0 5px;
}

.social-links img {
    width: 30px;
    height: 30px;
}

.directors-core-team {
    background: rgb(2,0,19);
    background: linear-gradient(90deg, rgba(2,0,19,1) 0%, rgba(8,8,92,1) 98%, rgba(8,8,92,1) 99%, rgba(8,8,92,1) 100%);
    margin-top: 0;
    
} 


.section {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.mentors, .core-team {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    width: 80%;
    margin: 20px 0;
}

.space {
    margin-top: 150px;
    margin-bottom: -70px;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}


/* Mobile and Tablet View Styling */
@media (max-width: 768px) {
    /* Stack elements vertically */
    .container {
        display: flex;
        flex-direction: column; /* Stack elements one after another */
        align-items: center; /* Center the content */
        text-align: center;
        height: auto; /* Adjust height for smaller screens */
    }

    .image {
        width: 100%; /* Full width on mobile and tablets */
        max-width: 933px; /* Set max width for larger displays */
        height: auto; /* Maintain aspect ratio */
        margin-top: 70px;
        margin-bottom: 30px; /* Space between the image and the content */
    }

    .right-side {
        width: 80%; /* Adjust width for readability */
        padding: 10px;
        margin-top: 20px; /* Add space above the content */
        text-align: left; /* Align text for better readability */
    }

    h1 {
        font-size: 28px;
        margin-left: 60px;
    }

    p {
        font-size: 14px;
    }
    table {
        font-family: arial, sans-serif;
        border-collapse: collapse;
        width: 80%;
      }
      
      td, th {
        border: 0px solid transparent;
        text-align: left;
        padding: 8px;
        font-size: 1.0em;
      }
      
      tr:nth-child(even) {
        background-color: transparent;
      }

    .card-container {
        width: 80%; /* Adjust width for smaller screens */
        margin: 0 auto; /* Center the card container */
    }

    .card-item {
        width: 280px; /* Make cards wider */
        height: 250px; /* Allow height to adjust */
        margin-bottom: 30px; /* Space between cards */
    }

    .card-image {
        width: 160px;
        height: 160px;
        top: -50px; /* Adjust position */
        margin-bottom: 10px; /* Space between image and card content */
    }

    .card-title {
        margin-top: 100px;
        font-size: 1.3em;
    }

    .mentors, .core-team {
        flex-direction: column; /* Stack team members vertically */
        align-items: center;
        width: 100%; /* Full width for teams */
        gap: 30px; /* Add space between elements */
    }

    .space {
        margin-top: 80px;
    }
    .box-container {
        width: 90%; /* Make the box responsive */
        height: 135px;
        margin: 20px auto; /* Center the box horizontally */
        padding: 15px; /* Adjust padding for smaller screens */
    }

    .header-container {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center content horizontally */
        text-align: center; /* Align text to center */
    }

    .logo {
        margin-bottom: 10px; /* Space between logo and heading */
    }

    .team-logo {
        margin-top: 10px;
        width: 70px; /* Slightly larger logo for better visibility */
        height: auto;
        margin-left: 0px; /* Center the logo */
    }

    .header-content {
        margin: 0; /* Reset margin for smaller screens */
        align-items: center; /* Center content */
    }

    .header-content h1 {
        font-size: 0.6em; /* Adjust heading size */
        margin-bottom: 10px; /* Space between heading and button */
        margin-left: -10px;
    }

    .learn-more-button {
        width: 70%; /* Full-width button for smaller screens */
        padding: 12px; /* Adjust padding for a better look */
        font-size: 0.4em; /* Slightly larger text */
        margin-left: -10px;
    }
}

/* Very Small Screen Styling */
@media (max-width: 480px) {
    h1 {
        font-size: 24px;
    }

    p {
        font-size: 14px;
    }

    .card-item {
        padding: 15px;
    }

    .card-image {
        margin-bottom: 15px; /* Space between image and other content */
    }

    .social-links img {
        width: 25px;
        height: 25px;
        margin: 0 5px; /* Space between social icons */
    }
}

