/* ============================
   Classic Solutions - Unified CSS
   ============================ */

/* ===== Reset ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  background: #f7f9fc;
  color: #222;
  line-height: 1.6;
  padding-top: 0; /* <- DO NOT hard-code the top offset here */
}

/* Coffee bar (fixed to top) */
.coffee-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #ff9800;
  color: #fff;
  padding: 8px 12px;
  text-align: center;
  z-index: 9999;              /* above the header */
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap; /* ✅ allows wrapping if space is small */
}

.coffee-bar button {
  margin-left: 10px;
  background: #fff;
  color: #ff9800;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
}

.coffee-bar .coffee-note {
  margin-left: 12px;
  font-size: 12px;
  opacity: 0.95;
  font-weight: 500;
  color: #fff;
}

/* 📱 Mobile stacking */
@media (max-width: 600px) {
  .coffee-bar {
    flex-direction: column;   /* stack items vertically */
    align-items: center;
    gap: 4px;                 /* tighter spacing */
    font-size: 0.8rem;
    padding: 6px 8px;
  }

  .coffee-bar button {
    margin-left: 0;          /* center button below text */
    margin-top: 4px;
  }

  .coffee-bar .coffee-note {
    margin-left: 0;
    font-size: 11px;
    line-height: 1.2;
  }
}


/* ===== Header ===== */
header {
  background: linear-gradient(90deg,#0891b2,#2563eb);
  color: #fff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 4px 18px rgba(2,6,23,0.08);
  position: fixed;
  top: 44px; /* below coffee bar */
  width: 100%;
  z-index: 1500;
}

/* Logo */
header .logo h2 {
  font-size: 1.4rem;
  margin-bottom: 2px;
  font-weight: 700;
}
header .logo .slogan {
  font-size: 0.85rem;
  color: #e6f7ff;
  font-style: italic;
  font-weight: 500;
}

/* Navigation */
header nav {
  display: flex;
  gap: 14px;
  align-items: center;
}
header nav a {
  color: #fff;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}
header nav a:hover {
  background: rgba(255,255,255,0.12);
}
header nav a.whatsapp-link {
  background: #25D366;
  color: #002b1a;
  font-weight: 700;
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  background: none;
  border: none;
  color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
  }

  /* Logo scales down */
  header .logo h2 {
    font-size: 1.1rem;
  }
  header .logo .slogan {
    font-size: 0.75rem;
  }

  /* Hide nav by default */
  header nav {
    display: none;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
  }

  /* Show when active */
  header nav.active {
    display: flex;
  }

  /* Show hamburger (floats to right) */
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  /* Links full-width on mobile */
  header nav a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px;
  }
}



/* ===== Footer ===== */
footer {
  background: #0b1720;
  color: #e6f7ff;
  text-align: center;
  padding: 12px 10px;
  position: relative;
  bottom: 0;
  width: 100%;
  z-index: 1500;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 40px auto 100px; /* top, horizontal, bottom */
}


/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(90deg,#0891b2,#2563eb);
  color: #fff;
  padding: 36px 22px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(37,99,235,0.08);
}

.hero p {
  margin-top: 8px;
  opacity: 0.95;
}

/* ===== Services Section ===== */
.services-preview {
  text-align: center;
  padding: 50px 20px;
  background: #fff;
}
.services-preview h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #222;
}

/* ===== Cards Layout ===== */
.cards,
.services-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
}
.card {
  flex: 1 1 250px;
  max-width: 300px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}
