* {
  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: #ffffff;
  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;
}

/* Smooth scrolling for anchor links */
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;
}

.logo-group a:hover,
.logo-group a:focus {
  opacity: 0.8;
  outline: 2px solid #D5481B;
  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.5rem 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: 150px;
  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;
}


/* 1. Hide the Hamburger Button */
.hamburger-icon-button {
    display: none; 
}

/* 2. Hide the entire Mobile Sidebar Menu structure */
.mobile-sidebar {
    display: none;
    /* This includes the Search input, mobile links, etc. */
}

/* 3. Hide the Overlay */
.sidebar-overlay {
    display: none;
}


/* Styling for the entire section */
.contact-quotation-section {
    display: flex;
    justify-content: center;
    align-items: stretch; 
    padding: 0;
    background-color: #31353c;
    min-height: 600px;
    max-width: 100vw;
}

/* 1. Contact Info (Left Column) */
.contact-info {
    flex: 1;
    max-width: 450px;
    color: white;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-info p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

.contact-details p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
}

.contact-details .fas {
    margin-right: 10px;
    font-size: 1.1rem;
}

/* 2. Quotation Form (Right Column) */
.quotation-form-container {
    flex: 1.5;
    background-color: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 60px; 
    max-width: 600px; 
}

.quotation-form-container h4 {
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    margin-top: -10px;
}

/* Form Layout */
.quotation-form {
    display: flex;
    flex-direction: column;
    line-height: 50px;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-group label {
    flex-basis: 150px;
    text-align: right;
    padding-right: 15px;
    font-size: 0.95rem;
    color: #555;
}

.form-group input,
.form-group textarea {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    background-color: #f0f0f0;
    border-radius: 4px;
    font-size: 0.95rem;
    color: #333;
}

.message-group {
    align-items: flex-start;
}

.message-group textarea {
    resize: vertical;
}

/* Submit Button */
.submit-button {
    background-color: #ee5d3f;
    color: white;
    padding: 12px 14rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: center;
    margin-top: 20px;
}

.submit-button:hover {
    background-color: #31353c;
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background-color: #31353c;
  color: #fff;
  padding: 2.5rem 5% 0;
  margin-top: 0px;
}

.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) {
  .topbar {
    flex-direction: column;
    height: auto;
    padding: 0.75rem 5%;
    gap: 0.5rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .subbar {
    flex-direction: column;
    height: auto;
    padding: 1rem 5%;
    gap: 1rem;
  }

  .subbar-logo img {
    height: 5rem;
  }

  .subbar-links {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .search-box {
    width: 100%;
    max-width: none;
  }

  .hero {
    height: auto;
    min-height: 300px;
    padding: 2rem 5%;
  }

  .hero-video {
    width: 100%;
    height: 100%;
  }

  .hero-overlay {
    width: 100%;
  }

  .hero-content {
    max-width: 100%;
    margin-left: 0;
  }

  .products-services {
    padding: 2rem 5%;
  }

  .products-services h2 {
    padding-left: 0;
    text-align: center;
  }

  .boxes {
    gap: 1rem;
  }

  .box {
    flex: 1 1 100%;
    max-width: none;
  }

  .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;
  }
}


/* 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;
  }
}

/* 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;
          margin-left: -12rem;
    }

    .subbar-links {
        display: none;
    }

    .search-box {
        display: none;
    }

    .subbar-links {
        display: none;
    }

    .subbar-links a {
        display: none;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    /*Buttons */
    .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;
        gap: 5px;
        margin-right: -320px;
        margin-top: -60px;
        margin-bottom: 35px;
        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;
    }


    .contact-quotation-section {
        margin-top: 70px;
        flex-direction: column;
        padding: 0;
        min-height: auto;
    }

    .contact-info {
        padding: 40px 5%;
        max-width: 100%;
        text-align: left;
        margin-left: 20px;
    }

    .contact-info h3 {
        font-size: 1.8rem;
        margin-top: -5px;
        margin-bottom: 5px;
    }

    .contact-info p {
        margin-bottom: 20px;
    }

    .contact-details {
      margin-left: -10px;
    }

    .contact-details p {
        justify-content: center;
        display: inline-block;
        font-size: 11px;
        margin-bottom: 2px;
        margin-left: -1px;
    }

   
    .quotation-form-container {
        margin: 0; 
        padding: 40px 9%; 
        max-width: 100%;
        border-radius: 20px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }
    
    .quotation-form-container h4 {
        font-size: 1.4rem;
        margin-bottom: 20px;
        margin-top: -20px;
    }

    .quotation-form {
        line-height: 9px;
    }

    .form-group {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .form-group label {
        flex-basis: auto; 
        text-align: left;
        padding-right: 0;
        margin-bottom: 5px;
        color: #1e1e1e;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
    }
    .submit-button {
        padding: 12px 0;
        width: 100%; 
        max-width: 300px;
        align-self: center;
    }

     .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;
  }
}
