/* ========== GLOBAL RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0d0d0d;
  color: #ececec;
  line-height: 1.7;
}

/* ========== NAVIGATION ========== */
.nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  background: #111;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav a {
  color: #ececec;
  text-decoration: none;
  margin-left: 20px;
  font-size: 16px;
  transition: color 0.2s;
}

.nav a:hover {
  color: #9ad3ff;
}

.nav a.active {
  border-bottom: 2px solid #fff;
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

/* ========== HERO SECTION (UPDATED) ========== */
.hero {
  /* Subtle blue glow */
  background: radial-gradient(circle at 50% 30%, #1a253a 0%, #0d0d0d 60%);
  padding: 140px 24px 80px;
  text-align: center;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 52px;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.hero h2 {
  font-size: 24px;
  opacity: 0.8;
  color: #9ad3ff;
  margin-bottom: 24px;
  font-weight: normal;
}

.hero p {
  font-size: 18px;
  color: #b8b8b8;
  margin-bottom: 32px;
}

/* New Button Styles */
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta {
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  font-size: 16px;
}

.cta.primary {
  background: #ececec;
  color: #0d0d0d;
  border: 1px solid #ececec;
}

.cta.primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,255,255,0.2);
}

.cta.secondary {
  background: transparent;
  color: #ececec;
  border: 1px solid rgba(255,255,255,0.2);
}

.cta.secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.05);
}

/* ========== PAGE CONTAINER ========== */
.page {
  padding: 60px 24px;
  max-width: 1000px;
  margin: auto;
}

.section-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #666;
  margin-bottom: 30px;
  border-bottom: 1px solid #222;
  padding-bottom: 10px;
}

.page h1 {
  font-size: 36px;
  margin-bottom: 30px;
}

/* ========== PROJECT CARD (UPDATED) ========== */
.project-card {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  text-decoration: none;
  color: #ececec;
  transition: transform 0.28s cubic-bezier(.2,.9,.3,1), border-color 0.2s, background 0.2s;
  align-items: center;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.05);
  border-color: #5a7d9a; /* Blue highlight */
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.card-thumb {
  width: 260px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  background: #222;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.05);
}

.card-content h2 {
  margin: 0 0 6px 0;
  font-size: 22px;
}

.card-content p {
  margin: 0 0 12px 0;
  color: #b8b8b8;
  line-height: 1.5;
  max-width: 620px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tags span {
  background: rgba(255,255,255,0.08);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: #ddd;
  font-weight: 500;
}

.view-btn {
  font-weight: 700;
  color: #9ad3ff;
  font-size: 14px;
}

.view-all-link {
  color: #9ad3ff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.view-all-link:hover {
  border-bottom-color: #9ad3ff;
}

/* Small screens */
@media (max-width: 820px) {
  .project-card {
    flex-direction: column;
    align-items: stretch;
  }
  .card-thumb {
    width: 100%;
    height: 200px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero {
    padding: 100px 20px 60px;
  }
}

/* ========== DEDICATED PROJECT PAGES ========== */
.video-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.back-btn {
  display: inline-block;
  margin-top: 30px;
  text-decoration: none;
  color: #9ad3ff;
  font-weight: 600;
}
/* ========== PROJECT DETAIL SPECIFIC ========== */
.project-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 30px;
  margin-bottom: 40px;
}

.stat-item strong {
  display: block;
  color: #9ad3ff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.evidence-box {
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.2);
  padding: 30px;
  text-align: center;
  border-radius: 8px;
  margin: 20px 0 40px;
}

.evidence-label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: #666;
  font-style: italic;
}

.case-study h2 {
  margin-top: 50px;
  color: #fff;
  border-left: 3px solid #9ad3ff;
  padding-left: 15px;
}

.badge-winner {
  background: #ffd700;
  color: #000;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 15px;
  font-size: 14px;
}
/* Add to styles.css */
.media-container {
  width: 100%;
  margin-bottom: 20px;
}

.wide-image {
  width: 100%;
  height: auto;       /* Keeps original horizontal shape */
  border-radius: 8px;
  display: block;
  margin-bottom: 8px;
}

.short-link {
  display: inline-block;
  color: #e0e0e0;     /* Light text */
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px dashed #777; /* Dashed line suggests "something different" */
}

.short-link:hover {
  color: white;
  border-color: white;
}