:root {
  --bg: #0a0a0a;
  --card: #111;
  --muted: #ffffff;
  --text: #aaa;
  --yellow: #ffd84d;
  --yellow-strong: #ffc700;
  --border: #212121;
  --radius: 16px;
  --container: 1200px;
  --shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

/* Base */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  background: var(--bg);
  color: var(--muted);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  padding-top: 74px; /* Add padding to body to account for fixed header */
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Utility */
.muted {
  color: var(--muted);
}

.accent {
  color: var(--yellow);
}

.anchor-yellow {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 700;
}

.sr-only {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: #111;
  border: 0;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.btn:hover {
  transform: translateY(-3px);
  background: var(--yellow-strong);
  filter: brightness(1.01);
}

.btn.ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--muted);
}

/* Header - FIXED POSITION */
.site-header {
  position: fixed; /* Changed from sticky to fixed */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 90;
  background: rgba(10, 10, 10, 0.95); /* More opaque background */
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 16px;
}

/* Logo */
.logo .logo-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--yellow);
  background: rgba(255, 216, 77, 0.04);
  font-weight: 700;
  color: var(--text);
  font-size: 15px;
}

.logo-initial {
  color: var(--yellow);
  margin-right: 2px;
  font-weight: 800;
}

/* Navigation center */
.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-center ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-center a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.nav-center a:hover {
  color: var(--text);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-btn {
  border-radius: 999px;
  padding: 10px 16px;
}

/* Hide contact button on screens smaller than 768px */
@media (max-width: 768px) {
  .contact-btn {
    display: none;
  }
}

/* Hamburger */
.hamburger {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--yellow);
  border-radius: 3px;
  margin: 4px 0;
}

/* Side menu */
.side-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100%;
  background: var(--yellow);
  color: #111;
  padding: 22px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
  transition: right 0.28s cubic-bezier(0.2, 0.9, 0.2, 1);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: right 0.4s ease;
}

.side-menu.open {
  right: 0;
}

.side-close {
  background: transparent;
  border: 0;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  align-self: flex-end;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}

.side-nav a {
  color: #111;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}

.side-nav a:hover {
  text-decoration: underline;
}

/* Hero */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) contrast(1.02);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 36px 20px;
  max-width: 1000px;
}

.hero h1 {
  font-size: clamp(28px, 4.8vw, 52px);
  margin: 0 0 12px;
  line-height: 1.06;
}

.lead {
  color: #e6e6e6;
  margin-bottom: 20px;
  font-size: clamp(14px, 2vw, 16px);
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
/* chairmen Massage */
.chairman-message {
  padding: 40px 20px;
}

.chairman-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 30px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  flex-wrap: wrap; /* responsive stacking */
}

.chairman-text {
  flex: 1 1 300px;
  color: var(--text);
  font-family: "Poppins", sans-serif;
  position: relative;
}

.chairman-text .quote-mark {
  font-size: 50px;
  color: var(--yellow);
  line-height: 0.5;
  vertical-align: top;
}

.chairman-text p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.6;
}

.chairman-text h4 {
  margin-top: 15px;
  font-weight: 600;
  color: var(--yellow);
}

.chairman-img {
  flex: 0 0 250px; /* width of image */
  height: 100%; /* match card height */
  border-radius: 20px; /* rounded rectangle */
  overflow: hidden;
}

.chairman-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
  .chairman-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .chairman-text {
    flex: unset;
  }

  .chairman-img {
    width: 90%; /* almost full card width on mobile */
    height: auto;
    border-radius: 20px;
    margin-top: 20px;
  }

  .chairman-text .quote-mark {
    font-size: 40px;
  }
}

/* Sections */
.section {
  padding: 64px 0;
}

.section.dark {
  background: transparent;
}

.section-title {
  font-size: clamp(22px, 3.6vw, 36px);
  margin: 0 0 10px;
  text-align: center;
}

.section-desc {
  max-width: 900px;
  margin: 0 auto 26px;
  color: var(--muted);
  text-align: center;
}

/* Grids & cards */
.grid {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1000px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--border);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin: 12px 0;
}

.card h3 {
  margin: 0 0 8px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: #2b2b2b;
}

/* Service bullets */
.service-card .bullets {
  margin: 10px 0 0 18px;
  padding: 0;
}

.service-card .bullets li {
  list-style: disc;
  margin: 6px 0;
  color: var(--muted);
  font-size: 14px;
}

/* Machines grid */
.machines-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1100px) {
  .machines-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .machines-grid {
    grid-template-columns: 1fr;
  }
}

/* Workflow */
.workflow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap; /* keeps all in one line */
  overflow-x: auto; /* lets it scroll on small screens */
  white-space: nowrap;
}

.flow-step {
  background: var(--card);
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  min-width: 180px;
  text-align: center;
  font-weight: 600;
}

.flow-arrow {
  font-size: 20px;
  color: var(--yellow);
  align-self: center;
}

