body {
  font-family: 'Open Sans', Arial, sans-serif;
  margin: 0;
  background: #f7f8fa;
  color: #222;
}

a {
  color: #0078d7;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #181a1b !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  padding: 0.5rem 0;
  transition: background 0.2s;
}

.logo {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.logo span {
  color: #0074d9;
}

.nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a, .nav-links li a {
  color: #222;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.3em 0.7em;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  display: inline-block;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links li a:hover,
.nav-links li a:focus {
  background: #f0f4fa;
  color: #0074d9;
  outline: none;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero {
  background: linear-gradient(120deg, #0078d7 0%, #00c6fb 100%);
  color: #fff;
  padding: 5rem 0 4rem 0;
  text-align: center;
}

.hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.btn {
  background: #fff;
  color: #0078d7;
  padding: 0.7rem 2rem;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background: #0078d7;
  color: #fff;
}

.about {
  background: #fff;
  padding: 3rem 0;
}

.about-content {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.about-content > div {
  flex: 1 1 300px;
}

.about iframe {
  border-radius: 10px;
  border: 1px solid #eee;
}

.tools {
  padding: 3rem 0;
}

.tools h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 19px;
  margin-bottom: 1rem;
}

.tools p {
  font-size: 15px;
  margin-bottom: 1rem;
  text-align:  center;
  font-family: 'Open Sans', Arial, sans-serif;
}

.tool-list {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.tool-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 1.2rem 2rem;
  font-weight: 600;
  color: #0078d7;
  transition: box-shadow 0.2s, background 0.2s;
  text-align: center;
  min-width: 150px;
}

.tool-card p {
  font-weight: 400;
}

.tool-card:hover {
  background: #0078d7;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,120,215,0.15);
}

.printing {
  background: #f0f4f8;
  padding: 3rem 0;
}

.printing h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.printer-tiles {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.printer-tile {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 1.5rem;
  text-align: center;
  flex: 1 1 220px;
  max-width: 260px;
  transition: box-shadow 0.2s;
}

.printer-tile img {
  width: 100%;
  max-width: 120px;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.printer-tile h3 {
  margin: 0.5rem 0 0.3rem 0;
  font-size: 1.1rem;
  color: #0078d7;
}

.footer {
  background: #23272a;
  color: #e0e0e0;
  padding: 2.5rem 0 0.5rem 0;
  font-size: 1rem;
}

.footer-content {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.footer-logo {
  width: 80px;
  margin-bottom: 1rem;
}

.footer a {
  color: #b3d8ff;
  text-decoration: none;
  transition: color 0.15s;
  word-break: break-all;
}

.footer a:hover,
.footer a:focus {
  color: #fff;
  text-decoration: underline;
  outline: none;
}

.footer-bottom {
  background: #181a1b;
  color: #aaa;
  text-align: center;
  padding: 1.1em 0 0.7em 0;
  font-size: 0.98em;
  border-top: 1px solid #222;
  margin-top: 0;
  letter-spacing: 0.5px;
}

/* Navigation Bar Layout Fixes */
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a, .nav-links li a {
  color: #222;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.3em 0.7em;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  display: inline-block;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links li a:hover,
.nav-links li a:focus {
  background: #f0f4fa;
  color: #0074d9;
  outline: none;
}

/* Hamburger and Dark Mode Toggle Alignment */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  margin-left: 1.5rem;
  width: 28px;
  height: 28px;
  justify-content: center;
  align-items: center;
  align-self: center;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #222;
  border-radius: 2px;
  transition: all 0.2s;
}

/* Responsive Design */
@media (max-width: 900px) {
  .about-content, .footer-content, .printer-tiles, .tool-list {
    flex-direction: column;
    align-items: stretch;
  }
  .printer-tile, .tool-card {
    max-width: 100%;
  }
}

/* Responsive navbar for mobile */
@media (max-width: 900px) {
  .navbar .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    width: 220px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 1rem 0.5rem;
    display: none;
    z-index: 100;
  }
  .nav-links.open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
}

@media (max-width: 700px) {
  .navbar .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    width: 220px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 1rem 0.5rem;
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
}

@media (max-width: 600px) {
  .container {
    width: 98%;
    padding: 0 1vw;
  }
  .hero {
    padding: 3rem 0 2rem 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .about, .tools, .printing {
    padding: 2rem 0;
  }
  .footer-content {
    gap: 1rem;
  }
  .footer-logo {
    width: 60px;
  }
  .about-content > div, .about iframe {
    flex: 1 1 100%;
    min-width: 0;
  }
  .printer-tile {
    padding: 1rem;
  }
  .printer-tile img {
    max-width: 90px;
  }
}

/* Dark mode styles */
.dark-mode {
  background: #181a1b;
  color: #e0e0e0;
}
.dark-mode .navbar {
  background: #181a1b !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.dark-mode .logo {
  color: #fff;
}
.dark-mode .logo span {
  color: #00bfff;
}
.dark-mode .nav-links a {
  color: #e0e0e0;
}
.dark-mode .about,
.dark-mode .tools,
.dark-mode .printing,
.dark-mode .footer {
  background: #23272a;
  color: #e0e0e0;
}
.dark-mode .tool-card,
.dark-mode .printer-tile {
  background: #181a1b;
  color: #e0e0e0;
  border-color: #333;
}
.dark-mode .btn {
  background: #00bfff;
  color: #181a1b;
}
.dark-mode .footer-bottom {
  background: #181a1b;
  color: #aaa;
  text-align: center;
  padding: 1.1em 0 0.7em 0;
  font-size: 0.98em;
  border-top: 1px solid #222;
  margin-top: 0;
  letter-spacing: 0.5px;
}

.certifications {
  background: #f7f7f7;
  padding: 40px 0;
}
.dark-mode .certifications {
  background: #23272a;
  color: #e0e0e0;
}
.cert-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cert-list li {
  margin-bottom: 0.5em;
  font-size: 1.1em;
  display: flex;
  align-items: center;
}
.cert-badge {
  background: #0074d9;
  color: #fff;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.9em;
  margin-right: 10px;
  display: inline-block;
}
.dark-mode .cert-badge {
  background: #00bfff;
  color: #181a1b;
}

.footer {
  background: #23272a;
  color: #e0e0e0;
  padding: 2.5rem 0 0.5rem 0;
  font-size: 1rem;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 1.5rem 1.5rem;
  gap: 2.5rem;
}
.footer-content > div {
  min-width: 220px;
  margin-bottom: 1.5rem;
}
.footer h4 {
  margin-bottom: 0.7em;
  font-size: 1.15em;
  color: #fff;
  letter-spacing: 1px;
}
.footer a {
  color: #b3d8ff;
  text-decoration: none;
  transition: color 0.15s;
  word-break: break-all;
}
.footer a:hover,
.footer a:focus {
  color: #fff;
  text-decoration: underline;
  outline: none;
}
.footer-bottom {
  background: #181a1b;
  color: #aaa;
  text-align: center;
  padding: 1.1em 0 0.7em 0;
  font-size: 0.98em;
  border-top: 1px solid #222;
  margin-top: 0;
  letter-spacing: 0.5px;
}
@media (max-width: 700px) {
  .footer-content {
    flex-direction: column;
    gap: 1.2rem;
    padding: 0 1rem 1.5rem 1rem;
  }
  .footer-content > div {
    min-width: 0;
  }
}