
 /* -------------------------------------------------------------------------- */
/* 1) BASIC RESET & GLOBALS (needed for About page) */
/* -------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: sans-serif;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #5f33d9;
  background-color: #111;
  overflow-x: hidden;
}

body.dark-mode {
  background: #11111160;
  color: #fff;
}

/* -------------------------------------------------------------------------- */
/* 2) SIDEBAR & MAIN CONTENT */
/* -------------------------------------------------------------------------- */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 97px;
  height: 100vh;
  background-color: #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1em 0;
  z-index: 9999;
  overflow-y: auto;
}

/* SOCIAL ICONS */
.sidebar .social-icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
}

.sidebar .social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  color: white;
  text-decoration: none;
  /* remove underline */
  transition: transform 0.2s ease;
}

.sidebar .social-icons a:hover {
  transform: scale(1.2);
  /* smooth grow on hover */
}

/* TRUSTPILOT BUTTON */
.sidebar .trustpilot-widget {
  width: 80px !important;
  margin-top: auto;
  /* pushes to bottom */
  align-self: center;
  overflow: hidden;
  transition: transform 0.2s ease;
  /* same hover animation */
}

.sidebar .trustpilot-widget:hover {
  transform: scale(1.5);
}

/* MAIN CONTENT */
.main-content {
  margin-left: 97px;
  padding: 0;
}

/* MOBILE */
@media (max-width: 820px) {
  .sidebar {
    display: none;
  }

  .main-content {
    margin-left: 0;
  }
}

/* -------------------------------------------------------------------------- */
/* 13) DARK MODE TOGGLE (SETTINGS PANEL) */
/* -------------------------------------------------------------------------- */
.settings-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #333333;
  padding: 0.5em;
  margin-bottom: 2em;
  border-radius: 5px;
  width: 90%;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  margin-right: 0.5em;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #aaa;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  content: "";
  position: absolute;
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 4px;
  background-color: #fff;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: #74e885;
}

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

.toggle-label {
  color: #fff;
  font-size: 0.9em;
}

/* -------------------------------------------------------------------------- */
/* 14) SOCIAL ICONS IN SIDEBAR */
/* -------------------------------------------------------------------------- */
.social-icons {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2.5em;
  margin-bottom: 1em;
}

.social-icons a i {
  font-size: 2rem;
  color: inherit;
  transition: transform 0.3s;
}

.social-icons a.facebook {
  color: #1877f2;
}

.social-icons a.x {
  color: #ffffff;
}

.social-icons a.youtube {
  color: #ff0000;
}

.social-icons a.email {
  color: #ade5ff;
}

.google img {
  transition: transform 0.3s ease-in-out;
}

.google img:hover {
  transform: scale(1.5);
}

.social-icons a.phone {
  color: #34a853;
  /* Google green for a clean look */
}


/* Hover Effect for All Icons */
.social-icons a:hover i {
  transform: scale(1.5);
}


/* ========================================================================== */
/* HEADER */
/* ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 95px;
    width: calc(100% - 95px);
    height: 95px; /* Set a fixed height */
    background: #9eb4a1;
    display: flex;
    justify-content: space-around;
    align-items: center;
    overflow: visible; /* Allow logo to stick out */
    z-index: 1000;
  }
  
  .logo {
    position: relative;
    height: 45px; /* same as your header height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible; /* allows tall image to stick out */
  }
  
  .logo-img {
    height: 110px; /* or whatever size you want */
    margin-top: -5px; /* adjust to center it visually */
  }
  
  
  
  body.dark-mode header {
    background: rgba(0, 0, 0, 0.6);
}


@media (max-width: 820px) {
    header {
        left: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .logo-img {
      height: 90px; /* Smaller logo on tablets and phones */
      margin-top: -10px; /* Adjust for visual centering */
    }
  
    .logo {
      height: 60px; /* Match the smaller logo height */
    }
  }
  
  @media (max-width: 480px) {
    .logo-img {
      height: 90px; /* Even smaller for very small screens */
      margin-top: -6px;
    }
  
    .logo {
      height: 90px;
    }
  }
  
/* ========================================================================== */
/* NAVIGATION & DROPDOWNS */
/* ========================================================================== */
nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 1em;
}

nav ul li a {
    color: #34b121;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    padding: 0.5em;
}

nav ul li a:hover {
    text-decoration: underline;
}

nav ul li {
    position: relative;
}

nav ul li ul.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: -25px;
    background: rgba(0, 0, 0, 0.9);
    list-style: none;
    padding: 0.5em 0;
    border-radius: 5px;
    z-index: 10;
}

nav ul li ul.dropdown li {
    padding: 0.5em 0.5em;
}

nav ul li ul.dropdown li a {
    border-radius: 5px;
    padding: 0.5em;
    color: #fff;
    display: block;
    text-decoration: none;
}

nav ul li ul.dropdown li a:hover {
    background: #11891d;
}

nav ul li:hover>ul.dropdown {
    display: block;
}

