   /* General Styles */
   body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f3f9ff;
    margin: 0px;
    padding: 0px;
    height: 100%;
  }

  :root {
    --primary-color: #0d83fd; /* Default primary color */
    --bg-color: #f3f9ff; /* Default background color (light) */
    --text-color: #333; /* Default text color (dark) */
    --card-bg-color: #fff; /* Default card background */
    --navbar-bg-color: #f8f9fa; /* Default navbar background */
    --footer-bg-color: #2c3e50; /* Default footer background */
    --footer-text-color: #fff; /* Default footer text */
  }

  body[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #eee;
    --card-bg-color: #212121;
    --navbar-bg-color: #343a40;
    --footer-bg-color: #1e272e;
    --footer-text-color: #aaa;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 { /* Note: Original CSS had h5 twice, corrected to h6 */
    font-weight: bold;
    color: #2c3e50;
  }

  a {
    color: var(--primary-color);
    text-decoration: none;
  }

  a:hover {
    color: var(--primary-color);
  }

  /* Navigation Bar */
  .navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    background-color: var(--navbar-bg-color);
    transition: background-color 0.3s;
  }

  .navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
    padding-left: 50px;
    color: var(--primary-color) !important;
  }

  .navbar-light .navbar-nav .nav-link {
    color: #555;
    margin-left: 1rem;
  }

  .navbar-light .navbar-nav .nav-link:hover,
  .navbar-light .navbar-nav .nav-link:focus {
    color: var(--primary-color);
  }

  .navbar .navbar-toggler .navbar-toggler-icon {
    padding-right: 50px;
  }

  .navbar-toggler-icon {
    border: none;
    /*  Explicitly remove any border */
    outline: none;
    /* Remove the outline on focus */
  }

  /* Additional rules to target border on specific states (e.g., focus) if needed */
  .navbar-toggler:focus {
    border: none;
    /*Remove from the button*/
    outline: none;
    /* Remove focus outline from the button */
    box-shadow: none;
    /*Remove box-shadow if it exists*/
  }

  .navbar-toggler {
    border: none;
    /* Ensure the button itself has no border */
    outline: none !important;
    /* Important to override browser defaults */
  }

  /* Style for when rounded pill is disabled */
  .navbar.no-rounded-pill {
    border-radius: 0 !important;
    /* Override Bootstrap's rounded-pill */
  }

  .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s ease;
  }

  .btn-primary:hover,
  .btn-primary:focus {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
  }

  /* Hero Section */
  #hero {
    padding: 7rem 0;
    background-color: var(--bg-color);
      transition: background-color 0.3s;

  }

  .hero-section {
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s;
  }

  #hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }

  #hero p {
    font-size: 1.2rem;
    color: #777;
  }

  .hero-subtitle {
    background-color: #e1eefe;
    color: #007bff;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 18px;
  }

  /* Features Section */
  #features {
    padding: 5rem 0;
  }

  #features .nav-tabs .nav-link {
    border: none;
    color: #777;
    padding: 0.75rem 1.5rem;
    transition: color 0.2s ease;
  }

  #features .nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
  }

  #features .tab-content {
    margin-top: 2rem;
  }

  /* Key Features */
  #key-features .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
    background-color: var(--card-bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
  }

  #key-features .card:hover {
    transform: translateY(-5px);
  }

  #key-features .card-body {
    padding: 2rem;
  }

  #key-features .card.key-feature-card-0 {
    background-color: #fff4e2;
  }

  #key-features .card.key-feature-card-1 {
    background-color: #deedfe;
  }

  #key-features .card.key-feature-card-2 {
    background-color: #d5f1e5;
  }

  #key-features .card.key-feature-card-3 {
    background-color: #fdefed;
  }

  /* Call to Action */
  #cta {
    background-color: var(--primary-color);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
  }

  #cta h2 {
    font-size: 2.75rem;
  }

  /* Testimonials */
  #testimonials {
    padding: 5rem 0;
    background-color: var(--bg-color);
    transition: background-color 0.3s;
  }

  #testimonials .card {
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding-top: 20px;
      background-color: var(--card-bg-color);
    color: var(--text-color);
      transition: background-color 0.3s, color 0.3s;
  }

  #testimonials .card-body {
    text-align: left;
  }

  #testimonials .card-img-top {
    width: 75px;
    border-radius: 50%;
    margin: 0 auto 1rem;
  }

  #testimonials .star-rating i {
    color: #f39c12;
  }

  /* Stats Section */
  #stats {
    padding: 4rem 0;
      background-color: var(--bg-color);
        transition: background-color 0.3s;
  }

  #stats .display-4 {
    font-size: 3.5rem;
    color: var(--primary-color);
  }

  /* Services Section */
  #services {
    padding: 5rem 0;
  }

  #services i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
  }

  #services a {
    font-weight: bold;
  }

  .services-subtext {
    padding-bottom: 20px;
  }

  /* Pricing Section */
  #pricing {
    padding: 5rem 0;
    background-color: var(--bg-color);
      transition: background-color 0.3s;
  }

  #pricing .card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    transition: transform 0.2s ease-in-out, background-color 0.3s, color 0.3s; /* Combined transitions */
    background-color: var(--card-bg-color);
    color: var(--text-color);
  }

  #pricing .card:hover {
    transform: translateY(-5px);
  }

  #pricing .card-title {
    font-size: 1.75rem;
    font-weight: bold;
  }

  #pricing .card-text.price {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
  }

  #pricing .badge-success {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #2ecc71;
  }

  #pricing ul.list-unstyled li i {
    color: #2ecc71;
  }

  /* FAQ Section */
  #faq {
    padding: 5rem 0;
  }

  #faq .card {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 1rem;
    background-color: var(--card-bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
  }

  #faq .card-header button {
    color: #333; /* Will be overridden by var(--text-color) if body[data-theme="dark"] is active */
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: left;
    padding: 1rem;
    font-weight: 500;
  }
  body[data-theme="dark"] #faq .card-header button { /* Ensure button text color changes in dark mode */
      color: var(--text-color);
  }


  #faq .card-header button:hover {
    color: var(--primary-color);
  }

  /* Footer */
  footer {
    background-color: var(--footer-bg-color);
    color: var(--footer-text-color);
    transition: background-color 0.3s, color 0.3s, opacity 0.8s ease-out, transform 0.8s ease-out; /* Combined transitions */
    padding: 3rem 0;
    opacity: 0;
    transform: translateY(30px);
  }

  footer a {
    color: var(--primary-color);
  }

  footer a:hover {
    color: var(--footer-text-color); /* Ensuring hover in footer maintains visibility */
    opacity: 0.8;
  }
  body[data-theme="dark"] footer a:hover {
      color: #fff; /* Brighter hover for dark mode footer links */
  }


  .award-block {
    /* Light grey border */
    border-radius: 10px;
    /* Rounded corners */
    padding: 15px;
    /* Add some padding around the content */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
    background-color: #fff;
    /*  background */
  }

  /*New CSS for about */
  .about-image-container {
    position: relative;
    /* Make this the positioning context */
  }

  .about-image-container img {
    border-radius: 10px;
    /*Optional, matches the screenshots */
  }

  .experience-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: var(--primary-color);
    /* Match the blue color */
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Add a shadow for depth */
    text-align: center;
  }

  /* CTA Section Styling (duplicate #cta found, merging sensible parts if needed or keeping distinct) */
  /* The earlier #cta rule is more general for primary color background. This one seems for a specific component */
  #cta .cta-content { /* Scoping this to .cta-content to avoid conflicts */
    padding: 30px;
    /* Add some padding around the text */
    border-radius: 15px;
    /* Add the border radius */
  }

  #cta h2 { /* Already styled, this might be an override for a specific CTA variation */
    font-size: 2.5rem; /* This is smaller than the global #cta h2 */
    margin-bottom: 1rem;
  }

  #cta p { /* Already styled, this might be an override */
    font-size: 1.2rem;
  }

  /* Company Logos Carousel Styling */
  #company-logos {
    /* Optional: Add any specific styling for the background, etc. */
  }

  #company-logos .carousel-inner {
    /* Optional: Adjust the height or other properties of the carousel */
  }

  #company-logos .logo-group {
    display: flex;
    /* Use flexbox for horizontal layout */
    justify-content: space-around;
    /* Distribute logos evenly */
    align-items: center;
    /* Vertically align logos */
    padding: 15px;
    /* Add padding around the logos */
  }

  #company-logos img {
    max-width: 100px;
    /* Adjust logo size */
    max-height: 50px;
    opacity: 0.6;
    /* Adjust logo transparency */
    transition: opacity 0.3s ease;
    /* Smooth transition */
  }

  #company-logos img:hover {
    opacity: 1;
  }

  /* Service Box Styling */
  .service-box {
    border: 1px solid #ddd;
    /* Light grey border */
    border-radius: 10px;
    /* Rounded corners */
    padding: 20px;
    /* Add padding inside the box */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
    margin-bottom: 20px;
    /* Add margin between service boxes */
    transition: all 0.3s ease; /* Added from later animation styles */
  }
  .service-box:hover { /* Added from later animation styles */
    transform: translateY(-8px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.12);
  }


  .section-title-line {
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0.5rem auto;
  }

  .nav-pills .nav-link.active {
    background-color: var(--primary-color);
    /* Or your theme's primary color */
    color: white !important; /* Ensure text is white */
  }

  .nav-pills .nav-link {
    color: var(--primary-color);
    border-radius: 30px;
    /* Or your theme's primary color */
    transition: all 0.3s ease; /* Added from later animation styles */
  }
  #features .nav-pills .nav-link:hover { /* Added from later animation styles, scoped to #features */
    transform: scale(1.05);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }


  .card .btn {
    text-align: center;
    /* Center the text within the button */
    display: block;
    /* Make it a block-level element to span the width */
    width: 100%;
    /* Occupy the full width */
    border-radius: 25px;
  }

  .card .btn .fa {
    margin-left: 5px;
    /* Adjust the spacing of the icon if needed */
  }

  .icon-box {
    background-color: #e6f1fe;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-bottom: 50px;
    margin-right: 20px;
    border-radius: 10px;
  }

  .footer-text {
    color: var(--footer-text-color); /* Use CSS variable */
  }
  body[data-theme="dark"] .footer-text {
    color: var(--footer-text-color); /* Ensure dark mode footer text uses variable */
  }


  #logoCarousel {
    margin-top: 50px;
    margin-bottom: 20px;
  }

  #logoCarousel .carousel-item {
    display: flex;
    /* Use flexbox to display multiple logos */
    justify-content: center; /* Center logos if they don't fill the space */
    align-items: center;
  }

  #logoCarousel .carousel-item img {
    width: auto;
    /* Let the images have their natural width */
    max-height: 80px;
    /* Set a maximum height */
    object-fit: contain;
    /* Ensure the entire logo is visible */
    margin: 0 10px;
    /* Add some horizontal spacing */
  }

  /*Hide the controls*/
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

  #backToTopBtn {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed position on the screen */
    bottom: 20px;
    /* Distance from the bottom */
    right: 30px;
    /* Distance from the right */
    z-index: 99;
    /* Make sure it's on top of other elements */
    border: none;
    /* Remove default button borders */
    outline: none;
    /* Remove default focus outline */
    background-color: var(--primary-color);
    /* Use primary color */
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 100%;
    font-size: 18px;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease; /* Added from later definition */
  }

  #backToTopBtn:hover {
    background-color: var(--primary-color); /* Using var for consistency, maybe darken it slightly if desired */
    opacity: 0.8; /* Example: slightly darker on hover */
  }

  .sam {
    color: #000 !important;
  }

  .sam:hover {
    color: #007bff !important;
  }

  /* Media Queries for Responsiveness */

  /* Small devices (landscape phones, 576px and up) */
  @media (min-width: 576px) {
    .award-block .col-md-3 { /* This implies award-block is a row, children are col-md-3 */
      flex: 0 0 50%;
      /* Occupy 50% width */
      max-width: 50%;
    }
  }

  /* Medium devices (tablets, 768px and up) */
  @media (min-width: 768px) {
    #hero h1 {
      font-size: 3rem;
    }

    .award-block .col-md-3 {
      flex: 0 0 25%;
      /* Occupy 25% width */
      max-width: 25%;
    }

    /* #hero h1 is defined again, keeping the larger one from earlier for consistency */
    /* font-size: 3.5rem; */

    #key-features .col-md-3 { /* This implies key-features is a row */
      flex: 0 0 50%;
      max-width: 50%;
    }

    #features .nav-pills .nav-link { /* This selector is also used for animations later */
      font-size: 0.9rem;
      /* Adjust as needed */
      padding: 0.5rem 0.75rem;
      /* Adjust padding */
    }
  }

  /* Large devices (desktops, 992px and up) */
  @media (min-width: 992px) {
    #key-features .col-md-3 {
      flex: 0 0 25%;
      max-width: 25%;
    }

    #contact .contact-info { /* This style is also animated later */
      margin-bottom: 0;
    }
  }

  /* Extra large devices (large desktops, 1200px and up) */
  @media (min-width: 1200px) {
  }

  /* Custom Media Queries */

  /* Adjustments for smaller screens */
  @media (max-width: 767px) {
    #hero {
      padding: 3rem 0;
    }

    #hero h1 {
      font-size: 2.5rem;
    }

    .navbar-brand {
      font-size: 1.5rem;
      padding-left: 20px; /* Reduce padding for smaller screens */
    }
    .navbar .navbar-toggler .navbar-toggler-icon {
        padding-right: 20px; /* Reduce padding for smaller screens */
    }

    .navbar-nav {
      text-align: center;
    }

    .navbar-nav .nav-item {
      margin: 0.5rem 0;
    }

    #logoCarousel .carousel-item { /* Copied from the global rules for this MQ */
      display: block;
      /* Stack logos on smaller screens */
    }

    #logoCarousel .carousel-item img { /* Copied from the global rules for this MQ */
      width: 50%;
      /* Make each logo take up half the width on smaller screens */
      margin: 10px auto;
      /* Center the logos horizontally */
      display: block;
      /*Ensure the images are block level*/
    }
  }

  @media (max-width: 575px) {
    #hero {
      padding: 2rem 0;
    }

    #hero h1 {
      font-size: 2rem;
    }

    #cta h2 {
      font-size: 2rem;
      /* Smaller heading */
    }

    #cta p {
      font-size: 1rem;
      /* Slightly smaller text */
    }

    .btn-lg {
      font-size: 1rem;
      /* Smaller buttons */
      padding: 0.75rem 1.5rem;
    }
  }

  /* Hero Section - Subtle Fade In */
  #hero section .container { /* This targets a <section> inside #hero, ensure HTML structure matches */
    opacity: 0;
    transform: translateY(20px);
    /* Move down slightly */
    transition: all 0.6s ease-out;
  }

  #hero section.active .container {
    opacity: 1;
    transform: translateY(0);
  }

  /* Hero Button - Hover effect */
  #hero section .btn-primary:hover { /* Also targets <section> inside #hero */
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  #hero section small { /* Targets <small> inside <section> inside #hero */
    /*Subtitle*/
    animation: pulseSubtitle 2s infinite alternate;
    /* Make sure to add this class on the element*/
  }

  /*Animation declaration*/
  @keyframes pulseSubtitle {
    from {
      transform: scale(1);
    }

    to {
      transform: scale(1.05);
    }
  }

  /* About Section - Slide In */
  #about .row {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.7s ease-out;
  }

  #about.active .row {
    opacity: 1;
    transform: translateX(0);
  }

  #features .tab-content .tab-pane {
    animation: fadeIn 0.5s ease-in-out;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  #testimonials .card { /* Already has transitions, this adds opacity/transform specific ones */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease-out, background-color 0.3s, color 0.3s; /* Combined */
  }

  #testimonials .card.active { /* For animation trigger */
    opacity: 1;
    transform: translateY(0);
  }

  #testimonials .card:hover {
    transform: translateY(-5px); /* Already defined, this one might be preferred if later */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  }

  /* Contact Section form control focus */
  #contact .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 131, 253, 0.25);
    transform: scale(1.02);
    transition: all 0.2s ease;
  }

  /*Contact info in sidebar*/
  #contact .contact-info { /* Earlier defined margin-bottom for >=992px */
    transform: translateX(-100px);
    opacity: 0;
    transition: all 0.6s ease-out, background-color 0.3s, color 0.3s; /* Combined */
    background-color: var(--primary-color);
    color: white;
    border-radius:20px;
    padding:40px;
  }

  #contact.active .contact-info {
    transform: translateX(0px);
    opacity: 1;
  }

  footer.active {
    opacity: 1;
    transform: translateY(0);
  }

  /* === SIDE PANEL STYLES - MODIFIED === */
  .side-panel {
    height: 50%;
    /* Half-height */
    width: 0;
    /* Start hidden */
    position: fixed;
    /* Stay in place */
    z-index: 1000;
    /* Sit on top */
    top: 50%;
    /* Position from the top */
    left: 0;
    transform: translateY(-50%);
    /* Vertically center the panel */
    background-color: #fff; /* CHANGED: White background */
    overflow-x: hidden;
    /* Disable horizontal scroll */
    padding-top: 20px;
    /* Space for content */
    transition: 0.5s;
    /* Smooth transition */
    box-shadow: 0 0 15px rgba(0,0,0,0.1); /* Optional: adds a subtle shadow */
  }

  .side-panel a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #555; /* CHANGED: Darker gray for readability on white */
    display: block;
    transition: 0.3s;
  }

  .side-panel a:hover {
    color: var(--primary-color); /* CHANGED: Use primary color for hover */
  }

  .side-panel .close-button {
    position: absolute;
    top: 5px;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    color: #333; /* CHANGED: Dark color for visibility */
  }
  .side-panel .close-button:hover {
    color: var(--primary-color); /* Hover color for close button */
  }


  #sidePanelToggleButton { /* This rule was defined twice, merging/choosing one */
    background-color: black;
    border: none;
    color: white;
    padding: 15px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 1001;
    position: fixed;
    /* top: 50%; Original, changed to top: 20px later. Keeping 20px as it was the last one. */
    top: 20px; /* As per the last definition */
    left: 20px;
    transform: translateY(-50%); /* This only makes sense if top is 50%. For top: 20px, it pushes it up. */
                               /* If top: 20px is desired, translateY is not needed or should be adjusted. */
                               /* Assuming the intent is top edge 20px from viewport top, removing transform. */
    /* transform: translateY(-50%); */ /* Removing this, as top: 20px fixed it */
  }

  /* Media query to adjust close button position for smaller screens */
  @media screen and (max-height: 450px) {
    .side-panel {
      padding-top: 15px;
    }

    .side-panel a {
      font-size: 18px;
    }

    .side-panel .close-button {
      font-size: 25px;
      top: 5px;
      right: 10px;
    }
  }

  /* Styling for heading in color options or theme toggle */
  .color-options h3,
  .theme-toggle h3 {
    color: #333; /* CHANGED: Dark text for white background */
    margin-bottom: 10px;
    font-size: 1.2em;
  }

  .color-options {
    padding: 15px;
    color: #333; /* CHANGED: Default text color for this section */
  }

  /* Color Circle Styling - MODIFIED */
  .color-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: 5px;
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent; /* For layout consistency */
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
  }

  /* Set background colors for each circle */
  .color-circle[data-color="#0d83fd"] { background-color: #0d83fd; }
  .color-circle[data-color="#28a745"] { background-color: #28a745; }
  .color-circle[data-color="#dc3545"] { background-color: #dc3545; }

  /* Hover effect - highlight with a shadow of its own color */
  .color-circle[data-color="#0d83fd"]:hover { box-shadow: 0 0 6px 2px rgba(13, 131, 253, 0.7); }
  .color-circle[data-color="#28a745"]:hover { box-shadow: 0 0 6px 2px rgba(40, 167, 69, 0.7); }
  .color-circle[data-color="#dc3545"]:hover { box-shadow: 0 0 6px 2px rgba(220, 53, 69, 0.7); }

  /* Selected state - highlight with its own color */
  .color-circle[data-color="#0d83fd"].selected {
    border-color: #0d83fd;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0d83fd;
  }
  .color-circle[data-color="#28a745"].selected {
    border-color: #28a745;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #28a745;
  }
  .color-circle[data-color="#dc3545"].selected {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #dc3545;
  }
  /* === END OF SIDE PANEL MODIFICATIONS === */

  .text-primary {
    color: var(--primary-color) !important;
  }

  body { /* Body transitions for theme switch */
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
  }

  /* Theme Toggle */
  .theme-toggle {
    padding: 15px;
    color: #333; /* CHANGED: Default text color for this section on white panel */
  }

  /* The switch - the box around the slider */
  .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }

  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  /* The slider - the moving part */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
  }

  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
  }

  input:checked + .slider {
    background-color: var(--primary-color); /* Use primary color for checked state */
  }

  input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-color); /* Use primary color for focus */
  }

  input:checked + .slider:before {
    transform: translateX(26px);
  }

  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }

  .slider.round:before {
    border-radius: 50%;
  }