:root {
    --primary: #2D7A3E;
    --primary-dark: #1A5028;
    --primary-green: #2D7A3E;
    --gold: #D4AF37;
    --gold-light: #F4E6A8;
    --gold-accent: #D4AF37;
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
    --light-gray: #f8f9fa;
    --off-white: #f9f9f9;
    --gray: #888;
    --black: #000;
    --info: #17a2b8;
    --danger: #dc3545;
    --radius-md: 10px;
    --radius-lg: 20px;
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-color: var(--off-white);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Navbar */
.ubk-navbar {
    background: var(--primary);
    padding: 0.8rem 0;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ubk-navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.ubk-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.ubk-brand img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.ubk-menu {
    display: flex;
    gap: 25px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ubk-menu-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.ubk-menu-link:hover,
.ubk-menu-link.active {
    color: var(--gold);
}

.ubk-menu-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.ubk-menu-link:hover::after,
.ubk-menu-link.active::after {
    width: 100%;
}

/* Dropdown */
.ubk-menu-item {
    position: relative;
}

.ubk-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    z-index: 1001;
}

.ubk-menu-item:hover .ubk-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ubk-dropdown-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s;
}

.ubk-dropdown-link:hover {
    background: var(--light-gray);
    color: var(--primary);
    padding-left: 25px;
}

/* Search Box in Navbar */
.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 5px 15px;
}

.search-box input {
    background: transparent;
    border: none;
    color: white;
    outline: none;
    width: 150px;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-box button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Mobile Menu */
.ubk-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.ubk-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Common Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section {
    padding: 40px 0;
    min-height: 60vh;
}

/* Hero Section (Generic) */
.page-header {
    background: var(--primary-dark);
    color: white;
    padding: 100px 0 150px;
    text-align: center;
    position: relative;
    clip-path: ellipse(150% 100% at 50% 0%);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.breadcrumb {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

/* Loading Skeleton */
.loading-skeleton,
.skeleton-text {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

.skeleton-text {
    height: 1em;
    width: 100%;
    margin-bottom: 0.5em;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 30px 0;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer h3 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

/* Responsive */
@media (max-width: 768px) {
    .ubk-toggle {
        display: flex;
    }

    .ubk-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        display: flex;
    }

    .ubk-menu.active {
        right: 0;
    }

    .ubk-menu-link {
        color: var(--text-dark);
        font-size: 1.1rem;
        display: block;
        width: 100%;
        padding: 10px 0;
    }

    .ubk-dropdown {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .ubk-menu-item.has-dropdown:hover .ubk-dropdown {
        display: block;
    }

    /* Overlay for mobile menu */
    .ubk-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
    }

    .ubk-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}