:root {
    --primary-orange: #FF7043;
    --secondary-orange: #FF5722;
    --custom-green: #19a610;
    --light-green:rgb(227, 255, 208);

    --custom-orange: #ffac74;

    --light-orange: #FFF3E0;
    --dark-orange: #E64A19;
    --sidebar-width: 320px;

    
    --light-orange: #FFF3E0;
    --dark-orange: #E64A19;
    --sidebar-width: 320px;
    --sidebar-collapsed-width: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    overflow-x: hidden;
    user-select: none;           /* Standard */
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    touch-action: manipulation; /* helps prevent double-tap zoom */
    
}
/* Prevent long-press callout on touch (esp. Edge/Chromium) */
* {
    -webkit-touch-callout: none;
}


img, a {
    -webkit-user-drag: none;
    user-drag: none;
}

.search-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-container input {
    padding-left: 45px;
    border-radius: 30px;
    height: 50px;
    border: 2px solid #e9ecef;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.search-container i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-orange);
}


.left-sidebar {
    left: 0;
    border-right: 4px solid var(--primary-orange);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.orange-icon {
    color: var(--primary-orange);
}
  /* Container to center the iframe */
  .document-container {
    max-width: 1000px;
    margin: 0 auto;
}


.document-card {
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: none;
}

.document-title {
    color: #1e293b;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.document-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #0066cc;
    border-radius: 2px;
}

.document-frame {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    width: 100%;
    height: 650px;
}

@media (max-width: 768px) {
    .document-frame {
        height: 500px;
    }
}


/* Sidebar Styles */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1030;
    background-color: #f8f9fa; /* Light gray background */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    border-right: 1px solid #eee; /* Very light border */
}

.sidebar::-webkit-scrollbar {
    display: none;
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

.main-content {
    margin-left: var(--sidebar-width);
    transition: all 0.3s;
    position: relative;
    height: 100vh;
    overflow-y: auto;
}

.sidebar.collapsed + .main-content {
    margin-left: var(--sidebar-collapsed-width);
}

/* Sidebar Header */
.sidebar-header {
    position: sticky;
    top: 0;
    height: 80px;
    background-color: var(--primary-orange);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    border-bottom: 1px solid var(--primary-orange);/* Lighter border */
}

/* Search Bar */
.sidebar-search {
    position: sticky;
    background-color:var(--primary-orange);
    top: 80px;
    z-index: 999;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee; /* Lighter border */
}

.sidebar.collapsed .department-text,
.sidebar.collapsed .floor-text {
    opacity: 0;
    width: 0;
    display: none;
}



.toggle-sidebar {
    position: absolute;
    top: 20px;
    right: 15px;
    background-color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.toggle-sidebar:hover {
    background-color: var(--light-orange);
}

.sidebar.collapsed .toggle-sidebar i {
    transform: rotate(180deg);
}

.department-list {
    padding: 0.5rem 0;
    display: grid; /* Use grid for vertical spacing control */
    grid-gap: 0.5rem; /* Space between items */
}


.department-item {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease, color 0.2s ease;
        display: flex;
    align-items: center; /* Aligns image and text vertically */
    border: #000 1px solid black; /* Transparent border for consistent height */
}

/* .department-item:nth-child(even) { 
    background-color: #f8f9fa;
} */

.department-item:hover {
    background-color: var(--light-orange);
}

.department-item.active {
    background-color: var(--light-orange);
    color: var(--dark-orange);
    font-weight: 500;
}

.department-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--custom-green); /* Orange accent bar */
    border-radius: 0.5rem 0 0 0.5rem; /* Rounded corners for the accent bar */
}

.department-item i {
    margin-right: 0.75rem;
    color: var(--primary-orange);
    width: 20px;
    text-align: center;
}