/* Mobile view: vertical flow */
@media (max-width: 768px) {
  .workflow {
    flex-direction: column; /* stack steps vertically */
    align-items: center; /* center each step */
    gap: 16px; /* spacing between steps */
    white-space: normal; /* allow line breaks */
    overflow-x: visible; /* remove horizontal scroll */
  }

  .flow-arrow {
    transform: rotate(90deg); /* make arrows point down */
  }

  .flow-step {
    min-width: auto;
    width: 90%; /* take most of mobile width */
  }
}

/* Recent work */
.work-card img {
  height: 180px;
  border-radius: 10px;
  object-fit: cover;
}

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 26px;
  align-items: start;
}

@media (max-width: 980px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

.contact-left h3 {
  margin: 4px 0 10px;
}

.contact-right input,
.contact-right textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0f0f0f;
  color: var(--text);
  margin-bottom: 12px;
}

input:focus,
textarea:focus {
  background-color: #0f0f0f; /* same as above */
  border: none;
}

input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-text-fill-color: #ffffff; /* text color */
  transition: background-color 5000s ease-in-out; /* keeps background from flashing */
  font-family: "Poppins", sans-serif;
}

input,
textarea,
select,
button {
  font-family: "Poppins", sans-serif; /* your website font */
}

.contact-right textarea {
  min-height: 140px;
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.note {
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  color: #fff;
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("/images/footer-bg.jpg") top/cover no-repeat;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 769px) {
  .site-footer {
    min-height: calc(100vw / 3);
  }
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  /* margin: auto; */
  margin: 40px 40px 0;
  gap: 30px;
}

/* Sections */
.footer-about,
.footer-links,
.footer-address {
  flex: 1 1 250px;
  min-width: 220px;
}

.footer-about {
  display: flex;
  flex-direction: column; /* stack items vertically */
  justify-content: center; /* center vertically within container */
  align-items: center; /* center horizontally */
  flex: 1 1 250px;
  min-width: 220px;
  text-align: center; /* optional: center paragraph text */
  gap: 12px; /* optional spacing between logo and paragraph */
}

/* Logo */
.footer-logo {
  max-width: 140px;
  margin-bottom: 15px;
}

.footer-about p {
  margin: 10px 0 20px;
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
}

/* Social */
.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-social a {
  color: #fff;
  font-size: 18px;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #ffd700;
}

/* Links */
.footer-links h3,
.footer-address h3 {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: bold;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 6px 0;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 14px;
}

.footer-links a:hover {
  color: #ffd700;
}

/* Address */
.footer-address p {
  margin: 6px 0;
  font-size: 14px;
}

.footer-address i {
  margin-right: 8px;
  color: #ffd700;
}

/* Bottom */
.footer-bottom {
  text-align: center;
  font-size: 13px;
  padding: 16px 0;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-about,
  .footer-links,
  .footer-address {
    flex: 1 1 100%;
    min-width: unset;
    margin-bottom: 20px;
  }

  .footer-social {
    justify-content: center;
  }
}

/* Small devices */
@media (max-width: 880px) {
  .nav-center {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .header-inner {
    padding: 0 6px;
  }
}
 
 
/* Optional: smooth AOS animations */
[data-aos] {
  transition-property: transform, opacity;
}
 
/* Focus outlines */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid rgba(255, 216, 77, 0.15);
  outline-offset: 2px;
}

/* Home Button */
.home-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--yellow);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 80;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.home-button:hover {
  transform: translateY(-5px) scale(1.05);
  background: var(--yellow-strong);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

/* Animation for the home button */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.home-button.pulse {
  animation: pulse 2s infinite;
}

.footer-sub-logo {
  margin-top: 20px;
  display: flex;
  gap: 18px;
  /* align-items: center; keeps them vertically aligned */
}

.footer-sub-logo img {
  max-width: 90px;   /* ✅ never larger than 90px */
  width: 100%;       /* responsive within that limit */
  height: auto;      /* keep aspect ratio */
  object-fit: cover;
  border-radius: 8px;
}
.contact-item {
  display: flex;
  align-items: center;
  justify-content: center; /* centers content horizontally */
  gap: 20px; 
  flex-wrap: wrap; /* stack on mobile */
  text-align: justify;
}

.contact-main-image {
  flex: 1 1 300px; /* responsive flex */
  max-width: 400px;
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.contact-text {
  flex: 2 1 300px; /* text takes remaining space */
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ddd;
}

/* Mobile stacking */
@media (max-width: 768px) {
  .contact-item {
    flex-direction: column; /* stack image above text */
    align-items: center;    /* center items horizontally */
  }

  .contact-text {
    width: 100%;
    text-align: center; /* optional: center text on mobile */
  }

  .contact-main-image {
    max-width: 90%; /* prevent too large on small screens */
  }
}

.center-text{
  text-align: center;
  padding: 0 20px;
}

.center-text  h3 {
  margin: 4px 0 10px;
}
