:root {
    --kfupm-primary: #49906D;
    --kfupm-teal: #2c5e65;
    --kfupm-light: #f8f9fa;
    --kfupm-dark: #212529;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
        min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
}

.text-decoration-none {
    text-decoration: none !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--kfupm-primary) !important;
}

.nav {
    --bs-nav-link-padding-x: 1rem;
    --bs-nav-link-padding-y: 0.5rem;
    --bs-nav-link-font-weight: ;
    --bs-nav-link-color: var(--bs-link-color);
    --bs-nav-link-hover-color: var(--bs-link-hover-color);
    --bs-nav-link-disabled-color: var(--bs-secondary-color);
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav-link {
    display: block;
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
    font-size: var(--bs-nav-link-font-size);
    font-weight: var(--bs-nav-link-font-weight);
    color: var(--bs-nav-link-color);
    text-decoration: none;
    background: none;
    border: 0;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.link-text {
  font-size: 16px !important;
  font-style: normal;
  font-weight: 700 !important;
  line-height: normal;
  text-decoration: underline;
  color: var(--kfupm-primary) !important;
}

.green-link-color {
  color: var(--kfupm-primary) !important;
}

@media (prefers-reduced-motion: reduce) {
    .nav-link {
        transition: none;
    }
}

.nav-link:hover,
.nav-link:focus {
    color: var(--bs-nav-link-hover-color);
}

.nav-link:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(44, 94, 101, 0.25);
}

.nav-link.disabled,
.nav-link:disabled {
    color: var(--bs-nav-link-disabled-color);
    pointer-events: none;
    cursor: default;
}

.user-greeting {
    color: var(--kfupm-teal);
    font-size: 1.2rem;
    font-weight: 600;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.hero-section {
    padding: 4rem 0;
}

.hero-title {
    color: var(--kfupm-primary);
    font-size: 1.2rem;
    font-weight: 600;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--kfupm-dark);
    margin-bottom: 1rem;
}

.hero-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-description {
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.cta-box {
    background-color: #f1f8f9;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.btn-outline-primary {
    border-style: solid;
    color: var(--kfupm-teal);
    border-color: var(--kfupm-teal);
    padding: 0.5rem 2rem;
}

.btn-outline-primary:hover {
    background-color: var(--kfupm-teal);
    border-color: var(--kfupm-teal);
    color: white;
}

.btn-primary {
    background-color: var(--kfupm-teal);
    border-color: var(--kfupm-teal);
    padding: 0.5rem 2rem;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #246270;
    border-color: #246270;
}

.sidebar-section {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--kfupm-dark);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-all-link {
    color: var(--kfupm-teal);
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.view-all-link:hover {
    text-decoration: underline;
}

.release-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.release-item:last-child {
    border-bottom: none;
}

.release-category {
    color: #6c757d;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.release-title {
    color: var(--kfupm-dark);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.release-heading {
    color: var(--kfupm-teal);
    font-weight: bold;
}

footer {
    background-color: #2c5e65;
    color: white;
    padding: 0;
    left: 0;
    bottom: 0;
    width: 100%;
}

.footer-main {
    display: flex;
    padding: 2.5rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-left {
    flex: 1;
}

.footer-right {
    border-left: 1.5px solid #dcdddd;
    padding-left: 3rem;
    max-width: 320px;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-contact-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.footer-contact-item i {
    font-size: 0.85rem;
}

.contact-us-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.contact-us-link:hover {
    color: white;
}

.discover-section {
    margin-top: 1.5rem;
}

.discover-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: white;
}

.discover-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.discover-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
}

.discover-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-highlight-box {
    background: transparent;
}

.footer-highlight-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #dcdddd;
    line-height: 1.2;
}

.footer-highlight-text {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.btn-know-more {
    background-color: transparent;
    border: 1px solid white;
    color: white;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-know-more:hover {
    background-color: white;
    color: #2d5f5f;
}

.footer-bottom-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    font-size: 0.85rem;
}

.footer-bottom-links a:hover {
    color: white;
}

.footer-social-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: white;
    font-size: 1.25rem;
    transition: opacity 0.2s;
}

.social-link:hover {
    opacity: 0.8;
    color: white;
}

.social-directory-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.85rem;
}

.social-directory-link:hover {
    color: white;
}

@media (max-width: 991px) {
    .footer-main {
        flex-direction: column;
        padding: 2rem 1.5rem;
    }

    .footer-right {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        padding-left: 0;
        padding-top: 1.5rem;
        margin-top: 1.5rem;
        max-width: 100%;
    }

    .footer-bottom {
        padding: 1rem 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .footer-contact-row {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-heading {
        font-size: 2rem;
    }

    .hero-section {
        padding: 2rem 0;
        padding-bottom: 450px;
    }

    .discover-links {
        gap: 1.5rem;
    }
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-content {
    flex: 1;
}