/* Basic reset for links and lists */
/* * {
  box-sizing: border-box;
 
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
} */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}
a,
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* Navbar layout */
.navbar {
  width: 100%;
  background: #000;
  border-bottom: 1px solid #e6e6e6;
  position: relative;
  z-index: 1000;
  top: 0;
  position: fixed;
  font-family: Arial, sans-serif;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.logo {
  height: 83px;
  width: 83px;
  display: block;
}

.brand-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-shadow: 0 0 5px rgba(0, 170, 255, 0.5);
}
.brand-text:hover {
  color: #1abc9c;
  transform: scale(1.1);
  /* transition-duration: ease-in 1s; */
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -7px;
}
.hamburger::after {
  top: 7px;
}

/* When expanded -> transform into X */
.nav-toggle.open .hamburger {
  background: transparent;
}
.nav-toggle.open .hamburger::before {
  transform: rotate(45deg) translate(4px, 4px);
  top: 0;
}
.nav-toggle.open .hamburger::after {
  transform: rotate(-45deg) translate(4px, -4px);
  top: 0;
}

/* Nav links - desktop */
.nav-link {
  position: relative;
  text-decoration: none;
  color: black;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* Create underline effect */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background-color: #34d399;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-link {
  color: #fff;
  padding: 8px 6px;
  border-radius: 4px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.nav-link.active {
  text-decoration: none;
  color: #0b66ff;
}

.nav-link:hover,
.dropdown-link:hover {
  color: #34d399;
}

/* Dropdown (desktop style) */
.services {
  position: relative;
}
.dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(12, 20, 30, 0.06);
  border-radius: 6px;
  padding: 8px 6px;
  display: none;
}
/* hiiii----------- */
/* ====== Services Main Link ====== */
.navbar .nav-link.services {
  position: relative;
  transition: color 0.3s ease;
}

/* Underline effect */
.navbar .nav-link.services::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background-color: #28a745; /* green underline */
  transition: width 0.3s ease;
}

/* Active (clicked) state */
.navbar .nav-link.services.active {
  color: #28a745; /* green text */
}

.navbar .nav-link.services.active::after {
  width: 100%;
}

/* ====== Dropdown Items ====== */
.dropdown-menu a {
  position: relative;
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Hover effect */
.dropdown-menu a:hover {
  color: #28a745;
}

/* individual dropdown links */
.dropdown li {
  margin: 4px 0;
}
.dropdown-link {
  display: block;
  padding: 8px 10px;
  text-decoration: none;
  border-radius: 4px;
  color: #111;
}

/* --- FIX for dropdown vanish on hover --- */
@media (min-width: 900px) {
  .services {
    position: relative;
  }

  .dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    pointer-events: none;
  }

  /* Keep dropdown visible while hovering over parent OR dropdown */
  .services:hover > .dropdown,
  .services:focus-within > .dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* MOBILE / tablet: stack */
@media (max-width: 899px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    right: 16px;
    left: 16px;
    top: 64px;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(12, 20, 30, 0.08);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links > li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav-links > li:last-child {
    border-bottom: none;
  }

  .nav-link {
    display: block;
    padding: 12px 8px;
    width: 100%;
    color: #000;
    text-align: left;
  }

  /* For mobile: dropdown becomes accordion inside the stacked menu */
  .dropdown {
    position: relative;
    top: 0;
    left: 0;
    box-shadow: none;
    padding-left: 12px;
    padding-right: 12px;
    display: none;
  }

  .dropdown.open {
    display: block;
  }

  .service-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 8px;
  }

  .caret {
    transition: transform 0.2s ease;
  }
  .service-toggle[aria-expanded="true"] .caret {
    transform: rotate(180deg);
  }
}

/* Hero Section */
.career-hero {
  height: 50vh;
  /* background: linear-gradient(to right, #0072ff, #00c6ff); */
  background-color: #5fc691;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  animation: fadeIn 1.5s ease;
}

