/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    height: 150px;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox Overlay Styles */
#lightboxOverlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
}

#lightboxOverlay img {
    max-width: 90%;
    max-height: 80%;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    border: 3px solid white;
    border-radius: 4px;
}

#lightboxOverlay i.bi-x {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
}

#lightboxOverlay i.bi-x:hover {
    color: #ccc;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 20px;
    transition: color 0.3s ease;
}

.lightbox-nav:hover {
    color: #ddd;
}

#lightbox-prev {
    left: 20px;
}

#lightbox-next {
    right: 20px;
}

.activity-card {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.activity-card i {
    font-size: 35px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 40px;
    margin-bottom: auto;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.activity-card-content {
    z-index: 2;
    padding: 20px;
    width: 100%;
    text-align: center;
}

.activity-card span {
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.activity-card small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.activity-title {
    color: #0c4da2;
    font-weight: 700;
    margin-bottom: 20px;
    border-left: 5px solid #0c4da2;
    padding-left: 15px;
}

/* Director Message Scrollbar Styles */
.message-scrollable::-webkit-scrollbar {
    width: 4px;
}
.message-scrollable::-webkit-scrollbar-track {
    background: #0d3a77;
    border-radius: 4px;
}
.message-scrollable::-webkit-scrollbar-thumb {
    background: #ffc107;
    border-radius: 4px;
}
.message-scrollable::-webkit-scrollbar-thumb:hover {
    background: #ffca2c;
}

/* Placement Quick Links Menu Styles */
.placement-links a {
    color: #fff;
    font-size: 14.5px;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}
.placement-links a:hover {
    color: #ffc107 !important;
}
.placement-links a span {
    color: #fff;
    font-size: 18px;
    transition: color 0.3s ease;
}
.placement-links a:hover span {
    color: #ffc107;
}

/* Recruiter Marquee Styles */
.recruiter-logo-box {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.recruiter-logo-box:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transform: scale(1.02);
    position: relative;
    z-index: 2;
}

/* Why Choose Section Styles */
.why-choose-list li {
    font-size: 14.5px;
    line-height: 1.5;
    letter-spacing: 0.3px;
}
.why-choose-list i {
    opacity: 0.95;
    font-weight: 300;
}
