@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700;900&family=Open+Sans:wght@400;500;600;700&family=Lato:wght@300;400;900&family=Poppins:wght@300;400;500;600;700&display=swap');

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

:root {
  --primary:    rgba(229, 57, 53, 1);
  --surface:    rgba(0, 82, 204, 1);
  --text:       rgba(26, 35, 126, 1);
  --bg:         rgba(245, 247, 250, 1);
  --success:    rgba(67, 160, 71, 1);
  --accent:     rgba(250, 181, 21, 1);
  --white:      rgba(255, 255, 255, 1);
  --navy-dark:  rgba(25, 28, 32, 1);
  --blue-light: rgba(217, 227, 248, 1);
  --border:     rgba(196, 198, 207, 1);
  --radius:     6px;
  --shadow:     0 2px 8px rgba(0,0,0,.10);
  --max-w:      1200px;
}

body { font-family: 'Roboto', sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; }
a    { color: inherit; text-decoration: none; }
img  { max-width: 100%; display: block; }

/* ─── NAV ────────────────────────────────────────────────── */
.nav {
  background: var(--surface);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 20px; height: 64px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 8px; flex: 1; }
.nav-links a {
  color: var(--white); font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: var(--radius);
  transition: background .15s;
  white-space: nowrap;
}
.nav-links a:hover { background: rgba(255,255,255,.15); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: var(--radius); font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: opacity .15s, transform .1s; }
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary  { background: var(--primary); color: var(--white); }
.btn-outline  { background: transparent; color: var(--white); border: 1.5px solid var(--white); }
.btn-surface  { background: var(--surface); color: var(--white); }
.btn-sm { padding: 6px 14px; font-size: 13px; }

.plan-badge {
  background: var(--accent); color: var(--navy-dark);
  font-size: 11px; font-weight: 700; padding: 3px 8px;
  border-radius: 12px; text-transform: uppercase; letter-spacing: .4px;
}

/* mobile hamburger */
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, rgba(0,52,153,1) 0%, rgba(0,82,204,1) 60%, rgba(26,35,126,1) 100%);
  padding: 60px 20px 50px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 48px); font-weight: 700; color: var(--white);
  margin-bottom: 14px; line-height: 1.15;
}
.hero p {
  font-size: clamp(14px, 2vw, 17px); color: rgba(255,255,255,.88);
  max-width: 640px; margin: 0 auto 30px;
}
.hero-search {
  background: rgba(27, 35, 130, 0.4);
  border-radius: 8px; padding: 18px 20px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  max-width: var(--max-w); margin: 0 auto;
  justify-content: center;
}
.hero-search select,
.hero-search input {
  height: 46px; border-radius: var(--radius); border: none;
  padding: 0 14px; font-size: 14px; font-family: 'Roboto', sans-serif;
  background: var(--white); color: var(--text);
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.hero-search input  { flex: 1; min-width: 220px; max-width: 400px; }
.hero-search select { min-width: 220px; max-width: 280px; cursor: pointer; }
.hero-search .btn   { height: 46px; flex-shrink: 0; }

/* ─── SECTIONS ───────────────────────────────────────────── */
.section { padding: 48px 20px; max-width: var(--max-w); margin: 0 auto; }
.section-title {
  font-size: 22px; font-weight: 700; color: var(--text);
  margin-bottom: 24px; display: flex; align-items: center; gap: 10px;
}
.section-title::after {
  content: ''; display: block; height: 3px; flex: 1;
  background: linear-gradient(to right, var(--primary), transparent);
  border-radius: 2px; margin-left: 12px;
}

/* ─── TENDER CARD ────────────────────────────────────────── */
.tender-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}
.tender-card {
  background: var(--white); border-radius: 8px;
  border: 1px solid var(--blue-light); padding: 18px 20px;
  box-shadow: var(--shadow); transition: box-shadow .15s, transform .15s;
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
}
.tender-card:hover { box-shadow: 0 6px 20px rgba(0,82,204,.15); transform: translateY(-2px); }
.tender-card-title {
  font-size: 15px; font-weight: 600; color: var(--text);
  line-height: 1.4; margin-bottom: 2px;
}
.tender-card-title a:hover { color: var(--surface); }
.tender-card-org {
  font-size: 13px; color: #555;
}
.tender-card-org .org-name { font-weight: 500; color: var(--text); }
.tender-card-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: #666; flex-wrap: wrap;
}
.tender-card-meta .sep { color: var(--border); }
.badge {
  display: inline-block; padding: 2px 9px; border-radius: 12px;
  font-size: 11px; font-weight: 600; white-space: nowrap;
}
.badge-cat  { background: rgba(0,82,204,.1); color: var(--surface); }
.badge-open { background: rgba(67,160,71,.12); color: var(--success); }
.badge-closed { background: rgba(229,57,53,.1); color: var(--primary); }
.badge-type { background: rgba(250,181,21,.15); color: #8B6800; }

.tender-dates {
  font-size: 12px; color: #666;
  display: flex; gap: 16px; flex-wrap: wrap;
}
.tender-dates span { display: flex; align-items: center; gap: 4px; }
.tender-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--blue-light);
}
.tender-type-label { font-size: 12px; color: #555; display: flex; align-items: center; gap: 5px; }
.save-btn {
  background: none; border: none; cursor: pointer; padding: 4px 6px;
  color: var(--border); font-size: 18px; transition: color .15s;
  line-height: 1;
}
.save-btn:hover, .save-btn.saved { color: var(--primary); }

/* ─── BROWSE MORE ────────────────────────────────────────── */
.browse-more { text-align: center; margin-top: 32px; }

/* ─── VALUE PROP ─────────────────────────────────────────── */
.value-prop {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(26,35,126,1) 100%);
  padding: 56px 20px;
  text-align: center;
}
.value-prop h2 {
  font-size: clamp(22px, 4vw, 36px); font-weight: 700; color: var(--white);
  margin-bottom: 16px;
}
.value-prop p {
  font-size: 16px; color: rgba(255,255,255,.88);
  max-width: 680px; margin: 0 auto 28px; line-height: 1.7;
}
.value-prop .btn-primary {
  font-size: 16px; padding: 14px 32px; border-radius: 8px;
}

