/* ===============================
   RESET & BASE
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===============================
   BRAND VARIABLES
================================ */
:root {
  --civex-blue: #1e40af;
  --civex-light-blue: #3b82f6;
  --civex-orange: #d97706;
  --civex-orange-hover: #b45309;
}

/* ===============================
   HEADER - PERFECT ALIGNMENT
================================ */
.header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo h1 {
  color: var(--civex-blue);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.logo p {
  color: #64748b;
  font-size: 0.85rem;
  margin: 0;
}

.navbar-nav {
  display: flex !important;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem !important;
  align-items: center;
}

.nav-link {
  color: #334155 !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  padding: 8px 0 !important;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--civex-blue) !important;
}

.auth-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

/* ===============================
   HERO
================================ */
.hero {
  background: linear-gradient(135deg, var(--civex-blue), var(--civex-light-blue));
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}

.hero h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ===============================
   BUTTONS
================================ */
.btn-primary {
  background: var(--civex-orange);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(217,119,6,0.45);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--civex-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(180,83,9,0.55);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: #fff;
  color: var(--civex-blue);
}

.btn-orange,
a.btn-orange {
  background-color: var(--civex-orange) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(217,119,6,0.45);
  transition: all 0.3s ease;
}

.btn-orange:hover {
  background-color: var(--civex-orange-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(180,83,9,0.55);
}

/* ===============================
   SECTIONS
================================ */
.why-us,
.services-preview {
  padding: 5rem 0;
  background: #fff;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #64748b;
  text-align: center;
  margin-bottom: 3rem;
}

/* ===============================
   CARDS
================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background: #f0f4ff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.card h4 {
  color: var(--civex-blue);
  font-size: 1.3rem;
}

.service-card {
  text-align: left;
}

.cta-center {
  display: block;
  max-width: 250px;
  margin: 3rem auto 0;
  text-align: center;
}

/* ===============================
   CONTACT & FORMS
================================ */
.contact-info,
.contact-form-section {
  padding: 5rem 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.form-card {
  background: #fff;
  padding: 3rem;
  border-radius: 12px;
  max-width: 600px;
  margin: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form-vertical {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
}

.contact-form-vertical > * {
  width: 100% !important;
}

.contact-form-vertical textarea {
  min-height: 140px;
}

.contact-form-vertical button {
  width: auto;
  align-self: flex-start;
}

.info-box {
  background: #ffffff;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-align: left;
}

.info-box h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  color: #1e293b;
  margin-bottom: 1rem;
}

.info-content {
  margin-left: 34px;
}

.info-content p {
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.info-content a {
  color: #1e40af;
  font-weight: 500;
  text-decoration: none;
}

.info-content a:hover {
  text-decoration: underline;
}

.service-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* ===============================
   FOOTER
================================ */
.footer {
  background: #1e293b;
  color: #fff;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.footer h4 {
  color: #60a5fa;
}

.footer a {
  color: #94a3b8;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #334155;
  color: #94a3b8;
}

.footer-bottom {
  text-align: center;
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #334155;
  color: #94a3b8;
  font-size: 14px;
}

}


/* ===============================
   WHATSAPP FLOAT - FIXED
================================ */
.whatsapp-float {
  position: fixed !important;
  width: 56px;
  height: 56px;
  bottom: 25px !important;
  right: 25px !important;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;                 /* ✅ icon vertical fix */
  box-shadow: 0 6px 14px rgba(0,0,0,0.28);
  z-index: 99999 !important;
  text-decoration: none;
  visibility: visible !important;
  opacity: 1 !important;
  transform-origin: center;       /* ✅ smooth scale */
  -webkit-font-smoothing: antialiased;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.whatsapp-float i {
  display: block;                 /* ✅ exact centering */
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
  color: #ffffff;
  transform: scale(1.08);
}

/* Prevent parent sections from clipping */
.hero,
.why-us,
.services,
.services-preview,
section {
  overflow: visible !important;
}

/* ===============================
   MOBILE HAMBURGER MENU
================================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--civex-blue);
  border-radius: 3px;
  transition: all 0.3s ease;
}

@media (min-width: 769px) {
  .hamburger { display: none !important; }
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
  }

  .header-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .navbar-nav {
    flex-direction: column !important;
    gap: 1.2rem !important;
    margin-top: 1rem;
  }

  .nav-link {
    font-size: 1.1rem !important;
  }

  .hamburger {
    display: flex;
  }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  }

  .hero h2 {
    font-size: 2rem;
  }
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===============================
   SERVICES DROPDOWN
================================ */
.services-menu {
  position: relative;
}

.services-menu .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 280px;
  padding: 12px 0;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  z-index: 9999;
  margin-top: 6px;
}

.services-menu:hover .dropdown-menu {
  display: block;
}

.services-menu .dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: #1e293b;
  text-decoration: none;
}

.services-menu .dropdown-menu a:hover {
  background: #f1f5f9;
  color: #1e40af;
}

.login-card {
  animation: fadeUp 0.4s ease-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===============================
   PURE CSS NAVBAR (BOOTSTRAP FREE)
================================ */

.site-header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.navbar .logo img {
  height: 400px !important;
  max-height: none !important;
  width: auto;
}

/* NAV */
.main-nav {
  display: flex;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  font-weight: 600;
  color: #334155;
}

.nav-list a:hover {
  color: #1e40af;
}

/* DROPDOWN */
.has-dropdown {
  position: relative;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 260px;
  padding: 10px 0;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.has-dropdown:hover .dropdown {
  display: block;
}

.dropdown li a {
  display: block;
  padding: 10px 18px;
  color: #1e293b;
}

.dropdown li a:hover {
  background: #f1f5f9;
  color: #1e40af;
}

/* BUTTONS */
.btn-orange {
  background: #d97706;
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
}

.btn-orange:hover {
  background: #b45309;
}
/* ===== MOBILE NAVBAR ===== */

.brand {
  font-weight: 700;
  font-size: 16px;
  color: #1e40af;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #1e40af;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
}

/* MOBILE */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 20px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .dropdown ul {
    display: none;
  }

  .dropdown:hover ul {
    display: block;
  }
}
/* ===============================
   FINAL CLEAN HEADER (SAFE)
================================ */

.site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo img {
  height: 65px;
  width: auto;
}

/* NAV */
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  color: #334155;
}

.main-nav a:hover {
  color: #1e40af;
}

/* DROPDOWN */
.has-dropdown {
  position: relative;
}

.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 260px;
  padding: 10px 0;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.has-dropdown:hover .dropdown {
  display: block;
}

.dropdown li a {
  display: block;
  padding: 10px 18px;
  color: #1e293b;
}

.dropdown li a:hover {
  background: #f1f5f9;
  color: #1e40af;
}

/* BUTTON */
.btn-orange {
  background: #d97706;
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
}

.btn-orange:hover {
  background: #b45309;
}

/* ===============================
   MOBILE BEHAVIOUR
================================ */

@media (max-width: 768px) {

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 15px 20px;
  }

  .main-nav {
    width: 100%;
    margin-top: 15px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .has-dropdown .dropdown {
    position: static;
    box-shadow: none;
  }
}
.footer-social {
    margin-top: 12px;
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #9ca3af;
    font-size: 20px;
    transition: 0.3s ease;
}

.footer-social a:hover {
    color: #3b82f6;
    transform: translateY(-2px);
}
/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 56px;
    height: 56px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #ffffff;
}
/* Force WhatsApp icon to pure white (no inner ring) */
.whatsapp-float i {
  color: #ffffff !important;
  background: none !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  filter: none !important;
}

/* Improve font rendering */
.whatsapp-float {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ===============================
   Career Form – Half Width Centered
================================ */

/* Page container fix (important) */
.career-section {
  display: flex;
  justify-content: center;   /* ✅ center horizontally */
}

/* Half-width form */
.career-form-wrapper {
  width: 50%;                /* ✅ HALF WIDTH */
  max-width: 600px;          /* safety limit */
  min-width: 420px;          /* avoid too narrow */
  margin: 0 auto;
}

/* Title */
.career-title {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Form layout */
.career-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Inputs same size */
.career-form input,
.career-form textarea {
  width: 100%;               /* fill the 50% wrapper */
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #d9e1ec;
  font-size: 14px;
  box-sizing: border-box;
}

.career-form textarea {
  min-height: 90px;
  resize: vertical;
}

.career-form input:focus,
.career-form textarea:focus {
  outline: none;
  border-color: #f07c00;
}

/* File input */
.career-form input[type="file"] {
  padding: 8px;
  font-size: 13px;
}

/* CAPTCHA alignment */
.captcha-box {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: center;
}

.captcha-box strong {
  background: #f07c00;
  color: #fff;
  padding: 8px;
  border-radius: 6px;
  text-align: center;
}

/* Center submit button */
.career-btn-wrapper {
  text-align: center;
  margin-top: 12px;
}

.career-btn-wrapper .btn-orange {
  padding: 10px 36px;
  font-size: 15px;
}

/* Messages */
.form-success,
.form-error {
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

/* Mobile safety */
@media (max-width: 768px) {
  .career-form-wrapper {
    width: 100%;
    min-width: unset;
  }
}

/* ===============================
   LOGO – FINAL (CLEAN & RESPONSIVE)
================================ */

.logo img {
  height: 72px;     /* perfect for desktop */
  width: auto;
}

/* Tablet */
@media (max-width: 1024px) {
  .logo img {
    height: 64px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .logo img {
    height: 56px;
  }
}
/* ===============================
   LOGO ALIGNMENT FIX
================================ */

.logo {
  margin-right: 50px;
  margin-left: -40px;
}
/* ===== Tender Pages Common Styling ===== */

.tender-section {
  min-height: 50vh;
  padding-top: 40px;
  padding-bottom: 40px;
}

.tender-empty {
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.tender-empty h3 {
  margin-bottom: 10px;
  color: #1e293b;
}

.tender-empty p {
  color: #64748b;
}

.tender-card {
  background: #ffffff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
/* ===== Tender Cards ===== */
.tender-card {
  background: #ffffff;
  padding: 24px;
  margin-bottom: 24px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.tender-card h3 {
  margin-bottom: 10px;
  color: #1e293b;
}

.tender-card p {
  margin-bottom: 6px;
  color: #334155;
}

.tender-card .btn-orange {
  margin-top: 14px;
  display: inline-block;
}
/* ===============================
   TENDER COUNT BADGES
================================ */

.tender-count-section {
  background: #ffffff;
  padding: 35px 0;
  border-bottom: 1px solid #e5e7eb;
}

.tender-count-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ✅ force horizontal */
  gap: 25px;
  align-items: center;
}

@media (max-width: 992px) {
  .tender-count-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .tender-count-grid {
    grid-template-columns: 1fr;
  }
}

.tender-count-card {
  background: #f8fafc;
  border-radius: 14px;
  padding: 22px 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  cursor: pointer;
}

.tender-count-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.tender-count-card .count {
  font-size: 34px;
  font-weight: 800;
  color: #1e40af;
  display: block;
}

.tender-count-card p {
  margin: 6px 0 0;
  font-size: 15px;
  color: #475569;
  font-weight: 600;
}
/* ===============================
   CLOSING TODAY – RED HIGHLIGHT
================================ */

.tender-count-card.closing-today {
  border: 2px solid #dc2626;
  background: #fef2f2;
}

.tender-count-card.closing-today .count {
  color: #dc2626;
}

.tender-count-card.closing-today p {
  color: #7f1d1d;
  font-weight: 700;
}
/* ===============================
   SALIENT INFORMATION (NIC STYLE)
================================ */

.salient-info {
  background: #ffffff;
  padding: 30px 0;
  border-bottom: 1px solid #e5e7eb;
}

.salient-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.salient-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}

.salient-item img {
  width: 48px;
  height: 48px;
}

.salient-item h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
}

.salient-item p {
  margin: 2px 0 0;
  font-size: 14px;
  color: #475569;
  font-weight: 600;
}

.salient-divider {
  height: 50px;
  border-left: 2px dotted #d1d5db;
}

/* RED HIGHLIGHT FOR CLOSING TODAY */
.salient-item.highlight-red h3 {
  color: #dc2626;
}

.salient-item.highlight-red p {
  color: #7f1d1d;
}

/* MOBILE */
@media (max-width: 768px) {
  .salient-container {
    flex-direction: column;
    gap: 25px;
  }

  .salient-divider {
    display: none;
  }
}
/* ===============================
   HOME TENDER TILES (SAFE)
================================ */

.tender-tile {
  flex: 1;
  min-width: 220px;
  background: #f8fafc;
  padding: 26px 20px;
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.tender-tile h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 6px;
}

.tender-tile p {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* COLORS */
.tender-tile.green {
  background: #ecfdf5;
  color: #065f46;
}

.tender-tile.blue {
  background: #eff6ff;
  color: #1e40af;
}

.tender-tile.red {
  background: #fef2f2;
  color: #991b1b;
}

.tender-tile.grey {
  background: #f8fafc;
  color: #334155;
}

/* HOVER */
.tender-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.15);
}
/* ===============================
   TENDER COUNT TILES – FINAL COLORS
================================ */

/* COMMON TILE BASE */
.tender-count-card {
  border-radius: 16px;
  padding: 26px 20px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.tender-count-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.14);
}

.tender-count-card .count {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 6px;
}

.tender-count-card p {
  font-size: 15px;
  font-weight: 600;
}

/* ===============================
   ACTIVE TENDERS – DARK GREEN
================================ */
.tender-active {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  border: 2px solid #16a34a;
}

.tender-active .count {
  color: #065f46;
}

.tender-active p {
  color: #065f46;
}

/* ===============================
   UPCOMING TENDERS – BLUE
================================ */
.tender-upcoming {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 2px solid #2563eb;
}

.tender-upcoming .count {
  color: #1d4ed8;
}

.tender-upcoming p {
  color: #1e40af;
}

/* ===============================
   CLOSING TODAY – RED (URGENT)
================================ */
.tender-closing {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border: 2px solid #dc2626;
}

.tender-closing .count {
  color: #b91c1c;
}

.tender-closing p {
  color: #7f1d1d;
  font-weight: 700;
}

/* ===============================
   CLOSED TENDERS – NEUTRAL GREY
================================ */
.tender-closed {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border: 2px solid #cbd5f5;
}

.tender-closed .count {
  color: #334155;
}

.tender-closed p {
  color: #475569;
}

.disabled-btn {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.75;
}

/* FORCE orange color */
.disabled-btn,
.disabled-btn:hover,
.disabled-btn:focus {
  background-color: #f57c00;   /* your orange */
  color: #ffffff;
  border-color: #f57c00;
  text-decoration: none;
}

@media (max-width: 768px) {

    .site-header {
        height: auto !important;
        min-height: 64px;
        overflow: visible !important;
    }

    .site-header .nav-container {
        height: auto !important;
        min-height: 64px;
        align-items: center;
        overflow: visible !important;
    }

    .site-header .logo {
        line-height: normal;
        display: flex;
        align-items: center;
    }

    .site-header .logo img {
        height: 40px;
        width: auto;
        display: block;
    }

}

@media (max-width: 768px) {
    .site-header .nav-container {
        justify-content: flex-start;
    }
}
@media (max-width: 768px) {

    /* Parent: force left alignment */
    .site-header .nav-container {
        display: flex;
        justify-content: flex-start !important;
        align-items: center;
    }

    /* THIS ELEMENT — your <a class="logo"> */
    .site-header a.logo {
        display: inline-flex !important;
        width: auto !important;
        margin: 0 auto 0 0 !important;   /* pin to left */
        padding: 0 !important;
    }

    .site-header a.logo img {
        display: block;
        height: 40px;
        width: auto;
    }

}
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-company-legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 30px;
  padding: 15px 40px;
  font-size: 13px;
  color: #cfd6e0;
}

/* Organize the grid into 3 columns */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr; /* Brand gets more space, Links center, Legal right */
    gap: 40px;
    padding-bottom: 30px;
}

/* Legal column styling */
.footer-legal-column h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-legal-column p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.6;
}

/* Instagram Branding Color */
.footer-social a.insta-color i {
    color: #E1306C !important; /* Original Instagram Pink/Red */
}

/* LinkedIn Branding Color for consistency */
.footer-social a i.bi-linkedin {
    color: #0077b5;
}

/* Mobile Responsiveness: Stack columns on small screens */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}


