/* ==================================================
   TYPOGRAPHY
   ================================================== */

html,
body {
    font-family:
        "Segoe UI",
        "Inter",
        sans-serif;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.hero-subtitle,
.sidebar-header,
.btn,
.navbar,
.sidebar-links a,
.emergency-banner {
    font-family: "Oswald", sans-serif;
}       
	   
	    /* --- Theme Variables --- */
        [data-theme="dark"] {
            --bg-color: #0b0f19;
            --text-color: #f8fafc;
            --sidebar-bg: #0f172a;
            --sidebar-border: #1e293b;
            --sidebar-text: #94a3b8;
            --sidebar-hover-bg: #1e293b;
            --sidebar-hover-text: #ffffff;
            --btn-bg: #1e293b;
            --btn-hover: #334155;
            --btn-text: #ffffff;
            --footer-color: #64748b;
            --footer-border: #1e293b;
            --overlay-bg: rgba(0, 0, 0, 0.6);
        }

        [data-theme="light"] {
            --bg-color: #f8fafc;
            --text-color: #0f172a;
            --sidebar-bg: #ffffff;
            --sidebar-border: #e2e8f0;
            --sidebar-text: #475569;
            --sidebar-hover-bg: #f1f5f9;
            --sidebar-hover-text: #0f172a;
            --btn-bg: #e2e8f0;
            --btn-hover: #cbd5e1;
            --btn-text: #0f172a;
            --footer-color: #64748b;
            --footer-border: #e2e8f0;
            --overlay-bg: rgba(0, 0, 0, 0.4);
        }

        /* --- Base Reset & Styling --- */
        body {
            background-color: var(--bg-color) !important;
            color: var(--text-color) !important;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        /* --- Top Controls Container (Hamburger + Theme Toggle) --- */
        .top-controls {
            position: fixed;
            top: 20px;
            left: 20px;
            z-index: 1001;
            display: flex;
            gap: 10px;
        }

        .icon-btn {
            background: var(--btn-bg);
            color: var(--btn-text);
            border: none;
            border-radius: 6px;
            width: 45px;
            height: 45px;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
            transition: background 0.2s ease, transform 0.1s ease;
        }

        .icon-btn:hover {
            background: var(--btn-hover);
        }

        .icon-btn:active {
            transform: scale(0.95);
        }

        /* --- Hamburger Button Icon --- */
        .nav-toggle {
            flex-direction: column;
            gap: 6px;
        }

        .nav-toggle span {
            display: block;
            width: 24px;
            height: 2px;
            background: var(--btn-text);
            border-radius: 2px;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        /* --- Animated 'X' State --- */
        .nav-toggle.active span:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }
        .nav-toggle.active span:nth-child(2) {
            opacity: 0;
        }
        .nav-toggle.active span:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

        /* --- Theme Toggle Icon Styling --- */
        .theme-toggle svg {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }

        /* Hide/Show icons based on active theme */
        [data-theme="dark"] .theme-toggle .sun-icon { display: block; }
        [data-theme="dark"] .theme-toggle .moon-icon { display: none; }
        [data-theme="light"] .theme-toggle .sun-icon { display: none; }
        [data-theme="light"] .theme-toggle .moon-icon { display: block; }

        /* --- Sidebar Navigation (Left Side) --- */
        .sidebar {
            position: fixed;
            top: 0;
            left: -280px; /* Hidden off-screen */
            width: 280px;
            height: 100%;
            background: var(--sidebar-bg);
            color: var(--text-color);
            z-index: 1000;
            box-shadow: 4px 0 15px rgba(0, 0, 0, 0.3);
            transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .sidebar.active {
            left: 0; /* Slides into view */
        }

        .sidebar-header {
            padding: 24px;
            border-bottom: 1px solid var(--sidebar-border);
            margin-top: 80px; /* Pushes the header down below the top-left buttons */
            clear: both;      /* Ensures it sits under floating/fixed elements */
        }

        .sidebar-header h3 {
            font-size: 1.1rem;
            letter-spacing: 0.5px;
            margin: 0;
        }

        .sidebar-links {
            list-style: none;
            padding: 20px 0;
            margin: 0;
            flex-grow: 1;
        }

        .sidebar-links li a {
            display: block;
            padding: 12px 24px;
            color: var(--sidebar-text);
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.2s, background 0.2s;
        }

        .sidebar-links li a:hover {
            color: var(--sidebar-hover-text);
            background: var(--sidebar-hover-bg);
        }

        /* --- Dimming Background Overlay --- */
        .sidebar-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--overlay-bg);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

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

        /* --- Main Content Layout --- */
        main {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 20px;
        }

        /* --- Footer --- */
        footer {
            padding: 20px;
            text-align: center;
            font-size: 0.85rem;
            color: var(--footer-color);
            border-top: 1px solid var(--footer-border);
            transition: border-color 0.3s ease, color 0.3s ease;
        }
        /* --- Sticky Top Social Media Bar --- */ 
        .social-topnav {
            position: sticky;
            top: 0;
            z-index: 1000;
            background-color: var(--topbar-bg);
            border-bottom: 1px solid var(--topbar-border);
            padding: 10px 20px;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 15px;
            transition: background-color 0.3s ease, border-color 0.3s ease;
        }

        .social-topnav a {
            color: var(--text-color);
            font-size: 1.1rem;
            transition: opacity 0.2s ease, color 0.2s ease;
            text-decoration: none;
        }

        .social-topnav a:hover {
            opacity: 0.7;
        }
		/* --- Themed Content Cards --- */
        .theme-card {
            background-color: var(--sidebar-bg) !important;
            color: var(--text-color) !important;
            border: 1px solid var(--sidebar-border) !important;
            transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
        }
        
        .theme-card p, 
        .theme-card li, 
        .theme-card h2, 
        .theme-card h4 {
            color: var(--text-color) !important;
        }
		
		/* --- Themed Map Wrapper --- */
        .map-container-wrapper {
            background-color: var(--sidebar-bg);
            border: 1px solid var(--sidebar-border);
            border-radius: 8px;
            overflow: hidden;
            transition: background-color 0.3s ease, border-color 0.3s ease;
        }
        
        /* In dark mode, apply a subtle CSS inversion/adjustment to map tiles so it doesn't blind users at night */
        [data-theme="dark"] .map-container-wrapper iframe {
            filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(85%);
        }
		
/* ==========================================================
   APPLE-STYLE PARALLAX SECTIONS
   ========================================================== */

.parallax-section {
    position: relative;
    width: 100%;
    overflow: hidden;

    /* Parallax */
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    /* Spacing */
    padding: 180px 20px;

    /* Content */
    color: #ffffff;
    text-align: center;

    /* Smooth Apple-style fade */
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,1) 20%,
        rgba(0,0,0,1) 80%,
        transparent 100%
    );

    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,1) 20%,
        rgba(0,0,0,1) 80%,
        transparent 100%
    );
}