.department-title {
    color: #6c757d; /* Muted title color */
    font-weight: bold;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #dee2e6; /* Very light line */
    font-size: 0.9rem; /* Slightly smaller title */
    text-transform: uppercase; /* Uppercase for titles */
    letter-spacing: 0.05em; /* Slight letter spacing */
}




        /* Enhanced department item style */
        .dstyle {
            background: linear-gradient(135deg, #fff8f3, #ffe8d6);
            border-radius: 14px !important;
            padding: 16px 22px !important;
            border: 1px solid rgba(227, 199, 178, 0.6) !important;
            display: flex !important;
            align-items: center !important;
            gap: 16px !important;
            position: relative;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            margin-bottom: 16px !important;
            box-shadow: 
                inset 0 1px 3px rgba(255, 255, 255, 0.9),
                0 4px 12px rgba(227, 184, 155, 0.15) !important;
            cursor: pointer;
            overflow: hidden;
            text-decoration: none !important;
        }

        /* Subtle pattern overlay */
        .dstyle::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23e3c7b2' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
            opacity: 0.5;
            z-index: 0;
            pointer-events: none;
        }

        /* Hover effect */
        .dstyle:hover {
            background: linear-gradient(135deg, #ffe0c4, #ffc89e);
            transform: translateX(8px) scale(1.02);
            box-shadow: 
                0 8px 20px rgba(227, 154, 105, 0.2),
                0 2px 5px rgba(227, 154, 105, 0.1) !important;
            border-color: rgba(227, 154, 105, 0.4) !important;
        }

        /* Icon container */
        .dstyle img {
            background: rgba(255, 255, 255, 0.85);
            border-radius: 10px;
            width: 32px !important;
            height: 32px !important;
            padding: 4px;
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
            position: relative;
            z-index: 1;
            flex-shrink: 0;
            transition: all 0.3s ease;
            margin-left: 0 !important;
            object-fit: contain;
        }

        .dstyle:hover img {
            transform: scale(1.1) rotate(5deg);
            box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
        }

        /* Department name */
        .dstyle span {
            font-weight: 600 !important;
            color: #3d2914 !important;
            font-size: 1.05rem;
            position: relative;
            z-index: 1;
            transition: all 0.3s ease;
        }

        .dstyle:hover span {
            color: #2a1c0e !important;
            transform: translateX(3px);
        }

        /* Active item styling */
        .dstyle.active {
            background: linear-gradient(135deg, #ff7043, #ff9a76);
            border-color: rgba(255, 112, 67, 0.4) !important;
            box-shadow: 
                0 8px 24px rgba(255, 112, 67, 0.25),
                0 2px 8px rgba(255, 112, 67, 0.15) !important;
        }

        .dstyle.active span {
            color: white !important;
            font-weight: 700 !important;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        }

        /* Active indicator bar */
        .dstyle.active::before {
            content: '';
            position: absolute;
            left: 0;
            top: 10px;
            height: calc(100% - 20px);
            width: 6px;
            background: linear-gradient(to bottom, #ff3d00, #ff7043);
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(255, 61, 0, 0.4);
            z-index: 1;
        }

        .hidden {
            display: none !important;
        }
        
     

.oic-text {
    color: var(--custom-green);
    font-weight: bold;
    border-bottom: 2px solid var(--primary-orange);
}

.orange-title {
    color: var(--primary-orange);
    font-weight: bold;
    border-bottom: 2px solid var(--custom-green);
}

.orange-text {
    color: var(--secondary-orange);
    font-weight: bold;
}

.green-text {
    color: var(--custom-green);
    font-weight: bold;
}

.department-text {
    transition: opacity 0.2s ease;
}

/* Main Content Styles (unchanged) */
.time-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-orange);
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}


.date-display {
    font-size: 1.1rem;
    color: #ffffff;
}

.seconds {
    font-size: 2.5rem;
    color: var(--primary-orange);
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='rgba(255,255,255,0.1)' d='M0,0 L100,0 L100,100 Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
}

.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}



.btn-orange {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-orange:hover {
    background-color: var(--dark-orange);
    border-color: var(--dark-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 74, 25, 0.3);
}

.btn-light-orange {
    background-color: white;
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;

}

.btn-light-orange:hover {
    background-color: var(--light-orange);
    color: var(--dark-orange);
    transform: translateY(-2px);
}

.department-card {
    border-radius: 1rem;
    overflow: hidden;
    height: 100%;
}

.department-card .card-body {
    padding: 1.5rem;
}

.department-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--light-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.department-icon i {
    font-size: 1.5rem;
    color: var(--primary-orange);
}

/* Accessibility Widget Styles (unchanged) */
.accessibility-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.accessibility-button-container {
    width: 75px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.accessibility-toggle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-orange);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 32px;
}

