/* 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);
  }
}

/* HOME contact  part  */
.contact-hero {
  margin-top: 2rem;
  position: relative;
  height: 40vh;
  background: #397a58;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.contact-hero .content {
  position: relative;
  z-index: 2;
  color: white;
}

.contact-hero h1 {
  font-size: 3rem;
  letter-spacing: 2px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.breadcrumb {
  /* border: 2px solid gold; */
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  /* gap: 8px; */
}

.breadcrumb a {
  color: white;
  background-color: #2a5b9a;
  padding: 6px 14px;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
/* #d1ecff */
.breadcrumb a:hover {
  color: #086e3e;
}

.breadcrumb .active {
  background-color: #147679;
  padding: 6px 14px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* 📱 Responsive Design  */
@media (max-width: 768px) {
  .contact-hero {
    height: 45vh;
  }

  .contact-hero h1 {
    font-size: 2.2rem;
  }

  .input-group {
    flex-direction: column;
  }

  button {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .contact-hero h1 {
    font-size: 1.8rem;
  }

  .contact-form h2 {
    font-size: 1.5rem;
  }
}

/*  contact section  */

/* --- Variables (Colors sampled #ebf5ff from the image) --- */
:root {
  --color-dark-blue: #1a2338; /* Contact Info Card Background */
  --color-byteiq-blue: #0a7dc8; /* Button Blue & Icon Color */
  --color-text-white: #ffffff;
  --color-form-background: #d2dfeb; /* Light blue/white area for form */
  --color-input-border: #cccccc;
  --color-light-text: #f0f0f0;
  --color-dark-text: #333333;
}

/* --- Global Reset and Basic Styling --- */

body {
  font-family: Arial, sans-serif;
  background-color: var(--color-text-white);
  color: var(--color-dark-text);
  line-height: 1.6;
}

/* --- Contact Section Layout --- */
main {
  padding: 20px 5%;
  /* Added min-height to push content down for better visibility without a nav bar */
  min-height: 100vh;
}

.contact-section {
  text-align: center;
}

.contact-section h1 {
  margin: 40px 0;
  font-size: 2.5em;
  font-weight: normal;
  color: var(--color-dark-text);
}

.contact-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* --- Contact Info Card (Dark Blue Card) --- */
.contact-info-card {
  flex: 1;
  min-width: 350px;
  background-color: #1a2338;
  color: var(--color-light-text);
  padding: 40px 30px;
  border-radius: 8px;
  text-align: left;
  /* Transition for the Hover Effect */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect with Box Shadow (Darker, more pronounced shadow for the dark card) */
.contact-info-card:hover {
  transform: translateY(-5px); /* Lift effect */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.contact-info-card h2 {
  font-size: 2.2em;
  margin-bottom: 5px;
}

.contact-info-card p {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--color-text-white);
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 1em;
}

.info-item i {
  font-size: 1.2em;
  width: 30px;
  text-align: center;
  margin-right: 15px;
  color: var(--color-byteiq-blue); /* Blue icons */
}

.phone-no .info-text {
  /* To align the phone number without an icon */
  margin-left: 45px;
  display: block;
}

.social-icons {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a {
  display: inline-block;
  color: var(--color-text-white);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--color-text-white);
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 4px;
  font-size: 1.2em;
  margin-right: 10px;
  transition: background-color 0.3s, color 0.3s;
}

.social-icons a:hover {
  background-color: var(--color-text-white);
  color: var(--color-dark-blue);
}

/* --- Contact Form Card (Light Blue Card) --- */
.contact-form-card {
  flex: 2;
  min-width: 450px;
  /* background-color: var(--color-form-background); */
  background-color: #458e68;
  padding: 30px 40px;
  border-radius: 8px;
  text-align: left;
  /* Transition for the Hover Effect */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect with Box Shadow (Lighter shadow for the light card) */
.contact-form-card:hover {
  transform: translateY(-5px); /* Lift effect */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.contact-form-card form {
  display: flex;
  flex-direction: column;
}

.contact-form-card label {
  margin-top: 20px;
  margin-bottom: 5px;
  font-weight: bold;
  color: #000;
  font-weight: 500;
  /* color: var(--color-dark-text); */
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid var(--color-input-border);
  border-radius: 4px;
  font-size: 1em;
  outline: none;
  background-color: var(--color-text-white);
}

.contact-form-card textarea {
  resize: vertical;
}

.contact-button {
  /* background-color: var(--color-byteiq-blue); */
  color: #000;
  font-weight: 500;
  background-color: #36a09d;
  border: none;
  padding: 15px 25px;
  margin-top: 30px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 1.1em;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s;
}

.contact-button:hover {
  background-color: rgb(90, 190, 177);
}

/* --- Responsiveness --- */
@media (max-width: 992px) {
  .contact-container {
    /* Stack the cards vertically */
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .contact-info-card,
  .contact-form-card {
    min-width: unset;
    width: 90%; /* Take up most of the screen width */
  }
}

/* --- 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;
  }
}
