/* General Body Styles */
body {
    margin: 0;
    font-family: "Arial", sans-serif;
    line-height: 1.6;
    color: #333;
}

/* === NAVBAR === */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    background-color: #e6f4ea;
    padding: 10px 0px 15px 0px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    max-width: 60px;
    height: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a621c;
    white-space: nowrap;
}

.custom-navbar {
    background: none;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-transform: uppercase;
    padding: 1rem 0;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.nav-list li a {
    color: #0a621c;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1.05rem;
    border-radius: 0px;
    transition: 0.3s background-color ease-in-out, 0.3s color ease-in-out;
}

.nav-list li a:hover {
    background-color: #0a8a61;
    color: white;
}

.admin-login {
    cursor: pointer;
    width: 32px;
    height: 32px;
    vertical-align: middle;
}

/* Video Background Section */
.video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.video-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 86, 59, 0.9) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 40%;
    left: 10%;
    transform: translateY(-50%);
    text-align: left;
    color: white;
    max-width: 70%;
    z-index: 2;
}

.video-overlay h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.video-overlay p {
    font-size: 1.2rem;
    max-width: 70%;
}

/* Button Container */
.video-buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.btn {
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    transition: 0.3s ease-in-out;
    border: 2px solid #00A86B;
    color: white;
    background-color: #00A86B;
    display: inline-block;
}

.btn:hover {
    background-color: #008f5a;
    border-color: #008f5a;
    color: white;
}

.btn-primary {
    background-color: #00563b;
    border-color: white;
    color: white;
}

.btn-primary:hover {
    background-color: #d4d4d4;
    color: #00563b;
    border-color: #d4d4d4;
}

/* Programs Section */
.featured-programs {
    padding: 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    background-color: #f0f8f0;
}

.featured-title {
    width: 100%;
    text-align: center;
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #00563b;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15);
    position: relative;
}

.program-container {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-in-out;
    background: white;
    padding: 20px;
    width: 320px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.program-container img {
    width: 100%;
    border-radius: 10px;
    height: 180px;
    object-fit: cover;
}

.program-container h3 {
    color: #00563b;
    margin-top: 10px;
    font-size: 1.3em;
}

.program-container p {
    color: #555;
    font-size: 0.95em;
}

.program-container:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.program-container.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Virtual Tour Section */
.virtual-tour {
    position: relative;
    padding: 50px 0;
    color: white;
    text-align: center;
    overflow: hidden;
     min-height: 100vh; /* gawin full screen */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}


.slideshow img {
   position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(6px) brightness(70%);
    opacity: 0;
    transition: opacity 1.8s ease-in-out;
}

.slideshow img.active {
    opacity: 1;
}

.virtual-tour .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 86, 59, 0.55);
    z-index: -1;
}

/* Title sa taas ng section */
.virtual-tour h2 {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 30px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

/* Content Box */
.virtual-tour-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 80%;
    margin: auto;
    gap: 40px;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.92);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    text-align: left;
}

.virtual-tour-content img {
    width: 45%;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.virtual-tour-content div {
    flex: 1;
}

.virtual-tour-content h2 {
    font-size: 2em;
    color: #00563b;
    margin-top: 0;
    margin-bottom: 15px;
}

.virtual-tour-content p {
    color: #333;
    margin-bottom: 25px;
}

.virtual-tour .vr-btn {
    background-color: #00A86B;
    border-color: #00A86B;
    color: white;
    transition: background 0.3s;
}

.virtual-tour .vr-btn:hover {
    background-color: #008f5a;
    border-color: #008f5a;
}

/* New styles for the College Introduction section */
.college-intro {
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    color: #fff;
    background: url('event-bg.gif') center/cover fixed no-repeat;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Overlay para readable ang text kahit ma-animated yung GIF */
.college-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 61, 42, 0.75);
    z-index: 1;
}

/* Para yung content lumutang sa ibabaw ng overlay */
.college-intro > * {
    position: relative;
    z-index: 2;
}

.college-intro h2 {
    color: #fff;
    font-size: 2.2em;
    margin-bottom: 25px;
    z-index: 2;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.college-intro p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.2em;
    line-height: 1.8;
    color: #f0f0f0;
    z-index: 2;
    position: relative;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .college-intro {
        padding: 60px 15px;
    }
    .college-intro h2 {
        font-size: 2.5em;
    }
    .college-intro p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .college-intro h2 {
        font-size: 2em;
    }
    .college-intro p {
        font-size: 0.95em;
    }
}