/* Dark cinematic overlay */
.parallax-section::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(11,15,25,0.75) 0%,
        rgba(11,15,25,0.45) 50%,
        rgba(11,15,25,0.75) 100%
    );

    z-index: 1;
}

/* Content remains above overlay */
.parallax-content {
    position: relative;
    z-index: 2;

    max-width: 900px;
    margin: 0 auto;

    animation: fadeInUp 1s ease-out;
}

.parallax-content h1,
.parallax-content h2 {
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;

    text-shadow:
        0 4px 12px rgba(0,0,0,0.35),
        0 2px 4px rgba(0,0,0,0.25);
}

.parallax-content p {
    font-size: 1.1rem;
    line-height: 1.8;

    text-shadow:
        0 2px 8px rgba(0,0,0,0.35);
}

/* ==========================================================
   HERO IMAGE
   ========================================================== */

.parallax-hero {
    background-image: url('../img/cruiser.png');

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================
   CHIEF IMAGE SECTION
   ========================================================== */

.parallax-chief {
    background-image: url('../img/chief.png');

    min-height: 70vh;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================
   SECONDARY IMAGE SECTION
   ========================================================== */

.parallax-torch {
    background-image: url('../img/skye.png');

    min-height: 70vh;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================
   APPLE-STYLE FADE IN ANIMATION
   ========================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================
   MOBILE OPTIMIZATION
   ========================================================== */

@media (max-width: 768px) {

    .parallax-section {
        background-attachment: scroll;
        padding: 120px 20px;

        -webkit-mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%
        );

        mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%
        );
    }

    .parallax-hero {
        min-height: 80vh;
    }

    .parallax-torch {
        min-height: 50vh;
    }

    .parallax-content h1 {
        font-size: 2rem;
    }

    .parallax-content h2 {
        font-size: 1.8rem;
    }

    .parallax-content p {
        font-size: 1rem;
    }
}

/* ==========================================================
   OPTIONAL PREMIUM GLASS EFFECT
   ========================================================== */

.theme-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
/* ==================================================
   HERO CONTENT
   ================================================== */

.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

/* ==================================================
   EMERGENCY BANNER
   ================================================== */

.emergency-banner {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 14px 34px;
    margin-bottom: 35px;

    border-radius: 999px;

    background: linear-gradient(
        135deg,
        rgba(220,38,38,.95),
        rgba(153,27,27,.95)
    );

    color: #ffffff;

    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;

    border: 1px solid rgba(255,255,255,.15);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        0 0 25px rgba(220,38,38,.45),
        0 15px 40px rgba(0,0,0,.40);

    animation: emergencyPulse 3s ease-in-out infinite;
}

/* ==================================================
   CHROME POLICE BADGE TITLE
   ================================================== */

.hero-title {
    position: relative;
    display: inline-block;

    font-family: 'Oswald', sans-serif;
    font-weight: 700;

    font-size: clamp(4.5rem, 10vw, 8rem);

    line-height: 1;
    letter-spacing: 0.08em;

	margin-top: -125px;
    margin-bottom: 15px;

    text-transform: uppercase;

    /* Royalton PD Colors */
    color: #0f2744; /* Deep Navy */

    /* Yellow Outline */
    -webkit-text-stroke: 2px #ffd700;

    /* Fallback Outline */
    text-shadow:
    -1px -1px 0 #ffd700,
     1px -1px 0 #ffd700,
    -1px  1px 0 #ffd700,
     1px  1px 0 #ffd700,

     0 5px 15px rgba(0,0,0,.75),
     0 12px 30px rgba(0,0,0,.60),
     0 25px 60px rgba(0,0,0,.45);

    filter:
        drop-shadow(0 0 10px rgba(255,215,0,.35))
        drop-shadow(0 0 20px rgba(255,215,0,.20));
}

.chief-title {
    position: relative;
    display: inline-block;

    font-family: 'Oswald', sans-serif;
    font-weight: 700;

    font-size: clamp(4.5rem, 10vw, 8rem);

    line-height: 1;
    letter-spacing: 0.08em;

    margin-bottom: 15px;

    text-transform: uppercase;

    /* Royalton PD Colors */
    color: #0f2744; /* Deep Navy */

    /* Yellow Outline */
    -webkit-text-stroke: 2px #ffd700;

    /* Fallback Outline */
    text-shadow:
    -1px -1px 0 #ffd700,
     1px -1px 0 #ffd700,
    -1px  1px 0 #ffd700,
     1px  1px 0 #ffd700,

     0 5px 15px rgba(0,0,0,.75),
     0 12px 30px rgba(0,0,0,.60),
     0 25px 60px rgba(0,0,0,.45);

    filter:
        drop-shadow(0 0 10px rgba(255,215,0,.35))
        drop-shadow(0 0 20px rgba(255,215,0,.20));
}


/* Blue Police Light */

.hero-title::before {
    content: attr(data-text);

    position: absolute;
    inset: 0;

    color: rgba(37,99,235,.35);

    transform: translate(4px,4px);

    filter: blur(6px);

    z-index: -2;
}

/* Red Police Light */

.hero-title::after {
    content: attr(data-text);

    position: absolute;
    inset: 0;

    color: rgba(220,38,38,.25);

    transform: translate(-4px,-4px);

    filter: blur(8px);

    z-index: -1;
}

/* ==================================================
   THIN BLUE LINE
   ================================================== */

.hero-title-border {

    width: 300px;
    height: 6px;

    margin: 20px auto 35px;

    border-radius: 999px;

    background: linear-gradient(
        90deg,
        transparent,
        #ffd700,
        #fff4a3,
        #ffd700,
        transparent
    );

    box-shadow:
        0 0 15px rgba(255,215,0,.80),
        0 0 35px rgba(255,215,0,.40);
}

/* ==================================================
   SUBTITLE
   ================================================== */

.hero-subtitle {

    font-size: 1.7rem;
    font-weight: 600;

    max-width: 900px;

    margin: 0 auto 25px;

    color: rgba(255,255,255,.98);

    text-shadow:
        0 4px 12px rgba(0,0,0,.75),
        0 10px 25px rgba(0,0,0,.50);
}

/* ==================================================
   DESCRIPTION
   ================================================== */

.hero-description {

    max-width: 850px;

    margin: 0 auto 40px;

    font-size: 1.15rem;
    line-height: 1.9;

    color: rgba(255,255,255,.90);

    text-shadow:
        0 3px 8px rgba(0,0,0,.70);
}

/* ==================================================
   BUTTONS
   ================================================== */

.hero-buttons .btn {

    min-width: 220px;

    font-weight: 600;

    border-radius: 12px;

    transition: all .25s ease;

    box-shadow:
        0 10px 25px rgba(0,0,0,.25);
}

.hero-buttons .btn:hover {

    transform: translateY(-4px);

    box-shadow:
        0 20px 45px rgba(0,0,0,.40);
}

/* ==================================================
   ANIMATIONS
   ================================================== */

@keyframes metallicShift {

    0% {
        background-position: center top;
    }

    50% {
        background-position: center bottom;
    }

    100% {
        background-position: center top;
    }
}

@keyframes emergencyPulse {

    0% {
        box-shadow:
            0 0 20px rgba(220,38,38,.35),
            0 15px 40px rgba(0,0,0,.40);
    }

    50% {
        box-shadow:
            0 0 45px rgba(220,38,38,.70),
            0 15px 40px rgba(0,0,0,.40);
    }

    100% {
        box-shadow:
            0 0 20px rgba(220,38,38,.35),
            0 15px 40px rgba(0,0,0,.40);
    }
}
/* ==========================================
   VISION SECTION
   ========================================== */
.vision-section,
.contact-section {
    max-width: 1500px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}

/* Premium card appearance */

.vision-section .theme-card {

    border-radius: 24px !important;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.03),
            rgba(255,255,255,.01)
        );

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow:
        0 10px 30px rgba(0,0,0,.15),
        0 30px 80px rgba(0,0,0,.25);

    transition: all .3s ease;
}

