body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f7fafc;
    color: #333;
    line-height: 1.6;
}

/* Password protection modal */
.password-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.password-modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.password-modal-content h2 {
    color: #2a4365;
    margin-top: 0;
}

.password-modal-content input {
    width: 100%;
    padding: 12px;
    margin: 20px 0;
    border: 2px solid #e2e8f0;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.password-modal-content input:focus {
    outline: none;
    border-color: #2a4365;
}

.password-modal-content button {
    background-color: #2a4365;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.password-modal-content button:hover {
    background-color: #1a2f4a;
}

.password-error {
    color: #e53e3e;
    margin: 10px 0;
    min-height: 20px;
    font-size: 14px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: none; /* Hidden by default, shown after password validation */
}

header {
    background-color: white;
    border-bottom: 2px solid #e2e8f0;
    padding: 15px 0;
    margin-bottom: 30px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 5px;
    border-radius: 5px;
    transition: opacity 0.3s;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-link img {
    height: 50px;
    width: auto;
    display: block;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

nav ul li {
    margin: 0;
}

nav ul a {
    color: #2a4365;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav ul a:hover {
    background-color: #e2e8f0;
}

nav ul a.active {
    background-color: #2a4365;
    color: white;
    font-weight: bold;
}

.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: 20px;
}

.social-link {
    color: #2a4365;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: opacity 0.3s;
}

.social-link:hover {
    opacity: 0.7;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.content {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1 {
    color: #2a4365;
    margin-top: 0;
}

h2 {
    color: #4a5568;
    margin-top: 30px;
}

.image-wrapper {
    text-align: center;
    margin: 30px 0;
}

.image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.action-blocks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.action-block {
    background-color: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.action-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-color: #2a4365;
}

.action-block a {
    color: #2a4365;
    text-decoration: none;
    font-weight: bold;
    display: block;
}

@media (max-width: 768px) {
    .action-blocks {
        grid-template-columns: repeat(2, 1fr);
    }
    
    nav {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .social-links {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .action-blocks {
        grid-template-columns: 1fr;
    }
}

/* Team page styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.team-member {
    background-color: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-color: #2a4365;
}

.team-member img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.team-member p {
    margin: 0;
    color: #2a4365;
    font-weight: bold;
}

/* 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.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
}

.close:hover,
.close:focus {
    color: #000;
}

.modal-body {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.modal-body img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.modal-text {
    flex: 1;
}

.modal-text h2 {
    margin-top: 0;
    color: #2a4365;
}

.modal-text p {
    color: #333;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }
    
    .modal-body {
        flex-direction: column;
        gap: 20px;
    }
    
    .modal-body img {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
}
