/* ===================== Root Variables ===================== */
:root {
  /* --color-primary-dark: hwb(360 16% 24%);
  --color-primary: #ca4848; */
  --color-primary-dark: #1A1AB3;
  --color-primary: #18149B;
  --color-deep-blue: #1a5276;
  --color-dark-blue: #3c5060;
  --color-accent-blue: #5a758e;
  --color-accent-green: #bfdac4;
  --color-white: #ffffff;
  --color-black: #000000;
}

/* ===================== Global Reset & Typography ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}

body {
  background-color: var(--color-white);
  color: var(--color-dark-blue);
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================== Fade & Scroll Animations ===================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.scale-up {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-up.visible {
  opacity: 1;
  transform: scale(1);
}

.scroll-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.scroll-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Hero Entrance Animation === */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  opacity: 0;
  animation: heroFadeUp 1s ease-out 0.3s forwards;
}

@keyframes buttonPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.cta-button:hover,
.risk-button:hover,
.footer-button:hover,
.mhf-button:hover,
.secondary-button:hover {
  animation: buttonPulse 0.3s ease-in-out;
}


/* ===================== Navbar ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  background-color: rgba(255, 255, 255, 0.92);
  transition: background-color 0.6s ease, padding 0.6s ease, box-shadow 0.6s ease;
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo-img {
  height: 100px;
  margin-top: 20px;
  transition: transform 0.6s ease;
}

.logo-link {
  display: inline-block;
  cursor: pointer;
}

.logo-link img {
  transition: transform 0.2s ease;
}

.logo-link:hover img {
  transform: scale(1.02);
}

.navbar.shrink .logo-img {
  height: 80px;
  margin-top: 10px;
  transform: scale(0.85);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin-top: 10px;
  margin-left: auto;
}

.nav-links a {
  color: var(--color-primary-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.4s ease;
}

.nav-links a:hover {
  color: var(--color-deep-blue);
  border-bottom: 2px solid var(--color-primary-dark);
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.nav-links a.active {
  border-bottom: 2px solid var(--color-primary-dark);
}

.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #2c3e50;
  margin: 5px 0;
}

/* Floating Logo */
.floating-logo-wrapper {
  position: absolute;
  top: -20px;
  left: calc((100vw - 1200px) / 2);
  z-index: 1002;
  transition: all 0.5s ease;
}

.floating-logo-box {
  background-color: white;
  padding: 1rem 2rem;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(var(--logo-scale, 1));
  transition: 
    transform 0.2s ease-out,
    padding 0.4s ease,
    box-shadow 0.6s ease;
  transform-origin: center top;
}

.navbar.shrink .floating-logo-box {
  padding: 0.5rem 1.5rem; /* reduce padding to shrink height */
  transform: scale(var(--logo-scale, 0.9));
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);

}

/* ===================== SCROLL TO TOP BUTTON ===================== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #18149B; /* your brand blue */
  /* background-color: #c22a2b;   your brand red */
  color: white;
  border: none;
  border-radius: 50%;
  padding: 0.75rem 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.scroll-top.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.scroll-top:hover {
  background-color: #1A1AB3; /* darker hover red */
  transform: scale(1.1);
}