.vision-section .theme-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 15px 40px rgba(0,0,0,.20),
        0 35px 90px rgba(0,0,0,.30);
}

/* Main Section Title */

.vision-section h2 {

    font-family: 'Oswald', sans-serif;

    font-size: clamp(2.5rem, 5vw, 4rem);

    text-transform: uppercase;

    letter-spacing: .05em;

    color: var(--text-color);

    text-align: center;

    margin-bottom: 1rem;
}

/* Subtitle */

.vision-section h4 {

    font-family: 'Oswald', sans-serif;

    font-size: 1.35rem;

    letter-spacing: .08em;

    text-transform: uppercase;

    text-align: center;

    color: #60a5fa !important;

    margin-bottom: 2rem;
}

/* Description */

.vision-section p {

    font-size: 1.1rem;

    line-height: 1.9;

    max-width: 950px;

    margin: 0 auto 2rem;
}

/* Vision List */

.vision-section ul {

    max-width: auto;

    margin: 0 auto;

    padding-left: 0;

    list-style: none;
}

.vision-section li {

    position: relative;

    padding: 1rem 1rem 1rem 3
}

/* ==========================================
   CONTACT & LOCATION SECTION
   ========================================== */

.contact-section .theme-card {

    border-radius: 24px !important;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.03),
            rgba(255,255,255,.01)
        );

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow:
        0 10px 30px rgba(0,0,0,.15),
        0 30px 80px rgba(0,0,0,.25);

    transition: all .3s ease;
}

