* {
    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;
}

.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-toggle {
    cursor: default; 
    pointer-events: none;
}

.dropdown-item {
    padding: 10px 15px;
    border-bottom: 1px solid #f5f5f5;
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: #f9f9f9;
}

.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;
}

/* 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;
}

/* Overview content area */
.overview-content {
    padding: 50px 0;
    background-color: #fff;
    position: relative;
    flex: 1;
}

.overview-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 50%),
        radial-gradient(circle at 95% 85%, rgba(249, 201, 14, 0.08) 0%, transparent 50%);
    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;
}

.page-description {
    font-family: 'Lexend', sans-serif;
    font-weight: 300;
    text-align: justify;
    line-height: 1.6;
    font-size: 16px;
    max-width: 900px;
    margin-bottom: 20px;
}

/* Overview Section Styles */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.overview-section {
    background: linear-gradient(to right, #276135, #2d7440);
    border-radius: 8px;
    padding: 25px 30px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.overview-section h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.accent-line {
    width: 40px;
    height: 3px;
    background:  #f9c90e;
    margin-bottom: 15px;
}

.overview-section p {
    color: #fff;
    font-family: 'Lexend', sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.overview-section p:last-child {
    margin-bottom: 0;
}

/* Objectives List */
.objectives-list {
    list-style: none;
    margin-top: 20px;
}

.objectives-list li {
    color: #f9c90e;
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.objectives-list i.fas.fa-check-circle {
    color: #f9c90e;
}

.objectives-list li:last-child {
    margin-bottom: 0;
}

.objective-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #276135;
    color: white;
    border-radius: 50%;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

.objective-content {
    flex: 1;
}

.objective-content h3 {
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
}

.objective-content p {
    margin-bottom: 0;
}

/* Outcomes List */
.objectives-list {
    list-style: none;
    margin-top: 15px;
}

.objectives-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.objectives-list li:last-child {
    margin-bottom: 0;
}

.objectives-list i {
    color: #276135;
    font-size: 16px;
    margin-right: 10px;
    margin-top: 3px;
}

.objectives-list span {
    color: #fff;
    flex: 1;
    font-family: 'Lexend', sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
}

/* Mobile navigation styles */
@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);
    }

    /* Career Grid responsive */
    .career-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive adjustments */
@media only screen and (max-width: 1200px) {
    .container {
        width: 90%;
    }
}

@media (max-width: 576px) {
    .back-link {
        font-size: 13px;
    }
    
    .back-arrow {
        font-size: 13px;
    }
}

@media only screen and (max-width: 768px) {
    h1 {
        font-size: 26px;
    }

    .overview-section {
        padding: 20px;
    }

    .overview-section h2 {
        font-size: 22px;
    }

    .career-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .objective-content h3 {
        font-size: 16px;
    }
}

@media only screen and (max-width: 480px) {
    h1 {
        font-size: 22px;
    }

    .page-description {
        font-size: 14px;
    }

    .overview-section p,
    .objectives-list span {
        font-size: 14px;
    }

    .objective-content p {
        font-size: 14px;
    }

    .overview-section {
        padding: 15px;
    }
}