/*
===================================================
PROJECT: Nehal Machinery Ltd
GLOBAL STYLES & TYPOGRAPHY
DEVELOPER: IBNA AQUAR SAHOS (AQUAR) | Dhaka Solutions
===================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@500;600;700&family=Oswald:wght@500;600;700&family=Outfit:wght@300;400;500;600;700&family=Signika+Negative:wght@400;600;700&display=swap');

/* Focus outlines for WCAG 2.2 AA accessibility */
:focus-visible {
  outline: 3px solid var(--color-text-tertiary);
  outline-offset: 2px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-primary);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text-primary);
}

/* Reference Website Section Title with Yellow SVG Underline */
.section-title-wrap {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.section-title {
  display: inline-block;
  font-family: var(--font-family-primary);
  font-size: 80px;
  font-weight: 700;
  color: var(--color-surface-base);
  text-align: center;
  text-shadow: 4px 4px 4px #cfcfcf;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1500 136' fill='%23FFCF00'%3E%3Cpath d='M2.9 51.31c1.54 1.59 3.55 2.42 5.67 2.93 9.55 2.69 12.36 4.04 30.44 7.8-3 .3-5.73.44-8.57 3.08a9.83 9.83 0 0 0-2.07 10.92c.83 2.7 3.33 4.22 5.31 6.05 10.97 9.24 37.74 12.54 57.74 16.6 28.32 5.7 56.66 11.52 85.37 14.86 23.26 11.61 80.27 14.32 103.75 15.4 34.52 2.19 69.08 3.36 103.65 3.76 121.04 6.36 242.43.51 363.58.82 271.97-15.76 111.74-7.14 354.24-27.85 46.28-2.18 92.54-4.84 138.71-8.85 12.39-1.12 31.77-2.4 34.68-3.76 3.32-1.16 5.52-4.34 6.02-7.77 123.48-7.79 121.13-7.18 123.45-8.4 4.59-1.61 7.1-7.14 5.79-11.8a10.12 10.12 0 0 0-9.64-7.34c-46.89.01-33.59-2.78-103.06 3.46l10.94-1.87c1.99-.76 4.08-1.67 5.19-3.58 4.19-4.72 2.14-13.98-5.64-15.77-3.38-2.63-6.42-2-14.13-2.11-4.56-.7-9.13-1.34-13.72-1.81 34.64-5.34 46.49-8.03 55.99-12.31 2.43-1.11 4.63-2.64 6.94-3.97 14.45-7.01 3.34-24.98-8.18-18.36-2.71 1.43-5.2 3.25-7.94 4.62-11.02 4.17-22.83 5.68-34.36 7.85-36.51 6.23-65.21 9.47-105.27 13.24-39.97 3.44-79.94 7.17-120.01 9.1-112.89 6.65-225.89 10.72-338.92 13.94-139.42 4.28-72.29 2.74-238.74 3.83-152.12.02-105.22.84-209.3-3.14-24.84-.9-33.26-1.91-65.79-4.63-17.2-1.82-43.29-7.05-66.97-9.27-4.21-.16-8.68-1.39-12.64.37a9.33 9.33 0 0 0-5.97 7.81l-.03.26c-68.56-8.07-86.97-8.7-119.44-11.18a7.6 7.6 0 0 0-3.85.86 9.31 9.31 0 0 0-5.97 7.81c-.59 3.07.64 6.15 2.75 8.4Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 45px;
  padding-bottom: 25px;
  line-height: 1.1;
}

/* Page Hero Banner Titles */
.banner-title-1 {
  font-size: 80px;
  font-weight: 700;
  -webkit-text-stroke-width: 5px;
  -webkit-text-stroke-color: #0f00000a;
  color: var(--color-text-accent);
  position: relative;
  text-align: center;
  text-shadow: 2px 2px 2px #f8f6f6;
  top: 45%;
  transform: translateY(-50%);
  margin: 0;
  letter-spacing: 1px;
}

.banner-title-2 {
  font-size: 50px;
  font-weight: 500;
  -webkit-text-stroke-width: 5px;
  -webkit-text-stroke-color: #0f00000a;
  color: var(--color-text-accent);
  position: relative;
  text-align: center;
  text-shadow: 2px 2px 2px #f8f6f6;
  top: 48%;
  transform: translateY(-50%);
  margin: 0;
}

/* Reference Action Button */
.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(270deg, #ffffff 50%, #140f0f 0);
  background-position: 100% 100%;
  background-size: 200% 100%;
  border: 3px solid #000000;
  color: #000000;
  font-family: var(--font-family-button);
  font-weight: 700;
  letter-spacing: 3px;
  padding: 10px 24px;
  min-height: 48px;
  cursor: pointer;
  transition: all var(--motion-duration-fast) ease-in-out;
  text-transform: uppercase;
}

.btn-action:hover,
.btn-action:focus-visible {
  background-position: 0 100%;
  border-color: #140f0f;
  color: #ffffff !important;
}

/* Loader Animation */
.loader-wrapper {
  background: #222525;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.loader-container {
  height: 112px;
  width: 112px;
  position: relative;
}

.loader-box {
  border: 16px solid #f5f5f5;
  box-sizing: border-box;
  display: block;
  position: absolute;
}

.loader-box.box1 {
  animation: anime1 4s ease-in-out infinite forwards;
  height: 48px;
  margin-left: 0;
  margin-top: 64px;
  width: 112px;
}

.loader-box.box2 {
  animation: anime2 4s ease-in-out infinite forwards;
  height: 48px;
  margin-left: 0;
  margin-top: 0;
  width: 48px;
}

.loader-box.box3 {
  animation: anime3 4s ease-in-out infinite forwards;
  height: 48px;
  margin-left: 64px;
  margin-top: 0;
  width: 48px;
}

@keyframes anime1 {
  0% { transform: translateY(0); }
  25% { transform: translateY(-64px); }
  50% { transform: translateY(-64px) translateX(64px); }
  75% { transform: translateY(0) translateX(64px); }
  100% { transform: translateY(0) translateX(0); }
}

@keyframes anime2 {
  0% { transform: translateY(0); }
  25% { transform: translateY(64px); }
  50% { transform: translateY(64px) translateX(64px); }
  75% { transform: translateY(0) translateX(64px); }
  100% { transform: translateY(0) translateX(0); }
}

@keyframes anime3 {
  0% { transform: translateY(0); }
  25% { transform: translateY(64px); }
  50% { transform: translateY(64px) translateX(-64px); }
  75% { transform: translateY(0) translateX(-64px); }
  100% { transform: translateY(0) translateX(0); }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: var(--color-whatsapp);
  border-radius: var(--radius-circle);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: pointer;
  transition: transform var(--motion-duration-instant) ease-in-out, box-shadow var(--motion-duration-instant) ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: #ffffff;
}

/* Subtle Footer Implementation Attribution & Dynamic Copyright */
.developer-attribution-bar {
  background-color: #e2e2e2;
  border-top: 1px solid #d0d0d0;
  padding: 12px 20px;
  text-align: center;
  font-size: 14px;
  color: #333333;
}

.copyright-text {
  margin: 0;
  line-height: 1.6;
  font-size: 14px;
}

.developer-attribution-bar a {
  color: #0b5ed7;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.developer-attribution-bar a:hover {
  color: #002a80;
}