.contact-section .theme-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 15px 40px rgba(0,0,0,.20),
        0 35px 90px rgba(0,0,0,.30);
}

/* Section Heading */

.contact-section h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.85rem, 5vw, 4rem);
    text-transform: uppercase;
    letter-spacing: .05em;
    text-align: center;
    margin-bottom: 1rem;

    /* Metallic text */
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #d9d9d9 30%,
        #8f8f8f 50%,
        #f5f5f5 70%,
        #ffff00 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Metallic edge */
    text-shadow:
        1px 1px 0 #ffffff,
        -1px -1px 0 #666666,
        0 0 8px rgba(255,255,255,0.25);
}


/* Section Subheading */

.contact-section h4 {

    font-family: 'Oswald', sans-serif;

    font-size: 1.55rem;

    text-transform: uppercase;

    letter-spacing: .08em;

    color: #2685fa !important;

    text-align: center;

    margin-bottom: 2rem;
}

/* Contact Information */

.contact-section p,
.contact-section li {

    font-size: 1.00rem;

    line-height: 1.8;
}

/* Icons */

.contact-section i {

    color: #60a5fa;

    margin-right: 10px;
}

/* Map Wrapper Enhancement */

.contact-section .map-container-wrapper {

    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(0,0,0,.25);
}

/* ==========================================
   SECONDARY PARALLAX CONTENT
   ========================================== */

