/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: #333;
  background-color: #f9f9f9;
  line-height: 1.6;
}


/* ===== Global ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

   ul {
      list-style-type: disc;
    }

.hero p {
  color: #fff;
}


h1, h2, h3, h4 {
  margin-bottom: 0.5em;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: medium;}

p {
  margin-bottom: 1em;
  color: #555;
}

/* ===== Header ===== */
header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #007bff;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

header nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
header nav ul li a:hover {
  color: #007bff;
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
              url('/images/hero.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}
.hero h1 {
  font-size: 3rem;
}
.hero p {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* ===== Sections ===== */
section {
  padding: 60px 0;
}
section:nth-child(even) {
  background-color: #fff;
}
section:nth-child(odd) {
  background-color: #f1f1f1;
}

/* ===== Service Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.2s ease-in-out;
}
.card:hover {
  transform: translateY(-5px);
}
.card h3 {
  color: #007bff;
  margin-bottom: 10px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s ease-in-out;
}
.btn:hover {
  background: #0056b3;
}

/* ===== Testimonials ===== */
.testimonials {
  text-align: center;
}
.testimonial {
  max-width: 600px;
  margin: 20px auto;
  font-style: italic;
}
.testimonial-author {
  margin-top: 10px;
  font-weight: bold;
}

/* ===== Portfolio ===== */
.portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.portfolio-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.portfolio-item h4 {
  margin-top: 10px;
}

/* ===== Footer ===== */
footer {
  background: #333;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}
footer a {
  color: #bbb;
  text-decoration: none;
}
footer a:hover {
  color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  header nav ul {
    flex-direction: column;
    gap: 10px;
  }
  .hero {
    padding: 60px 20px;
  }
  h1 {
    font-size: 2rem;
  }
}
