/* General Page Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    text-align: center;
}

/* Header Styling */
header {
    padding: 30px;
    background: linear-gradient(to bottom, #ffffff, #e0e0e0);
    color: black;
}

h1 {
    font-size: 1.8em;
    font-weight: bold;
    margin: 10px 0;
}

p {
    font-size: 1em;
    color: #333;
    max-width: 600px;
    margin: auto;
}

/* Top Bar Styling */
.top-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.bar {
    width: 60px;
    height: 10px;
    background-color: black;
}

.short {
    width: 40px;
}

/* Grid Layout */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 800px;
    margin: auto;
}

/* Profile Cards */
.profile {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Profile Images */
.profile img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

/* Profile Text */
.profile h3 {
    font-size: 1.2em;
    margin: 5px 0;
}

.title {
    font-weight: bold;
    color: #555;
    margin-bottom: 10px;
}

/* Email Button */
.email-btn {
    display: inline-block;
    padding: 8px 12px;
    margin-top: 10px;
    background-color: #9e00b6;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.email-btn:hover {
    background-color: #ff00ee;
}

/* Bio Text */
.bio {
    color: #777;
    font-size: 0.9em;
    margin-top: 10px;
}

footer {
    background: #222;
    color: white;
    padding: 50px 20px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: auto;
}



.contact-form {
    text-align: left;
}

.contact-form h3 {
    margin-bottom: 10px;
}

/* Form Layout */
form {
    display: grid;
    gap: 10px;
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 10px;
    align-items: center;
}

label {
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    resize: vertical;
    height: 100px;
}


button {
    background: #ff00ee;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

button:hover {
    background: #54024e;
}


html {
    scroll-behavior: smooth;
}


@media screen and (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-group {
        grid-template-columns: 1fr;
    }
}


/* Responsive Design */
@media screen and (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}


  