.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--creek-blue);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.resource-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--sage);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.resource-item:hover {
    border-left-color: var(--creek-teal);
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.resource-item h3 {
    color: var(--creek-blue);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    font-family: 'Playfair Display', serif;
}

.resource-item p {
    font-size: 1rem;
    color: var(--stone);
    line-height: 1.6;
}

.resource-item a {
    color: var(--creek-teal);
    text-decoration: none;
    font-weight: 600;
}

.resource-item a:hover {
    text-decoration: underline;
}

.contact-block {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-block strong {
    color: var(--creek-blue);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-box {
    background: linear-gradient(135deg, rgba(74, 155, 142, 0.1), rgba(143, 168, 142, 0.1));
    border: 2px solid var(--creek-teal);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
}

.info-box h3 {
    color: var(--creek-blue);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Clickable Resource Item */
.resource-item-clickable {
    cursor: pointer;
    position: relative;
}

.resource-item-clickable:hover {
    border-left-color: var(--creek-blue);
    transform: translateX(8px);
    box-shadow: 0 6px 25px rgba(44, 95, 141, 0.15);
}

.resource-item-clickable::after {
    content: '👆';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.resource-item-clickable:hover::after {
    opacity: 1;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: #fefefe;
    margin: 3% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, #2c5f8d, #4a9b8e);
    color: white;
    padding: 2rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
}

.modal-close {
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0 0.5rem;
}

.modal-close:hover,
.modal-close:focus {
    color: #f1f1f1;
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.modal-intro {
    text-align: center;
    color: var(--stone);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.board-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.board-member-card {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.board-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(44, 95, 141, 0.15);
    border-color: var(--creek-blue);
}

.board-member-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.board-member-info h3 {
    color: var(--creek-blue);
    font-size: 1.1rem;
    margin: 0 0 0.3rem 0;
    font-family: 'Karla', sans-serif;
    font-weight: 600;
}

.board-position {
    color: var(--stone);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

.modal-footer {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0 0 15px 15px;
    text-align: center;
    border-top: 2px solid #e9ecef;
}

.modal-footer p {
    margin: 0;
    color: var(--stone);
}

.modal-footer a {
    color: var(--creek-blue);
    font-weight: 600;
    text-decoration: none;
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .board-members-grid {
        grid-template-columns: 1fr;
    }

    .resource-item-clickable::after {
        opacity: 1;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .modal-header h2 {
        font-size: 1.3rem;
    }

    .board-member-card {
        padding: 1rem;
    }

    .board-member-icon {
        font-size: 2rem;
    }

    .board-member-info h3 {
        font-size: 1rem;
    }
}

/* Phone and Email Links */
.phone-link,
.email-link {
    color: var(--creek-teal);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.phone-link:hover,
.email-link:hover {
    color: var(--creek-blue);
    border-bottom-color: var(--creek-blue);
    text-decoration: none;
}

/* Emergency Item Special Styling */
.emergency-item {
    border-left-color: #dc3545;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.05), rgba(255, 255, 255, 1));
}

.emergency-item:hover {
    border-left-color: #c82333;
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.15);
}

.emergency-item h3 {
    color: #dc3545;
}

.emergency-phone {
    font-size: 2rem;
    font-weight: 700;
    color: #dc3545;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 8px;
    border: 2px solid #dc3545;
    transition: all 0.3s ease;
}

.emergency-phone:hover {
    background: #dc3545;
    color: white;
    transform: scale(1.05);
    border-bottom-color: transparent;
}