/* 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);
}

.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 part */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* 🌈 Animated gradient background */
body {
  background: linear-gradient(
    270deg,
    #ff9a9e,
    #fad0c4,
    #a1c4fd,
    #c2e9fb,
    #fbc2eb,
    #a6c1ee
  );
  background-size: 1200% 1200%;
  animation: gradientShift 20s ease infinite;
  transition: background 2s ease-in-out;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 10%;
  min-height: 100vh;
  color: #111;
}

.content {
  max-width: 600px;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #111;
  line-height: 1.2;
}

p {
  font-size: 1rem;
  color: #333;
  margin: 20px 0 30px;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  background: #007bff;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.btn:hover {
  background: #0056b3;
}

.image img {
  width: 600px;
  max-width: 100%;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* 📱 Responsive Design */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .content {
    max-width: 100%;
    margin-bottom: 40px;
  }

  h1 {
    font-size: 2.2rem;
  }

  .image img {
    width: 300px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.8rem;
  }

  p {
    font-size: 0.9rem;
  }

  .btn {
    padding: 10px 20px;
  }
}
/* second main div part */

/* Reset default styles */

/* Section Background */
.choose-section {
  padding: 60px 10%;
  background: linear-gradient(135deg, #f9fafc, #eef3ff);
}

/* Container */
.container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

/* Left Side Image */
.image-box {
  flex: 1 1 45%;
  text-align: center;
}
.image-box img {
  width: 100%;
  max-width: 550px;
  animation: float 4s ease-in-out infinite;
}

/* Floating animation for smooth effect */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Right Side Content */
.content-box {
  flex: 1 1 50%;
  padding: 20px;
}
.content-box h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #0b3d91;
}
.content-box h2 span {
  color: #ff6600;
}
.content-box p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.feature {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature h3 {
  color: #000;
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.feature i {
  font-size: 26px;
  display: block;
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
    text-align: center;
  }
  .image-box,
  .content-box {
    flex: 1 1 100%;
  }
}

/* --- 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: #000; /* Slightly darker or same as top, based on image */
  text-align: center;
  padding: 15px 20px;
  font-size: 2em;
  color: #aaa; /* Lighter color for copyright text */
}
.footer-bottom p {
  color: #aaa;
}
/* --- 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;
  }
}