.card img {
  width: 80px;
  height: auto;
  margin-bottom: 15px;
}
.card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #333;
}
.card p {
  font-size: 0.95rem;
  color: #555;
}
.card::before {
  content: "";
  display: block;
  height: 8px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* ===== Card Top Strip Colors ===== */
.card.ntsa::before         { background: #008000; }
.card.kra::before          { background: #c62828; }
.card.passport::before     { background: #071a52; }
.card.huduma::before       { background: #f57c00; }
.card.cyber::before        { background: #0b74d1; }
.card.visa::before         { background: #f59e0b; }
.card.visa.usa::before     { background: #3c3b6e; }
.card.visa.canada::before  { background: #d32f2f; }
.card.visa.qatar::before   { background: #800000; }
.card.visa.thailand::before{ background: #1a237e; }
.card.visa.dubai::before   { background: #00695c; }
.card.tourism::before      { background: #009688; }
.card.web::before          { background: #6a1b9a; }
.card.lap::before          { background: #795548; }
.card.office-setup::before { background: #2e7d32; }
.card.classic::before      { background: #0b74d1; }
.card.remote::before       { background: #1976d2; }
.card.support::before      { background: #388e3c; }
.card.it::before           { background: #f57c00; }
.card.consultancy::before  { background: #6a1b9a; }
.card.security::before     { background: #c62828; }

/* ===== Buttons ===== */
.btn,
.btn-apply,
.btn-view {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}
.btn {
  background: #0b74d1;
  color: #fff;
}
.btn:hover {
  background: #0667c1;
}
.btn-apply {
  background: #22c55e;
  color: #fff;
  padding: 8px 14px;
  margin-top: 12px;
}
.btn-view {
  background: #047857;
  color: #fff;
}

/* ===== Contact Section ===== */
.contact-section {
  background: #111;
  color: #f5f5f5;
  text-align: center;
  padding: 60px 20px;
}
.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #ffcc00;
}
.contact-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}
.contact-item .icon {
  font-size: 1.5rem;
}
.btn-contact {
  display: inline-block;
  padding: 12px 30px;
  background: #ffcc00;
  color: #111;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-contact:hover {
  background: #e6b800;
  transform: translateY(-3px);
}

/* ===== Forms ===== */
.form-box {
  max-width: 700px;
  margin: 16px auto;
  padding: 18px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(2,6,23,0.04);
}
.form-box label {
  display: block;
  margin: 10px 0 6px;
  font-weight: 700;
  color: #0f1724;
}
.form-box input,
.form-box select,
.form-box textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e6eef7;
  border-radius: 8px;
  margin-bottom: 10px;
}
.form-box .btn-submit {
  background: #0b74d1;
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 700;
}

/* ===== About Us Section ===== */
.about-us {
  padding: 20px 20px 60px 20px; /* top, right, bottom, left */
  background: #f7f9fc;
}


.hero-about {
  text-align: center;
  margin-bottom: 50px;
}
.hero-about h1 {
  font-size: 2.2rem;
  color: #0b3f78;
  margin-bottom: 20px;
}
.hero-about p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.7;
}
.about-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}
.about-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-card h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #004aad;
}
.about-card p {
  font-size: 0.95rem;
  color: #555;
}
.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* ===== Technologies Section ===== */
.technologies {
  margin-bottom: 50px;
}
.technologies h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #0b3f78;
}
.tech-intro {
  text-align: center;
  font-size: 1rem;
  color: #333;
  margin-bottom: 30px;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.tech-card {
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}
.tech-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #047857;
}
.tech-card p {
  font-size: 0.95rem;
  color: #555;
}
.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* ===== Call To Action ===== */
.call-to-action {
  text-align: center;
  padding: 40px 20px;
  background: #0b74d1;
  color: #fff;
  border-radius: 12px;
  margin-bottom: 60px;
}
.call-to-action h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}
.call-to-action p {
  font-size: 1rem;
  margin-bottom: 20px;
}
.call-to-action .btn-view {
  background: #ffcc00;
  color: #111;
  padding: 12px 24px;
  border-radius: 8px;
}
.call-to-action .btn-view:hover {
  background: #e6b800;
}

/* ===== Services Page ===== */
.services-page {
  text-align: center;   /* centers all text inside */
  padding: 40px 20px;
}
.services-page h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #111;
}
.services-page .tagline {
  font-size: 1.2rem;
  font-weight: 500;
  color: #004aad;
  margin-bottom: 30px;
  display: block;
  text-align: center;   /* ensures tagline is centered */
}
/* Team Section */
.team-section {
  text-align: center;
  padding: 60px 20px;
  background: #f9f9f9;
}

.team-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.team-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.team-card {
  background: #f0a709;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  flex: 1 1 calc(25% - 25px);
  min-width: 220px;
  max-width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.team-card h3 {
  font-size: 1.2rem;
  color: #0667c1;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111;
}

.team-card p {
  font-size: 0.95rem;
  color: #555;
  margin: 5px 0;
}
.status-box {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  max-width: 500px;
  margin: 20px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
}

.status-box h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: #333;
  border-bottom: 2px solid #eee;
  padding-bottom: 8px;
}

.status-label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.95rem;
  text-transform: uppercase;
}

/* ✅ Status colors */
.status-label.approved {
  background-color: #d4edda;
  color: #155724;
}

.status-label.paid {
  background-color: #d4edda;
  color: #155724;
}


.status-label.rejected {
  background-color: #f8d7da;
  color: #721c24;
}

.status-label.pending {
  background-color: #fff3cd;
  color: #856404;
}

.status-label.inprogress {
  background-color: #cce5ff;
  color: #004085;
}

/* ====================
   Responsive Adjustments
   ==================== */

/* For tablets and smaller devices */
@media (max-width: 992px) {
/* Hero section responsive */
.hero h1 {
  font-size: 3rem; /* Default for PC */
}
.hero p {
  font-size: 1.2rem;
}

  .hero p {
    font-size: 1rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns instead of 3 */
  }
}

/* For mobile phones */
@media (max-width: 600px) {
  .hero p {
    font-size: 0.9rem;
    text-align: center;
  }
  .services-grid {
    grid-template-columns: 1fr; /* stack cards in 1 column */
  }
  .card {
    margin: 10px auto;
    width: 90%;
  }
  .btn-apply {
    display: block;
    width: 100%;
    text-align: center;
  }
}

/* Navigation bar fix */
nav ul {
  display: flex;
  flex-wrap: wrap; /* Allow menu items to wrap instead of disappearing */
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

nav ul li {
  margin: 5px 10px;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column; /* Stack menu vertically */
    align-items: center;
  }
  nav ul li {
    margin: 8px 0;
  }
}


/* General text scaling */
h1, h2 {
  line-height: 1.2;
  word-wrap: break-word;
}

/* Hero section responsive */
.hero p {
  font-size: 1.2rem;
}

/* Coffee message & tagline */
.coffee-message, .tagline {
  font-size: 1rem;
  text-align: center;
  padding: 10px;
  line-height: 1.4;
}

/* On smaller devices */
@media (max-width: 768px) {
  .hero p {
    font-size: 1rem;
  }
  .coffee-message, .tagline {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero p {
    font-size: 0.85rem;
  }
  .coffee-message, .tagline {
    font-size: 0.8rem;
  }
}



