/* NeoSans Font Family */
@font-face {
  font-family: 'NeoSans-Medium';
  src: url('../fonts/NeoSans-Medium (1).ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NeoSans';
  src: url('../fonts/NeoSans (1).ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NeoSans-Light';
  src: url('../fonts/NeoSans-Light (1).ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Apply NeoSans fonts globally */
body, p, div, span, li, td, th, a, label, input, textarea, select, button {
  font-family: 'NeoSans', sans-serif !important;
  font-weight: 400 !important;
}

/* Main Headings */
h1, h2, .title, .heading, .hero-title, .main-heading {
  font-family: 'NeoSans-Medium', sans-serif !important;
  font-weight: 500 !important;
}

/* Sub Headings */
h3, h4, h5, h6, .subtitle, .sub-heading {
  font-family: 'NeoSans', sans-serif !important;
  font-weight: 400 !important;
}

/* Navigation and UI elements */
nav, .menu, .navbar, .nav-link {
  font-family: 'NeoSans', sans-serif !important;
}

/* Active Navigation State - Green Border */
.nav-item.active > a {
  border-bottom: 3px solid #8fc858 !important;
  padding-bottom: 5px;
}

.nav-item.active > a .overflow {
  color: #8fc858 !important;
}

/* Buttons */
.btn, button, .button {
  font-family: 'NeoSans', sans-serif !important;
}

.contain-img-bg {
    object-fit: contain;
}

/* Hero Header Images - Fix Top Cut Off */
.header-normal .cover-bg-img,
.header-corporate .cover-bg-img,
header .box-img .cover-bg-img {
  object-fit: cover !important;
  object-position: center 30% !important; /* Show more of top part */
  width: 100% !important;
  height: 100% !important;
}

/* ========== FORCE SHOW Google Maps Link in Mobile Menu ========== */
/* This override ensures container-content is visible when mobile menu is open */
body .site-header.dsn-hamburger.dsn-open .container-content {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  flex-direction: column !important;
  padding: 20px 15px !important;
  background: white !important;
  margin: 15px !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
  position: relative !important;
  z-index: 9999 !important;
}

body .site-header.dsn-hamburger.dsn-open .container-content .nav__info {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body .site-header.dsn-hamburger.dsn-open .container-content .nav-content {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  margin-bottom: 15px !important;
  color: #2c3e50 !important;
}

body .site-header.dsn-hamburger.dsn-open .container-content .nav-content h5 {
  color: #2c3e50 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body .site-header.dsn-hamburger.dsn-open .container-content .nav-content a {
  color: #8fc858 !important;
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body .site-header.dsn-hamburger.dsn-open .container-content .nav-social {
  display: none !important;
}

/* Hide contact information and extra content in mobile navigation */
body .site-header .container-content {
  display: none !important;
}

body .site-header.dsn-hamburger.dsn-open .container-content {
  display: none !important;
}

/* Keep only navigation menu items on mobile */
@media (max-width: 991px) {
  body .site-header .container-content .nav__info,
  body .site-header .container-content .nav-social,
  body .site-header .container-content {
    display: none !important;
    visibility: hidden !important;
  }
}

/* Navigation Bar Minimization - High Specificity */
body .site-header .main-logo {
  margin-right: 30px !important;
  margin-left: 0 !important;
  display: flex !important;
  align-items: center !important;
}

body .site-header nav.main-navigation {
  margin-left: 0 !important;
  margin-right: 0 !important;
  flex: none !important;
  display: flex !important;
  align-items: center !important;
}

body .site-header .primary-nav .nav-item {
  margin: 0 10px !important;
  padding: 0 !important;
}

body .site-header .primary-nav .nav-item a {
  padding: 6px 0 !important;
  margin: 0 !important;
}

body .site-header {
  padding: 8px 20px !important;
  min-height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

body .site-header .primary-nav {
  gap: 0 !important;
  justify-content: flex-start !important;
  align-items: center !important;
  display: flex !important;
}

/* Mobile Navigation Minimization */
@media (max-width: 991px) {
  body .site-header {
    padding: 6px 10px !important;
    max-width: 100% !important;
  }
  
  body .site-header .main-logo {
    margin-right: 15px !important;
    margin-left: 10px !important;
  }
  
  body .site-header .primary-nav .nav-item {
    margin: 0 6px !important;
  }
}

iframe {
  display: block;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  border: none;
  margin: 0;
  padding: 0;
  overflow: hidden; 
  scrollbar-width: none; /* Firefox */
}

iframe::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

@media (max-width: 768px) { 
    #empty-space {
      display: none; 
    }
    
    /* Fix hero header text overflow on mobile - ONLY for inner pages, NOT home page */
    .header-corporate .title-lg {
      font-size: 50px !important; /* Reduce font size for mobile */
      padding-left: 15px !important; /* Add left padding */
      padding-right: 15px !important; /* Add right padding */
      text-align: left !important;
      overflow: visible !important;
    }
    
    .header-corporate .title-lg span {
      display: block !important;
      width: 100% !important;
      overflow: visible !important;
    }
    
    .header-corporate .content {
      padding-left: 15px !important;
      padding-right: 15px !important;
    }
  }

  .map-container {
    width: 70vw; /* Set the width */
    height: 400px; /* Set the height to the same value for a square shape */
    overflow: hidden; /* Hide overflow to prevent glitches */
    position: relative; /* Positioning context for the iframe */
    margin: 0 auto; /* Center the container */
    bottom: 60px;
  }
  .map-container iframe {
    width: 100%; /* Make the iframe take the full width of the container */
    height: 100%; /* Make the iframe take the full height of the container */
    border: 0; /* Remove border */
    overflow: hidden; /* Prevent scrolling within the iframe */
    transform: translateZ(0);
  }


  #form_name::placeholder {
  color: black; 
}

#form_email::placeholder {
  color: black;
}

#form_capacity::placeholder {
  color: black;
}

#form_qty::placeholder {
  color: black;
}

#form_message::placeholder {
  color: black; 
}

.help-block.with-errors {
  color: #cc6565;
}

.text-black {
  color: #000 !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; /* added line */
  border: 0;
}

/* Responsive Container Styles */
.product-container {
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
  background-color: #ffffff;
  border-radius: 0.5rem; /* rounded-lg */
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-xl */
  max-width: 48rem; /* max-w-4xl */
  margin-bottom: 2rem; /* mb-8 */
}
@media (min-width: 640px) { /* sm:p-6 */
  .product-container {
      padding: 1.5rem;
  }
}
@media (min-width: 1024px) { /* lg:p-8 */
  .product-container {
      padding: 2rem;
  }
}
/* Remove bottom margin for the last container */
.product-container:last-of-type {
  margin-bottom: 0;
}

/* Heading Styles */
.product-heading {
  font-size: 2.25rem; /* text-3xl */
  line-height: 2.5rem; /* leading-9 */
  font-weight: 700; /* font-bold */
  text-align: center;
  margin-bottom: 1.5rem; /* mb-6 */
  color: #374151; /* text-gray-800 */
}
@media (min-width: 640px) { /* sm:text-4xl */
  .product-heading {
      font-size: 2.5rem;
      line-height: 1;
  }
}

/* Paragraph Description Styles */
.product-description {
  color: #4b5563; /* text-gray-700 */
  font-size: 1rem; /* text-base */
  margin-bottom: 1.5rem; /* mb-6 */
  line-height: 1.625; /* leading-relaxed */
  text-align: left;
}

/* Table Wrapper Styles */
.product-table-wrapper {
  overflow-x: auto; /* overflow-x-auto */
  border-radius: 0.5rem; /* rounded-lg */
  border: 1px solid #e5e7eb; /* border border-gray-200 */
}

/* Table Styles */
.product-table {
  width: 100%; /* min-w-full */
  border-collapse: collapse; /* For divide-y */
}
.product-table td, .product-table th {
  border-bottom: 1px solid #e5e7eb; /* divide-y divide-gray-200 */
  word-break: break-word; /* Ensures long words break and wrap */
  padding: 1rem 1.5rem; /* px-6 py-4 / px-6 py-3 */
  font-size: 0.875rem; /* text-sm / text-xs */
  line-height: 1.25rem; /* leading-5 */
  text-align: left;
}

/* Table Header Styles - Common */
.product-table thead th {
  font-weight: 500; /* font-medium */
  color: #ffffff; /* text-white */
  text-transform: uppercase; /* uppercase */
  letter-spacing: 0.05em; /* tracking-wider */
}

/* Table Header Styles - Specific Colors */
.product-table-header-green {
  background-image: linear-gradient(to right, #22c55e, #16a34a); /* bg-gradient-to-r from-green-500 to-green-600 */
  border-top-left-radius: 0.5rem; /* rounded-tl-lg */
  border-top-right-radius: 0.5rem; /* rounded-tr-lg */
}
.product-table-header-blue {
  background-image: linear-gradient(to right, #202d52, #202d52); /* bg-gradient-to-r from-blue-500 to-blue-600 */
  border-top-left-radius: 0.5rem; /* rounded-tl-lg */
  border-top-right-radius: 0.5rem; /* rounded-tr-lg */
}
.product-table-header-purple {
  background-image: linear-gradient(to right, #a855f7, #9333ea); /* bg-gradient-to-r from-purple-500 to-purple-600 */
  border-top-left-radius: 0.5rem; /* rounded-tl-lg */
  border-top-right-radius: 0.5rem; /* rounded-tr-lg */
}

/* Table Body Styles */
.product-table tbody tr {
  background-color: #ffffff; /* bg-white */
}
.product-table tbody tr:hover {
  background-color: #f9fafb; /* hover:bg-gray-50 */
}

/* Table Cell Styles - Common */
.product-table tbody td {
  color: #374151; /* text-gray-700 */
}
.product-table tbody td.product-category-cell {
  font-weight: 500; /* font-medium */
  color: #1f2937; /* text-gray-900 */
}

/* Table Cell Background Colors - Specific */
.product-table tbody td.product-category-green {
  background-color: rgba(220, 252, 231, 0.75); /* bg-green-50 bg-opacity-75 */
}
.product-table tbody td.product-category-blue {
  background-color: rgba(219, 234, 254, 0.75); /* bg-blue-50 bg-opacity-75 */
}
.product-table tbody td.product-category-purple {
  background-color: rgba(237, 227, 254, 0.75); /* bg-purple-50 bg-opacity-75 */
}

/* Rounded corners for bottom cells */
.product-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 0.5rem; /* rounded-bl-lg */
}
.product-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 0.5rem; /* rounded-br-lg */
}

/* List Styles */
.product-list {
  list-style-type: disc;
  list-style-position: inside;
  color: #4b5563; /* text-gray-700 */
  font-size: 1rem; /* text-base */
  margin-bottom: 1rem; /* mb-4 */
  padding-left: 1rem; /* pl-4 */
  text-align: left;
}

/* Modern Contact Section Layout - Improved Professional Look */
.contact-section-modern {
  width: 100%;
  background: #fff;
  padding: 60px 0 40px 0;
}
.contact-modern-container {
  display: flex;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(32,45,82,0.08);
  padding: 40px 30px;
  flex-wrap: wrap;
}
.contact-modern-info {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: flex-start;
  min-width: 280px;
}
.contact-modern-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #202d52;
  margin-bottom: 0.5rem;
}
.contact-modern-desc {
  color: #202d52;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.contact-modern-card {
  display: flex;
  align-items: center;
  background: #202d52;
  color: #fff;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(32,45,82,0.07);
  gap: 16px;
}
.contact-modern-icon-bg {
  background: #88f46c;
  color: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  min-width: 38px;
  min-height: 38px;
  box-shadow: 0 1px 4px rgba(32,45,82,0.10);
}
.contact-modern-card-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-modern-label {
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
}
.contact-modern-value {
  font-size: 0.98rem;
  color: #e6e6e6;
  word-break: break-word;
}

.contact-modern-form {
  flex: 1 1 340px;
  background: #202d52;
  border-radius: 12px;
  padding: 32px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 300px;
  box-shadow: 0 2px 12px rgba(32,45,82,0.09);
}
.contact-modern-form form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-modern-form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-modern-form-group label {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 2px;
}
.contact-modern-form-group input,
.contact-modern-form-group textarea {
  background: #fff;
  border: 1.5px solid #202d52 !important;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 1rem;
  color: #202d52 !important;
  outline: none;
  transition: border 0.2s;
}
.contact-modern-form-group input:focus,
.contact-modern-form-group textarea:focus {
  border-color: #88f46c;
}
.contact-modern-form-group input::placeholder,
.contact-modern-form-group textarea::placeholder {
  color: #b6eab2;
  opacity: 1;
}
.contact-modern-submit {
  background: #202d52;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
  padding: 14px 0;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 2px 8px rgba(32,45,82,0.09);
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.contact-modern-submit:hover {
  background: #88f46c;
  color: #202d52;
}

@media (max-width: 900px) {
  .contact-modern-container {
    flex-direction: column;
    padding: 30px 10px;
    gap: 24px;
  }
  .contact-modern-form, .contact-modern-info {
    min-width: 0;
  }
}

/* Corporate Contact Section */
.contact-section-corporate {
  width: 100%;
  background: #f7f9fb;
  padding: 60px 0 40px 0;
}
.contact-corporate-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 30px;
}
.contact-corporate-info-card {
  background: transparent;
  color: #202d52;
  border-radius: 14px;
  padding: 22px 24px 18px 24px;
  width: 100%;
  display: block;
  text-align: center;
}
.contact-corporate-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: #202d52;
  margin-bottom: 0.5rem;
}
.contact-corporate-desc {
  color: #e6e6e6;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.contact-corporate-form-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 32px rgba(32,45,82,0.10);
  padding: 38px 32px 32px 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-corporate-form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}

