img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.about-us-container {
    display: flex;
    flex-wrap: nowrap;
}

.content-section {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    max-height: 100vh;
}

.sidebar {
    flex-basis: 400px;
    padding: 20px;
    background-color: #f7f7f7;
    border-left: 1px solid #ddd;
    position: sticky;
    top: 0;
    min-height: min-content;
}

@media (max-width: 768px) {
    .about-us-container {
        flex-direction: column;
    }
    .sidebar {
        border-left: none;
        border-top: 1px solid #ddd;
        position: static;
        height: auto;
    }
    .content-section {
        max-height: none;
        overflow-y: visible;
    }
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-item img {
    width: 150px;
    height: auto;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.2s ease-in-out;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.sidebar-widget {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-widget h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: bold;
}

.share-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
    flex-wrap: wrap;
}

.share-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    font-size: 1.2em;
    position: relative;
    transition: all 0.3s ease;
}

.share-buttons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.share-buttons a.facebook { background-color: #1877f2; }
.share-buttons a.twitter { background-color: #1da1f2; }
.share-buttons a.linkedin { background-color: #0077b5; }
.share-buttons a.whatsapp { background-color: #25d366; }
.share-buttons a.copy-link { background-color: #6c757d; }

.share-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 8px;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.share-tooltip:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.share-buttons a:hover .share-tooltip {
    opacity: 1;
}

.program-photo img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.youtube-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.youtube-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
