/* HERO SLIDER STYLING */
.slideshow-container {
    position: relative;
    width: 100%;
    height: calc(90vh); /* Adjust based on navbar height */
    overflow: hidden;
}

.mySlides {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 0;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mySlides.active {
    opacity: 1;
    z-index: 1;
}

/* Text overlay */
.text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    width: 90%;
    max-width: 800px;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

/* Rest remains unchanged (prev/next, dots, etc.) */


/* VALUES STYLING */
/* Section Heading */
.section-heading {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.values-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2vw;
    background-color: #f7f7f7;
}

.values-item {
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    padding: 2rem;
    width: 100%;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.6s ease forwards;
}

.values-img {
    width: 60px;
    max-width: 20%;
    margin-bottom: 1rem;
}

.values-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #007BFF;
}

.values-writeup {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
}

/* Animation */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation-delay: 0.2s;
}

.animate.delay-1 {
    animation-delay: 0.4s;
}

.animate.delay-2 {
    animation-delay: 0.6s;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .values-container {
        flex-direction: column;
        align-items: center;
    }

    .values-item {
        width: 90%;
        margin-bottom: 2rem;
    }

    .values-img {
        max-width: 80px;
    }
}


/* === Chairperson Message Section === */
.chair-message-section {
    background: url('../img/sc-bg.jpg') no-repeat center center/cover;
    padding: 4rem 2rem;
    color: #333;
    position: relative;
    z-index: 1;
}

.chair-message-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: -1;
}

.chair-message-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
    flex-wrap: wrap;
}

.chair-message-text {
    flex: 1.2;
    animation: fadeInLeft 1.2s ease;
}

.chair-message-text h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.chair-message-text p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
}

.chair-name {
    font-family: 'Impact', sans-serif;
    font-size: 2.2rem;
    color: #000;
    margin-top: 2rem;
}

.chair-message-image {
    flex: 0.8;
    text-align: center;
    animation: fadeInRight 1.2s ease;
}

.chair-message-image img {
    width: 100%;
    height: auto;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .chair-message-section {
        padding-bottom: 0;
    }

    .chair-message-container {
        flex-direction: column;
        text-align: center;
    }

    .chair-message-text {
        flex: 1;
    }

    .chair-message-image img {
        max-width: 100vw;
    }

    .chair-message-text h2 {
        font-size: 1.7rem;
    }

    .chair-name {
        font-size: 1.8rem;
    }
}

/* EVENTS STYLING */
.events-section {
    background-color: #f9f9f9;
    padding: 2.5vw;
}

.events-container {
    display: flex;
    gap: 2.5vw;
    flex-wrap: wrap;
    width: 100%;
}

/* Left box */
.events-title-box {
    background-color: #084b99;
    color: white;
    padding: 0.8rem;
    width: 12vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.events-label {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    opacity: 0.8;
}

.events-heading {
    font-size: 2rem;
    margin-top: 0.5rem;
}

/* Cards */
.event-cards {
    display: flex;
    justify-content: space-around;
    gap: 2vw;
}

.event-card {
    display: flex;
    background-color: #fff;
    width: 20vw;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-img {
    width: 12vw;
    height: 12vw;
}

.eventcard-writeup {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: space-between;
}

.event-date {
    background-color: #084b99;
    color: #fff;
    display: inline-block;
    padding: 0.3vw 0.6vw;
    font-size: 1.1vw;
    font-weight: 600;
}

.event-title {
    font-size: 1vw;
    font-weight: 700;
    margin-bottom: 0.5rem;
    padding: 0.5vw;
}

.event-register {
    font-size: 0.95rem;
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));;
    padding: 0.5vw;
    text-decoration: none;
    margin: auto;
}

/* Button */
.events-btn-wrapper {
    text-align: center;
    margin: auto;
    margin-top: 2rem;
}

.events-btn {
    background-color: #084b99;
    color: white;
    padding: 0.75rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.events-btn:hover {
    background-color: #063b7a;
}

/* Responsive */
@media (max-width: 768px) {
    .events-container {
        flex-direction: column;
        align-items: center;
    }

    .events-title-box {
        width: 100%;
    }

    .events-heading {
        margin-top: 0;
    }

    .event-cards {
        justify-content: space-around;
        width: 100%;
    }

    .event-card {
        width: 45%;
        flex-direction: column;
    }

    .event-img {
        width: 100%;
        height: 35vw;
    }

    .eventcard-writeup {
        flex-direction: row;
    }

    .event-date {
        font-size: 3vw;
        align-content: center;
    }

    .event-register {
        font-size: 4vw;
    }
}


/* === MINI GALLERY === */
.mini-gallery-section {
    padding: 4rem 2rem;
    background-color: #f8f9fc;
    text-align: center;
}

.gallery-heading {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #083c78;
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease;
    display: block;
    text-decoration: none;
}

.gallery-item img {
    width: 100%;
    height: 15vw;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.album-title {
    margin-top: 0.7rem;
    font-size: 1rem;
    font-weight: 600;
    color: #004080;
    transition: color 0.3s ease;
    text-align: center;
}

.gallery-item:hover .album-title {
    color: #007bff;
}

.gallery-btn-wrapper {
    margin-top: 2rem;
    text-align: center;
}

.gallery-btn {
    background-color: #084b99;
    color: white;
    padding: 0.7rem 2rem;
    font-weight: 600;
    border-radius: 0.4rem;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.gallery-btn:hover {
    background-color: #063b7a;
    transform: translateY(-2px);
}

/* Mobile: 2 columns */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item img {
        height: 30vw;
    }
}

/* === SPONSORS SECTION === */
.sponsors-section {
    padding: 4rem 2rem;
    background-color: #ffffff;
    text-align: center;
}

.sponsors-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #083c78;
    margin-bottom: 3rem;
}

.sponsors-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.sponsor {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s ease;
    border-radius: 8px;
}

.sponsor img {
    width: 100%;
    max-width: 150px;
    height: auto;
    opacity: 0.7;
    transition: transform 0.
}

.sponsor img:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}

/* Tablet and below */
@media (max-width: 768px) {
    .sponsors-logos {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1.5rem;
    }

    .sponsor img {
        max-width: 100px;
    }
}

/* Phone and small devices */
@media (max-width: 480px) {
    .sponsors-title {
        font-size: 1.8rem;
    }
}