@media (max-width: 820px) {
    nav {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5em;
        padding: 4em;
        margin: 1em;
        align-items: flex-start;
    }

    nav ul li ul.dropdown {
        position: static;
        display: none;
    }

    nav ul li ul.dropdown.show {
        display: block;
    }

    nav.show {
        transform: translateY(0);
    }
}

body.dark-mode nav ul li a {
    color: #aefca4;
}

body.dark-mode nav ul li a:hover {
    color: #74e885;
    text-decoration: none;
}

body.dark-mode nav ul li ul.dropdown {
    background: rgbargb(19, 152, 9);
}

body.dark-mode nav ul li ul.dropdown li a:hover {
    background: #74e885;
    color: #000;
}

/* ========================================================================== */
/* HAMBURGER MENU */
/* ========================================================================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 5;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 820px) {
    .hamburger {
        display: flex;
    }
}



/* -------------------------------------------------------------------------- */
/* 8) “CONTACT” BUTTON (BOTTOM-RIGHT) */
/* -------------------------------------------------------------------------- */
.button0 {
  position: fixed;
  bottom: 5%;
  right: 5%;
  z-index: 100000;
}

#button1 {
  text-decoration: none;
  background-color: #74e885;
  border: 2px solid rgb(22, 124, 10);
  border-radius: 9px;
  font-size: 30px;
  padding: 0 1em;
  color: #ad3aff;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  transition: all 0.25s;
}

#button1:hover {
  background-color: #9bf5a8;
  color: #9500ff;
  box-shadow: 0 0.5em 0.5em -0.4em rgb(119, 218, 108);
  transform: translateY(-0.20em);
  cursor: pointer;
}

@media (max-width: 820px) {
  #button1 {
    font-size: 17px;
    padding: 0.2em;
  }
}



/* ========================================================================== */
/* FOOTER */
/* ========================================================================== */
footer {
  background: #001402fd;
  color: #aaa;
  padding: 4em;
  width: 100%;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body.dark-mode footer {
  background: #000;
  color: #fff;
}

.footer-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  flex-direction: column;
}

.contact-info p {
  margin: 1.5em 0;
  font-size: 1.3em;
}

.contact-info a {
  color: #aaa;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  padding: 0.3em 0.5em;
}

.contact-info a:hover {
  color: #fff;
}

.footer-center {
  display: flex;
  flex-direction: column;
}

.footer-links ul {
  list-style: none;
  gap: 0.5em;
  padding: 0;
  margin: 0 0 1em;
}

.footer-links ul li a {
  color: #aaa;
  text-decoration: none;
  font-size: 1.3em;
  transition: color 0.3s;
  padding: 0.3em 0.5em;
  display: inline-block;
}

.footer-links ul li a:hover {
  color: #fff;
  transform: scale(1.1);
}

.footer-right {
  display: flex;
  flex-direction: column;
}

.social-media ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-media ul li a {
  color: #aaa;
  text-decoration: none;
  font-size: 1.7em;
  transition: color 0.3s, transform 0.3s;
  padding: 0.7em 0.3em;
  display: inline-block;
}

.social-media ul li a:hover {
  color: #fff;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 2em;
  font-size: 0.9em;
  color: #aaa;
}

body.dark-mode .footer-links ul li a,
body.dark-mode .contact-info a,
body.dark-mode .social-media ul li a {
  color: #fff;
}

body.dark-mode .footer-links ul li a:hover,
body.dark-mode .contact-info a:hover,
body.dark-mode .social-media ul li a:hover {
  color: #74e885;
}

@media (max-width: 820px) {
  footer {
    padding: 2em;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    align-items: center;
  }

  .footer-links ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.1em;
    justify-content: center;
  }

  .social-media ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5em;
    margin-top: 0;
  }

  .social-media ul li a {
    font-size: 0.9em;
  }
}



/* Dark container & divider for dark mode usage */
.dark-container {
  background-color: #111;
}

.dark-divider {
  display: none;
}

/* Only visible in dark mode */
body.dark-mode .dark-divider {
  display: block;
  width: 70%;
  margin: 0 auto;
  color: #111;
  border: none;
  height: 1px;
  background-color: #4e4e4e;
}
                            <li>
                                <a href="https://facebook.com/MillerWebSolutions2025" target="_blank"
                                    rel="noopener noreferrer">Facebook</a>
                            </li>
                            <li>
                                <a href="https://x.com/miller_web26311" target="_blank"
                                    rel="noopener noreferrer">Twitter/X</a>
                            </li>
                            <li>
                                <a href="https://www.youtube.com/@MillerWebSolutions" target="_blank"
                                    rel="noopener noreferrer">YouTube</a>
                            </li>
                            <li>
                                <a href="mailto:sales@millerwebsolutions.com" target="_blank"
                                    rel="noopener noreferrer">Email</a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
            <!-- Footer Bottom -->
            <div class="footer-bottom">
                <p>&copy; 2025 Miller Web Solutions. All rights reserved.</p>
            </div>
        </footer>