/*header-style.css*/

  * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #f6f7f9;
  color: #111;
}
.service-key{
  text-align: left;
  display: inline-block;
}
.service-key1 {
    text-align: left;
    display: inline-block;
    position: absolute;
    right: 200px;
}
/* ======= css for top bar ==================== */
/* ─── TOP GRADIENT BAR (MOBILE SAFE) ───────── */
.top-gradient-bar {
  height: 30px; /* DO NOT CHANGE */
  width: 100%;
  margin-bottom: 2px;
  position: sticky;
  top: 0;
  z-index: 1100;

  /* Professional subtle gradient */
  background: linear-gradient(
    90deg,
    #0b1f44 0%,
    #0d47a1 35%,
    #1e88e5 50%,
    #0d47a1 65%,
    #0b1f44 100%
  );

  /* Soft inner highlight */
  box-shadow:
    inset 0 -1px rgba(255,255,255,0.25),
    inset 0 1px rgba(0,0,0,0.25);
}
@media (prefers-reduced-motion: no-preference) {
  .top-gradient-bar {
    background-size: 200% 100%;
    animation: gradientFlow 12s ease-in-out infinite;
  }
}

@keyframes gradientFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Optional smooth animation */
@media (prefers-reduced-motion: no-preference) {
  .top-gradient-bar {
    background-size: 300% 100%;
    animation: gradientFlow 6s linear infinite;
  }
}

@keyframes gradientFlow {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

/* ─── TOP BAR CONTENT (RESPONSIVE) ───────── */
.top-bar-content {
  width: 100%;
  height: 100%;
  margin: 0;
  padding-left: 8px;
  padding-right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* 🔑 force left alignment */
}


/* LEFT INFO */
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: #ffffff;
  line-height: 1;
}

/* ITEM */
.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* ICON */
.top-bar-left i {
  font-size: 12px;
  opacity: 0.9;
}
@media (max-width: 480px) {
  .top-bar-left {
    font-size: 12px;
    gap: 10px;
  }

 
}
@media (max-width: 768px) {
  .top-bar-left {
    font-size: 12px;
    gap: 14px;
  }
}

/* ─── SMALL MOBILE FIX (<= 420px) ───────── */
@media (max-width: 420px) {

  .top-bar-content {
    padding-left: 6px;
  }

  .top-bar-left {
    gap: 6px;              /* tighter spacing */
    font-size: 11px;       /* smaller but readable */
  }

  .top-bar-left span {
    gap: 4px;              /* icon-text gap */
  }

  .top-bar-left i {
    font-size: 11px;
  }
}
@media (max-width: 360px) {
  .top-bar-left {
    font-size: 10.5px;
    gap: 5px;
  }
}

/* css end for top bar ===================== */

/* ─── HEADER FRAME ───────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

/* ─── TOP HEADER ─────────────────────── */
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.logo img {
  height: 48px;
}

/* ─── DESKTOP NAV ────────────────────── */
.desktop-nav {
  display: flex;
  gap: 22px;
}

.desktop-nav a {
  text-decoration: none;
  font-weight: 500;
  color: #111;
}

.desktop-nav a:hover {
  color: #2563eb;
}

/* ─── SERVICE BAR WRAPPER ───────────────── */
.service-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

/* More wrapper */
.more-wrapper {
  position: relative;
  cursor: pointer;
}

/* More button */
.more-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* Dropdown */
.more-services {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  min-width: 220px;
  z-index: 999;
  padding: 8px 0;
}

/* Dropdown links */
.more-services a {
  display: block;
  padding: 10px 15px;
  color: #333;
  white-space: nowrap;
}

.more-services a:hover {
  background: #f5f5f5;
}


/* ─── SERVICE ITEM ─────────────────────── */
.service-bar a {
  flex: 0 0 160px;              /* 🔑 fixed width */
  text-align: center;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;      /* 🔑 long names trimmed */

  padding: 10px 8px;
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
  text-decoration: none;

  border-radius: 6px;
  transition: background 0.2s ease;
}

.service-bar a:hover {
  background: #e5e7eb;
}

/* ─── HIDE SCROLLBAR ───────────────────── */
.service-bar::-webkit-scrollbar {
  display: none;
}
.service-bar {
  scrollbar-width: none;
}


/* ─── HIDE SCROLLBAR ───────────────────── */
.service-bar::-webkit-scrollbar {
  display: none;
}
.service-bar {
  scrollbar-width: none;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;

  background: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);

  font-size: 18px;
  cursor: pointer;
  z-index: 5;
}

.scroll-btn.left {
  left: 8px;
}

.scroll-btn.right {
  right: 8px;
}

.scroll-btn:hover {
  background: #e5e7eb;
}


/* ─── HAMBURGER ─────────────────────── */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* ─── MOBILE SIDEPANEL ───────────────── */
.mobile-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background: #fff;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  transition: 0.3s ease;
  z-index: 2000;
  padding: 20px;
}

.mobile-panel.active {
  right: 0;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-header img {
  height: 44px;
}

.close-btn {
  font-size: 22px;
  cursor: pointer;
}

/* ─── SOCIAL ICONS ───────────────────── */
.social-icons {
  display: flex;
  gap: 15px;
  margin: 18px 0;
}

.social-icons a {
  font-size: 18px;
  color: #2563eb;
}

/* ─── PANEL MENU ─────────────────────── */
.panel-menu a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  font-weight: 500;
  color: #111;
  border-bottom: 1px solid #eee;
}
/* ─── MODAL OVERLAY ───────────────────────── */
.service-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 1500;
}
.site-header {
  position: relative;
}

.service-modal {
  position: absolute;
  top: 100%;              /* exactly below service bar */
  left: 50%;
  transform: translateX(-50%);
  margin-top: 12px;
  width: 760px;
  max-width: 95%;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1600;
}

.service-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
 

.service-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ─── MODAL INNER ────────────────────────── */
.service-modal-inner {
  display: flex;
  overflow: hidden;
}

/* Left Image */
.service-modal-image {
  width: 40%;
  background: #f1f5f9;
}

.service-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right Content */
.service-modal-content {
  width: 60%;
  padding: 30px;
}

.service-modal-content h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.service-modal-content p {
  font-size: 14px;
  color: #374151;
  margin-bottom: 14px;
}

.service-modal-content ul {
  margin-bottom: 20px;
}

.service-modal-content ul li {
  font-size: 14px;
  margin-bottom: 8px;
}

/* Contact Button */
.contact-btn {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}

.contact-btn:hover {
  background: #1e40af;
}
.service-bar {
  position: relative;
}

.service-modal.active {
  opacity: 1;
  visibility: visible;
}

.service-modal-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-btn {
  margin-top: auto;
  align-self: center;
}

.service-modal {
  pointer-events: auto;
}



/* ─── MOBILE SAFETY ─────────────────────── */
@media (max-width: 768px) {
  .service-modal {
    display: none;
  }
}
/* ─── MOBILE VIEW ────────────────────── */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .service-bar {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .logo img {
    height: 56px;
  }
}



