:root {
  --primary: #0078D4;
  --light-blue: #e0f2fe;
  --bg: #f8fafc;
}

/* ================= GLOBAL ================= */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  height: 100%;
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
}

/* FLEX LAYOUT FIX (FOOTER) */
body {
  display: flex;
  flex-direction: column;
}

.page-content {
  flex: 1;
}

/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: white;
}

.left {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #0434EF;

  text-transform: uppercase;   /* 🔥 ensures consistency everywhere */
}

.center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo {
  height: 55px;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: black;
}

.nav-links a:hover {
  color: var(--primary);
}

/* ================= HERO ================= */
.hero {
  background: linear-gradient(135deg,#03b1fc,#3b82f6);
  color: white;
  text-align: center;
  padding: 100px;
}

/* ================= ABOUT ================= */
.about {
  padding: 60px;
  text-align: center;

  background: linear-gradient(
    to bottom,
    #57cafc 0%,
    #57cafc 60%,
    #81d7fd  100%
  );
}

/* ================= SERVICES ================= */
.services-container {
  display: flex;
  justify-content: center;   /* center horizontally */
  align-items: center;
  gap: 30px;

  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;            /* 🔥 ensures centering */
}

.services-index {
  text-align: center;
}

.group-card {
  width: 300px;
  min-height: 100px;   /* 🔥 forces equal height */

  padding: 20px;
  border-radius: 12px;
  background: white;

  box-shadow: 0 5px 15px rgba(0,0,0,0.08);

  display: flex;               /* 🔥 important */
  flex-direction: column;
  justify-content: space-between;  /* 🔥 balances content */

  position: relative;
  overflow: hidden;
}

.group-card p {
  flex-grow: 1;   /* 🔥 ensures equal spacing */
}

.group-card:hover {
  transform: translateY(-5px);
}

.group-card.Engineering {
  border-left: 5px solid #0077cc;
}

.group-card.Staffing {
  border-left: 5px solid #28a745;
}

/* HOVER INFO */
.hover-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.85);
  color: white;
  padding: 15px;
  transform: translateY(100%);
  transition: 0.3s;
}

.group-card:hover .hover-info {
  transform: translateY(0);
}

/* ================= CTA ================= */
.cta-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background: linear-gradient(180deg, #ffffff, #f3f9ff);
}

.btn-primary {
  padding: 14px 28px;
  border-radius: 30px;
  border: none;
  background: var(--primary);
  color: white;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,120,212,0.3);
}

/* ================= SERVICES PAGE ================= */
.services-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: 30px auto;
  padding: 20px;
  background: white;
  border-radius: 14px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.service-details {
  padding: 25px;
  border-radius: 12px;
  background: #f8fbff;
}

/* ================= FOOTER FIX ================= */
.footer {
  margin-top: auto;
  text-align: center;
  padding: 25px;
  background: black;
  color: white;
}

.footer a {
  color: #ff8826;
  text-decoration: none;
}

.social-links {
  margin-top: 10px;   
}

.social {
  margin: 0 10px;
  font-size: 18px;
  background: none; 
  color: #ffffff; 
  padding: 0;        
  border-radius: 0;

  transition: 0.3s ease;
}

.social.linkedin{
  color: #03b1fc;
}
.social.instagram{
  color: red;
}




/* ================= CAREERS ================= */
/* HERO */
.careers-hero {
  text-align: center;
  padding: 80px 20px;

  background: linear-gradient(180deg, #2cbdfc, #57cafc );
}

.careers-hero h1 {
  font-size: 38px;
  margin-bottom: 10px;
}

.section h2 {
  text-align: center;
}

.careers-hero p {
  color: #555;
}

/* WHY JOIN */
.why-join {
  text-align: center;
  padding: 60px 20px;
}

.why-grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.why-card {
  width: 220px;
  padding: 20px;

  background: #A7FF8F;
  border-radius: 12px;

  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.why-card:hover {
  transform: translateY(-5px);
}

.why-card i {
  font-size: 24px;
  color: #9800d4;
  margin-bottom: 10px;
}

.jobs-section {
  background: #70ccf7f8;
  padding: 40px 20px;
  border-radius: 16px;
  margin: 30px auto;
}

/* JOBS */
.job-grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.job-card {
  width: 260px;
  padding: 20px;

  background: white;
  border-radius: 12px;

  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: 0.3s;
}

.job-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.tag {
  display: inline-block;
  margin-top: 10px;

  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;

  background: #e6f2ff;
  color: #0078D4;
}


/* ================= RESUME ================= */
.resume-section {
  text-align: center;
  padding: 50px;
}

/* ================= COMING SECTION ================= */
.coming {
  padding: 80px 20px;
  text-align: center;
}

.grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.box {
  padding: 18px 25px;
  border-radius: 12px;
  cursor: pointer;
  background: #e6f2ff;
  transition: 0.3s;
}

.box:hover {
  transform: translateY(-5px);
}

/* ================= STICKY BUTTON ================= */
.sticky-cta {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--primary);
  color: white;
  padding: 14px 20px;
  border-radius: 30px;
  cursor: pointer;
}