body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #fff7e6;
    margin: 0;
    padding: 0;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.title {
    font-size: 2.5rem;
    margin-top: 30px;
    color: #000;
}

.pink-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    background-color: #ffe0ee;
    margin-top: 30px;
    border-radius: 12px;
    justify-items: center;
    flex: 1;
    margin-bottom: 60px; /* Add space for fixed footer */
  }
  
.last-card {
  margin-bottom: 50px;
}

.card {
    background-color: #fff0f5;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

.card h2 {
    font-size: 1.5rem;
    color: #b30000;
    margin: 15px 0 5px;
    padding: 0;
    line-height: 1.3;
}

.card h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 5px 0;
    padding: 0;
    line-height: 1.3;
}

/* Member Page Specific Styles */
@import url('../common.css');

.member-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.member-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.member-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.member-info p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--secondary-color);
    font-weight: 600;
}

.member-contact {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-bg);
}

.member-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.member-contact i {
    color: var(--secondary-color);
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .pink-block {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        padding: 30px;
        margin: 20px;
    }
    
    .card img {
        width: 280px;
        height: 380px;
    }
}

@media screen and (max-width: 768px) {
    .pink-block {
        grid-template-columns: 1fr;
        padding: 20px;
        margin: 15px;
        gap: 20px;
    }
    
    .card img {
        width: 260px;
        height: 360px;
    }
    
    .card h2 {
        font-size: 1.3rem;
    }
    
    .card h3 {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .pink-block {
        padding: 15px;
        margin: 10px;
    }
    
    .card {
        padding: 15px;
    }
    
    .card img {
        width: 240px;
        height: 340px;
    }
    
    .card h2 {
        font-size: 1.2rem;
    }
    
    .card h3 {
        font-size: 1rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.5s ease-in;
}

.header-container {
    background-color: #701f1f;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    flex-wrap: wrap;
}

.header-container h3 {
    margin: 0;
    font-size: 18px;
    font-weight: normal;
}

.header-container h1 {
    flex: 1;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    margin: 0;
}

.header-container img {
    width: 60px;
    height: auto;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: white;
}

/* Responsive Design for Smaller Screens */
@media screen and (max-width: 768px) {
    .header-container h3 {
        margin: 5px;
        width: 10px;
        font-size: 10px;
        /* Even smaller for tiny screens */
    }

    .header-container h1 {
        font-size: 15px;
        /* Adjust main title */
    }

    .header-container img {
        width: 30px;
        /* Reduce image size further */
    }
}

footer {
    background-color: #701f1f;
    color: white;
    padding: 10px;
    font-size: 14px;
    text-align: center;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
}

header a {
    text-decoration: none;
    color: white;
}