/* =============================================
   ANUSAYA ENGINEERING WORKS — STYLESHEET
   ============================================= */

/* --- RESET & BASE --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #e85d04;
  --primary-dk: #c44d00;
  --dark: #0d0d0d;
  --dark-2: #1a1a1a;
  --dark-3: #242424;
  --gray: #6b7280;
  --gray-lt: #9ca3af;
  --light: #f5f5f5;
  --white: #ffffff;
  --border: #2e2e2e;
  --font-main: "Roboto", sans-serif;
  --font-head: "Oswald", sans-serif;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  --radius: 8px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--dark);
  color: var(--light);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- UTILITIES --- */
.accent {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 4px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dk);
  border-color: var(--primary-dk);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.section-header.light .section-title {
  color: var(--white);
}

.title-bar {
  width: 56px;
  height: 3px;
  background: var(--primary);
  margin: 0 auto;
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: transparent;
  padding: 20px 0;
  transition:
    background var(--transition),
    padding var(--transition),
    box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(13, 13, 13, 0.97);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  animation: spin-slow 8s linear infinite;
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-main {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}

.logo-sub {
  font-size: 0.68rem;
  color: var(--gray-lt);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-list {
  display: flex;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-lt);
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.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: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.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);
}

/* Nav close button — visible inside the slide-out panel */
.nav-close {
  display: none; /* shown only on mobile via media query */
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: rgba(232, 93, 4, 0.12);
  border: 1px solid rgba(232, 93, 4, 0.35);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.05rem;
  cursor: pointer;
  transition:
    background var(--transition),
    transform var(--transition);
  z-index: 1;
}

.nav-close:hover {
  background: var(--primary);
  transform: rotate(90deg);
}

/* --- BANNER SLIDER --- */
.banner-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13, 13, 13, 0.88) 0%,
    rgba(13, 13, 13, 0.55) 60%,
    rgba(13, 13, 13, 0.2) 100%
  );
  pointer-events: none;
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 80px;
}

.slide-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease 0.1s,
    transform 0.55s ease 0.1s;
}

.slide-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s ease 0.25s,
    transform 0.55s ease 0.25s;
}

.slide-desc {
  font-size: 1rem;
  color: var(--gray-lt);
  max-width: 560px;
  margin-bottom: 34px;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s ease 0.4s,
    transform 0.55s ease 0.4s;
}

.slide-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s ease 0.55s,
    transform 0.55s ease 0.55s;
}

/* Animate active slide content in */
.slide.active .slide-tag,
.slide.active .slide-title,
.slide.active .slide-desc,
.slide.active .slide-btns {
  opacity: 1;
  transform: translateY(0);
}

/* --- SLIDER ARROWS --- */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
  backdrop-filter: blur(4px);
}

.slider-prev {
  left: 28px;
}
.slider-next {
  right: 28px;
}

.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}

/* --- SLIDER DOTS --- */
.slider-dots {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

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

.dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

/* --- SLIDER PROGRESS BAR --- */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--primary);
  z-index: 10;
  width: 0%;
  transition: width linear;
}

/* hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.hero-scroll span {
  display: block;
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}
.hero-scroll span::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scroll-dot 1.6s ease-in-out infinite;
}
@keyframes scroll-dot {
  0% {
    top: 6px;
    opacity: 1;
  }
  100% {
    top: 20px;
    opacity: 0;
  }
}

/* --- ABOUT --- */
.about {
  background: var(--dark-2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}

/* ---- About image column ---- */
.about-img-wrap {
  position: relative;
  padding-bottom: 48px; /* room for badge overflow */
}

.about-main-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  /* Decorative offset border */
  box-shadow:
    12px 12px 0 0 var(--primary),
    14px 14px 0 2px rgba(232, 93, 4, 0.2);
}

/* Floating "years" badge */
.about-badge {
  position: absolute;
  bottom: 0;
  right: -18px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 18px 22px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(232, 93, 4, 0.35);
  line-height: 1.2;
}

.about-badge-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  display: inline;
}

.about-badge-plus {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
}

.about-badge-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 4px;
}

/* Small decorative thumbnail */
.about-thumb {
  position: absolute;
  bottom: 32px;
  left: -22px;
  width: 130px;
  height: 100px;
  border-radius: var(--radius);
  border: 3px solid var(--dark-2);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.about-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- About right column ---- */
.about-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-text p {
  color: var(--gray-lt);
  margin-bottom: 16px;
  font-size: 0.97rem;
}

.about-stats {
  display: flex;
  gap: 36px;
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-plus {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--primary);
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}

.feature-card > i {
  font-size: 1.2rem;
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.feature-card h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 3px;
}

.feature-card p {
  font-size: 0.83rem;
  color: var(--gray);
}

/* --- HIGHLIGHTS STRIP --- */
.highlights {
  background: var(--dark-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Override feature-card inside highlights to be vertical / centred */
.highlights .feature-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 20px;
  border-left: 3px solid var(--primary);
}

.highlights .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(232, 93, 4, 0.12);
}

@media (max-width: 1024px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }
}

/* --- SERVICES --- */
.services {
  background: var(--dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(232, 93, 4, 0.15);
  border-color: var(--primary);
}

/* service card image */
.service-img {
  position: relative;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.07);
}

.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 13, 13, 0.1) 0%,
    rgba(13, 13, 13, 0.65) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 18px;
  transition: background var(--transition);
}

