/* ── DOWNLOADS PAGE SPECIFIC STYLES ── */

:root {
  --navy: #003152;
  --teal: #3da58a;
  --green: #27ae60;
  --gold: #f2994a;
  --light-gray: #f8f9fa;
  --border-gray: #eef2f5;
  --text: #333333;
  --muted: #666666;
  --white: #ffffff;
  --amber-bg: #fef3e2;
  --green-light-bg: #e8f5ee;
}

h1, h2, h3, h4, .logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ── HERO BANNER ─────────────────────────────── */
.hero-banner {
  position: relative;
  height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 80px;
}

.hero-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(rgba(0,49,82,0.4), rgba(0,49,82,0.4)), url('../assets/hero_downloads_bg.png') center/cover;
  z-index: 1;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,49,82,0.8) 0%, transparent 100%);
  z-index: 2;
}

.hero-banner-body {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

.hero-label-badge {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.hero-banner-body h1 {
  font-size: 4.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.hero-banner-body p {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 600px;
}

/* ── FILTER TABS ─────────────────────────────── */
.filter-tabs {
  display: flex;
  gap: 32px;
  padding: 0 80px;
  border-bottom: 1px solid var(--border-gray);
  background: #fff;
}

.tab {
  padding: 24px 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
}

.tab.active {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.tab:hover {
  color: var(--navy);
}

/* ── SECTION WRAPPER ─────────────────────────── */
.section {
  padding: 80px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-gray);
  display: inline-block;
}

/* ── ANNUAL REPORTS ─────────────────────────── */
.annual-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.report-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.report-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.rc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.rc-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #e8f5ee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rc-tag {
  background: var(--light-gray);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid var(--border-gray);
}

.rc-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.rc-desc {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 32px;
  flex-grow: 1;
}

.btn-dl {
  background: var(--navy);
  color: #fff;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 800;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.btn-dl:hover {
  background: #002540;
}

.btn-dl svg {
  width: 18px;
  height: 18px;
}

/* ── TECHNICAL GUIDELINES ────────────────────── */
.tech-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}

.tech-master {
  background: linear-gradient(rgba(0,49,82,0.8), rgba(0,49,82,0.8)), url('../assets/hero_contact_bg_1775766802367.png') center/cover;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  padding: 60px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.tm-label {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #3da58a;
  margin-bottom: 16px;
}

.tm-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.tm-desc {
  color: #fff;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 500px;
}

.tm-btns {
  display: flex;
  gap: 16px;
}

.btn-white {
  background: #fff;
  color: var(--navy);
  border: none;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: 4px;
  cursor: pointer;
}

.tech-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tech-card {
  border-radius: 12px;
  padding: 40px;
  flex: 1;
}

.tech-card.amber {
  background: var(--amber-bg);
}

.tech-card.green-light {
  background: var(--green-light-bg);
}

.tc-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.tc-icon.amber-i {
  background: #fde8c0;
}

.tc-icon.green-i {
  background: #c8ecd8;
}

.tc-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.tc-desc {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.tc-link {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tc-link:hover { text-decoration: underline; }

/* ── PUBLIC NOTICES & FORMS ──────────────────── */
.notices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.notices-box {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 40px;
}

.nb-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.notice-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-gray);
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-date {
  flex-shrink: 0;
  background: var(--white);
  border-radius: 6px;
  padding: 8px 12px;
  text-align: center;
  min-width: 60px;
  border: 1px solid var(--border-gray);
}

.nd-month {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
}

.nd-day {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.notice-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.4;
}

.notice-ref {
  font-size: 0.8rem;
  color: var(--muted);
}

.form-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 12px;
  border: 1px solid var(--border-gray);
}

.fi-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fi-icon {
  color: var(--navy);
}

.fi-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.fi-dl {
  color: var(--navy);
}

/* ── STAY INFORMED BANNER ────────────────────── */
.stay-banner {
  margin: 0 80px 80px;
  background: var(--navy);
  border-radius: 12px;
  padding: 80px;
  text-align: center;
}

.stay-banner h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.stay-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 40px;
}

.email-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}

.email-input {
  flex: 1;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 16px 24px;
  font-size: 1rem;
  border-radius: 6px;
  outline: none;
}

.email-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.btn-subscribe {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 6px;
  cursor: pointer;
}

.btn-subscribe:hover {
  background: #249b56;
}

/* ── RESPONSIVE DOWNLOADS ────────────────────── */
@media (max-width: 1024px) {
  .hero-banner {
    padding: 0 40px;
    height: 300px;
  }

  .hero-banner-body h1 {
    font-size: 3rem;
  }

  .filter-tabs {
    padding: 0 40px;
    gap: 20px;
  }

  .section {
    padding: 60px 40px;
  }

  .annual-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .tech-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stay-banner {
    margin: 0 40px 60px;
    padding: 60px 40px;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    padding: 0 20px;
    height: 250px;
    text-align: center;
    justify-content: center;
  }

  .hero-banner-body h1 {
    font-size: 2.2rem;
    letter-spacing: -1px;
  }

  .hero-banner-body p {
    font-size: 1rem;
  }

  .filter-tabs {
    padding: 0 20px;
    gap: 15px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none; /* Hide scrollbar for clean tab look */
  }

  .tab {
    padding: 16px 0;
    font-size: 0.85rem;
    flex-shrink: 0;
  }

  .section {
    padding: 40px 20px;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 24px;
  }

  .annual-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .report-card {
    padding: 24px;
  }

  .tech-master {
    padding: 30px 20px;
    min-height: auto;
    aspect-ratio: auto;
  }

  .tm-title {
    font-size: 1.6rem;
  }

  .tm-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .tm-btns {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .tm-btns a,
  .tm-btns button {
    width: 100%;
    justify-content: center;
  }

  .tech-card {
    padding: 24px;
  }

  .notices-box {
    padding: 20px;
  }

  .notice-item {
    gap: 12px;
  }

  .stay-banner {
    margin: 0 20px 40px;
    padding: 40px 20px;
  }

  .stay-banner h2 {
    font-size: 1.8rem;
  }

  .stay-banner p {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .email-row {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .email-input {
    width: 100%;
  }

  .btn-subscribe {
    width: 100%;
  }
}


