.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Section */
.header-section {
    background-color: #fff;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.header-section h1 {
    color: #666; /* Light gray from screenshot */
    font-size: 3em;
    margin: 0;
    font-weight: 700;
}

.header-section nav {
    margin-top: 10px;
}

.home-link {
    color: #e67e22; /* Orange color for home link */
    text-decoration: none;
    font-weight: bold;
}

/* ICT Training Intro Section */
.ict-training-intro {
    background-color: #fff;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.ict-training-intro h2 {
    color: #333;
    font-size: 2em;
    margin-bottom: 30px;
}

.ict-training-intro p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.ict-training-intro ul {
    list-style: disc;
    margin-left: 20px;
    line-height: 1.6;
}

.ict-training-intro ul li {
    margin-bottom: 10px;
}

.content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start; /* Align items to the start of the cross axis */
}

.text-content {
    flex: 2; /* Takes more space */
}

.head-message {
    flex: 1; /* Takes less space */
    text-align: center;
    background-color: #f7f7f7; /* Slightly different background for the box */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.head-message img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #ddd;
}

.message-box h3 {
    color: #555;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.message-box p {
    font-style: italic;
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.read-more {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Navigation Buttons Section */
.navigation-buttons {
    background: #fff;
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.nav-button {
    background-color: white;
    color: black;
    border: 1px solid #ddd;
    padding: 12px 25px;
    margin: 5px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
    font-weight: bold;
}



.nav-button:hover {
    background-color: #1a3c6d;
    color: white;
}

.nav-button.active {
    background-color: #1a3c6d;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.tab-content {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 25px 30px;
    margin: 20px auto;
    max-width: 1000px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: none; /* Hidden by default, JS will show */
    animation: fadeIn 0.4s ease-in-out;
}

.tab-content p {
    font-size: 1.05em;
    line-height: 1.7;
    color: #444;
}

/* Active content styling */
.tab-content.active {
    display: block;
}

/* Smooth fade-in effect */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Our Staff Section */
.our-staff {
    background-color: #f5f5f5; /* Orangeish background from screenshot */
    padding: 50px 0;
    text-align: center;
}

.our-staff h2 {
    color: #555;
    font-size: 2em;
    margin-bottom: 40px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.staff-member {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.staff-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid #f0f0f0;
}

.staff-member p {
    margin: 5px 0;
    font-size: 0.95em;
    color: #666;
}

.staff-member strong {
    font-size: 1.1em;
    color: #333;
}

.view-profile-button {
    background-color: #e67e22;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.view-profile-button:hover {
    background-color: #d36a1b;
}

/* Gallery Section */
.gallery {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
}

.gallery h2 {
    color: #555;
    font-size: 2em;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 180px; /* Adjust height as needed to match layout */
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.placeholder-box {
    background-color: #f5f5f5; /* Match the orangeish background of the previous section */
    border-radius: 5px;
    height: 180px; /* Match image height */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-button {
        display: block;
        width: 90%;
        margin: 10px auto;
    }
}

@media (max-width: 480px) {
    .header-section h1 {
        font-size: 2em;
        text-align: center;
    }

    .ict-training-intro h2,
    .our-staff h2,
    .gallery h2 {
        font-size: 1.5em;
    }

    .message-box h3 {
        font-size: 1em;
    }

    .staff-member img {
        width: 120px;
        height: 120px;
    }

    .gallery-grid img,
    .placeholder-box {
        height: 150px;
    }

    .nav-button {
        padding: 10px 15px;
        font-size: 0.9em;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