/* ===================== Hero Section ===================== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 140px;
}

.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video.parallax {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(127, 110, 110, 0.35);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
  color: #ffffff;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.subheading {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 300;
  display: block;
  margin-top: -0.2rem;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-headline {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 600;
  margin: 1.5rem 0 1rem;
  color: #ffffff;
}

.hero-subheadline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* ===================== CTA Button ===================== */
.cta-button {
  background-color: var(--color-primary);
  color: white;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  background-color: var(--color-primary-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===================== All Section Styles ===================== */
section {
  padding: 5rem 0;
}

.section-title {
  position: relative;
  display: block;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: var(--color-deep-blue);
  font-weight: 600;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 5px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-dark-blue);
  margin: 1rem auto 2rem;
  max-width: 700px;
}

/* ===================== About Section ===================== */
.about {
  padding: 5rem 1.5rem;
  background-size: 200px;
}

.about-box {
  background: linear-gradient(to bottom right, #ffffff, #f8f9fa);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-box.grid-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.about-text {
  flex: 1 1 55%;
}

.about-section {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-icon i {
  font-size: 2rem;
  color: var(--color-primary);
  min-width: 2.5rem;
}

.about-content h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.accent-line {
  width: 3px;
  height: 30px;
  background-color: var(--color-primary);
  border-radius: 3px;
}

.about-content p {
  color: var(--color-dark-blue);
  line-height: 1.6;
  font-size: 1rem;
}

.hover-text {
      color: black; /* Default text color */
      transition: color 0.3s ease; /* Smooth transition */
    }

    .hover-text:hover {
      color: #D1D5DB; /* Color on hover */
    }


/* ===================== Industrial Scrap Section ===================== */
.scraps {
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
  padding: 5rem 1.5rem 10rem;
  margin-bottom: -110px;
}

.scraps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.scraps-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 0;
}

.scraps-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Before and After Card Overlays*/
.scraps-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -2;
}

.scraps-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

/* Text Changes on Hover */
.scraps-card:hover::before,
.scraps-card:hover::after {
  opacity: 1;
}

.scraps-card:hover h3,
.scraps-card:hover ul,
.scraps-card:hover li {
  color: var(--color-white);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.scraps-card h3,
.scraps-card ul,
.scraps-card i {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

/* Bullet Lists Inside Cards */
.scraps-card ul {
  list-style: disc;
  padding-left: 1.2rem;
  text-align: left;
  margin-top: 1rem;
}

.scraps-card i {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.scraps-card:hover i {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.scraps-card h3 {
  font-size: 1.3rem;
  color: var(--color-dark-blue);
  margin-bottom: 0.5rem;
}

.scraps-card p {
  color: var(--color-dark-blue);
  font-size: 1rem;
  line-height: 1.5;
}

.scraps-card li {
  font-size: 0.95rem;
  color: var(--color-dark-blue);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* Scraps Background Images */
.scraps-card.ferrous::before {
  background-image: url('assets/scraps-ferrous.jpg');
}

.scraps-card.non-ferrous::before {
  background-image: url('assets/scraps-non-ferrous.jpg');
}

.scraps-card.other-scraps::before {
  background-image: url('assets/scraps-others-scraps.jpg');
}

/* Ferrous-Scraps Background Images */
.scraps-card.ferrous-cast-iron::before {
  background-image: url('assets/ferrous-cast-iron.jpg');
}

.scraps-card.ferrous-iron::before {
  background-image: url('assets/ferrous-iron.jpg');
}

.scraps-card.ferrous-plate-structural::before {
  background-image: url('assets/ferrous-plate-structural.jpg');
}

.scraps-card.ferrous-stainless-steel::before {
  background-image: url('assets/ferrous-stainless-steel.jpg');
}

.scraps-card.ferrous-construction-scrap::before {
  background-image: url('assets/ferrous-construction-scrap.jpg');
}

/* Non-Ferrous-Scraps Background Images */

.scraps-card.non-ferrous-aluminium::before {
  background-image: url('assets/non-ferrous-aluminium.jpg');
}

.scraps-card.non-ferrous-brass::before {
  background-image: url('assets/non-ferrous-brass.jpg');
}

.scraps-card.non-ferrous-copper-cables-wires::before {
  background-image: url('assets/non-ferrous-copper-cables-wires.jpg');
}

.scraps-card.non-ferrous-zinc::before {
  background-image: url('assets/non-ferrous-zinc.jpg');
}


/* Other-Scraps Background Images */

.scraps-card.others-chillers-scraps::before {
  background-image: url('assets/others-chillers-scraps.jpg');
}

.scraps-card.others-ac-scraps::before {
  background-image: url('assets/others-ac-scraps.jpg');
}

.scraps-card.others-genset-scrap::before {
  background-image: url('assets/others-genset-scrap.jpg');
}

.scraps-card.others-air-con-compressor-scrap::before {
  background-image: url('assets/others-air-con-compressor-scrap.jpg');
}

.scraps-card.others-cable-wires-scraps::before {
  background-image: url('assets/others-cable-wires-scraps.jpg');
}

.scraps-card.others-motor-battery-scrap::before {
  background-image: url('assets/others-motor-battery-scrap.jpg');
}

.scraps-card.others-notebook-paper-scrap::before {
  background-image: url('assets/others-notebook-paper-scrap.jpg');
}

.scraps-card.others-plastic-pvcpipes-scrap::before {
  background-image: url('assets/others-plastic-pvcpipes-scrap.jpg');
}

.scraps-card.others-transformer-scraps::before {
  background-image: url('assets/others-transformer-scraps.jpg');
}
/* ===================== Wave Dividers on Test Prep ===================== */
.wave-top {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -50px;
}

.wave-top svg {
  display: block;
  width: 100%;
  height: 100px;
  transform: rotate(180deg);
}

.wave-bottom {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
  margin-top: -25px;
}

.wave-bottom svg {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 200px;
  transform: rotate(180deg);
}

/* ===================== Test Preparation Section ===================== */
.test-prep-section {
  background-color: #fff9f9;
  padding: 2rem 1.5rem 2rem;
}

.test-prep-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 20px;
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.test-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.test-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.test-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #18149B;
  /* color: #c22a2b; */
  flex-grow: 1;
  min-width: 150px;
}

.test-btn {
  background-color: #18149B;
  /* background-color: #c22a2b; */
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.test-btn:hover {
  background-color: #a51e22;
}

.coming-soon-card {
  background: linear-gradient(to bottom right, #ffffff, #f8f9fa);
  border: 1px solid #ddd;
  padding: 2.5rem;
  border-radius: 16px;
  text-align: center;
  max-width: 600px;
  margin: 2rem auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  opacity: 0.7;
  pointer-events: none; /* disables interaction */
}

.coming-soon-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #3c5060;
}

.coming-soon-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

.coming-soon-card i {
  font-size: 1.8rem;
  /* color: #c22a2b; */
  color: #18149B;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 8px rgba(24, 21, 155, 0.3);
  /* text-shadow: 0 0 8px rgba(194, 42, 43, 0.3); */
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.9; }
}
.coming-soon-card i {
  animation: pulse 3s infinite;
}


/* ===================== DELETE WHEN TEST PREP SECTION IS READY ===================== */
.hidden-test-grid {
  display: none;
}

.hidden-subtitle {
  display: none;
}




/* ===================== Footer Section ===================== */
.footer-section {
  /* background-color: #c22a2b; */
  background-color: #18149B;
  color: #ffffff;
  padding: 4rem 2rem 2rem;
  font-family: 'Roboto', sans-serif;
  margin-top: -5px;
}

.footer-container {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.wave-footer {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -50px;
  z-index: 2;
}

.wave-footer svg {
  display: block;
  width: 100%;
  height: 100px;
  transform: rotate(180deg);
}

.footer-column {
  flex: 1 1 300px;
  min-width: 260px;
}

.footer-brand h2 {
  font-family: 'Roboto Condensed', sans-serif;
  color: white;
  font-size: 4rem;
  font-weight: 700;
  line-height: 2rem;
  margin-bottom: 0.2rem;
}

.footer-brand h2 span {
  display: block;
  margin-bottom: 0;
}

.footer-subtext {
  font-size: 1.1rem;
  font-style: italic;
  color: #ffffff;
  margin-top: 1rem;
  margin-bottom: 1rem;
  line-height: 3rem;
}

.footer-button {
  background-color: #ffffff;
  /* color: #c22a2b; */
  color: #18149B;
  padding: 0.9rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

.footer-button:hover {
  background-color: #f3f3f3;
}

.secondary-button {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-block;
  text-align: center;
}

.secondary-button:hover {
  background-color: #ffffff;
  /* color: #c22a2b; */
  color: #18149B;
}

.footer-column h3 {
  font-size: 1.4rem;
  color: white;
  margin-bottom: 1rem;
  border-bottom: 2px solid #fff;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.footer-column p {
  font-size: 0.95rem;
  margin: 0.3rem 0;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.hours-list li.today {
  background-color: #a379794a;
  border-radius: 6px;
  font-weight: 600;
  padding: 5px;
}

.closed {
  color: #ffffff;
  font-weight: 500;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #ffffff;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* ===================== Responsive Styles ===================== */
/* Small Screens (Mobile) */
@media (max-width: 965px) {
  .hamburger {
    display: block;
    z-index: 1001;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 5px 0;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background-color: rgba(255, 255, 255, 0.96);
    position: absolute;
    top: 80px;
    right: 10px;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    animation: fadeDown 0.3s ease;
  }

  .nav-links.mobile-visible {
    display: flex;
  }

  @keyframes fadeDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .navbar.shrink .logo-img {
    height: 60px !important;
    transform: none !important;
  }

  .floating-logo-wrapper,
  .floating-logo-box {
    position: static;
    background: none;
    padding: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .logo-img {
    height: 80px;
    margin: 0;
    transition: none !important;
  }

  .navbar.shrink .logo-img {
  height: 80px !important; /* No shrink on scroll */
  transform: none !important;
}

  .hero h1 {
    margin-top: 5rem;
    font-size: 3rem;
  }

  .subheading {
    font-size: 2rem;
    margin-bottom: 1.2rem;
  }

  .hero-headline {
    font-size: 1.4rem;
    margin: 1.2rem 0 0.8rem;
  }

  .hero-subheadline {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .hero-content {
    padding: 3rem 1rem 4rem;
  }

  .about-grid {
    flex-direction: column;
    text-align: center;
  }

  .about-text, .about-image {
    flex: 1 1 100%;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
}

/* Medium Screens (Tablets) */
@media (max-width: 1000px) {
  .floating-logo-wrapper,
  .floating-logo-box {
    position: static;
    background: none;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transform: none !important;
  }

  .logo-img {
    height: 80px !important;
    margin: 0;
    transition: none !important;
  }

  .navbar.shrink .logo-img {
    height: 80px !important;
    transform: none !important;
  }


  .hero-content {
    padding: 3rem 2rem 4rem;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .subheading {
    font-size: 2.5rem;
  }

  .hero-headline {
    font-size: 1.5rem;
  }

  .hero-subheadline {
    font-size: 1.05rem;
    padding: 0 2rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .about-box.grid-layout {
    flex-direction: column;
    padding: 2rem;
  }

  .test-item {
    flex-direction: column;
    align-items: flex-start;
    background-color: #f9f9f9;
  }

  .scraps-card {
    padding: 2rem 1.5rem;
  }

  .footer-column {
    flex: 1 1 33%;
    margin-bottom: 2rem;
  }

  .footer-column h3 {
    font-size: 1.3rem;
  }

  .footer-button {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
}

/* Mid Size Screen (Small Desktops) */
@media (min-width: 1001px) and (max-width: 1290px) {
  .floating-logo-wrapper {
    position: static;
    transform: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .floating-logo-box {
    background: none;
    padding: 0;
    box-shadow: none;
    transform: none !important;
  }

  .logo-img {
    height: 80px !important;
    margin-top: 0;
    transition: none !important;
    transform: none !important;
  }

  .navbar.shrink .logo-img {
    height: 80px !important; /* Prevent size change */
    transform: none !important;
  }

  .navbar.shrink .floating-logo-box {
    transform: none !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

}

@media (max-width: 965px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }

  .footer-column {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .footer-brand h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
  }

  .footer-subtext {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-top: 0rem;
  }

  .footer-button,
  .secondary-button {
    margin: 0.5rem auto;
    display: inline-block;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    text-align: center;
  }

  .hours-list li {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    text-align: center;
  }

  .hours-list .day {
    font-weight: bold;
  }

  .hours-list .hours {
    white-space: nowrap;
  }


  .footer-brand h2 {
  font-size: 4rem;
  line-height: 1.2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: center;
}


.slider {

  position: relative;

  width: 100%;

  max-width: 800px;

  height: 400px;

  margin: auto;

  overflow: hidden;

}

.slide {

  position: absolute;

  width: 100%;

  height: 100%;

  object-fit: cover;

  opacity: 0;

  transition: opacity 1s ease-in-out;

}

.slide.active {

  opacity: 1;

}

.footer-brand h2 span {
  display: inline;
  margin: 0;
}

}
