/* ================= GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #ffffff;
  color: #1f2933;
  line-height: 1.7;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ================= HEADER / NAVBAR ================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;

  background: rgba(10, 26, 47, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  color: #fff;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo h1 {
  font-size: 26px;
  letter-spacing: 2px;
}

.logo span {
  font-size: 12px;
  color: #ff9800;
}

.main-nav ul {
  list-style: none;
  display: flex;
}

.main-nav ul li {
  margin-left: 25px;
}

.main-nav ul li a {
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

.main-nav ul li a.active,
.main-nav ul li a:hover {
  color: #ff9800;
}

/* ================= HERO (FULL START) ================= */
.projects-hero {
  height: 100vh;
  padding-top: 90px;

  background:
    linear-gradient(
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.4)
    ),
    url("images/projects.png") center / cover no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.projects-hero h1 {
  font-size: 46px;
  margin-bottom: 15px;
}

.projects-hero p {
  font-size: 18px;
  max-width: 850px;
  margin: auto;
}

/* ================= INTRO ================= */
.projects-intro {
  padding: 80px 0;
  text-align: center;
}

.projects-intro h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

/* ================= PROJECTS ================= */
.projects-list {
  background: #f4f6f9;
  padding: 90px 0;
}

.projects-list .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  background: #fff;
  padding: 35px;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-8px);
}

.project-card h3 {
  color: #0a1a2f;
  margin-bottom: 12px;
}

.project-card span {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: #ff9800;
}

/* ================= CTA ================= */
.projects-cta {
  background: linear-gradient(to right, #102f5e, #0a1a2f);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.btn-primary {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 34px;
  background: #ff9800;
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
}

.btn-primary:hover {
  background: #e68900;
}

/* ================= FOOTER ================= */
.main-footer {
  background: #0a1a2f;
  color: #ccc;
  padding-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 30px;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .projects-hero h1 {
    font-size: 34px;
  }

  .main-header {
    background: rgba(10, 26, 47, 0.85);
  }

  .main-nav ul {
    flex-wrap: wrap;
  }
}