.contact-corporate-form-group .form-group {
  margin-bottom: 0;
}
.contact-corporate-form-group label {
  color: #202d52;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 2px;
}
.contact-corporate-form-group input,
.contact-corporate-form-group textarea {
  background: #f7f9fb;
  border: 1.5px solid #202d52;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 1rem;
  color: #202d52;
  outline: none;
  transition: border 0.2s;
}
.contact-corporate-form-group input:focus,
.contact-corporate-form-group textarea:focus {
  border-color: #4e7ad2;
}
.contact-corporate-form-group input::placeholder,
.contact-corporate-form-group textarea::placeholder {
  color: #b6bfcf;
  opacity: 1;
}
.contact-corporate-submit {
  background: #202d52;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
  padding: 14px 0;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 2px 8px rgba(32,45,82,0.09);
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}
.contact-corporate-submit:hover {
  background: #8fc858;
  color: #202d52;
}

@media (max-width: 900px) {
  .contact-corporate-container {
    padding: 30px 10px;
    gap: 32px;
  }
  
  .contact-corporate-form-group {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.contact-corporate-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}
.contact-corporate-table td {
  border: none;
  padding: 6px 10px 6px 0;
  vertical-align: top;
}
.contact-corporate-label {
  font-weight: 700;
  color: #4a7c2c; /* dark green */
  white-space: nowrap;
  padding-right: 14px;
  letter-spacing: 0.5px;
  font-size: 1.08rem;
  text-align: left;
}
.contact-corporate-value {
  color: #202d52; /* dark blue */
  font-size: 1.08rem;
  text-align: left;
  word-break: break-word;
}

.form-error {
  color: #cc6565;
  font-size: 0.95em;
  margin-top: 2px;
  min-height: 18px;
}

.dsn-form input[type=submit] {
  transition: background 0.2s, color 0.2s;
}

.dsn-form .form-group label {
  color: #202d52;
font-weight: 600;
font-size: 1rem;
margin-bottom: 2px;
}

.dsn-form .entry-box input:not([type=submit]), .dsn-form .entry-box textarea {
  background: #f7f9fb;
border: 1.5px solid #202d52;
border-radius: 6px;
padding: 12px 14px;
font-size: 1rem;
color: #202d52;
outline: none;
transition: border 0.2s;

}

.services-section-nav {
  position: fixed;
  top: 150px;
  left: 32px;
  z-index: 1000;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(32,45,82,0.10);
  padding: 18px 24px;
  min-width: 210px;
  max-width: 260px;
  font-family: 'Poppins', Arial, sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.services-section-nav.visible {
  opacity: 1;
  pointer-events: auto;
}

.services-section-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.services-section-nav li {
  margin-bottom: 14px;
}

.services-section-nav li:last-child {
  margin-bottom: 0;
}

.services-section-nav a {
  color: #202d52;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.2s;
  display: block;
  padding: 4px 0;
  border-left: 3px solid transparent;
}

.services-section-nav a:hover,
.services-section-nav a.active {
  color: #8fc858;
  border-left: 3px solid #8fc858;
  background: #f7f9fb;
  border-radius: 4px;
}


@media (max-width: 900px) {
  .services-section-nav {
    display: none !important;
  }
}

/* Products Navigation Bar */
.products-nav-bar {
  position: sticky;
  top: 130px;
  z-index: 99;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 15px 0;
  margin-top: 20px;
  transition: top 0.3s ease-in-out;
}

/* When main header is hidden, move product nav to top */
body.scrolled-down .products-nav-bar {
  top: 0px;
}

/* Hide main header when scrolling on products page */
.site-header {
  transition: transform 0.3s ease-in-out !important;
}

body.scrolled-down .site-header {
  transform: translateY(-150px) !important;
}

body:not(.scrolled-down) .site-header {
  transform: translateY(0) !important;
}

.products-nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 15px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.product-nav-link {
  padding: 12px 20px;
  background: #202d52;
  color: #fff !important;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0.3px;
  flex: 0 1 auto;
  text-align: center;
  min-width: max-content;
}

.product-nav-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.product-nav-link.active {
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  font-weight: 700;
}

@media (max-width: 1200px) {
  .products-nav-links {
    overflow-x: auto;
    justify-content: flex-start;
  }
  
  .product-nav-link {
    flex: 0 0 auto;
  }
}

@media (max-width: 768px) {
  .products-nav-links {
    gap: 10px;
    padding: 0 20px;
  }
  
  .product-nav-link {
    font-size: 12px;
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .product-nav-link {
    font-size: 11px;
    padding: 8px 12px;
  }
}

/* Datalist styling */
input[list]::-webkit-calendar-picker-indicator {
  cursor: pointer;
}

datalist {
  position: absolute;
  background-color: white;
  border: 1px solid #202d52;
  border-radius: 0 0 4px 4px;
  border-top: none;
  font-family: inherit;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
}

option {
  background-color: white;
  padding: 8px;
  color: #333;
  font-size: 14px;
}

option:hover {
  background-color: #f0f0f0;
}

/* Product Images Carousel - Professional Horizontal Layout */
/* Override fjGallery plugin styles */
.carousel-wrapper {
  position: relative;
  width: 100%;
  padding: 0 70px;
  margin: 0;
}

.carousel-wrapper .gallery-portfolio {
  display: flex !important;
  flex-direction: row !important;
  gap: 25px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  padding: 5px;
  align-items: center;
}

.carousel-wrapper .gallery-portfolio::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.carousel-wrapper .gallery-portfolio .fj-gallery-item {
  position: relative;
  min-width: 480px;
  max-width: 480px;
  height: 360px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  background: #fff;
  flex-shrink: 0;
  float: none !important; /* Override fjGallery.css */
  transform: none !important; /* Override fjGallery.css */
}

.carousel-wrapper .gallery-portfolio .fj-gallery-item:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  transform: translateY(-8px) !important;
}

.carousel-wrapper .gallery-portfolio .fj-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.carousel-wrapper .gallery-portfolio .fj-gallery-item:hover img {
  transform: scale(1.08);
}

/* Navigation Arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffffff;
  border: 2px solid #e0e0e0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
}

.carousel-nav:hover {
  background-color: #1a1a1a;
  border-color: #1a1a1a;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

/* Arrow images inside buttons */
.carousel-nav img {
  width: 28px;
  height: 28px;
  transition: filter 0.3s ease;
  pointer-events: none;
}

/* Make arrows white on hover */
.carousel-nav:hover img {
  filter: brightness(0) invert(1);
}

.carousel-nav i {
  display: none;
}

/* Responsive for tablets */
@media (max-width: 992px) {
  .carousel-wrapper {
    padding: 0 50px;
  }
  
  .carousel-wrapper .gallery-portfolio .fj-gallery-item {
    min-width: 350px;
    max-width: 350px;
    height: 280px;
  }
  
  .carousel-nav {
    width: 50px;
    height: 50px;
  }
  
  .carousel-nav i {
    font-size: 20px;
  }
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .carousel-wrapper {
    padding: 0 45px;
  }
  
  .carousel-wrapper .gallery-portfolio {
    gap: 15px;
  }
  
  .carousel-wrapper .gallery-portfolio .fj-gallery-item {
    min-width: 280px;
    max-width: 280px;
    height: 220px;
  }
  
  .carousel-nav {
    width: 45px;
    height: 45px;
  }
  
  .carousel-nav i {
    font-size: 18px;
  }
}

/* Reduce spacing for product carousel sections */
.container.p-relative.section-margin.over-hidden {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

/* Reduce spacing between services sections */
.about-section.section-padding {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}

.about-section.section-padding:first-of-type {
  padding-top: 80px !important;
}

.about-section.section-padding:last-of-type {
  padding-bottom: 80px !important;
}

/* Reduce gap between Products and Services sections on home page */
.our-work.section-margin {
  margin-bottom: 40px !important;
}

.dsn-cards-post.section-padding {
  padding-top: 40px !important;
}

/* Reduce spacing in products page sections */
.section-padding.text-center {
  padding-top: 40px !important;
  padding-bottom: 30px !important;
}

.section-padding.text-center:first-of-type {
  padding-top: 60px !important;
}

@media (max-width: 768px) {
  .about-section.section-padding {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  
  .about-section.section-padding:first-of-type {
    padding-top: 60px !important;
  }
  
  .about-section.section-padding:last-of-type {
    padding-bottom: 60px !important;
  }
  
  /* Show logo box on mobile */
  .home-logo-box {
    display: block !important;
    margin-top: 30px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  
  .home-logo-box .box-img {
    height: 300px !important;
    width: 100% !important;
  }
  
  .home-logo-box img.contain-img-bg {
    height: 100% !important;
    width: 100% !important;
    object-fit: contain !important;
  }
  
  .our-work.section-margin {
    margin-bottom: 30px !important;
  }
  
  .dsn-cards-post.section-padding {
    padding-top: 30px !important;
  }
}

/* Services Page Image Styling - Professional Look with Controlled Size */
.corner-box {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
  max-height: 450px; /* Limit maximum height */
  min-height: 350px; /* Ensure minimum height */
  height: 450px; /* Fixed height for consistency */
  display: flex;
  align-items: center;
  justify-content: center;
}

.corner-box:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  transform: translateY(-4px); /* Reduced movement */
}

.corner-box img.cover-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover !important; /* Fill the frame completely */
  transition: transform 0.4s ease;
  border-radius: 16px;
}

/* For images with contain-img-bg class (keeps full image visible) */
.corner-box img.contain-img-bg {
  object-fit: cover !important; /* Changed from contain to cover to fill frame */
  width: 100%;
  height: 100%;
}

.corner-box:hover img.cover-bg-img {
  transform: scale(1.03); /* Reduced scale for subtler effect */
}

/* Home Page Logo Box - Keep Original Style (No Changes) */
.home-logo-box {
  /* Original styling - no rounded corners, no shadows, no hover effects */
}

.home-logo-box img.contain-img-bg {
  object-fit: contain !important;
}

/* Home Page Products Section - Professional Compact Look */
.our-work .dsn-item-post {
  max-height: 700px !important;
  max-width: 380px !important;
  width: 100% !important;
  overflow: hidden;
  position: relative !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.our-work .dsn-item-post:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25) !important;
  transform: translateY(-12px) !important;
}

.our-work .box-image-bg {
  height: 420px !important;
  max-height: 420px !important;
  overflow: hidden;
  border-radius: 16px 16px 0 0 !important;
}

.our-work .box-image-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.our-work .dsn-item-post:hover .box-image-bg img {
  transform: scale(1.08) !important;
}

.our-work .post-title {
  font-size: 1.4rem !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.our-work .post-title a {
  line-height: 1.2 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Content area - absolute positioning at bottom */
.our-work .content {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  padding: 18px 25px !important;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.85) 60%, rgba(0,0,0,0.4) 100%) !important;
  z-index: 2 !important;
  border-radius: 0 0 16px 16px !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.our-work .dsn-item-post:hover .content {
  background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.9) 50%, rgba(0,0,0,0.5) 100%) !important;
  padding: 20px 25px !important;
}

/* Inner flex container */
.our-work .content > .d-flex {
  margin: 0 !important;
  padding: 0 !important;
  align-items: flex-end !important;
  transition: all 0.3s ease !important;
}

/* Button positioning */
.our-work .content .dsn-btn {
  margin-bottom: 0 !important;
  flex-shrink: 0 !important;
  transition: all 0.3s ease !important;
  transform: scale(1) !important;
}

.our-work .dsn-item-post:hover .content .dsn-btn {
  transform: scale(1.1) rotate(5deg) !important;
}

/* Title Animation */
.our-work .post-title {
  font-size: 1.4rem !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: all 0.3s ease !important;
}

.our-work .dsn-item-post:hover .post-title {
  letter-spacing: 0.5px !important;
}

.our-work .post-title a {
  line-height: 1.2 !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: all 0.3s ease !important;
}

@media (max-width: 768px) {
  .our-work .dsn-item-post {
    max-height: 600px !important;
    max-width: 100% !important;
  }
  
  .our-work .box-image-bg {
    height: 350px !important;
    max-height: 350px !important;
  }
  
  .our-work .post-title {
    font-size: 1.2rem !important;
  }
  
  .our-work .content {
    padding: 15px 20px !important;
  }
}

/* ========== About Us Resources Section ========== */
.resources-section .modern-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(143, 200, 88, 0.4) !important;
}

