* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #fcfcfc;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #1e1e1e;
}

/* Accessibility: Screen reader only class */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

/* ============================================
   TOP CONTACT BAR
============================================ */
.topbar {
  background-color: #31353c;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  height: 2rem;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo-group a {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.3s ease, outline-offset 0.3s ease;
}

.logo-group a:hover,
.logo-group a:focus {
  opacity: 0.8;
  outline: 1px solid #555;
  outline-offset: 2px;
}

.logo-group img {
  height: 0.9rem;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links img {
  height: 0.8rem;
  width: auto;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
  font-size: clamp(0.6rem, 1vw, 0.8rem);
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #D5481B;
  outline: none;
}

/* ============================================
   MAIN NAVIGATION BAR
============================================ */
.subbar {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8%;
  border-bottom: 10px solid #D5481B;
  height: 6rem;
  position: relative;
}

/* Logo */
.subbar-logo img {
  height: 7rem;
  width: auto;
  position: relative;
  top: 2px;
}

/* Navigation Links */
.subbar-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.subbar-links li {
  margin: 0;
}

.subbar-links a {
  color: #1e1e1e;
  text-decoration: none;
  font-size: clamp(0.7rem, 1.2vw, 1rem);
  transition: color 0.3s ease;
  padding: 0.7rem 0;
  display: inline-block;
}

.subbar-links a:hover,
.subbar-links a:focus {
  color: #D5481B;
  outline: none;
}

.subbar-links a[aria-current="page"] {
  font-weight: 600;
  color: #D5481B;
}

/* Search Box */
.search-box {
  display: flex;
  align-items: center;
  background: #f1f1f1;
  border-radius: 50px;
  padding: 0.5rem;
  max-width: 250px;
  min-width: 100px;
  flex: 0 1 200px;
}

.search-box input {
  border: none;
  background: transparent;
  padding: 0.4rem;
  outline: none;
  font-size: clamp(0.8rem, 1vw, 1rem);
  width: 100%;
  color: #1e1e1e;
}

.search-box input::placeholder {
  color: #555;
}

.search-box input:focus {
  outline: 2px solid #D5481B;
  outline-offset: -2px;
  border-radius: 50px;
}

.search-box button {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.search-box button:hover,
.search-box button:focus {
  transform: scale(1.1);
  outline: 2px solid #D5481B;
  outline-offset: 2px;
  border-radius: 4px;
}

.search-box button img {
  width: clamp(14px, 1.5vw, 18px);
  height: auto;
  display: block;
}

.hamburger-icon-button {
    display: none; 
}

.mobile-sidebar {
    display: none;
}

.sidebar-overlay {
    display: none;
}

/* ============================================
   HERO SECTION
============================================ */


.hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  background-color: #1e1e1e;
  color: #fff;
  padding: 0 5%;
  overflow: hidden;
}

/* Hero Background Video */
.hero-video {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Dark Gradient Overlay for Text Readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.24) 10%,
    rgba(0, 0, 0, 0.575) 30%,
    rgba(0, 0, 0, 0.95) 50%,
    rgba(0, 0, 0, 0.7) 65%,
    rgba(0, 0, 0, 0.3) 80%,
    transparent);
  z-index: 2;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 50%;
  margin-left: 5%;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  font-weight: normal;
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.hero-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0.5rem 0;
  line-height: 1.2;
  font-weight: 700;
}


.hero-description {
  font-size: clamp(0.9rem, 1.9vw, 1.2rem);
  margin-bottom: 1.5rem;
}

/* Primary Call-to-Action Button */
.btn {
  display: inline-block;
  border-radius: 25px;
  background-color: #f4511e;
  border: none;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  font-size: clamp(0.9rem, 1vw, 1rem);
  padding: clamp(0.5rem, 1vw, 0.8rem) clamp(1.5rem, 2vw, 2rem);
  min-width: clamp(150px, 10vw, 200px);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover,
.btn:focus {
  background-color: #000;
  color: #D5481B;
  border: 1px solid #D5481B;
  outline: none;
}

.btn span {
  display: inline-block;
  position: relative;
  transition: padding-right 0.6s ease;
}

.btn span::after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  font-weight: lighter;
  transition: opacity 0.6s ease, right 0.6s ease;
  font-size: 1.8rem;
  top: 50%;
  transform: translateY(-50%);
  margin-top: -2px;
  right: -20px;
}

.btn:hover span {
  padding-right: 25px;
}

.btn:hover span::after,
.btn:focus span::after {
  opacity: 1;
  right: 0;
}