/* Events Section */
.events {
    position: relative;
    padding: 40px 20px;
    text-align: center;
    background: url('bg-1.jpg') no-repeat center center;
    background-size: cover;
}


.events h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #006400;
}

/* Scrollable container */

.events-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Custom scrollbar */
.events-container::-webkit-scrollbar {
    width: 10px;
}
.events-container::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}
.events-container::-webkit-scrollbar-thumb {
    background: #0a8542;
    border-radius: 10px;
}
.events-container::-webkit-scrollbar-thumb:hover {
    background: #006400;
}

.event-box {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: left;
}

.event-box:hover {
    transform: translateY(-5px);
}

.event-icon {
    flex: 0 0 180px;
    text-align: center;
    font-weight: bold;
    color: #006400;
    border-right: 2px solid #e0e0e0;
    padding-right: 15px;
}

.event-icon img {
    width: 115px;
    height: 115px;
    display: block;
    margin: 0 auto 10px;
}

.event-info {
    flex: 1;
    padding-left: 20px;
}

.event-info h3 {
    margin: 0;
    font-size: 20px;
    color: #006400;
}

.event-date {
    font-size: 14px;
    color: #228B22;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-date img {
    width: 16px;
    height: 16px;
}
/* Faculty Section */
.faculty-section {
    position: relative;
    padding: 40px 20px;
    text-align: center;
    color: white;
    overflow: hidden;
    height: auto;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.faculty-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.faculty-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%);
}

.faculty-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 86, 59, 0.7);
    z-index: -1;
}


.faculty-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
}
.faculty-container h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}
/* I-remove itong buong rule at ililipat sa bagong .carousel-wrapper */
.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

/* Container for the carousel and buttons */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}
.carousel-content {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    gap: 0;
}

.carousel-content::-webkit-scrollbar {
    display: none;
}

.faculty-slide {
    flex-shrink: 0;
    width: 270px;
    margin: 0 15px;
    text-align: center;
    transition: transform 0.3s ease;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}


.faculty-slide:last-child {
    margin-right: 0;
}

.faculty-slide:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}
.profile-picture {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin: 0 auto 15px;
    border: 5px solid #00A86B;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.faculty-member {
    padding: 5px;
    overflow: visible;
    width: 100%;
}
.faculty-member h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 5px;
    line-height: 1.4;
    word-wrap: break-word;
}

.faculty-member p {
    font-size: 0.95rem;
    color: #aaa;
    line-height: 1.4;
    word-wrap: break-word;
}

/* Arrow buttons */

.faculty-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #00A86B;
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 22px;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.faculty-btn.prev {
    left: 20px;
}

.faculty-btn.next {
    right: 20px;
}

.faculty-btn:hover {
    background-color: #007f50;
    transform: translateY(-50%) scale(1.1);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .carousel-content {
        justify-content: flex-start;
        overflow-x: scroll;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding: 0 10px;
    }

    .carousel-content::-webkit-scrollbar {
        display: none;
    }
    
    .faculty-slide {
        min-width: 180px;
        padding: 10px;
    }

    .faculty-member h3 {
        font-size: 1.1rem;
    }
    .faculty-member p {
        font-size: 0.9rem;
    }

    .faculty-btn {
        display: none;
    }
}
/* Admission Requirements Section */
.admission-requirements {
    background-color: #e6ffe6;
    padding: 60px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    align-items: flex-start;
}