.resources-section .resource-item {
  transition: all 0.3s ease;
}

.resources-section .resource-item:hover {
  padding-left: 15px !important;
}

/* ========== Our Products Section - Grid Balance ========== */
.our-work .dsn-cards {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

.our-work .dsn-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.our-work .dsn-item-post {
  max-width: 100%;
}

@media (min-width: 1200px) {
  .our-work .dsn-grid-layout {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .our-work .dsn-grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .our-work .dsn-grid-layout {
    grid-template-columns: 1fr;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
  }
  
  .our-work .dsn-cards {
    padding: 0 15px !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .our-work .dsn-item-post {
    margin: 0 auto !important;
  }
}

/* ========== MOBILE MENU FIX - UNIFIED BACKGROUND ========== */
@media (max-width: 768px) {
  /* Override the hidden span styles */
  .site-header.dsn-hamburger ul.open > li > a > span,
  .site-header.dsn-hamburger ul.open > li > a .overflow {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    color: #2c3e50 !important;
  }
  
  /* Ensure menu has white background container */
  .site-header.dsn-hamburger.dsn-open,
  .site-header.dsn-hamburger.dsn-open .menu-cover-title {
    background: white !important;
  }
  
  /* Single white background for all nav items */
  .site-header.dsn-hamburger ul.open {
    background: white !important;
    border-radius: 12px !important;
    padding: 0 !important;
    margin: 15px !important;
    margin-top: 30px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    height: auto !important;
    width: calc(100% - 30px) !important;
    box-sizing: border-box !important;
  }

  ul#dsn-primary-list {
    height: auto !important;
  }
  
  /* Style the nav links - no individual borders */
  .site-header.dsn-hamburger ul.open > li > a {
    color: #2c3e50 !important;
    font-weight: 700 !important;
    padding: 18px 20px !important;
    background: transparent !important;
    font-size: 18px !important;
    border: none !important;
    border-bottom: 1px solid #e5e5e5 !important;
    margin: 0 !important;
    display: block !important;
    transition: all 0.3s ease !important;
  }
  
  /* Remove border from last item */
  .site-header.dsn-hamburger ul.open > li:last-child > a {
    border-bottom: none !important;
  }
  
  /* Hover state - highlight text only */
  .site-header.dsn-hamburger ul.open > li > a:hover {
    color: #8fc858 !important;
    background: transparent !important;
    padding-left: 25px !important;
  }

  .site-header.dsn-hamburger ul.open > li > a:hover > span,
  .site-header.dsn-hamburger ul.open > li > a:hover .overflow {
    color: #8fc858 !important;
  }

  /* Active state for mobile menu */
  .site-header.dsn-hamburger ul.open > li.active > a,
  .site-header.dsn-hamburger ul.open > li > a.active {
    color: #8fc858 !important;
    /*border-bottom: 1px solid #8fc858 !important;*/
  }

  .site-header.dsn-hamburger ul.open > li.active > a > span,
  .site-header.dsn-hamburger ul.open > li > a.active > span,
  .site-header.dsn-hamburger ul.open > li.active > a .overflow,
  .site-header.dsn-hamburger ul.open > li > a.active .overflow {
    color: #8fc858 !important;
  }

  /* Show container-content (Address + Google Maps link) on mobile menu */
  .site-header.dsn-hamburger.dsn-open .container-content {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    flex-direction: column !important;
    padding: 20px 15px !important;
    background: white !important;
    margin: 15px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
  }

  .site-header.dsn-hamburger.dsn-open .container-content .nav__info {
    display: block !important;
  }

  .site-header.dsn-hamburger.dsn-open .container-content .nav-content {
    margin-bottom: 15px !important;
  }

  .site-header.dsn-hamburger.dsn-open .container-content .nav-content h5 {
    color: #2c3e50 !important;
    font-size: 14px !important;
    margin-bottom: 8px !important;
  }

  .site-header.dsn-hamburger.dsn-open .container-content .nav-content a {
    color: #8fc858 !important;
  }

  /* Hide social section on mobile to keep menu clean */
  .site-header.dsn-hamburger.dsn-open .container-content .nav-social {
    display: none !important;
  }
}

/* ========== FIX: Show container-content on mobile (991px and below) ========== */
@media (max-width: 991px) {
  .site-header.dsn-hamburger.dsn-open .container-content {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    flex-direction: column !important;
    padding: 20px 15px !important;
    background: white !important;
    margin: 15px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    position: relative !important;
    z-index: 100 !important;
  }

  .site-header.dsn-hamburger.dsn-open .container-content .nav__info {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .site-header.dsn-hamburger.dsn-open .container-content .nav-content {
    margin-bottom: 15px !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: #2c3e50 !important;
  }

  .site-header.dsn-hamburger.dsn-open .container-content .nav-content h5 {
    color: #2c3e50 !important;
    font-size: 14px !important;
    margin-bottom: 8px !important;
  }

  .site-header.dsn-hamburger.dsn-open .container-content .nav-content a {
    color: #8fc858 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .site-header.dsn-hamburger.dsn-open .container-content .nav-social {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .resources-section .resource-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px;
  }
  
  .resources-section .resource-item h3 {
    font-size: 24px !important;
  }
  
  .resources-section .modern-btn {
    padding: 12px 30px !important;
    font-size: 13px !important;
  }
  }