/* -------------------------------------------------------------------------- */
/* 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;
  padding: 1em 0;
  z-index: 9999;
  overflow-y: auto;
}

.main-content {
  margin-left: 95px;
  padding: 0;
}

@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);
}

/* -------------------------------------------------------------------------- */
/* 3) HEADER & NAV */
/* -------------------------------------------------------------------------- */
/* Fixed header layout */
header {
  position: fixed;
  top: 0;
  left: 85px;
  /* match sidebar width */
  width: calc(100% - 85px);
  padding: 1em;
  background: rgba(0, 0, 0, 0.767);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

body.dark-mode header {
  background: rgba(0, 0, 0, 0.696);
}

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

/* -------------------------------------------------------------------------- */
/* LOGO */
/* -------------------------------------------------------------------------- */

/* Logo container */
.logo {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  white-space: nowrap;
  margin: 4px;
}

/* Logo link styles */
.logo-link {
  display: flex;
  text-decoration: none;
  align-items: center;
  gap: 20px;
}

/* Flex container for icon and text */
.logo-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

/* Logo text container */
.logo-text {
  display: inline-block;
  text-align: left;
}

/* Main heading styling: now uses a solid gold color instead of gradient */
.logo-text h1 {
  font-size: 34px;
  font-weight: bold;
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  color: #FFD700
    /* Solid gold */
}

/* Highlight styling: now a solid silver/gray color instead of gradient */
.logo-text .highlight {
  font-size: 24px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: bold;
  color: #4875ff;
  /* Solid gray */
}

/* Emoji has no background and inherits normal color */
.logo-text .emoji {
  background: none;
  color: inherit;
  font-size: inherit;
  display: inline;
  font-size: 1.5em;
  vertical-align: middle;
}

/* Icon container (unchanged) */
.icon-container {
  background: linear-gradient(45deg, #6a59da, #69ff78);
  border-radius: 15px;
  width: 77px;
  height: 77px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

/* Browser frame (unchanged) */
.browser-frame {
  width: 70px;
  height: 70px;
  background: linear-gradient(#e7e7e7, #ffffff);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
  box-shadow: inset 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Browser header (unchanged) */
.browser-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Browser buttons (unchanged) */
.browser-buttons {
  display: flex;
  gap: 5px;
}

.browser-buttons .button-red {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(255, 0, 0);
}

.browser-buttons .button-yellow {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(255, 255, 1);
}

.browser-buttons .button-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(1, 255, 1);
}

/* Line below buttons (unchanged) */
.browser-line {
  width: 100%;
  height: 2px;
  background: #e0e0e0;
  margin-top: 5px;
}

/* Code symbol container (unchanged) */
.code-symbol {
  font-size: 2em;
  font-weight: bold;
  color: #6a5acd;
  text-align: center;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.1em;
}

/* Each character styling (unchanged) */
.code-char {
  position: relative;
}

/* Slash alignment adjustment (unchanged) */
.code-slash {
  top: 0.1em;
}

/* Responsive scaling for smaller screens (unchanged) */
@media (max-width: 600px) {
  .logo {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-content {
    gap: 10px;
  }

  .icon-container {
    width: 60px;
    height: 60px;
  }

  .browser-frame {
    width: 50px;
    height: 50px;
  }

  .code-symbol {
    font-size: 1.2em;
  }

  .logo-text h1 {
    font-size: 20px;
  }

  .logo-text .highlight {
    font-size: 16px;
  }
}

/* ---------------- Navigation Links & Dropdown ---------------- */
nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 1em;
}

nav ul li {
  position: relative;
}

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

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

/* Dropdown menu hidden by default */
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;
}

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

/* Show dropdown on hover (desktop) */
nav ul li:hover>ul.dropdown {
  display: block;
}

/* Responsive Nav (mobile) */
@media (max-width: 820px) {
  nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    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);
  }
}

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

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

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

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #ffffff;
  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;
}