html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.5;
    background: #e4e4e4;
}

section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

/* Hero Section */
/* container + page background that shows through the fade */
#hero {
  background-color: #e4e4e4;
  position: relative;
  height: 90vh;
  max-width: 100vw;
  margin:0;
  overflow: hidden;
  box-sizing: border-box;
  margin-top:141px;
}

@media (max-width: 768px) {
  #hero {
    margin-top: 0;  /* remove extra spacing on mobile */
  }
}


/* make inner container full-size */
.hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}


/* background image as an element so we can mask it */
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;       /* cover like background-size: cover */
  transform: translateZ(0);/* GPU hint */

  /* MASK: top opaque -> bottom transparent (adjust 70% to control fade start) */
  /* -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);

  /* older WebKit fallback (optional) */
  /* -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  z-index: 0;
  filter: blur(5px) brightness(60%); */

}

/* overlay fallback & contrast for text (also used if mask unsupported) */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  /* subtle darkening + fade into page colour (#e4e4e4) at bottom */
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.25) 0%,
      rgba(0,0,0,0.12) 35%,
      rgba(0,0,0,0.0) 65%,
      #e4e4e4 100%
    );
}

/* content sits above image+overlay */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 6rem 1rem; /* ensure content sits nicely */
  color: #111;
}

/* Headings */
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #f2f2f2; /* darker text for contrast against lighter overlay */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #f2f2f2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* CTA Button */
.cta {
  background: #700000;
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.cta:hover {
  background: #b8001f;
}


/* Navbar */
.navbar {
  position: fixed;
  top: 30px; left: 0; right: 0;
  background: #eaeaea;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 70px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.nav-links li a {
  color: #3b3b3b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #700000; /* deep red accent */
}

.black-bar {
  background: #111; /* black */
  color: white;
  font-size: 15px;
  padding: 8px 0;
  position: fixed;
  top: 124px; /* top-bar (30px) + navbar (70px) */
  left: 0; right: 0;
  z-index: 999; /* just under top-bar and navbar */
  height:1px;
}

.black-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.5px;
}



/* Top Bar */
.top-bar {
  background: #700000; /* deep red */
  color: white;
  font-size: 14px;
  padding: 6px 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
}

.top-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.top-bar-content span {
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 700px) {
  .navbar {
    top: 85px; /* more space for two-line top bar */
  }
  .black-bar {
    top: 180px; /* adjust accordingly */
  }
  .nav-logo {
    display: block;
    margin: 0 auto;
  }
}



/* Mobile override */
@media (max-width: 768px) {
  .nav-container {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .nav-links {
    display: none; /* hidden by default on mobile */
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    background: #eaeaea;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex; /* dropdown opens */
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 26px;
    color: #3b3b3b;
  }
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}


/* Mobile: scroll everything */
@media (max-width: 768px) {
  .top-bar,
  .navbar,
  .black-bar {
    position: static;   /* scrolls with page */
  }
}






.logo-slider {
  background: #e4e4e4;
  height: 75pt;
  width: 100%;              /* instead of 1800px */
  overflow: hidden;
  position: relative;
  cursor: default;
  user-select: none;
  touch-action: none;
}


.logo-slider:before {
    left: 0;
    top: 0;
}
.logo-slider:after,
.logo-slider:before {
    background: linear-gradient(
        to right,
        #e4e4e4 0%,
        hsla(0, 0%, 100%, 0) 100%
    );
    content: "";
    height: 75pt;
    position: absolute;
    width: 200px;
    z-index: 2;
}
.logo-slider:after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}
.logo-slider:after,
.logo-slider:before {
    background: linear-gradient(
        to right,
        #e4e4e4 0%,
        hsla(0, 0%, 100%, 0) 100%
    );
    content: "";
    height: 75pt;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.logo-slider .slide-track {
  animation: scroll-l 30s linear infinite;
  display: flex;
  width: max-content;        /* auto expands to fit children */
}


.logo-slider .slide {
    height: 75pt;
    width: 250px;
    display: flex;
    align-items: center;
    text-align: center;
}
.logo-slider .slide img {
    width: 180px;
    padding: 1pc;
    vertical-align: middle;
    margin: 0 auto;
    display: inline-block;
    max-width: 100%;
    height: auto;
}

@keyframes scroll-l {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 7));
    }
}
@keyframes scroll-r {
    100% {
        transform: translateX(0);
    }
    0% {
        transform: translateX(calc(-250px * 7));
    }
}

/* Mobile-friendly slider */
@media (max-width: 600px) {
  .logo-slider .slide {
    width: 150px;      /* smaller slides */
    height: 50pt;      /* adjust height */
  }

  .logo-slider .slide img {
    width: 100px;      /* smaller images */
    padding: 0.5pc;
  }

  .logo-slider:before,
  .logo-slider:after {
    width: 100px;      /* fade edges smaller for mobile */
    height: 50pt;
  }

  .logo-slider {
    height: 50pt;      /* adjust overall slider height */
  }
}