.section-eyebrow {
    display: inline-block;

    margin-bottom: 15px;

    font-family: 'Oswald', sans-serif;
    font-size: 2.25rem;
    font-weight: 600;

    letter-spacing: .25em;

    color: #93c5fd;

    text-transform: uppercase;

    text-shadow:
        0 2px 6px rgba(0,0,0,.65);
}

/* Main Heading */

.section-title {

    position: relative;

    display: inline-block;

    font-family: 'Oswald', sans-serif;
    font-weight: 700;

    font-size: clamp(2.5rem, 6vw, 5rem);

    line-height: 1.1;

    letter-spacing: .05em;

    text-transform: uppercase;

    color: #0f2744;

    -webkit-text-stroke: 1.5px #ffd700;

    text-shadow:
        -1px -1px 0 #ffd700,
         1px -1px 0 #ffd700,
        -1px  1px 0 #ffd700,
         1px  1px 0 #ffd700,

         0 6px 12px rgba(0,0,0,.70),
         0 14px 30px rgba(0,0,0,.50);
}

/* Police Light Reflections */

.section-title::before {

    content: attr(data-text);

    position: absolute;
    inset: 0;

    color: rgba(37,99,235,.25);

    transform: translate(3px,3px);

    filter: blur(5px);

    z-index: -2;
}

.section-title::after {

    content: attr(data-text);

    position: absolute;
    inset: 0;

    color: rgba(220,38,38,.18);

    transform: translate(-3px,-3px);

    filter: blur(6px);

    z-index: -1;
}

/* Gold Accent Line */

.section-title-border {

    width: 220px;
    height: 5px;

    margin: 18px auto 25px;

    border-radius: 999px;

    background: linear-gradient(
        90deg,
        transparent,
        #ffd700,
        #fff3a0,
        #ffd700,
        transparent
    );

    box-shadow:
        0 0 15px rgba(255,215,0,.60);
}

/* Description */

.section-description {

    max-width: 1000px;

    margin: auto;

    font-size: 2.55rem;

    line-height: 1.0;

    color: rgba(255,255,255,.96);

    text-shadow:
        0 3px 10px rgba(0,0,0,.75),
        0 10px 25px rgba(0,0,0,.45);
}
/* ==========================================
   FOOTER
   ========================================== */

.footer {
    border-top: 1px solid var(--sidebar-border);
}

/* ==========================================
   FULL WIDTH BOTTOM BANNER
   ========================================== */

.bottom-banner {
    width: 100%;
    line-height: 0;
}

.bottom-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-rank {
    font-family: 'Oswald', sans-serif;
    font-size: 4.0rem;
    text-transform: uppercase;
    letter-spacing: .25em;
    color: #93c5fd;
    margin-bottom: 10px;
}

.hero-title {
    font-size: clamp(5rem, 12vw, 9rem);
    letter-spacing: .02em;
}

.vision-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.vision-list li {
    position: relative;
    padding: 0.9rem 0 0.9rem 2.5rem;
    line-height: 1.8;
}

.vision-list li::before {
    content: "\f132"; /* fa-shield-alt / shield */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.95rem;
    color: #ffd700;
    font-size: 1.1rem;
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    width: 45px;
    height: 45px;
    background-color: #0f2744; /* Deep Navy to match your theme */
    color: #ffd700; /* Yellow text/arrow */
    
    border: 2px solid #ffd700;
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.back-to-top:hover {
    background-color: #ffd700;
    color: #0f2744;
    transform: translateY(-3px);
}

/* Base Sidebar Styling (Dark Theme - Deep Steel/Police Blue Gradient) */
.sidebar {
    background: linear-gradient(135deg, #1b263b 0%, #0d1b2a 100%);
    /* Add your existing sidebar positioning/width properties here */
}

/* Light Theme Sidebar Gradient (Soft Slate/Ice Blue Gradient) */
body.light-theme .sidebar,
[data-theme="light"] .sidebar {
    background: linear-gradient(135deg, #e0e6ed 0%, #cfd8dc 100%);
}


