@font-face {
    font-family: 'ToyotaType';
    src: url('font/ToyotaType-Bold.eot');
    src: url('font/ToyotaType-Bold.eot?#iefix') format('embedded-opentype'),
        url('font/ToyotaType-Bold.woff2') format('woff2'),
        url('font/ToyotaType-Bold.woff') format('woff'),
        url('font/ToyotaType-Bold.ttf') format('truetype'),
        url('font/ToyotaType-Bold.svg#ToyotaType-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'ToyotaType-Book';
    src: url('font/ToyotaType-Book.eot');
    src: url('font/ToyotaType-Book.eot?#iefix') format('embedded-opentype'),
        url('font/ToyotaType-Book.woff2') format('woff2'),
        url('font/ToyotaType-Book.woff') format('woff'),
        url('font/ToyotaType-Book.ttf') format('truetype'),
        url('font/ToyotaType-Book.svg#ToyotaType-Book') format('svg');
    font-weight: normal;
    font-style: normal;
}
/* General Reset */
body {
    margin: 0;
    font-family: 'ToyotaType-Book';
    background-color: #fff;
    color: #59595b;
}
h1, h2, h3, h4, h5, h6 {
    font-family: ToyotaType;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 296px;
    height: 100%;
    background-color: #EB0A1E;
    color: #fff;
    transition: transform 0.3s ease;
    z-index: 1000;
    padding: 40px 20px;
}
a {
    color: #59595b;
}

/* Logo */
.sidebar .logo {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

/* Navigation links */
.sidebar nav a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: normal;
    margin: 15px 0;
}
.sidebar nav a:hover {
    opacity: 0.8;
}

/* Divider lines between links */
.sidebar nav a + a {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding-top: 15px;
}

/* Search section */
.sidebar .search {
    display: flex;
    align-items: center;
    margin-top: 40px;
}
.sidebar .search-icon {
    font-size: 28px;
    margin-right: 10px;
}
.sidebar .search input {
    background: none;
    border: none;
    border-bottom: 1px solid white;
    outline: none;
    color: white;
    font-size: 14px;
    padding: 5px 0;
    width: 100%;
}
.sidebar .search input::placeholder {
    color: white;
    text-transform: uppercase;
    font-size: 12px;
}
.sidebar.collapsed {
    transform: translateX(-100%);
}

/* Main content when sidebar is visible */
.main-content {
    margin-left: 296px;
    transition: margin-left 0.3s ease;
}

/* Main content when sidebar is hidden */
.main-content.expanded {
    margin-left: 0;
}
.sidebar-header {
    margin-bottom: 40px;
}
.sidebar-title {
    margin: 0;
}
h1.sidebar-title a {
    padding-top: 1.75rem;
    padding-bottom: 0.75rem;
    display: block;
}
.sidebar-menu {
    flex-grow: 1;
}
.nav-menu {
    list-style: none;
    padding: 0;
}
.nav-item {
    margin-bottom: 25px;
    border-bottom: 1px solid #fff;
    padding-bottom: 25px;
}
.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
}
.sidebar-search {
    margin-top: 20px;
    display: flex;
    align-items: center;
    font-size: 14px;
}
.sidebar-search i {
    margin-right: 8px;
}

/* Main Content */
.main-content {
    padding: 90px 0 0 0;
}

/* Top Header */

.top-header {
    background-color: #f5f5f5;
    padding: 25px 20px;
    border-bottom: 1px solid #ddd;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    padding-left: 310px;
    min-height: 90px;
}

/* Heading styling */
.top-header h2 {
    font-size: 20px;
    font-weight: bold;
    color: #e60000;
    text-transform: uppercase;
    margin: 0;
}

/* Menu Toggle Button */
.menu-toggle {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #e60000;
}

.menu-toggle:focus {
    outline: none;
}



/* Hero Banner */
.hero-banner img {
    height: auto;
    max-height: 450px;
    object-fit: cover;
}

/* Meet the Team */
.team-card {
    background-color: #f5f5f0; /* Light gray background */
    height: 100%;
}

.team-content ul {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.team-section {
    padding: 40px 20px;
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    color: #EB0A1E;
    font-size: 28px;
}

.team-card {
    background-color: #eeede8;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding-bottom: 20px;
}

.team-image img {
    width: 100%;
    height: auto;
}

.member-name {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px;
}

.member-title {
    font-size: 14px;
    color: #e60000;
    font-weight: bold;
    margin-bottom: 10px;
}

.member-responsibilities {
    list-style: disc;
    padding-left: 20px;
    text-align: left;
    font-size: 14px;
}

/* Footer */
.footer {
    background-color: #f1f1f2;
    padding: 40px 20px;
    margin-top: 40px;
}

.footer-content {
    text-align: center;
}

.social-links a {
    color: #e60000;
    font-size: 30px;
    margin: 0 10px;
    text-decoration: none;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #333;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.separator {
    margin: 0 5px;
    color: #999;
}

.footer p {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        flex-direction: row;
        align-items: center;
    }

    .main-content {
        margin-left: 0;
    }
}

hr {
    border: 2px solid #ebebeb;
    opacity: 1;
}

.team-image {
    flex: 1;
}
.team-content {
    flex: 3;
}
span.footer-copyright {
    padding-left: 20px;
}
button#sidebarSearchBtn {
    color: #fff;
}
.form-control:focus {
    border-color: #fff;
    box-shadow: none;
}
b, strong {
    font-family: 'ToyotaType';
}

@media (max-width: 768px) {
main.main-content {
    padding-top: 100px;
}
}
.main-content.expanded header.top-header {
    padding-left: 30px;
}

.mobile-header {
    display: none !important;
}

@media (max-width: 768px) {
span.footer-copyright {
    padding-left: 0;
    display: block;
}    
.top-header {
    display:none !important;
}
.top-header button.menu-toggle {
    display: none;
}
.top-header h2 {
    margin: 0 auto;
}
.mobile-header {
    display: flex !important;
    background-color: #EB0A1E;
    color: #fff;
    position: fixed;
    top: 0;
    z-index: 99999;
    width: 100%;
    left: 0;
    right: 0;
    min-height:100px !important;
}
#sidebar.active h1.sidebar-title {
    display: none;
}
.mobile-header .menu-toggle-mobile {
    background: none;
    border: none;
    color: #fff;
    font-size: 45px;
    z-index: 9999;
}
#sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    position: fixed;
    padding-top: 100px;
    height: 100%;
}

    #sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }
}
/*
@media (min-width: 1080px) {
.team-image img {
    max-width: 160px;
    height: 120px;
    object-fit: cover;
    object-position: center;
}
}
*/