.accessibility-menu {
    position: absolute;
    bottom: 90px;
    right: 0;
    background-color: #343a40;
    border-radius: 8px;
    width: 250px;
    padding: 15px;
    display: none;
}

.accessibility-menu.show {
    display: block;
}

.accessibility-option {
    padding: 12px 15px;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 4px;
}

.accessibility-option:hover {
    background-color: var(--primary-orange);
}

.accessibility-divider {
    height: 1px;
    background-color: #6c757d;
    margin: 10px 0;
    opacity: 0.5;
}

.high-contrast {
    background-color: #000 !important;
    color: #fff !important;
}

.reading-guide {
    position: fixed;
    width: 100%;
    height: 30px;
    background-color: rgba(255, 255, 0, 0.2);
    pointer-events: none;
    z-index: 9999;
    display: none;
}

.dyslexic-font {
    font-family: 'OpenDyslexic', Arial, sans-serif;
}

/* Night Mode Styling (unchanged) */
body.night-mode .sidebar,
body.high-contrast .sidebar {
    background-color: #000;
    color: white;
}

body.night-mode .sidebar-header,
body.high-contrast .sidebar-header {
    background-color: #000;
    color: white;
}

body.night-mode .sidebar-search,
body.high-contrast.sidebar-search {
    background-color: #000;
    color: white;
}

body.night-mode .sidebar a,
body.high-contrast .sidebar a {
    color: #bbb;
}

body.night-mode .sidebar a:hover,
body.high-contrast .sidebar a:hover {
    color: white;
}

/* Responsive styles (unchanged) */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
        transition: transform 0.3s ease;
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .toggle-sidebar {
        left: 15px;
        top: 15px;
    }

    .sidebar.show .toggle-sidebar {
        left: 240px;
    }
}

@media (max-width: 767.98px) {
    .time-display {
        font-size: 2rem;
    }

    .seconds {
        font-size: 1.25rem;
    }
}

.list-group-item {
    background: transparent;
    border: none;
    transition: background-color 0.3s, color 0.3s;
}

.list-group-item:hover {
    background-color: rgba(255, 87, 34, 0.1);
    color: var(--primary-orange);
}
    /* --sidebar-collapsed-width: 66px;
} */

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    overflow-x: hidden;
}
.orange-icon {
    color: var(--primary-orange);
}
/* Sidebar Styles */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1030;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar::-webkit-scrollbar {
    display: none;             /* Chrome, Safari */
}
.main-content::-webkit-scrollbar {
    display: none;             /* Chrome, Safari */
}
.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

.main-content {
    margin-left: var(--sidebar-width);
    transition: margin-left 0.3s ease;
    min-height: 100vh;
    
}

.sidebar.collapsed + .main-content {
    margin-left: var(--sidebar-collapsed-width);
}


/* Sidebar Header */
.sidebar-header {
    position: sticky;
    top: 0;
    height: 80px;
    /* background-color: white; Needed so it doesn't appear transparent */
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}



/* Search Bar */
.sidebar-search {
    position: sticky;
    /* background-color: white; */
    top: 80px; /* same as .sidebar-header height */

    z-index: 999;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}







.sidebar.collapsed .department-text,
.sidebar.collapsed .floor-text {
    opacity: 0;
    width: 0;
    display: none;
}

.toggle-sidebar {
    position: absolute;
    top: 20px;
    right: 15px;
    background-color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.toggle-sidebar:hover {
    background-color: var(--light-orange);
}

.sidebar.collapsed .toggle-sidebar i {
    transform: rotate(180deg);
}



.department-list {
    padding: 0.5rem 0;
}

.department-item {
    padding: 0.75rem 1.5rem 0.75rem 1.2rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.department-item:hover {
    background-color: rgba(255, 112, 67, 0.1);
}

.department-item.active {
    background-color: rgba(255, 112, 67, 0.2);
    color: var(--primary-orange);
    font-weight: 500;
}

.department-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--primary-orange);
}

.department-item i {
    margin-right: 0.75rem;
    color: var(--primary-orange);
    width: 20px;
    text-align: center;
}

.department-title {
    color: var(--custom-green);
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--custom-green);
}

.oic-text {
    color: var(--custom-green);
    font-weight: bold;
    border-bottom: 2px solid var(--primary-orange);

    /* margin-bottom: 20px; */
    /* padding-bottom: 15px; */
}



