/* About Page Extra Styles */

/* Header clearance */
.section {
    padding-top: 120px !important;
}

.about-venue-container {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.venue-info-text {
    flex: 1;
}

.venue-map-small {
    flex: 0 0 350px;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--secondary);
}

.venue-map-small iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: invert(90%) hue-rotate(180deg);
}

/* Societies Row Layout */
.societies-row {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.society-large-card {
    flex: 1;
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.society-large-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.society-logo-large {
    height: 100px;
    width: auto;
    margin-bottom: 20px;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
    margin-top: 25px;
}

.mini-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mini-card h4 {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.mini-card p {
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Attractive Collaboration Card */
.collab-card-compact {
    max-width: 800px;
    margin: 40px auto;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: center;
}

.collab-logo-img {
    height: 80px;
    border-radius: 10px;
}

/* Static Team Grid */
.team-grid-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 60px;
    width: 100%;
}

.team-row-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
    justify-items: center;
}

/* Specific rows for 2 or 4 members */
.team-row-grid:nth-of-type(1) {
    grid-template-columns: repeat(2, minmax(250px, 300px));
    justify-content: center;
}

.team-row-grid:nth-of-type(n+2) {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .team-row-grid:nth-of-type(n+2) {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .team-row-grid:nth-of-type(n+1) {
        grid-template-columns: 1fr;
    }
}

/* Shrink Team Cards slightly for the static grid so they fit better */
.team-grid-container .team-card {
    width: 220px;
    height: 330px;
}

.team-grid-container .team-label-strip {
    font-size: 0.65rem;
    letter-spacing: 4px;
}

.team-grid-container .team-name {
    font-size: 1rem;
}

.team-grid-container .team-role {
    font-size: 0.7rem;
}

/* Volunteer Styles */
.volunteers-section {
    margin-top: 100px;
    padding-bottom: 80px;
}

/* Volunteer Styles - Benefit Style */
.volunteers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.volunteer-benefit-card {
    position: relative;
    background: rgba(10, 14, 23, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.volunteer-benefit-card:hover {
    border-color: var(--secondary);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.2);
}

.v-img-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary);
    background: #222;
}

.v-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.volunteer-benefit-card h4 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.volunteer-benefit-card span {
    display: block;
    font-size: 0.75rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 1200px) {
    .volunteers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .societies-row {
        flex-direction: column;
    }

    .volunteers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .about-venue-container {
        flex-direction: column;
    }

    .venue-map-small {
        flex: 1;
        width: 100%;
    }

    .volunteers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}