/* ─── ABOUT ──────────────────────────────────────────────── */
.about-band {
  background: var(--white); padding: 48px 20px;
}
.about-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.about-inner h2 {
  font-size: clamp(20px, 3vw, 30px); font-weight: 700; color: var(--text);
  margin-bottom: 16px;
}
.about-inner p { font-size: 15px; line-height: 1.8; color: #444; margin-bottom: 12px; }
.about-img-wrap {
  background: var(--bg); border-radius: 12px; padding: 24px;
  display: flex; align-items: center; justify-content: center;
  min-height: 220px;
}
.about-img-wrap img { max-height: 160px; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--navy-dark); color: rgba(255,255,255,.8);
  padding: 44px 20px 24px;
}
.footer-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img { height: 36px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 13px; line-height: 1.7; margin-bottom: 8px; }
.footer-brand a { color: rgba(255,255,255,.7); font-size: 13px; display: block; margin-bottom: 4px; }
.footer-brand a:hover { color: var(--white); }
.footer-col h4 {
  font-size: 13px; font-weight: 700; color: var(--white);
  text-transform: uppercase; letter-spacing: .6px; margin-bottom: 14px;
}
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 8px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-w); margin: 20px auto 0;
  font-size: 12px; text-align: center; color: rgba(255,255,255,.4);
}

/* ─── WHATSAPP FLOAT ─────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  background: #25D366; color: var(--white); width: 52px; height: 52px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 26px; box-shadow: 0 4px 16px rgba(0,0,0,.2);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }

/* ─── LOADING / SKELETON ─────────────────────────────────── */
.skeleton { background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 4px; }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.loading-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.loading-card { background: var(--white); border-radius: 8px; border: 1px solid var(--blue-light); padding: 18px 20px; height: 160px; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-img-wrap { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: block; margin-left: auto; }
  .nav-inner { gap: 12px; }
  .nav-mobile-open .nav-links, .nav-mobile-open .nav-actions {
    display: flex; flex-direction: column; width: 100%;
  }
  .nav.mobile-open { flex-wrap: wrap; height: auto; padding: 12px 20px; }
  .hero-search { flex-direction: column; }
  .hero-search input, .hero-search select { width: 100%; max-width: 100%; min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .tender-grid { grid-template-columns: 1fr; }
}
