/* ============================================
   Blue Media Ltd. — Modern Minimalist Style
   ============================================ */

:root {
  --primary: #1a56db;
  --primary-dark: #1340a8;
  --text: #1a1a2e;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-light: #f8f9fc;
  --border: #e5e7eb;
  --radius: 8px;
  --max-width: 1140px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Navigation ---- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 0 24px;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar__logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.navbar__logo span {
  color: var(--primary);
}

.navbar__links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.navbar__links a {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar__links a:hover,
.navbar__links a.active {
  color: var(--primary);
}

.navbar__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 6px 0;
  transition: all 0.3s;
}

/* ---- Hero ---- */

.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
}

.hero--bg {
  background: url('img/hero-bg.jpg') center/cover no-repeat;
  padding: 180px 0 120px;
}

.hero--bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 86, 219, 0.85);
  z-index: 0;
}

.hero--bg .container {
  position: relative;
  z-index: 1;
}

.hero--bg .hero__tagline {
  color: rgba(255, 255, 255, 0.7);
}

.hero--bg .hero__title {
  color: #fff;
}

.hero--bg .hero__subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.hero--bg .hero__cta {
  background: #fff;
  color: var(--primary);
}

.hero--bg .hero__cta:hover {
  background: #f0f0f0;
  color: var(--primary-dark);
}

.hero__tagline {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero__title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero__cta {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}

.hero__cta:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.hero__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}

.hero__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---- Google Map ---- */

.map-embed {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 12px;
  margin-top: 48px;
}

/* ---- Sections ---- */

section {
  padding: 100px 0;
}

.section--alt {
  background: var(--bg-light);
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section__title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.8;
}

.section__header {
  margin-bottom: 60px;
}

.section__header--center {
  text-align: center;
}

.section__header--center .section__subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Stats ---- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
}

.stat__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stat__number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -1px;
  line-height: 1;
}

.stat__label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 8px;
  font-weight: 500;
}

/* ---- Skills ---- */

.skills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 48px;
  max-width: 700px;
}

.skill__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.skill__pct {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

.skill__bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.skill__fill {
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
  transition: width 1s ease;
}

/* ---- Feature Cards ---- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature {
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: box-shadow 0.3s, transform 0.2s;
}

.feature:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.feature__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.feature__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature__text {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- About Departments ---- */

.departments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.department {
  padding: 40px 32px;
  background: var(--bg-light);
  border-radius: 12px;
}

.department__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
}

.department__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.department__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.department__text {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- Job Cards ---- */

.job-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}

.job-card__header {
  padding: 32px 36px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.job-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.job-card__tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.job-card__date {
  font-size: 0.85rem;
  color: var(--text-light);
}

.job-card__body {
  padding: 36px;
}

.job-card__body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 12px;
}

.job-card__body h4:first-child {
  margin-top: 0;
}

.job-card__body p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 8px;
}

.job-card__body ul {
  padding-left: 20px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 8px;
}

.job-card__body li {
  margin-bottom: 4px;
}

/* ---- Contact ---- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info__item {
  margin-bottom: 28px;
}

.contact-info__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.contact-info__value {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.6;
}

.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  background: var(--bg);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
}

.form__submit {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 14px 36px;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}

.form__submit:hover {
  background: var(--primary-dark);
}

/* ---- Legal Pages ---- */

.legal {
  padding: 140px 0 80px;
}

.legal h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.8px;
}

.legal .legal__updated {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 48px;
}

.legal h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal p,
.legal ul {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 0.95rem;
}

.legal ul {
  padding-left: 24px;
}

.legal li {
  margin-bottom: 6px;
}

/* ---- Footer ---- */

.footer {
  background: var(--text);
  color: #fff;
  padding: 60px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer__brand span {
  color: #93b4f5;
}

.footer__desc {
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer__heading {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  color: #9ca3af;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  color: #d1d5db;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid #374151;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  color: #6b7280;
  font-size: 0.85rem;
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  color: #6b7280;
  font-size: 0.85rem;
}

.footer__legal a:hover {
  color: #fff;
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  .navbar__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }

  .navbar__links.open {
    display: flex;
  }

  .navbar__toggle {
    display: block;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero--bg {
    padding: 140px 0 80px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .skills {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .departments {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .section__title {
    font-size: 1.7rem;
  }
}