/* ============================================
   PRODUCTS & SERVICES SECTION
============================================ */
.products-services {
  padding: 3rem 5%;
  background: #fcfcfc;
}

.products-services h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: bold;
  margin-top: -10px;
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
  color: #D5481B;
  text-align: center;
}



/* Product/Service Cards Grid */
.boxes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.box {
  background: white;
  border: 0.5px solid #ddd;
  border-radius: 2px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 350px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(155, 155, 155, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.box a {
  text-decoration: none;
}

.box a:hover {
  color: #D5481B;
}
.box:hover,
.box:focus-within {
  transform: scale(1.02);
  border: 1px solid #D5481B;
  box-shadow: 0 4px 12px rgba(213, 72, 27, 0.2);
}

.box img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
  display: block;
  border-bottom: solid 0.4rem #D5481B;
}

.box h3 {
  text-align: left;
  padding: 1rem 1rem 0.5rem;
  margin: 0;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: #666666;
  transition: color 0.3s ease;
  font-weight: 500;

}

.box p {
  text-align: left;
  padding: 0 1rem 1rem;
  margin: 0;
  font-size: clamp(0.8rem, 1vw, 1rem);
  color: #555;
  transition: color 0.3s ease;
}

.box:hover h3,
.box:hover p,
.box:focus-within h3,
.box:focus-within p {
  color: #D5481B;
  color: inherit;
}

/* View More Button Container */
.boxes-btn {
  display: flex;
  justify-content: center;
  margin-top: -3rem;
}

.btn-view-more {
  padding: 0.7rem 2rem;
  color: #D5481B;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  border-radius: 25px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-view-more:hover,
.btn-view-more:focus {
  background: #D5481B;
  color: #f1f1f1;
  border-color: #D5481B;
  outline: none;
}

/* Section wrapper */
.image-overlay-section {
  max-width: 1360px;
  min-width: 100%;
  width: 100%;            
  margin: 0 auto;              
  padding: 60px 0px;    
  background: #fcfcfc;  
  display: flex;
  gap: 40px;
  align-items: stretch;
  border-radius: 0;
  box-shadow: none;
}

/* Left column: image */
.image-card {
  margin-top: -50px;
  position: relative;
  flex: 0.7;
  overflow: hidden;
}

.image-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Overlay */
.overlay-content {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 20px;
  box-sizing: border-box;
  text-align: right;
}

.overlay-content h3 {
  margin: 0 0 10px;
  font-size: clamp(1.1rem, 1.5vw, 1.6rem);
  font-weight: 500;
  margin-right: 5%;
  margin-bottom: 25px;
}


.overlay-content a:hover {
  color: #D5481B;
}

/* Button */
.btn-learn-more {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 0;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  border: none;
  margin-top: 10px;
}

.btn-learn-more:hover {
  transition: 0.3s ease;
}

/* Right column: text */
.divider {
  width: 100%;
  height: 2px;
  background-color: #D5481B;
  margin: 30px 0;
}

.text-column {
  flex: 1;
  text-align: left;
  display: flex;
  margin-top: -30px;
  margin-right: 100px;
  flex-direction: column;
  justify-content: center;
}

.text-column h2 {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: normal;
  margin-top: 20px;
  color: #D5481B;
}

.text-column p {
  margin-top: -10px;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: #555;
  line-height: 1.6;
}

.btn-about {
 display: inline-block;
 text-decoration: none;
  border-radius: 25px;
  border: none;
  color: #D5481B;
  text-align: center;
  margin-left: 80%;
  font-size: clamp(.9rem, 1vw, 1rem);
  padding: clamp(0.5rem, 1vw, 0.8rem);
  width: clamp(150px, 10vw, 200px);
  cursor: pointer;
}

.btn-about:hover {
  background: #D5481B;
  text-decoration: none;
  color: #f1f1f1;
  transition: 0.3s ease;
}


/*Our principals*/
.mobile-video-section {
  display: none;
}

.mobile-video-container{
  display: none;
}

.video-section {
  background: #fff;
  padding: 50px;
  margin:0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container {
  max-width: 900px;
  width: 100%;
  border-radius: 0px;
  overflow: hidden;
}

.video-container video {
  margin-top: -50px;
  position: absolute;
  left:0;
  width: 100%;
  height: 10%;
  object-fit:cover;
  z-index: 1;
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background-color: #31353c;
  color: #fff;
  padding: 2.5rem 5% 0;
}

.footer-container {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h3 {
  color: #ddd;
  margin-bottom: 1rem;
  margin-top: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover,
.footer-column a:focus {
  color: #D5481B;
  outline: none;
  text-decoration: underline;
}

.footer-column p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.address {
  font-style: normal;
  margin-top: 1rem;
}

/* Map Container */
.map-container {
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 4px;
}

.map-container iframe {
  display: block;
  width: 100%;
}

/* Footer Bottom Copyright Bar */
.footer-bottom {
  background-color: #D5481B;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin: 0 -5.5%;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}



/* ============================================
   RESPONSIVE DESIGN
============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .subbar-links {
    gap: 2rem;
  }

  .image-overlay-section {
    flex-direction: column;
  }

  .image-card {
    flex: 1;
    min-height: 300px;
  }

  .text-column {
    margin-top: 2rem;
  }

  .products-services h2 {
    padding-left: 0;
  }
}

/* Mobile */
@media (max-width: 768px) {

  .page-offset-margin {
  margin-top: calc(4rem + 10px);
}

  .topbar {
    display: none;
  }

  .subbar {
    height: 6rem;
    width: 70rem;
    padding: 0rem 5%;
    position: fixed;
    top: 0;
    left: -20px;
    z-index: 999;
  }

  .subbar-logo img {
    height: 6rem;
  }

/* Hamburger Icon */
.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    display: block;
    margin-right: 40px;
    width: 25px;
    height: 3px;
    background: #666666;
    border-radius: 5px;
}

.hamburger-icon::before {
    transform: translateY(-7px);
}
.hamburger-icon::after {
    transform: translateY(4px); 
}

  .subbar-links {
    display: none;
  }

  .search-box {
    display: none;
  }

  .hero {
    width: 143%;
    height: auto;
    min-height: 300px;
    padding: 2rem 5%;
    margin-top: 97px;
  }

  .hero-video {
    width: 100%;
    height: 100%;
  }

  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .hero-content {
    max-width: 100%;
    margin-left: 20px;
  }

  .products-services {
    padding: 1rem;
    width: 140%;
  }

  .products-services h2 {
    padding-left: 5%;
    font-size: 1.8rem;
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 0;
  }

  .boxes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .box {
    flex: 1 1 100%;
    max-width: 400px; 
    margin-left: auto;
    margin-right: auto;
  }

  .image-overlay-section {
    padding: 2rem 5%;
  }

  .text-column h2:first-child {
    margin-top: 1.5rem;
  }

  .btn-about {
    align-self: flex-start;
    width: 100%;
  }

  .video-section {
    padding: 2rem 5%;
  }

  .footer {
    padding: 2rem 5% 0;
  }

  .footer-column {
    flex: 1 1 100%;
    text-align: center;
  }

  .footer-column:nth-child(3) {
    text-align: center;
  }

  .map-container {
    margin: 1rem 0;
  }
}

/* Small Mobile */
@media (max-width: 425px){

html, body {
        overflow-x: hidden;
        margin: 0;
        padding: 0;
        width: 100%;
        position: relative; 
    }

    body.no-scroll {
        overflow: hidden; 
        position: fixed;
        width: 100%;
        height: 100%;
    }

    .page-offset-margin {
        margin-top: 5rem; 
    }

    .topbar {
        display: none;
    }

    .subbar {
        height: 5rem; 
        width: 100%;
        padding: 0rem 5%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
    }

    .subbar-logo img {
        height: 4rem;
    }

    .subbar-links {
        display: none;
    }

    .search-box {
        display: none;
    }
    .subbar-links {
        display: none;
    }

    .subbar-links a {
        display: none;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    /*Buttons are fine --------- */
    .btn,
    .btn-about,
    .btn-view-more {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }

    /* HAMBURGER ICON BUTTON STYLING--- */
    .hamburger-icon-button {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1002;
    }

        .hamburger-icon-button .bar {
        width: 100%;
        height: 3px;
        background-color: #333;
        border-radius: 5px;
        transition: all 0.3s ease-in-out;
    }


  /* Hamburger animation when menu is open */
    .hamburger-icon-button.open .bar:nth-child(2) { opacity: 0; }
    .hamburger-icon-button.open .bar:nth-child(1) { transform: translateY(11px) rotate(45deg); }
    .hamburger-icon-button.open .bar:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }



    /* --- MOBILE SIDEBAR MENU*/
    .sidebar-search-container {
        display: block;
        padding: 20px;
        border-bottom: 1px solid #ddd;
        margin-bottom: 20px;
    }

    .mobile-search-box {
        display: flex;
        align-items: center;
        margin-left: 40px;
        width: 70%;
        background-color: #e0e0e0;
        border-radius: 25px;
        padding: 5px 15px;
        border: none;
    }

    .mobile-sidebar {
        display: block;
        position: fixed; 
        top: 0;
        right: 0;
        width: 85vw;
        height: 100%;
        background-color: #f1f1f1;
        z-index: 1000;
        transform: translateX(100%); 
        transition: transform 0.3s ease-out;
        overflow-y: auto;
        padding-top: 20px;
        box-sizing: border-box;
    }

    .sidebar-overlay {
        display: block ;
        position: fixed;
    }
    
    .mobile-sidebar.open {
        transform: translateX(0) ; 
    }

     .sidebar-search-container {
        padding: 0 20px 20px;
        border-bottom: 1px solid #ddd;
        margin-bottom: 10px;
    }

    .mobile-links {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center; 
    }

    .mobile-links li a {
        display: block;
        padding: 15px 25px;
        color: #333;
        font-size: 1.1rem;
        text-decoration: none;
    }
    
    .mobile-links li a.active-link {
        color: #D5481B; 
        font-weight: 600;
        text-decoration: underline 2px;
        text-underline-offset: 5px;
        text-decoration-color: #D5481B;
    }

    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-out;
    }

    .sidebar-overlay.visible {
        opacity: 1;
        visibility: visible;
    }

     .mobile-sidebar.open {
        transform: translateX(0); 
    }

    .sidebar-search-container {
        padding: 0 20px 20px;
        border-bottom: 1px solid #ddd;
        margin-bottom: 10px;
    }

    .mobile-links {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center; 
    }

    /* --- HERO SECTION*/
    .hero {
        width: 100%;
        height: auto;
        min-height: 300px;
        padding: 2rem 5%;
        margin-top: 5rem;
        box-sizing: border-box;
    }

  .hero-content {
    text-align: center; 
    color: white;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 18px;
    font-weight: 400;
}

.hero-btn {
    margin-top: 25px;
    padding: 14px 35px;
    font-size: 18px;
    background-color: #FF5722;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
}

    .hero-video {
        width: 100%;
        height: auto;
        min-height: 300px;
    }

 .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.7) 30%,
            rgba(0, 0, 0, 0.5) 50%,
            transparent 100%
        );
 } 



    /*PRODUCTS & SERVICES SECTION*/
    .products-services {
        padding: 2rem 5%; 
        width: 100%;
        box-sizing: border-box;
    }

    .products-services h2{
      font-size: 25px;
      margin-left: auto;
      margin-top: auto;
      margin-bottom: 0px;

    }


    /* --- TEXT/IMAGE SECTIONS */
    .image-card {
        position: relative;
        flex: 1rem;
        overflow: hidden;
        width: 100%;
    }

    /* Overlay */
.overlay-content {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 0.5px;
  text-align: right;
}

.overlay-content h3 {
  margin: 15px;
  font-size: clamp(1.1rem, 1.5vw, 1.6rem);
  font-weight: 300;
  justify-content: center;
  margin-bottom: 2px;
}
    
    .divider {
        width: 80%;
        height: 2px;
        background-color: #D5481B;
        margin: 30px auto;
    }

    .text-column {
        flex: 1;
        text-align: left;
        display: block;
        margin-left: 0;
        margin-right: 0;
        padding: 0 5%;
        box-sizing: border-box;
    }
    .text-column p {
        margin-top: 0;
        padding-right: 0; 
    }

    .boxes-btn {
  display: flex;
  justify-content: center;
  margin-top: -3rem;
  margin-bottom: 3rem;
}
    .btn-about {
        margin-left: 50%;
        transform: translateX(-50%);
        width: 180px;
    }

    /* VIDEO SECTION*/
.video-section {
display: none;
}

.mobile-video-section{
  display: block;
}

.mobile-video-container{
  display: block;
  margin-top: 10px;
  margin-left: 1rem;
}

    .video-container video {
      display: none;
    }

    .footer {
    width: 26.5rem;
  }

  .footer-column {
    flex: 1 1 100%;
    text-align: left;
    margin-left:30px;
  }

  .footer-column:nth-child(3) {
    text-align: center;
  }

  .map-container {
    margin: 0 auto;
    width: 420px;
    margin-bottom: 20px;
    margin-left: -50px;
    margin-right: -20px;
  }
  .address {
    text-align: right;
  }
  
}