.service-card:hover .service-img-overlay {
  background: linear-gradient(
    to bottom,
    rgba(232, 93, 4, 0.15) 0%,
    rgba(13, 13, 13, 0.75) 100%
  );
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(232, 93, 4, 0.4);
  transition: transform var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-5deg);
}

/* service card body */
.service-body {
  padding: 26px 26px 28px;
}

.service-body h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.service-body > p {
  color: var(--gray);
  font-size: 0.88rem;
  margin-bottom: 18px;
  line-height: 1.65;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--gray-lt);
}

.service-list li i {
  color: var(--primary);
  font-size: 0.75rem;
}

/* Call Now button inside service cards */
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 24px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 2px solid var(--primary);
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
}

.btn-call i {
  font-size: 0.85rem;
  animation: ring 1.8s ease-in-out infinite;
}

@keyframes ring {
  0%,
  100% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(-18deg);
  }
  20% {
    transform: rotate(18deg);
  }
  30% {
    transform: rotate(-12deg);
  }
  40% {
    transform: rotate(12deg);
  }
  50% {
    transform: rotate(0deg);
  }
}

.btn-call:hover {
  background: transparent;
  color: var(--primary);
  transform: translateY(-2px);
}

/* --- WHY --- */
.why {
  background: linear-gradient(135deg, #1a0900 0%, #0d0d0d 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 36px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    transform var(--transition),
    border-color var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 93, 4, 0.4);
}

.why-card > i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 18px;
  display: block;
}

.why-card h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--gray);
}

/* --- SECOND COMPANY --- */
.companies {
  background: var(--dark);
}

.company-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  padding: 38px;
  border-radius: var(--radius);
  background: var(--dark-3);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.company-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(232, 93, 4, 0.15);
  border: 1px solid rgba(232, 93, 4, 0.4);
  color: var(--primary);
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.company-left h3 {
  font-family: var(--font-head);
  font-size: 2rem;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 10px;
}

.company-owner {
  color: var(--gray-lt);
  margin-bottom: 24px;
}

.company-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.company-services li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--light);
  font-size: 0.92rem;
}

.company-services i {
  color: var(--primary);
  margin-top: 3px;
}

.company-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.company-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.company-item {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--dark-2);
}

.company-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgba(232, 93, 4, 0.12);
  border: 1px solid rgba(232, 93, 4, 0.35);
}

.company-item h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 4px;
}

.company-item a,
.company-item p {
  color: var(--gray-lt);
  font-size: 0.88rem;
}

.company-machine-list {
  margin: 0;
  padding-left: 18px;
  color: var(--gray-lt);
  font-size: 0.88rem;
  line-height: 1.6;
}

.company-machine-list li + li {
  margin-top: 4px;
}

.company-item a:hover {
  color: var(--primary);
}

/* --- CONTACT --- */
.contact {
  background: var(--dark-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(232, 93, 4, 0.1);
  border: 1px solid rgba(232, 93, 4, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.contact-detail p,
.contact-detail a {
  font-size: 0.88rem;
  color: var(--gray-lt);
  transition: color var(--transition);
}

.contact-detail a:hover {
  color: var(--primary);
}

/* contact form */
.contact-form {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-form h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray);
}

.form-group select option {
  background: var(--dark-3);
  color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
}

.form-success {
  display: none;
  text-align: center;
  color: #4ade80;
  font-size: 0.9rem;
  margin-top: 14px;
  padding: 10px;
  background: rgba(74, 222, 128, 0.08);
  border-radius: 4px;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.form-success.show {
  display: block;
}

/* --- FOOTER --- */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--gray);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--gray);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--primary);
}

/* --- BACK TO TOP --- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--transition),
    transform var(--transition);
  z-index: 800;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

/* --- ANIMATE ON SCROLL --- */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children in grids */
.services-grid [data-animate]:nth-child(2) {
  transition-delay: 0.12s;
}
.services-grid [data-animate]:nth-child(3) {
  transition-delay: 0.22s;
}
.services-grid [data-animate]:nth-child(4) {
  transition-delay: 0.32s;
}
.why-grid [data-animate]:nth-child(2) {
  transition-delay: 0.1s;
}
.why-grid [data-animate]:nth-child(3) {
  transition-delay: 0.2s;
}
.why-grid [data-animate]:nth-child(4) {
  transition-delay: 0.3s;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--dark-2);
    border-left: 1px solid var(--border);
    padding: 80px 32px 40px;
    transition: right var(--transition);
    z-index: 998;
  }

  .nav.open {
    right: 0;
  }

  .nav-close {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    gap: 28px;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .about-grid,
  .contact-grid,
  .company-card {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .company-card {
    padding: 28px 20px;
    gap: 26px;
  }

  .company-left h3 {
    font-size: 1.6rem;
  }

  .company-services {
    grid-template-columns: 1fr;
  }

  .about-main-img {
    height: 300px;
  }
  .about-thumb {
    left: 12px;
    width: 100px;
    height: 78px;
  }
  .about-badge {
    right: 12px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-img {
    height: 200px;
  }
  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }
  .slider-prev {
    left: 14px;
  }
  .slider-next {
    right: 14px;
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-stats {
    gap: 20px;
  }
  .contact-form {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 64px 0;
  }

  .company-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-content {
    padding-top: 100px;
  }
}