.orange-title {
    color: var(--primary-orange);
    font-weight: bold;
    border-bottom: 2px solid var(--custom-green);

    /* margin-bottom: 20px; */
    /* padding-bottom: 15px; */
}


.orange-text {
    color: var(--secondary-orange);
    font-weight: bold;
  
}

.bg-orange {
    background-color: var(--primary-orange);
}

.bg-orangefooter {
    background-color: ghostwhite;
}


.border-green {
    color: var(--custom-green);
}

.bg-green {
    background-color: var(--custom-green);
}

.green-text {
    color: var(--custom-green);
    font-weight: bold;
    /* margin-bottom: 20px; */
    /* padding-bottom: 15px; */
    /* border-bottom: 2px solid var(--custom-green); */
}
.office-card {
    background-color: #ffe9dc;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #212529;
}


/* .office-card:hover {
    background-color: #ffd4ba;
}
.office-card img {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
} */


.department-text {
    transition: opacity 0.2s ease;
}

/* Main Content Styles */
.time-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-orange);
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    color: w;
}


.seconds {
    font-size: 2.5rem;
    color: var(--primary-orange);
}


.weather-temp {
    color: white;
}


.hero-section {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='rgba(255,255,255,0.1)' d='M0,0 L100,0 L100,100 Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
}

.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.weather-card {
    background: linear-gradient(135deg, #FF9800 0%, var(--primary-orange) 100%);
    color: white;
}

.btn-orange {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-orange:hover {
    background-color: var(--dark-orange);
    border-color: var(--dark-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 74, 25, 0.3);
}

.btn-light-orange {
    background-color: white;
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-light-orange:hover {
    background-color: var(--light-orange);
    color: var(--dark-orange);
    transform: translateY(-2px);
}

.department-card {
    border-radius: 1rem;
    overflow: hidden;
    height: 100%;
}

.department-card .card-body {
    padding: 1.5rem;
}

.department-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--light-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.department-icon i {
    font-size: 1.5rem;
    color: var(--primary-orange);
}


/* Style for the accessibility button */

.accessibility-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.accessibility-button-container {
    width: 75px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.accessibility-toggle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-orange);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 32px;
}

.accessibility-menu {
    position: absolute;
    bottom: 90px;
    right: 0;
    background-color: #343a40;
    border-radius: 8px;
    width: 250px;
    padding: 15px;
    display: none;
}

.accessibility-menu.show {
    display: block;
}

.accessibility-option {
    padding: 12px 15px;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 4px;
}

.accessibility-option:hover {
    background-color: var(--primary-orange);
}

.accessibility-divider {
    height: 1px;
    background-color: #6c757d;
    margin: 10px 0;
    opacity: 0.5;
}

.high-contrast {
    background-color: #000 !important;
    color: #fff !important;
}

.reading-guide {
    position: fixed;
    width: 100%;
    height: 30px;
    background-color: rgba(255, 255, 0, 0.2);
    pointer-events: none;
    z-index: 9999;
    display: none;
}

.dyslexic-font {
    font-family: 'OpenDyslexic', Arial, sans-serif;
}

/* Night Mode Styling */
body.night-mode .sidebar, body.high-contrast .sidebar  { background-color: #000; color: white; }
body.night-mode .sidebar-header, body.high-contrast .sidebar-header { background-color: #000; color: white; }
body.night-mode .sidebar-search, body.high-contrast.sidebar-search { background-color: #000; color: white; }
body.night-mode .sidebar a, body.high-contrast .sidebar a { color: #bbb; }
body.night-mode .sidebar a:hover, body.high-contrast .sidebar a:hover { color: white; }


/* Responsive styles */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
        transition: transform 0.3s ease; /* ← Add this line */

    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .toggle-sidebar {
        left: 15px;
        top: 15px;
    }
    
    .sidebar.show .toggle-sidebar {
        left: 240px;
    }
}

@media (max-width: 767.98px) {
    .time-display {
        font-size: 2rem;
    }
    
    .seconds {
        font-size: 1.25rem;
    }
}


.list-group-item {
    background: transparent;
    border: none;
    transition: background-color 0.3s, color 0.3s;
}

.list-group-item:hover {
    background-color: rgba(255, 87, 34, 0.1);
    color: var(--primary-orange);
}




