/* Profile Section */
.profile-section {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between image and text */
    padding: 20px;
    background-color: #f9f9f9; /* Light gray background */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 1400px; /* Limit max width */
}

.profile-section .profile-image {
    flex-shrink: 0; /* Prevent image from shrinking */
    width: 250px; /* Fixed width for the image */
    height: 250px; /* Fixed height for the image */
}

.profile-section .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* Make it circular */
    border: 3px solid #e31e24; /* Red border */
}

.profile-section .profile-info {
    flex: 1; /* Let text take remaining space */
}

.profile-section .profile-info h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #333; /* Dark text */
}

.profile-section .profile-info .designation {
    font-size: 18px;
    color: #777; /* Grayish text */
    margin: 0 0 10px;
}

.profile-section .profile-info .message {
    font-size: 16px;
    line-height: 1.6;
    color: #444; /* Slightly darker gray */
    text-align: justify;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .profile-section .profile-image {
        width: 120px;
        height: 120px;
    }

    .profile-section .profile-info h2 {
        font-size: 22px;
    }

    .profile-section .profile-info .message {
        font-size: 14px;
    }
}


/*Board*/
/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.board-members {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 members per row */
    gap: 20px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.member-card {
    display: flex;
    flex-direction: row-reverse; /* Image on the right */
    align-items: center;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
}

.member-info {
    padding: 15px;
    flex: 1;
}

.member-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.member-info .position {
    font-size: 14px;
    font-weight: bold;
    color: #555;
    margin-bottom: 10px;
}

.member-info .about {
    font-size: 14px;
    color: #666;
}

.member-image {
    flex-shrink: 0;
    width: 120px; /* Fixed width for the image */
    height: 120px;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-left: 3px solid #e31e24; /* Add border to separate image */
}

/* Responsive Design */
@media (max-width: 992px) {
    .board-members {
        grid-template-columns: repeat(2, 1fr); /* 2 members per row on medium screens */
    }
}

@media (max-width: 576px) {
    .board-members {
        grid-template-columns: 1fr; /* 1 member per row on small screens */
    }

    .member-card {
        flex-direction: column;
    }

    .member-image {
        width: 100%;
        height: auto;
        border-left: none;
        border-top: 3px solid #e31e24;
    }
}


/*join us*/
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif; /* Clean and modern font */
}

/* Wrapper to Center Form */
.form-wrapper {
    display: flex;
    justify-content: center; /* Horizontal center */
    align-items: center; /* Vertical center */
    min-height: 100vh; /* Full viewport height */
    padding: 2rem 1rem; /* Add spacing around */
    background-color: #f4f4f9; /* Light background for the entire page */
}

/* Main Container */
.join-us-container {
    display: flex;
    flex-wrap: wrap; /* Stack items on smaller screens */
    width: 90%;
    max-width: 1100px; /* Container max width */
    background: #ffffff; /* White background for form */
    border-radius: 10px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.15); /* Soft shadow */
    overflow: hidden;
}

/* Image Section */
.image-section {
    flex: 1;
    min-height: 400px;
    background-color: #d9e4f5; /* Fallback color for the image */
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-section img {
    width: 550px;
    height: 1192px;
    object-fit: cover;
}

/* Form Section */
.form-section {
    flex: 1;
    padding: 3rem 2rem;
    background-color: #ffffff;
}

/* Form Heading */
.form-section h2 {
    font-size: 2rem;
    color: #333333;
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
}

.form-section p {
    font-size: 1rem;
    color: #555555;
    margin-bottom: 2rem;
    text-align: center;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5e95ff;
    box-shadow: 0 0 8px rgba(94, 149, 255, 0.3);
}

/* File Input */
.form-group input[type="file"] {
    border: none;
    padding: 0.5rem;
    background-color: #f7f8fc;
}

/* Submit Button */
.form-group button {
    display: inline-block;
    width: 100%;
    padding: 0.9rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #5e95ff, #3f7fff);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-group button:hover {
    background: linear-gradient(135deg, #3f7fff, #2e6ae4);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .join-us-container {
        flex-direction: column;
    }

    .image-section {
        height: 250px;
    }

    .form-section {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .form-section h2 {
        font-size: 1.5rem;
    }

    .form-section p {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    .form-group button {
        font-size: 1rem;
        padding: 0.7rem;
    }
}
