/*-----------------------------------
  Base & Reset
-----------------------------------*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Arial', sans-serif;
  background-color: #121212;
  color: #e0e0e0;
  line-height: 1.6;
}

/*-----------------------------------
  Utility & Helpers
-----------------------------------*/
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 0;
}
.text-center {
  text-align: center;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #007acc;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.2s ease;
}
.btn:hover {
  background-color: #005fa3;
}

/*-----------------------------------
  Navigation
-----------------------------------*/
header {
  background-color: #000;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}
nav .logo {
  margin-left: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}
nav ul {
  display: flex;
  list-style: none;
  margin-right: 1rem;
}
nav ul li {
  margin-left: 1.5rem;
}
nav ul li a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 500;
}
nav ul li a:hover {
  color: #00cc99;
}

/* Mobile nav toggle */
.mobile-toggle {
  display: none;
  margin-right: 1rem;
  font-size: 1.25rem;
  color: #e0e0e0;
  cursor: pointer;
}

/*-----------------------------------
  Hero Section
-----------------------------------*/
section {
  /* so anchors stop just below the fixed header */
  scroll-margin-top: 60px;
}
#hero {
  background: url('https://www.transparenttextures.com/patterns/circuit-board.png') repeat;
  background-color: #1a1a1a;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
#hero .container {
  text-align: center;
}
#hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
#hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/*-----------------------------------
  Services Section
-----------------------------------*/
#services {
  background-color: #121212;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.service-item {
  background-color: #1f1f1f;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}
.service-item img {
  width: 60px;
  margin-bottom: 1rem;
}
.service-item h3 {
  margin-bottom: 0.75rem;
  color: #00cc99;
}

/*-----------------------------------
  About Section
-----------------------------------*/
#about {
  background-color: #181818;
}
#about .team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.team-member {
  text-align: center;
}
.team-member img {
  width: 100%;
  max-width: 150px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

/*-----------------------------------
  Case Studies Section
-----------------------------------*/
#cases {
  background-color: #121212;
}
.case-item {
  background-color: #1f1f1f;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}
.case-item h4 {
  color: #00cc99;
  margin-bottom: 0.5rem;
}
.case-item p {
  font-size: 0.95rem;
}

/*-----------------------------------
  Blog Section
-----------------------------------*/
#blog {
  background-color: #181818;
}
.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.blog-post {
  background-color: #1f1f1f;
  padding: 1.5rem;
  border-radius: 8px;
}
/* Blog tip list */
.tip-list {
  list-style-type: disc;
  margin: 1rem 0 0 1.5rem;
  padding: 0;
}
.tip-list li {
  margin-bottom: 1rem;
  line-height: 1.5;
}

.blog-post h5 {
  margin-bottom: 0.5rem;
}
.blog-post p {
  font-size: 0.9rem;
}

/*-----------------------------------
  Contact Section
-----------------------------------*/
#contact {
  background-color: #121212;
}
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 4px;
  background-color: #1f1f1f;
  color: #e0e0e0;
}
.contact-form button {
  width: 100%;
}
/* Blog tip list */
.tip-list {
  list-style-type: disc;
  margin: 1rem 0 0 1.5rem;
  padding: 0;
}
.tip-list li {
  margin-bottom: 1rem;
  line-height: 1.5;
}

/*-----------------------------------
  Footer
-----------------------------------*/
footer.site-footer {
  background-color: #000;
  padding: 2rem 0;
}
footer.site-footer .socials a {
  margin: 0 0.5rem;
  color: #e0e0e0;
  font-size: 1.25rem;
  text-decoration: none;
}

/*-----------------------------------
  Responsive
-----------------------------------*/
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background-color: #000;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
  }
  nav ul.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
}