/* CSS Variables for Schar Brand Colors */
:root {
    --schar-orange: #d6763f;
    --schar-blue: #1a458a;
    --schar-dark-blue: #0d2b5a;
    --schar-light-gray: #f8f9fa;
    --schar-dark-gray: #6c757d;
    --white: #ffffff;
    --black: #000000;
    --border-color: #e0d6c3;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    --font-weight-black: 900;
}

/* Ensure html and body allow scrolling */
html, body {
    height: auto !important;
    min-height: 0 !important;
    overflow: auto !important;
}

/* Main content area should not restrict height or scrolling */
.content {
    margin-left: 0;
    padding: 80px 40px 40px 40px;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

/* Navigation styles remain unchanged below */
.presentation-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.nav-logo-img {
    height: 56px;
    width: auto;
}

.nav-items {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    font-size: 1rem;
}

.nav-item > a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    padding: 10px 18px;
    border-radius: 25px;
    transition: background 0.2s, color 0.2s;
    display: block;
}

.nav-item > a.active,
.nav-item > a:hover {
    background: #B94710;
    color: #fff;
}

/* Dropdown styles */
.dropdown {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 260px;
    background: #fff8f0;
    border: 1px solid #e0d6c3;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    border-radius: 10px;
    padding: 10px 0;
    z-index: 2000;
}

.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown {
    display: block;
}

.dropdown li {
    list-style: none;
}

.dropdown a {
    display: block;
    padding: 8px 24px;
    color: #6b3c1c;
    text-decoration: none;
    font-weight: normal;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    font-size: 1rem;
}

.dropdown a:hover,
.dropdown a.active {
    background: #ffe5d0;
    color: #B94710;
}

.btn-contact {
    background: #B94710;
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s;
    margin-left: 20px;
}

.btn-contact:hover {
    background: #a03a0d;
    transform: translateY(-2px);
}