.text-break {
  border: none;
  height: 1px;
  background-color: #b4b4b4;
  margin: 10px 0;
}












/* Services - card style */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  
  align-items: start;
}


.service-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: 15px;
  padding: 20px;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.service-card:hover,
.service-card:focus,
.service-card:active {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}



.service-card .service-icon {
  height: 60px;        /* fixed height */
  width: auto;         /* keep aspect ratio */
  object-fit: contain; /* no stretching */
  display: block;
  margin-bottom: 15px; /* spacing below */
  max-width: 100%;     /* stop overflow */
}



.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.service-card .summary {
  margin: 0 0 10px;
  color: #333;
}

.service-card .details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

.service-card:hover .details {
  opacity: 1;
  transform: translateY(0);
  max-height: 800px; /* adjust as needed */
}


/* Optional: add extra content inside details for paragraph or logos */
.service-card .details p {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #444;
}

.service-card .brand-logos {
  display: flex;
  flex-wrap: wrap;        /* allow multiple rows */
  gap: 12px;
  margin-top: 10px;
  justify-content: center; /* center align logos */
}

.service-card .brand-logos img {
  height: 25px;   /* slightly smaller for neat layout */
  width: auto;
  flex: 0 1 auto; /* allow natural scaling without stretching */
}

.service-card ul {
  margin: 10px 0 0 20px;
  padding: 0;
  list-style: disc;
  font-size: 0.95rem;   /* match paragraph size */
  color: #444;          /* match paragraph colour */
}

.service-card ul li {
  margin-bottom: 5px;   /* spacing between items */
}




.service-card:nth-child(odd) {
  margin-top: 0px; /* push odd cards down for zig-zag look */
}

.section-title {
  position: relative;
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 3px;
  width: 0;                     /* start hidden */
  background: #c8102e;          /* accent colour */
  transition: width 0.6s ease;  /* animation */
}

.section-title.visible::after {
  width: 100%;                  /* animate to full underline */
}


/* small screens */
@media (max-width: 600px) {
  .service { padding: 16px; }
  .service img { max-height: 60px; margin-bottom: 12px; }
}






.about-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 40px;
}

.about-image {
  flex: 1 1 300px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.about-text {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* keep text left-aligned */
}

.about-text .cta {
  align-self: center;      /* centers the button only */
  margin-top: 20px;        /* spacing from paragraph */
}



.about-text h3 {
  margin-bottom: 10px;
}

.about-text p {
  line-height: 1.6;
  color: #333;
}


























  .logo-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
  }
  
  .logo-item {
    width: 160px;       /* fixed container width */
    height: 160px;       /* fixed container height */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Smaller screens */
@media (max-width: 600px) {
  .logo-item {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 400px) {
  .logo-item {
    width: 80px;
    height: 80px;
  }
}
  
  .logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* keeps aspect ratio */
    transition: transform 0.2s ease;
  }

  .logo-item img:hover {
    transform: translateY(-4px);
  }


  #contact {
    padding: 60px 20px;
    background: #e4e4e4;
  }
  
  .contact-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .contact-info h2 {
    margin-bottom: 20px;
  }
  
  .contact-info p {
    margin: 15px 0;
  }
  
  .contact-info a {
    color: #ff4b3e;
    text-decoration: none;
  }
  
  .contact-info a:hover {
    text-decoration: underline;
  }
  

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  font-family: Arial, sans-serif;
  background: transparent;
  border: none;
  border-bottom: 2px solid #ccc;
  padding: 10px 5px;
  font-size: 1rem;
  color: #111;
  transition: border-color 0.3s ease, transform 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom: 2px solid #700000; /* accent color */
  transform: scale(1.01);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Modern button */
.contact-form button {
  background: #700000;
  color: white;
  text-decoration: none;
  width: 200px;
  padding: 15px 30px;
  font-size: 1.1rem;
  border-radius: 5px;
  border: none;          /* remove default button border */
  cursor: pointer;       /* pointer on hover */
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #b8001f;
}

  
  /* Responsive */
  @media (max-width: 768px) {
    .contact-container {
      grid-template-columns: 1fr;
    }
  }






  
  
  

  footer {
    background: #111; 
    color: #f2f2f2;
    padding: 40px 20px;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }
  
  .footer-left img {
    height: 90px;
    width: auto;
    margin-bottom: 10px;
  }
  
  .footer-links {
    list-style: none;
    display: flex;
    gap: 25px;
    padding: 0;
    margin: 0;
  }
  
  .footer-links li a {
    color: #f2f2f2;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-links li a:hover {
    color: #700000;
  }
  
  /* Responsive */
  @media(max-width: 768px){
    .footer-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    .footer-links {
      flex-wrap: wrap;
      gap: 15px;
      margin-top: 10px;
    }
  }
  