* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fff;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

/* Container for content */
.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Top bar navigation */
.top-bar {
    background-color: #276135;
    color: white;
    padding: 8px 0;
    position: relative;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-back {
    display: flex;
    align-items: center;
}

.back-link {
    display: flex;
    align-items: center;
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: white;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #f9c90e;
}

.back-arrow {
    margin-right: 6px;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.back-link:hover .back-arrow {
    transform: translateX(-3px);
}

.top-bar-links {
    display: flex;
    gap: 20px;
}

.top-bar-links a {
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.top-bar-links a:hover {
    color: #f9c90e;
}

/* Main header and navigation */
.main-header {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: relative;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
}

.university-name {
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.university-name .main-title {
    font-size: 16px;
    text-transform: uppercase;
}

.university-name .subtitle {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    gap: 25px;
}

.nav-item {
    position: relative;
    padding: 10px 0;
}

.nav-item>a {
    font-family: 'Lexend', sans-serif;
    font-weight: 500;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item>a::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid currentColor;
}

.nav-item.no-dropdown>a::after {
    display: none;
}

.header-home-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.header-home-link:hover .university-name {
    color: #276135;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 240px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
}

.dropdown-item {
    padding: 10px 15px;
    border-bottom: 1px solid #f5f5f5;
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: #f9f9f9;
}

.dropdown-toggle {
    cursor: default; 
    pointer-events: none;
}

/* Facility content area */
.facility-content {
    padding: 50px 0;
    background-color: #fff;
    position: relative;
    flex: 1;
}

.facility-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 5% 10%, rgba(39, 97, 53, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 95% 85%, rgba(249, 201, 14, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.header-section {
    margin-bottom: 40px;
    position: relative;
}

h1 {
    color: #276135;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
}

h1::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #276135, #276135 70%, rgba(39, 97, 53, 0.7));
    margin-top: 15px;
}

.facility-description {
    font-family: 'Lexend', sans-serif;
    font-weight: 300;
    text-align: justify;
    line-height: 1.6;
    font-size: 16px;
    max-width: 900px;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    z-index: 101;
    margin-left: auto;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.mobile-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    z-index: 102;
    color: #333;
}

.slider-container {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.slider-wrapper {
    position: relative;
    flex: 0 0 55%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Image Slider */
.slider {
    display: flex;
    width: 500%;
    transition: transform 0.5s ease-in-out;
}

.slider-img-container {
    width: 20%;
    flex-shrink: 0;
}

.slider-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    color: #276135;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* Slider Content */
.slider-content {
    flex: 1;
    padding: 20px;
}

.slider-title {
    color: #276135;
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.slider-accent-line {
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #276135, #276135 70%, rgba(39, 97, 53, 0.7));
    margin-bottom: 15px;
}

.slider-description {
    color: #000;
    font-family: 'Lexend', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    text-align: justify;
}

.slider-container.right-image {
    flex-direction: row;
}

/* Mobile Responsiveness */
@media only screen and (max-width: 992px) {
    .header-inner {
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        gap: 0 !important;
    }

    .hamburger-menu {
        display: flex;
    }

    .mobile-close {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        color: #000;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        z-index: 100;
        padding: 0;
        opacity: 0;
        visibility: hidden;
    }

    .main-nav.active {
        max-height: 100vh;
        opacity: 1;
        visibility: visible;
    }

    .nav-item {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-item > a {
        padding: 15px 20px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        color: #000;
    }

    .nav-item > a::after {
        margin-left: auto !important;
        transform: rotate(0deg);
        transition: transform 0.3s ease;
        border-top-color: #000;
    }

    .nav-item.active > a::after {
        transform: rotate(180deg);
    }

    .nav-item:hover {
        background-color: #f5f5f5;
    }

    .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        background-color: #f5f5f5;
    }

    .nav-item.active .dropdown {
        visibility: visible;
        max-height: 500px;
    }

    .dropdown-item {
        padding-left: 40px;
        border-color: rgba(0, 0, 0, 0.05);
    }

    .dropdown-item a {
        color: #000;
        opacity: 1;
    }

    .dropdown-item:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }

    /* Hamburger animation */
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .slider-container {
        flex-direction: column;
    }

    .slider-wrapper {
        flex: 0 0 100%;
        width: 100%;
    }

    .slider-img {
        height: 300px;
    }

    .slider-container.right-image {
        flex-direction: column;
    }
}

/* Responsiveness */
@media only screen and (max-width: 1200px) {
    .container {
        width: 90%;
    }
}

@media only screen and (max-width: 768px) {
    .slider-img {
        height: 250px;
    }

    .slider-title {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .back-link {
        font-size: 13px;
    }
    
    .back-arrow {
        font-size: 13px;
    }
}

@media only screen and (max-width: 480px) {
    .slider-img {
        height: 200px;
    }

    .slider-title {
        font-size: 20px;
    }
}