/* ==========================================
   APRINTS.PK - Stylesheet
   ========================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

/* ==========================================
   Announcement Bar
   ========================================== */
.announcement-bar {
  background: linear-gradient(90deg, #f97316, #ef4444);
  color: #fff;
  padding: 8px 0;
  overflow: hidden;
}

.announcement-text {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 32s linear infinite;
}

@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================
   Top Info Bar
   ========================================== */
.top-info-bar {
  background: #1f2937;
  color: #d1d5db;
  padding: 8px 0;
  font-size: 13px;
}

.top-info-bar a {
  color: #d1d5db;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.top-info-bar a:hover {
  color: #f97316;
}

.top-info-bar span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================
   Main Navigation
   ========================================== */
.main-nav {
  background: #111827;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}

/* Logo */
.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
}

/* Desktop Menu */
.desktop-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.desktop-menu > li {
  position: relative;
}

.desktop-menu > li > a,
.desktop-menu > li > button {
  background: none;
  border: none;
  cursor: pointer;
  color: #e5e7eb;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.desktop-menu > li > a:hover,
.desktop-menu > li > button:hover,
.desktop-menu > li > a.active {
  color: #f97316;
  background: rgba(249,115,22,0.08);
}

.desktop-menu > li > button svg,
.desktop-menu > li > button .chevron {
  transition: transform 0.25s ease;
  font-size: 11px;
}

.desktop-menu > li.open > button .chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  min-width: 220px;
  padding: 8px 0;
  z-index: 1000;
  border-top: 3px solid #f97316;
  animation: dropDown 0.2s ease;
}

@keyframes dropDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.desktop-menu > li.open > .dropdown-menu,
.desktop-menu > li:hover > .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: #374151;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}

.dropdown-menu a:hover {
  background: #fff7ed;
  color: #f97316;
  padding-left: 24px;
}

/* Contact Us Button */
.nav-contact-btn {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 16px;
}

.btn-contact {
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(249,115,22,0.4);
  letter-spacing: 0.3px;
}

.btn-contact:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249,115,22,0.5);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #e5e7eb;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================
   Mobile Menu Overlay
   ========================================== */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
  backdrop-filter: blur(2px);
}

.mobile-nav-overlay.visible {
  display: block;
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, 90vw);
  height: 100%;
  background: #111827;
  z-index: 1101;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  padding: 0 0 40px 0;
}

.mobile-nav-panel.open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px;
  border-bottom: 1px solid #374151;
}

.mobile-nav-header img {
  height: 40px;
  width: auto;
}

.mobile-close-btn {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.mobile-close-btn:hover {
  color: #f97316;
}

.mobile-menu-list {
  list-style: none;
  padding: 12px 0;
}

.mobile-menu-list > li {
  border-bottom: 1px solid #1f2937;
}

.mobile-menu-list > li > a,
.mobile-menu-list > li > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: #e5e7eb;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  background: none;
  border: none;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.mobile-menu-list > li > a:hover,
.mobile-menu-list > li > button:hover {
  background: rgba(249,115,22,0.08);
  color: #f97316;
}

.mobile-menu-list > li > button .chevron {
  font-size: 12px;
  transition: transform 0.25s;
}

.mobile-menu-list > li.open > button .chevron {
  transform: rotate(180deg);
}

.mobile-submenu {
  list-style: none;
  background: #1a2435;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-submenu.open {
  max-height: 600px;
}

.mobile-submenu li a {
  display: block;
  padding: 11px 20px 11px 36px;
  color: #9ca3af;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  border-bottom: 1px solid #1f2937;
}

.mobile-submenu li:last-child a {
  border-bottom: none;
}

.mobile-submenu li a:hover {
  color: #f97316;
  background: rgba(249,115,22,0.06);
}

.mobile-submenu li a::before {
  content: "›";
  margin-right: 8px;
  color: #f97316;
}

/* ==========================================
   Hero Slider
   ========================================== */
.slider-container {
  position: relative;
  overflow: hidden;
  background: #f3f4f6;
}

.slider-item {
  display: none;
}

.slider-item.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.slider-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #111;
  z-index: 10;
  transition: background 0.2s;
}

.slider-btn:hover {
  background: rgba(255,255,255,1);
}

#prev-slide { left: 16px; }
#next-slide { right: 16px; }

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.slider-dot.active,
.slider-dot:hover {
  background: #f97316;
  transform: scale(1.2);
}

/* ==========================================
   Custom Scrollbar
   ========================================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #f97316; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #ea580c; }

/* ==========================================
   Responsive Breakpoints
   ========================================== */

/* Tablet/Mobile – hide desktop elements */
@media (max-width: 1023px) {
  .desktop-menu { display: none; }
  .nav-contact-btn { display: none; }
  .hamburger { display: flex; }
  .top-info-bar { display: none; }
}

/* Small mobile */
@media (max-width: 480px) {
  .nav-logo img { height: 40px; }
  .nav-inner { height: 60px; padding: 0 16px; }
}

/* Large screens - ensure nav doesn't overflow */
@media (max-width: 1200px) and (min-width: 1024px) {
  .desktop-menu > li > a,
  .desktop-menu > li > button {
    font-size: 13px;
    padding: 8px 9px;
  }
  .btn-contact {
    font-size: 13px;
    padding: 9px 16px;
  }
}


/* ==========================================
   Slide Content Overlay
   ========================================== */
.slide-wrapper {
  position: relative;
  display: block;
  line-height: 0;
}

.slide-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 5 / 2;
}

/* Dark gradient from left so text stays readable */
.slide-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.28) 55%,
    transparent 100%
  );
  pointer-events: none;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
  z-index: 5;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Small label/badge above heading */
.slide-tag {
  display: inline-block;
  background: #f97316;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  width: fit-content;
}

.slide-heading {
  color: #ffffff;
  font-size: clamp(22px, 3.5vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.slide-subtext {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 400;
  line-height: 1.6;
  max-width: 340px;
}

.slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #fff;
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 50px;
  text-decoration: none;
  width: fit-content;
  margin-top: 4px;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.45);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.slide-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.55);
  opacity: 0.93;
}

.slide-cta i {
  transition: transform 0.2s;
}

.slide-cta:hover i {
  transform: translateX(4px);
}

/* ---- Responsive ---- */

/* Tablet */
@media (max-width: 768px) {
  .slide-content {
    left: 5%;
    max-width: 60%;
    gap: 8px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .slide-content {
    left: 4%;
    max-width: 75%;
    gap: 6px;
  }

  .slide-tag {
    font-size: 10px;
    padding: 3px 10px;
  }

  .slide-cta {
    padding: 9px 18px;
  }

  /* Lighten gradient slightly on mobile so image isn't too dark */
  .slide-wrapper::after {
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.15) 60%,
      transparent 100%
    );
  }
}