.hero-content h1 {
  color: #000;
  font-size: 2.9rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.hero-content p {
  color: #1b486c;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.apply-btn {
  background: white;
  color: #0072ff;
  padding: 10px 25px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 700;
  transition: 0.4s;
}

.apply-btn:hover {
  background: #0072ff;
  color: white;
  transform: scale(1.05);
}

/* Job Section */
.career-jobs {
  padding: 50px 20px;
  text-align: center;
  background-color: #fff;
}

.career-jobs h2 {
  font-size: 2rem;
  margin-bottom: 45px;
  color: #333;
}

.job-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 0 20px;
}

.job-card {
  background: #ffffff;
  border-radius: 15px;
  background-color: #397a58;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 25px;
  transition: 0.4s ease;
  opacity: 0;
  transform: translateY(50px);
}

.job-card h3 {
  color: #000;
  font-weight: 600;
  margin-bottom: 10px;
}

.job-card p {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 15px;
}

.job-btn {
  background: #0072ff;
  text-decoration: none;
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.job-btn:hover {
  background: #005bd1;
  transform: translateY(-3px);
}

/* Hover Animation */
.job-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Footer */
.career-footer {
  background: #f8f9fa;
  padding: 15px;
  text-align: center;
  color: #555;
  font-size: 0.9rem;
  margin-top: 30px;
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}
/* footer part */
/* --- Global Reset/Base Styles (Optional, but good practice) --- */
.footer {
  font-family: Arial, sans-serif; /* A simple, common font */
  color: #fff; /* White text */
  background-color: #222; /* Dark background color (close to the image) */
  padding-top: 40px;
  margin-top: 15px; /* Top padding for the main section */
}

.footer a {
  color: #ccc; /* Slightly lighter white for links */
  text-decoration: none; /* Remove underline */
  transition: color 0.3s ease; /* Smooth hover effect */
}

.footer a:hover {
  color: #fff; /* White on hover */
}

.footer ul {
  list-style: none; /* Remove bullet points */
  padding: 0;
  margin: 0;
}

/* --- Footer Top Section Layout (Uses Flexbox) --- */
.footer-top {
  display: flex;
  justify-content: space-between; /* Puts space between the logo and link columns */
  max-width: 1200px; /* Max width for content (adjust as needed) */
  margin: 0 auto; /* Center the content */
  padding: 0 20px 40px; /* Horizontal padding and bottom padding */
  border-bottom: 1px solid #333; /* Separator line from the image */
}

/* --- Logo Styling --- */
.footer-logo {
  display: flex;
  align-items: center; /* Vertically align logo image and text */
  font-size: 1.5em;
  font-weight: bold;
  color: #fff;
}

.logo-img {
  height: 85px; /* Adjust size as needed */
  width: 85px;
  margin-right: 8px;
  /* You would need to ensure the path/to/byteiq-logo.png exists or replace with an SVG/text logo */
}

/* --- Footer Links Columns Container --- */
.footer-links-container {
  display: flex;
  gap: 80px; /* Space between the link columns */
}

.column-title {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #fff;
  text-transform: uppercase;
}

.footer-column li {
  margin-bottom: 8px; /* Space between list items */
}

/* --- Footer Bottom (Copyright Bar) --- */
.footer-bottom {
  background-color: #1a1a1a; /* Slightly darker or same as top, based on image */
  text-align: center;
  padding: 15px 20px;
  font-size: 0.9em;
  color: #aaa; /* Lighter color for copyright text */
}

/* --- Responsiveness: Mobile/Tablet View --- */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column; /* Stacks logo and links vertically */
    padding-bottom: 30px;
  }

  .footer-links-container {
    flex-direction: column; /* Stacks the three link columns vertically */
    gap: 0; /* Remove horizontal gap */
    margin-top: 30px; /* Space between logo and first column */
  }

  .footer-logo {
    margin-bottom: 20px; /* Space below the logo */
  }

  .footer-column {
    margin-bottom: 20px; /* Space between stacked columns */
  }
}

/* --- Responsiveness: Small Mobile View (optional) --- */
@media (max-width: 480px) {
  .footer-top {
    padding: 0 15px 30px;
  }
}
