/* ============================================
   STEEL TECH — Why Us Page Styles
   ============================================ */

:root {
  --primary: #d32f2f;
  --blueMid: #b71c1c;
  --light: #eef1f5;
  --navy: #0d1b2a;
  --ash: #3d4f63;
  --steel-edge: #d1d6dd;
}

body {
  background: #eef1f5;
  font-family: "Cairo", "IBM Plex Sans Arabic", "Poppins", Arial, sans-serif;
  overflow-x: hidden;
  width: 100%;
}

html {
  scroll-padding-top: 90px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
.btn {
  background: linear-gradient(135deg, #d32f2f, #b71c1c);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 500;
  transition: 0.3s;
}

/*header*/
.main-nav {
  transition: 0.3s ease;
  background: transparent;
}
.main-nav.scrolled {
  background: #0d1b2a;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.navbar-toggler {
  border: none;
  color: #eef1f5 !important;
}
.navbar-toggler:focus { box-shadow: none; }
.nav-link {
  color: #eef1f5 !important;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: #d32f2f !important; }
.brand-logo img { height: 44px; width: auto; }
.brand-logo h4 { color: #eef1f5 !important; }

/*hero section*/
.hero-section {
  min-height: 70vh;
  padding-top: 120px;
  position: relative;
  z-index: 1;
  background: linear-gradient(
    180deg,
    #0d1b2a 0%,
    #1a2a3e 30%,
    #3d4f63 60%,
    #d32f2f 100%
  );
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

.hero-title {
  color: #fff;
  font-weight: 800;
  font-size: 42px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}

.hero-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  max-width: 650px;
  margin: 10px auto 25px;
}

.hero-btn {
  background: #fff;
  color: #d32f2f;
  font-weight: 600;
  border-radius: 10px;
  transition: 0.3s;
}
.hero-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

/* Why Us section */
.why-img {
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.why-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.why-list li {
  font-size: 15px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ash);
}

.why-list i {
  color: var(--primary);
  font-size: 18px;
}

/* Appointment box → CTA box */
.appointment-box {
  position: relative;
  border-radius: 22px 0 0 22px;
  background: linear-gradient(135deg, #0d1b2a, #1a2a3e);
  overflow: hidden;
}

.appointment-box::before,
.appointment-box::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(211, 47, 47, 0.1);
}

.appointment-box::before {
  top: -40px;
  left: -20px;
}

.appointment-box::after {
  bottom: -30px;
  right: 30px;
}

.equal-img {
  height: 222px;
  width: 100%;
  object-fit: cover;
  border-radius: 0 22px 22px 0;
}

/* Footer */
.footer-section { background: #0d1b2a; color: #a0aab5; }
.footer-section h6 { color: #fff; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { text-decoration: none; color: #a0aab5; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: #d32f2f; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { margin-bottom: 8px; font-size: 0.9rem; color: #a0aab5; }
.footer-contact i { color: #d32f2f; margin-right: 6px; }
.newsletter-box input { border-radius: 8px; }
.newsletter-box button { border-radius: 8px; background: linear-gradient(135deg, #d32f2f, #b71c1c); color: #fff; border: none; }
.social-icons i { font-size: 18px; cursor: pointer; color: #a0aab5; transition: color 0.2s; }
.social-icons i:hover { color: #d32f2f; }
.logo { color: #fff !important; }
.logo img { height: 40px; width: auto; }
.footer-section hr { border-color: rgba(255,255,255,0.1); }

/* Back to top */
.back-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.back-top.visible { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--blueMid); }

html[dir="rtl"] body { font-family: "Cairo", "IBM Plex Sans Arabic", sans-serif; }
html[dir="rtl"] .hero-title { font-family: "Cairo", sans-serif; }
html[dir="rtl"] .back-top { right: auto; left: 1.5rem; }

/* Mobile fixes */
@media (max-width: 768px) {
  .main-nav { background: #0d1b2a !important; }
  .hero-section { padding-top: 100px; }
  .hero-title { font-size: 26px; }
}
.offcanvas .nav-link {
  color: #eef1f5 !important;
  font-size: 1.1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.offcanvas .nav-link:hover { color: #d32f2f !important; }
.offcanvas .btn {
  background: linear-gradient(135deg, #d32f2f, #b71c1c);
  color: #fff;
}