.requirements, .journey {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.requirements h2, .journey h3 {
    color: #00563b;
    margin-bottom: 25px;
    font-size: 2em;
}

.requirements ul {
    list-style: none;
    padding: 0;
}

.requirements ul li {
    background-color: #f0fdf0;
    margin-bottom: 15px;
    padding: 15px;
    border-left: 5px solid #00A86B;
    border-radius: 8px;
    font-size: 1.1em;
    color: #444;
}

.journey p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.apply-btn {
    background-color: #00A86B;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    margin-bottom: 15px;
}

.apply-btn:hover {
    background-color: #008f5a;
    transform: translateY(-2px);
}

.download-link {
    display: block;
    color: #00563b;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.download-link:hover {
    color: #003d2a;
    text-decoration: underline;
}

/* === ADMIN ICON === */
#admin-icon {
    position: fixed;
    bottom: 90px;
    right: 23px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: transparent;
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* === FOOTER SECTION === */
footer {
    background-color: #f9f9f9;
    font-family: Arial, sans-serif;
    color: #333;
}

.footer-content {
    border-top: 1px solid #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 30px 60px;
}

.footer-logo {
    flex: 1;
    max-width: 300px;
    padding: 5px 0;
    text-align: left;
}

.footer-logo img {
    width: 150px;
    height: auto;
}

.footer-logo h3 {
    font-size: 18px;
    font-weight: bold;
    color: #00563b;
    margin: 5px 0;
}

.footer-logo p {
    font-size: 14px;
    color: #777;
    font-weight: normal;
}

.footer-links,
.footer-follow {
    flex: 1;
    margin: 10px 20px;
    min-width: 250px;
    text-align: left;
}

.footer-links h4,
.footer-follow h4,
.footer-contact h4 {
    color: #00563b;
    font-size: 18px;
    margin-bottom: 10px;
    margin-top: 15px;
    text-align: left;
}

.footer-links ul {
    list-style-type: none;
    padding: 0;
}

.footer-links li {
    margin: 12px 0;
}

.footer-links a {
    text-decoration: none;
    font-weight: normal;
    color: #00563b;
    font-size: 16px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
    color: #10B981;
    transform: scale(1.05);
}

.footer-contact p {
    margin: 8px 0;
    font-size: 14px;
    font-weight: normal;
    color: #333;
    text-align: left;
}

.footer-contact img {
    width: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

.footer-follow a {
    display: inline-block;
    margin-right: 12px;
}

.footer-follow img {
    width: 35px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer-follow a:hover img {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #777;
    border-top: 1px solid #eaeaea;
    padding: 15px 0;
    font-weight: normal;
}

/* --- Modal Styles (Announcement Pop-up) --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 90%;
    position: relative;
    animation: fadeInScale 0.3s ease-out forwards;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 36px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: #00563b;
    text-decoration: none;
}

.modal-content h2 {
    color: #00563b;
    text-align: center;
    margin-bottom: 25px;
    font-size: 2.2em;
}

.tabs-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.tab-button {
    background-color: #f0f0f0;
    color: #333;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 1.05em;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.tab-button:hover {
    background-color: #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-button.active {
    background-color: #00A86B;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

.tab-contents {
    padding: 15px;
    background-color: #fcfcfc;
    border-radius: 8px;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.05);
}

.tab-content {
    display: none;
    animation: fadeInContent 0.5s ease-out forwards;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content .announcement-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tab-content h3 {
    color: #00563b;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.6em;
}

.tab-content p {
    color: #444;
    line-height: 1.7;
    margin-bottom: 10px;
    font-size: 1em;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .video-overlay {
        left: 5%;
        max-width: 90%;
        text-align: center;
        transform: none;
        top: 50%;
        transform: translateY(-50%);
    }

    .video-overlay h1 {
        font-size: 2.2rem;
    }

    .video-overlay p {
        font-size: 1rem;
        max-width: 100%;
    }

    .video-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .featured-programs {
        flex-direction: column;
        align-items: center;
        padding: 30px 10px;
    }

    .program-container {
        width: 90%;
        max-width: 350px;
    }

    .virtual-tour-content {
        flex-direction: column;
        text-align: center;
        max-width: 90%;
        padding: 20px;
    }

    .virtual-tour-content img {
        width: 80%;
        margin-bottom: 20px;
    }

    .events-carousel-container {
        padding: 0 20px;
    }

    .events-carousel-container button {
        padding: 10px 5px;
        font-size: 18px;
    }

    .event-card {
        min-width: 90%;
        margin: auto;
    }

    .faculty-container h2 {
        font-size: 2rem;
    }

    .faculty-slide {
        width: 90%;
        padding: 20px;
    }

    .faculty-member h3 {
        font-size: 1.5em;
    }

    .faculty-member p {
        font-size: 1em;
    }

    .admission-requirements {
        flex-direction: column;
        gap: 30px;
        padding: 40px 15px;
    }

    .requirements, .journey {
        width: 100%;
        max-width: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-follow {
        display: flex;
        justify-content: center;
    }

    /* Modal responsiveness */
    .modal-content {
        padding: 20px;
        width: 95%;
    }

    .close-button {
        font-size: 30px;
        top: 5px;
        right: 15px;
    }

    .modal-content h2 {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .tab-buttons {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .tab-button {
        width: 90%;
        max-width: 300px;
        padding: 10px 15px;
        font-size: 0.95em;
    }

    .tab-content h3 {
        font-size: 1.4em;
    }

    .tab-content p {
        font-size: 0.9em;
    }

    /* ===========================
    EXTRA RESPONSIVE FIXES
    =========================== */

/* Tablet (width ≤ 1024px) */
@media (max-width: 1024px) {
    .nav-list li a {
        font-size: 1rem;
        padding: 0.6rem;
    }

    .video-overlay {
        left: 5%;
        max-width: 90%;
        text-align: center;
    }

    .video-overlay p {
        max-width: 100%;
    }

    .virtual-tour-content {
        gap: 20px;
        padding: 20px;
    }

    .event-box {
        flex-direction: column;
        text-align: center;
    }

    .event-icon {
        border: none;
        margin-bottom: 10px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .footer-logo, .footer-links, .footer-contact, .footer-follow {
        text-align: center;
        margin: 15px 0;
    }

    .footer-links h4,
    .footer-follow h4,
    .footer-contact h4 {
        text-align: center;
    }

    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact p {
        text-align: center;
    }
}
}

/* Mobile (width ≤ 600px) */
@media (max-width: 600px) {
    .brand-name {
        font-size: 1rem;
        text-align: center;
        white-space: normal;
        line-height: 1.3;
    }

    /* Navbar turns vertical */
    .nav-list {
        flex-direction: row;
        justify-content: space-evenly;
        flex-wrap: nowrap;
        gap: 0;
    }

    .nav-list li a {
        font-size: 0.9rem;
        padding: 8px 6px;
    }

    .video-overlay h1 {
        font-size: 1.6rem;
    }

    .video-overlay p {
        font-size: 0.9rem;
    }

<<<<<<< HEAD
    .program-container {
        flex: 1 1 100%;
        max-width: none;
    }

    .virtual-tour-content {
        flex-direction: column;
        text-align: center;
    }

    .virtual-tour-content img {
        max-width: 100%;
        margin-bottom: 15px;
    }
=======
  .program-container {
    flex: 1 1 100%;
     width: 90%; /* Gawing 90% ng screen width para hindi masyadong payat */
        max-width: 350px;
        margin: 0 auto 20px; /* I-center at magdagdag ng espasyo sa ilalim */
  }
>>>>>>> 91d953f8cf75837dcd2157a1e0d36cee1be84ecd

    /* Faculty section fix */
    .carousel-content {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding: 10px;
    }

    .carousel-content::-webkit-scrollbar {
        display: none;
    }

    .faculty-slide {
        flex: 0 0 75%;
        scroll-snap-align: center;
        margin: 0;
    }

    .faculty-btn {
        display: none;
    }

<<<<<<< HEAD
    /* === Footer Responsive Fix === */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 10px;
    }

    .footer-logo img {
        width: 100px;
        margin-bottom: 8px;
    }

    .footer-logo h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin: 10px 0;
    }

    .footer-links a {
        font-size: 13px;
        text-decoration: none;
        color: #333;
    }

    .footer-follow {
        display: flex;
        gap: 12px;
        justify-content: center;
        margin-top: 10px;
    }

    .footer-follow a {
        font-size: 16px;
    }

    /* Icons (Admin + Chatbot) */
    #admin-icon,
    #chatbot-icon {
        width: 55px;
        height: 55px;
        bottom: 80px;
        right: 20px;
    }
    #chatbot-icon {
        bottom: 20px;
    }
=======
  .event-info h3 {
    margin-top: 0;
    text-align: center;
}

   /* Footer */

  .footer-logo img {
    width: 120px;
  }
  .footer-logo h3 {
    font-size: 16px;
  }
  .footer-links a {
    font-size: 14px;
  }

    /* Icons (Admin + Chatbot) */
  #admin-icon,
  #chatbot-icon {
    width: 55px;
    height: 55px;
    bottom: 80px;
    right: 20px;
  }
  #chatbot-icon {
    bottom: 20px;
  }

  .virtual-tour-content {
    flex-direction: column; /* Stack the image and text vertically */
    text-align: center; /* Center the text */
    padding: 15px; /* Add some padding to the container */
  }

  .virtual-tour-content img {
    max-width: 100%; /* Make the image responsive and fill the width */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 20px; /* Add space below the image */
  }

  .virtual-tour-content h2 {
    font-size: 1.5rem; /* Reduce the font size of the heading */
  }
  
  .virtual-tour-content p {
    font-size: 1rem; /* Reduce the font size of the paragraph */
  }
>>>>>>> 91d953f8cf75837dcd2157a1e0d36cee1be84ecd
}