@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap');

p {
    color: black;
}

.container1 {
    position: absolute;
    top: 30%;
    left: 5%;
    height: auto;
    width: 37rem;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(1px);
    border-radius: 10px;
    padding: 20px;
}

.bold {
    font-weight: bold;
}

/* mission strategy */
.text-about {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 400;
    font-size: x-large;
    color: #ddd;
    margin-bottom: 25px;
    font-family: 'Poppins', serif;
}

/* dpi */
.text-about1 {
    font-size: 45px;
    font-weight: bolder;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #458AD6;
    margin: 5px 0;
    margin-bottom: 2.5rem;
    font-family: 'Oswald', serif;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.7);
}

/* text */
.text-about2 {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 300;
    color: #ddd;
    width: fit-content;
    font-family: 'Poppins', serif;
}

.about-video {
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    filter: brightness(70%);
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.about-video.active {
    opacity: 1;
}

.about-video:first-child {
    opacity: 1;
}

/* ---------------------------------------------- */

.sectionBSIT42A1 {
    background-color: #F5EFE7;
    display: block;
    height: auto;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}


.aboutContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background-color: red; */
    padding: 10px;
    padding-right: 100px;
    padding-top: 5rem;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.slide {
    display: none;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    display: block;
    transition: opacity 0.8s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.fade {
    animation: fadeEffect 1s;
}

.dots-container {
    text-align: center;
    user-select: none;
    padding-bottom: 5rem;
}

.dot {
    width: 15px;
    height: 15px;
    margin: 5px;
    background-color: #ccc;
    display: inline-block;
    border-radius: 50%;
    cursor: pointer;
}

.dot {
    position: relative;
}

.dot::after {
    content: attr(data-date);
    position: absolute;
    bottom: 160%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #213555;
    color: #fff;
    padding: 12px 18px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 22px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.dot:hover::after {
    opacity: 1;
}

.dot:hover {
    background-color: #D8C4B6;
}

.dot.active {
    background-color: #3E5879;
}

.leftSide {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    margin-left: 52px;
    padding-right: 5rem;
    padding: 5rem;
}

.leftSide-1 {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-left: 52px;
    padding-right: 5rem;
    padding: 5rem;
    text-align: left;
}

.leftSide-1 p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: larger;
    font-weight: 500;
}

.date {
    font-size: 2.5rem;
    color: #213555;
    font-weight: 600;
    margin: 0;
}

.leftSide .date,
.leftSide-1 .date {
    text-align: left;
}

.rightSide .date,
.rightSide-1 .date {
    text-align: right;
}

.rightSide {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    text-align: left;
}

.rightSide-1 {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    padding: 5rem;

}

.rightSide p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: larger;
    font-weight: 500;
}

.logoWrapper {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    max-width: 40%;
}

.logoWrapper.left {
    left: 5%;
}

.logoWrapper.right {
    right: 5%;
}

.aboutLogo {
    width: 100%;
    height: auto;
    max-width: 250px;
    max-height: 250px;
}

/* Responsive fallback */
@media (max-width: 768px) {
    .logoWrapper {
        position: static;
        transform: none;
        margin: 20px auto;
        max-width: 80%;
        display: flex;
        justify-content: center;
    }

    .aboutLogo {
        max-height: 200px;
    }
}

.prev-slide,
.next-slide {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: #213555;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s ease;
    border-radius: 3px;
    user-select: none;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 999;
}

.prev-slide:hover,
.next-slide:hover {
    background-color: #213555;
    color: #fff;
}

.prev-slide {
    left: 30px;
}

.next-slide {
    right: 30px;
}

/* --------------------------- */

.BSCS11M1 {
    background-color: #213555;
    display: block;
    height: 80vh;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    padding-top: 3rem;

}

.corpProfile {
    display: flex;
    padding-left: 5rem;
    padding-right: 5rem;
    justify-content: space-between;
    align-items: center;

}

.text__content {
    display: flex;
    justify-content: flex-start;
    text-align: left;
    margin-top: 3rem;

}

.corpProfile p {
    color: #F5EFE7;
}

.image__content {
    /* flex: 0; */
    display: flex;
    justify-content: flex-end;
    text-align: right;
}

#motto {
    font-size: larger;
    letter-spacing: 2px;

}

#text-content {
    margin-left: 25rem;
    margin-top: 3rem;
    padding: 10px;
    word-spacing: 2px;
}

.text-content {
    flex: 1;
}

@media (max-width: 768px) {
    .corpProfile {
        flex-direction: column;
        text-align: center;
    }

    .image__content {
        justify-content: center;
        margin-top: 25px;
    }
}

/* asd */

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.fade1 {
    animation: fadeEffect 1s;
}

.dots-container {
    text-align: center;
    user-select: none;
    padding-bottom: 5rem;
}

.dot1 {
    width: 12px;
    height: 12px;
    margin: 5px;
    background-color: #ccc;
    display: inline-block;
    border-radius: 50%;
    cursor: pointer;
}

.dot1:hover {
    background-color: #D8C4B6;
}

.dot1.active {
    background-color: #3E5879;
}

.slide1 {
    display: none;
    transition: opacity 0.8s ease-in-out;
}

.slide1.active {
    display: block;
    transition: opacity 0.8s ease-in-out;
}

/* --------------------------- */

.section-indicator {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator-dot.active {
    background: #213555;
    box-shadow: 0 0 0 3px #f5efe7;
}

.indicator-dot:hover {
    background: #f9c846;
}

.section-label {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: #213555;
    color: #fff;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.section-label.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .aboutContainer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem 1rem;
    }

    .date,
    .date1 {
        font-size: 2rem;
    }

    .textMid {
        font-size: 2.2rem;
    }

    .leftSide,
    .leftSide-1,
    .rightSide,
    .rightSide-1 {
        padding: 1rem;
        flex: 1 1 100%;
    }

    .prev-slide,
    .next-slide {
        font-size: 20px;
        padding: 10px;
    }

    .dot::after {
        font-size: 12px;
        padding: 8px 10px;
    }
}

/* Common for all slide images */
.slide-img {
    display: block;
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 6px;
}

/* Slide 1: image on right, below text */
.aboutContainer.right-image-below .rightSide {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

/* Slide 2: image on left, below text */
.aboutContainer.left-image-below .leftSide-1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* Mobile-friendly */
@media (max-width: 768px) {

    .aboutContainer.right-image-below .rightSide,
    .aboutContainer.left-image-below .leftSide-1 {
        align-items: center;
        text-align: center;
    }

    .slide-img {
        max-width: 80%;
    }
}