/* Sidebar Navigation Styles */
.sidebar-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 16px rgba(0,0,0,0.07);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 0 0 0;
    overflow-y: auto;
    max-height: 100vh;
    padding-bottom: 64px;
}
.sidebar-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 36px;
}
.sidebar-logo .nav-logo-img {
    height: 64px;
    width: auto;
}
.sidebar-items {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
.sidebar-item {
    width: 100%;
    margin-bottom: 8px;
}
.sidebar-link {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    padding: 18px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 0 24px 24px 0;
    position: relative;
    text-align: left;
    text-decoration: none !important;
}

.sidebar-main-link {
    text-decoration: none !important;
    color: inherit;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Ensure all links in sidebar have no underlines */
.sidebar-nav a,
.sidebar-nav a:hover,
.sidebar-nav a:focus,
.sidebar-nav a:active,
.sidebar-nav a:visited {
    text-decoration: none !important;
}
.sidebar-link:hover, .sidebar-link[aria-expanded="true"] {
    background: #f3f3f3;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: var(--schar-orange);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px 12px;
    margin-left: 15px;
    transition: all 0.2s ease;
    border-radius: 4px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-toggle:hover {
    background: rgba(214, 118, 63, 0.1);
    color: var(--schar-blue);
    transform: scale(1.1);
}

.sidebar-toggle[aria-expanded="true"] {
    transform: rotate(180deg);
    color: var(--schar-blue);
}
.sidebar-number {
    font-size: 1.1rem;
    font-weight: 900;
    color: #d6763f;
    margin-right: 16px;
    min-width: 32px;
    text-align: center;
}
.sidebar-title {
    flex: 1;
    color: #1a458a;
    font-weight: 700;
}
.sidebar-dropdown {
    display: none;
    background: #f9f9f9;
    box-shadow: none;
    border-left: 3px solid #d6763f;
    margin-left: 32px;
    border-radius: 0 0 16px 16px;
}
.sidebar-dropdown li:last-child {
    margin-bottom: 16px;
}
.sidebar-item.open .sidebar-dropdown {
    display: block;
    max-height: 320px;
    overflow-y: auto;
}
.sidebar-dropdown li {
    padding: 0;
}
.sidebar-dropdown a {
    display: block;
    padding: 12px 24px;
    color: #1a458a;
    text-decoration: none !important;
    font-size: 1rem;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.sidebar-dropdown a:hover {
    background: #eaf0fa;
    color: #d6763f;
}

/* MOBILE NAVIGATION - SLIDE-OUT SIDEBAR */
.mobile-nav {
    display: none;
}

.mobile-nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 75px;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.mobile-nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.mobile-nav-logo img {
    height: 55px;
    width: auto;
}

.mobile-nav-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.3s ease;
}

.mobile-nav-hamburger {
    width: 24px;
    height: 3px;
    background: var(--schar-orange);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-nav-toggle.active .mobile-nav-hamburger:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-nav-toggle.active .mobile-nav-hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active .mobile-nav-hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: left 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

.mobile-sidebar-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--schar-orange);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.mobile-sidebar-close:hover {
    color: var(--schar-blue);
}

.mobile-sidebar-items {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.mobile-sidebar-item {
    border-bottom: 1px solid var(--border-color);
}

.mobile-sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    transition: background-color 0.3s ease;
}

.mobile-sidebar-main-link {
    display: flex;
    align-items: center;
    padding: 20px;
    text-decoration: none;
    color: var(--black);
    flex: 1;
    transition: background-color 0.3s ease;
}

.mobile-sidebar-main-link:hover {
    background: var(--light-gray);
    color: var(--schar-orange);
}

.mobile-sidebar-number {
    font-size: 0.9rem;
    font-weight: var(--font-weight-bold);
    color: var(--schar-orange);
    margin-right: 15px;
    min-width: 25px;
}

.mobile-sidebar-title {
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.4;
}

.mobile-sidebar-toggle {
    background: none;
    border: none;
    padding: 20px;
    cursor: pointer;
    color: var(--schar-orange);
    font-size: 1.8rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-sidebar-toggle:hover {
    color: var(--schar-blue);
}

.mobile-sidebar-toggle.active {
    transform: rotate(180deg);
}

.mobile-sidebar-dropdown {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--light-gray);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-sidebar-dropdown.active {
    max-height: 500px;
}

.mobile-sidebar-dropdown li {
    border-top: 1px solid rgba(0,0,0,0.1);
}

.mobile-sidebar-dropdown a {
    display: block;
    padding: 15px 20px 15px 60px;
    text-decoration: none;
    color: var(--black);
    font-size: 0.9rem;
    line-height: 1.4;
    transition: background-color 0.3s ease;
}

.mobile-sidebar-dropdown a:hover {
    background: rgba(214, 118, 63, 0.1);
    color: var(--schar-orange);
}

/* Mobile Sidebar Overlay */
.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Responsive Adjustments */
@media (max-width: 900px) {
    .sidebar-nav {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .main-content {
        margin-left: 0;
        padding-top: 75px;
    }
    
    .back-arrow {
        left: 20px;
    }
}

/* Tablet Layout - Switch to mobile navigation for better content visibility */
@media (min-width: 901px) and (max-width: 1200px) {
    .sidebar-nav {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .main-content {
        margin-left: 0;
        padding-top: 75px;
    }
    
    .back-arrow {
        left: 20px;
    }
    
    /* Adjust mobile nav for tablet */
    .mobile-nav-container {
        height: 85px;
        padding: 0 30px;
    }
    
    .mobile-nav-logo img {
        height: 65px;
    }
    
    .mobile-nav-hamburger {
        width: 28px;
        height: 4px;
    }
    
    /* Adjust mobile sidebar for tablet */
    .mobile-sidebar {
        width: 350px;
        left: -350px;
    }
    
    .mobile-sidebar.active {
        left: 0;
    }
} 