/* Font loaded from theme settings via head.php */

/* Main Styles for Haskabin Website */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito Sans', sans-serif;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    font-family: 'Nunito Sans', sans-serif;
}

ul {
    list-style: none;
}

input, button, textarea, select {
    font-family: 'Nunito Sans', sans-serif;
}

/* Custom Bootstrap Overrides */
/* We use Bootstrap's container classes for width management */

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    font-weight: 700;
    font-family: 'Nunito Sans', sans-serif;
}

h2 {
    font-size: 28px;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

h2:after {
    content: none;
}

.section-padding {
    padding: 70px 0;
}

/* Header Styles */
header {
    height: 176px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

header .container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    margin-top: 50px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 208px;
    height: auto;
    max-height: 78px;
    object-fit: contain;
}

/* Desktop logo 20% bigger */
@media (min-width: 769px) {
    .logo img {
        width: 250px;
        max-height: 94px;
    }
}

.header-contact-info {
    display: flex;
    gap: 30px;
}

.header-contact-item {
    display: flex;
    align-items: center;
}

.header-contact-icon {
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.header-contact-text span {
    display: block;
    font-size: 14px;
}

.header-contact-text strong {
    font-size: 16px;
    color: #910000;
}

.header-divider {
    height: 1px;
    background-color: #eee;
    margin: 0;
}

.header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin-top: auto;
}

.main-nav ul {
    display: flex;
    gap: 30px;
    flex-wrap: nowrap;
}

.main-nav li {
    position: relative;
}

.main-nav li a {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* First level menu items uppercase */
.main-nav > ul > li > a {
    text-transform: uppercase;
}

/* Remove red underline effect */

/* Dropdown Menu Styles */
.main-nav .dropdown {
    position: relative;
}

.main-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #eee;
    margin-top: 5px;
}

.main-nav .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Ensure dropdown stays open when hovering over menu items */
.main-nav .dropdown:hover .dropdown-menu,
.main-nav .dropdown .dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .dropdown-menu li {
    width: 100%;
    display: block;
    float: none;
}

.main-nav .dropdown-menu li a {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    border-bottom: none;
    display: block;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
}

.main-nav .dropdown-menu li a:after {
    display: none;
}

/* Force dropdown items to stack vertically */
.main-nav .dropdown-menu li {
    clear: both !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    float: none !important;
    width: 100% !important;
}

.main-nav .dropdown-menu li + li {
    border-top: none;
}

/* Override any flex properties on dropdown menu */
.main-nav .dropdown-menu {
    display: block !important;
    flex-direction: column !important;
}

.main-nav .dropdown-menu ul {
    display: block !important;
    flex-direction: column !important;
}

/* Mobile Header Styles */
.mobile-header-logo {
    display: none; /* Hidden by default, shown only on mobile */
    padding: 20px 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-logo-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-logo-center img {
    width: 180px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

/* Desktop header wrapper removed - using direct container approach */

/* Force line breaks between dropdown items */
.main-nav .dropdown-menu li:after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}

/* Ensure no inline-block or inline display */
.main-nav .dropdown-menu li,
.main-nav .dropdown-menu li a {
    display: block !important;
    float: none !important;
}

.main-nav .dropdown-menu li a:hover {
    background-color: #f8f9fa;
    color: #910000;
    padding-left: 25px;
}

/* Dropdown Submenu Styles */
.main-nav .dropdown-submenu {
    position: relative;
}

.main-nav .dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 5px;
    margin-top: 0;
    border-radius: 0;
}

.main-nav .dropdown-submenu:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Ensure submenu stays open when hovering */
.main-nav .dropdown-submenu:hover .dropdown-menu,
.main-nav .dropdown-submenu .dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Clearfix for dropdown menus */
.main-nav .dropdown-menu::after {
    content: "";
    display: table;
    clear: both;
}

.main-nav .dropdown-menu ul {
    display: block;
    flex-direction: column;
}

/* Remove dropdown arrows */



/* Main Slider Styles - 1600px Responsive System */
.main-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    width: 1600px;
    max-width: 100%;
    margin: 0 auto;
}

.main-slider .container-fluid {
    position: relative;
    height: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.slider-item {
    position: relative;
    height: 100%;
    overflow: hidden;
    display: none; /* Hide all slides by default */
}

.slider-item.active {
    display: block; /* Show only the active slide */
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.slider-content {
    position: absolute;
    top: 55%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 600px;
}

.slider-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slider-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: #910000;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e55a2b;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 10px;
    align-items: center;
    z-index: 10; /* Ensure navigation is above content */
}

.slider-nav button {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-nav button:hover {
    background-color: #910000;
}

.slider-counter {
    font-size: 16px;
    color: #fff;
    padding: 8px 15px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    margin-right: 15px;
}

/* Section Styling */
.section-padding {
    padding: 70px 0;
}

/* Grayscale Utility Class */
.grayscale {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.grayscale:hover,
.solution-box:hover .grayscale,
.service-box:hover .grayscale {
    filter: grayscale(0%);
}

/* Solutions */
.solutions {
    background-color: #fff;
    padding: 70px 0;
}

.solutions .container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    max-width: 1320px;
    margin: 0 auto;
}

.solutions-left {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.solutions-right {
    flex: 2;
    display: flex;
    flex-direction: column;
}

.solutions h2 {
    font-size: 28px;
    margin-bottom: 23px;
    padding-left: 10px;
}

.solution-box {
    position: relative;
    height: 140px;
    width: 100%;
    max-width: 420px;
    margin-bottom: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.solution-box:nth-of-type(1) {
    background-color: #f2f2f2; /* Light gray (0.949, 0.949, 0.949) */
}

.solution-box:nth-of-type(2) {
    background-color: #e5e5e5; /* Medium gray (0.898, 0.898, 0.898) */
}

.solution-box:nth-of-type(3) {
    background-color: #cccccc; /* Darker gray (0.8, 0.8, 0.8) */
}

.solution-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #910000;
    color: white;
}

.solution-box:hover h3 {
    color: white;
}

.icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.icon img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.solution-box h3 {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    padding: 20px;
    text-transform: uppercase;
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    z-index: 2;
    border-radius: 0;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

/* Services grid */
.solutions-right h2 {
    width: 100%;
    padding-left: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    padding: 0 10px;
    flex: 1;
    align-content: stretch;
}

.service-box {
    position: relative;
    height: 100%;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.service-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.service-box:hover h3 {
    background-color: rgba(145, 0, 0, 0.9);
    color: white;
}

.service-box h3 {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    padding: 20px;
    text-transform: uppercase;
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    z-index: 2;
    border-radius: 0;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}



/* Link styling for service boxes */
a.service-box {
    text-decoration: none;
    color: inherit;
}

a.service-box:hover {
    text-decoration: none;
    color: white;
}

/* Product Groups */
.product-groups {
    padding: 70px 0;
}

.product-box {
    margin-bottom: 30px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-box:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
    background-color: #fff;
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

.more {
    color: #910000;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    position: relative;
}

.more:after {
    content: '→';
    margin-left: 5px;
    transition: margin 0.3s ease;
}

.product-box:hover .more:after {
    margin-left: 10px;
}

/* Solutions for Needs */
.solutions-for-needs {
    background-color: #f5f5f5;
    padding: 70px 0;
}

.solutions-slider {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.solutions-tabs {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    padding: 15px 0;
}

.solutions-tabs .tab {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: pointer;
}

.solutions-tabs .tab.active {
    opacity: 1;
    border-bottom: 3px solid #910000;
}

.solutions-tabs .tab a {
    color: #fff;
    font-weight: 500;
}

.solutions-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    color: #fff;
}

/* Quick Links */
.quick-links {
    padding: 70px 0;
}

.quick-link-box {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 30px;
    height: 250px;
}

.quick-link-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.quick-link-box:hover img {
    transform: scale(1.1);
}

.link-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
}

/* References */
.references-section,
#references {
    position: relative;
    width: 100%;
    height: 593px;
    background-color: #fff;
    margin-bottom: 40px;
}

.references-background {
    position: relative;
    width: 100%;
    height: 553px;
    overflow: hidden;
}

.references-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.references-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(76, 76, 76, 0.2);
    transition: background-color 0.3s ease;
}

.reference-info-box {
    position: absolute;
    top: 20px;
    left: 30px;
    width: 380px;
    height: 380px;
    border: 1px solid #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.references-background:hover .reference-info-box  {
    background-color: rgba(145, 0, 0, 0.5);
}
.reference-info-box h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 0;
    padding-bottom: 0;
}

.reference-info-box h2:after {
    content: none;
}

.reference-name {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0;
}

.references-navigation {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
}

.slide-counter {
    margin-right: 15px;
    color: #000;
    font-size: 14px;
    font-weight: 500;
}

.nav-btn {
    width: 40px;
    height: 40px;
    background-color: #e5e5e5;
    border: none;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-btn:hover {
    background-color: #910000;
}

.nav-btn:hover .btn-icon i {
    color: #fff;
}

.btn-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon i {
    color: #000;
    transition: color 0.3s ease;
}





/* Blog */
.blog {
    padding: 70px 0;
}

.blog-post {
    margin-bottom: 30px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.post-image {
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post:hover .post-image img {
    transform: scale(1.1);
}

.post-info {
    padding: 20px;
    background-color: #fff;
    position: relative;
}

.post-tag {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: #910000;
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: 500;
}

/* Footer Styles */
.site-footer {
  background-color: #e5e5e5;
  padding: 60px 0 0;
  color: #4c4c4c;
}

.footer-info {
  margin-bottom: 40px;
}

.footer-logo {
  margin-bottom: 25px;
}

.footer-logo img {
  max-width: 100%;
  height: auto;
}

.contact-details p {
  line-height: 1.6;
  margin-bottom: 0;
  font-size: 14px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.social-link {
  display: flex;
  align-items: center;
  color: #4c4c4c;
  text-decoration: none;
  transition: color 0.3s;
}

.social-link:hover {
  color: #910000;
}

.social-icon {
  width: 38px;
  height: 38px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 18px;
}

.social-link span {
  font-size: 16px;
  font-weight: 500;
}

.footer-nav-row {
  display: flex;
  flex-wrap: nowrap;
}

.footer-nav-col {
  padding-right: 15px;
}

.footer-nav-section {
  margin-bottom: 30px;
}

.footer-nav-section h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 0;
  text-transform: uppercase;
}

.footer-nav-section h3:after {
  display: none;
}

.footer-nav-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-section ul li {
  margin-bottom: 8px;
}

.footer-nav-section ul li a {
  color: #4c4c4c;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 14px;
}

.footer-nav-section ul li a:hover {
  color: #910000;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid #ccc;
  margin-top: 20px;
}

.footer-brands {
  display: flex;
  align-items: center;
}

.footer-brands a {
  color: #4c4c4c;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.footer-brands a:hover {
  color: #910000;
}

.copyright {
  text-align: right;
}

.copyright p {
  margin: 0;
  font-size: 14px;
}



/* Media Queries */


















/* ECO PRODUCT SECTION */
.eco-product-section {
    position: relative;
    width: 100%;
    height: 419px;
    overflow: hidden;
    margin-bottom: 50px;
}

.eco-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/slide.jpg');
    background-size: cover;
    background-position: center;
}

.eco-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(76, 76, 76, 0.2);
}

.eco-info-box {
    position: relative;
    margin: 20px;
    height: 380px;
    border: 1px solid #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.eco-info-box h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 0;
    padding-bottom: 0;
}

.eco-info-box h2:after {
    content: none;
}

.eco-description {
    margin-top: auto;
}

.eco-description p {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
}

.eco-selectors {
    margin-top: 80px;
    padding: 0 15px;
}

.selector-label {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
}

.selector-group {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.eco-selector {
    background-color: #004494;
    color: #fff;
    height: 40px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 301px;
    cursor: pointer;
}

.dropdown-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 0;
}

.dropdown-icon i {
    color: #000;
}






/* Page Header Styles */
.page-header {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 0;
}

/* Blog Post Meta Styles */
.blog-post-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.blog-category-tag {
    background-color: #910000;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.blog-excerpt {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    font-style: italic;
}

/* Blog Card Styles */
.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 20px;
}

.blog-card-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.blog-card-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.blog-card-meta {
    margin-bottom: 15px;
}

.blog-card-meta .blog-date {
    font-size: 12px;
    color: #999;
}

/* Blog Section */
.blog-section {
  width: 100%;
  padding: 60px 0;
  background-color: #fff;
}

.section-title {
  margin-bottom: 40px;
  color: #000;
  font-size: 28px;
  font-weight: 600;
}

.blog-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.blog-item {
  width: 100%;
  position: relative;
  height: 380px;
}

.blog-image {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-image .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(76, 76, 76, 0.2);
  transition: background-color 0.3s ease;
}

.blog-meta {
  padding: 5px 0;
}

.blog-date {
  display: block;
  color: #7F7F7F;
  font-size: 14px;
  margin-bottom: 5px;
}

.blog-title {
  color: #000;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.blog-category {
  position: absolute;
  top: 20px;
  left: 30px;
  width: 180px;
  height: 180px;
  border: 1px solid #fff;
  display: flex;
  align-items: flex-start;
  padding: 13px 16px;
}

.blog-category h3 {
  color: #fff;
  font-size: 16px;
  margin: 0;
}
.blog-item:hover .blog-category {
    background-color: rgba(145, 0, 0, 0.5);
  }
.view-all-link {
  display: flex;
  justify-content: flex-end;
}

.view-all-link a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #e5e5e5;
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-all-link a:hover {
  background-color: #910000;
  color: #fff;
}



/* Styles for product page based on Figma design */

/* Header section styling based on Figma design */
.product-header-container {
  position: relative;
  width: 100%;
  height: 741px;
  overflow: hidden;
}

.product-header-image {
  width: 100%;
  height: 741px;
  object-fit: cover;
  position: relative;
}

.image-caption {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 433px;
  height: 21px;
  margin-right: 10px;
  color: #7f7f7f;
  text-align: right;
  font-size: 14px;
  line-height: 21px;
}



.white-background {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 90px;
  background-color: #ffffff;
}

.product-content-container {
  position: relative;
  margin: 0 auto;
  padding: 0;
}

.product-title-container {
  width: 880px;
  height: 167px;
  background-color: #ffffff;
  padding: 45px 10px 0;
  margin-top:-90px;
}

.product-title {
  font-size: 32px;
  font-weight: 600;
  margin: 0;
  padding: 0;
  color: #000000;
  line-height: 46px;
}

.product-year {
  font-size: 32px;
  font-weight: 400;
  margin: 0;
  padding: 0;
  color: #000000;
  line-height: 46px;
}

.product-description {
  width: 880px;
  padding: 21px 10px;
  background-color: #ffffff;
}

.product-description p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  color: #000000;
}

.table-of-contents {
  position: absolute;
  top: 90px;
  right: 0;
  width: 440px;
  background-color: #e5e5e5;
}

.toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 10px;
  height: 49px;
}

.toc-title {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
}

.toggle-icon {
  width: 17px;
  height: 17px;
  position: relative;
}

.toggle-icon .horizontal,
.toggle-icon .vertical {
  position: absolute;
  background-color: #000000;
}

.toggle-icon .horizontal {
  width: 17px;
  height: 1px;
  top: 8px;
  left: 0;
}

.toggle-icon .vertical {
  width: 1px;
  height: 17px;
  top: 0;
  left: 8px;
}

.toc-content {
  padding: 14px 10px;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list-item {
  padding: 0;
  margin: 0 0 21px 0;
}

.toc-list-item:last-child {
  margin-bottom: 0;
}

.toc-link {
  display: block;
  font-size: 16px;
  color: #000000;
  text-decoration: none;
  padding: 0;
  margin: 0;
}

.toc-link:hover {
  text-decoration: underline;
}

/* Details section styling based on Figma design */
.details-section {
  margin: 45px auto;
  width: 100%;
  max-width: 1320px;
}

.details-container {
  display: flex;
  width: 100%;
}

.details-content {
  width: 880px;
  flex-grow: 1;
}

.details-border {
  border: 1px solid #4c4c4c;
  margin: 21px 10px;
  padding-bottom: 20px;
}

.details-header {
  background-color: #7f7f7f;
  margin: 21px 21px 10px 21px;
  padding: 10px 20px;
}

.details-header h2 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  padding: 0;
}

.details-descriptions {
  margin: 0 21px;
  display: grid;
  grid-template-columns: 160px 1fr;
  grid-gap: 10px 20px;
}

.details-descriptions .term {
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  color: #000;
}

.details-descriptions .detail {
  font-size: 16px;
  line-height: 1;
  color: #000;
}

.details-row {
  display: contents;
}

.details-row + .details-row {
  margin-top: 26px;
}



/* Gallery section styles based on Figma design */
.edge-container.dark {
  background-color: #7f7f7f;
  width: 100%;
  padding: 0;
  margin: 0;
  height: 650px;
  position: relative;
}

.gallery__header {
  max-width: 1320px;
  margin: 0 auto;
  padding: 30px 0 0 0;
}

.gallery__header h2 {
  font-size: 24px;
  font-weight: 600;
}

/* Gallery container */
.gallery-slider-container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 0 20px 10px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.gallery-slider-container::-webkit-scrollbar {
  display: none;
}

.gallery-slider {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* Gallery item styles */
.gallery-item {
  position: relative;
  flex: 0 0 auto;
  width: 400px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-item.medium {
  height: 400px;
}

.gallery-item.small {
  height: 250px;
}

.gallery-item figure {
  position: relative;
  margin: 0;
  height: 300px;
  overflow: hidden;
  width: 100%;
}

.gallery-item.medium figure {
  height: 400px;
}

.gallery-item.small figure {
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item figcaption {
  color: white;
  padding: 8px 0;
  font-size: 14px;
}

/* Modern zoom overlay */
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  backdrop-filter: blur(2px);
}

.gallery-item:hover .image-overlay {
  opacity: 1;
}

.image-overlay .zoom-icon {
  color: white;
  font-size: 28px;
  background: rgba(255,255,255,0.15);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.25);
  transition: all 0.3s ease;
  transform: scale(0.8);
}

.gallery-item:hover .zoom-icon {
  transform: scale(1);
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}

/* Small thumbnail styles */
.gallery-item.small img {
  filter: blur(5px);
  height: 52px;
}

.gallery-item.small figure {
  height: 73px;
}

/* Gallery navigation controls */
.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  padding: 0 20px;
}

.gallery-controls button {
  width: 50px;
  height: 50px;
  border: 2px solid #ddd;
  background-color: #fff;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallery-controls button:hover {
  background-color: #333;
  color: #fff;
  border-color: #333;
  transform: scale(1.1);
}



/* Responsive styles */


/* Lightbox styles */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  display: flex;
  opacity: 1;
}

.lightbox-container {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-container {
  transform: scale(1);
}

.lightbox-container img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

/* Remove conflicting gallery container styles */

/* Make image overlay clickable */
.image-overlay {
  cursor: pointer;
}

/* Decors used section styles based on Figma design */
.decors-section {
  width: 100%;
  max-width: 1920px;
  margin: 30px auto;
  padding: 0;
  height: auto;
  position: relative;
}

.decors-header-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
}

.decors-header {
  margin: 0 0 0 0;
  padding: 0;
}

.decors-header h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  padding: 0;
  color: #000;
  line-height: 32px;
}

.decors-grid-container {
  max-width: 1320px;
  margin: 32px auto 0;
  padding: 0;
}

.decors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.decor-item {
  width: 220px;
  height: 312px;
  padding: 0;
  margin: 0;
  position: relative;
}

.decor-link {
  display: block;
  width: 100%;
  height: 221px;
  text-decoration: none;
}

.decor-figure {
  margin: 0 10px;
  padding: 0;
  width: 200px;
  height: 200px;
  overflow: hidden;
  position: relative;
  border: 1px solid #000;
}

.decor-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.decor-info {
  margin: 0 10px;
  padding: 7px 0;
  height: 91px;
}

.decor-info-link {
  display: block;
  text-decoration: none;
}

.decor-code {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  padding: 0;
  color: #000;
  line-height: 21px;
}

.decor-name {
  font-size: 16px;
  font-weight: 400;
  margin: 0;
  padding: 0;
  color: #000;
  line-height: 21px;
}



/* References section styles based on Figma design */
.references-section {
  width: 100%;
  padding: 0;
  margin: 0 auto;
  background-color: #f2f2f2;
  height: 600px;
}

.references-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
}

.references-header {
  margin: 0 0 0 10px;
  padding: 30px 0;
}

.references-header h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  padding: 0;
  color: #000;
  line-height: 32px;
}

.references-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 45px;
}

.reference-item {
  width: 440px;
  padding: 0;
  margin: 0;
  position: relative;
}

.reference-link {
  display: block;
  width: 100%;
  text-decoration: none;
  padding: 0 10px;
}

.reference-figure {
  margin: 0;
  padding: 0;
  width: 420px;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.reference-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 5px 0;
  margin: 0;
  font-size: 14px;
  color: #000;
  text-align: left;
}

.reference-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  padding: 0;
  color: #000;
  line-height: 21px;
  margin-top: 21px;
}

.reference-year {
  font-size: 16px;
  font-weight: 400;
  margin: 0;
  padding: 0;
  color: #000;
  line-height: 21px;
}

.references-footer {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 40px;
}

.references-count {
  font-size: 14px;
  color: #000;
  margin-right: 20px;
}

.references-show-more {
  background-color: #4c4c4c;
  color: #fff;
  border: none;
  padding: 10px 12px;
  font-size: 16px;
  cursor: pointer;
  height: 40px;
  min-width: 106px;
  text-align: center;
}



/* =============================================================================
   PAGE CONTENT BLOCKS STYLES
   ============================================================================= */

/* Main Content Container */
.main-content {
    padding: 0;
}

/* Edge Container Base */
.edge-container {
    padding: 60px 0;
    position: relative;
}

.edge-container.dark {
    background-color: #f8f9fa;
}

/* Full Width Block */
.full-width-block {
    padding: 70px 0;
    background-color: #fff;
}

.full-width-block.dark-bg {
    background-color: #f8f9fa;
}

.full-width-block .block-header {
    margin-bottom: 40px;
}

.full-width-block .block-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.full-width-block .block-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #910000;
}

.full-width-block .block-content {
    max-width: 800px;
    margin: 0 auto;
}

.full-width-block .block-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.full-width-block .block-image {
    margin-top: 40px;
    text-align: center;
}

.full-width-block .block-image img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Two Column Block */
.two-column-block {
    padding: 70px 0;
    background-color: #fff;
}

.two-column-block.alternate-bg {
    background-color: #f8f9fa;
}

.two-column-block .block-header {
    margin-bottom: 50px;
}

.two-column-block .block-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.two-column-block .block-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #910000;
}

.two-column-block .section-subtitle {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.two-column-block .column-content {
    margin-bottom: 30px;
}

.two-column-block .column-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.two-column-block .content-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.two-column-block .content-text p {
    margin-bottom: 15px;
}

.two-column-block .column-image {
    text-align: center;
}

.two-column-block .column-image img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Three Column Block */
.three-column-block {
    padding: 70px 0;
    background-color: #fff;
}

.three-column-block.dark-bg {
    background-color: #f8f9fa;
}

.three-column-block .block-header {
    margin-bottom: 50px;
}

.three-column-block .block-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.three-column-block .block-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #910000;
}

.three-column-block .section-subtitle {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.three-column-block .column-content {
    padding: 30px 20px;
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
}

.three-column-block .column-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.three-column-block .column-icon {
    margin-bottom: 25px;
    text-align: center;
}

.three-column-block .icon-img {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: block;
}

.three-column-block .column-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.three-column-block .content-text {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.three-column-block .column-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #910000;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 4px;
}

.three-column-block .column-btn:hover {
    background-color: #7a0000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(145, 0, 0, 0.3);
    color: white;
}

/* Content Banner Block Styles */
.content-banner-section {
    padding: 70px 0;
    background-color: #fff;
}

.content-banner-section.reverse-layout .banner-side {
    order: 2;
}

.content-banner-section.reverse-layout .content-side {
    order: 1;
}

.content-banner-section .banner-side {
    position: relative;
    overflow: hidden;
}

.content-banner-section .content-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
}

.content-banner-section .banner-image {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.content-banner-section .banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-banner-section .banner-side:hover .banner-image img {
    transform: scale(1.05);
}

.content-banner-section .content-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.content-banner-section .content-subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-banner-section .content-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.content-banner-section .content-text p {
    margin-bottom: 15px;
}

.content-banner-section .banner-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #910000;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.content-banner-section .banner-btn:hover {
    background-color: #7a0000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(145, 0, 0, 0.3);
    color: white;
}

/* 2 Column Banner Styles */
.twocol-box {
    padding: 70px 0;
    background-color: #fff;
}

.twocol-box.dark-bg {
    background-color: #f8f9fa;
}

.twocol-box .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.twocol-box .section-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.twocol-box .section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #910000;
}

.twocol-box .section-header p {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.twocol-box .box-wrapper {
    background-color: white;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
    position: relative;
    min-height: 300px;
}

.twocol-box .box-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.twocol-box .box-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.twocol-box .box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.twocol-box .box-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(145, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.twocol-box .box-wrapper:hover .overlay {
    opacity: 1;
}

.twocol-box .box-wrapper:hover .box-image img {
    transform: scale(1.05);
}

.twocol-box .box-content {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}

.twocol-box .box-content h2 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
    text-transform: none !important;
    font-family: 'Nunito Sans', sans-serif !important;
}

.twocol-box .box-content h3 {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.twocol-box .box-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 20px;
}



.twocol-box .box-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    text-decoration: none;
    z-index: 10;
    cursor: pointer;
}

/* 3 Column Banner Styles */
.threecol-box {
    padding: 70px 0;
    background-color: #fff;
}

.threecol-box.dark-bg {
    background-color: #f8f9fa;
}

.threecol-box .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.threecol-box .section-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.threecol-box .section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #910000;
}

.threecol-box .section-header p {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.threecol-box .box-wrapper {
    background-color: white;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    aspect-ratio: 1;
    position: relative;
}

.threecol-box .box-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.threecol-box .box-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.threecol-box .box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.threecol-box .box-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(145, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.threecol-box .box-wrapper:hover .overlay {
    opacity: 1;
}

.threecol-box .box-wrapper:hover .box-image img {
    transform: scale(1.05);
}

.threecol-box .box-content {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}

.threecol-box .box-content h2 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
    text-transform: none !important;
    font-family: 'Nunito Sans', sans-serif !important;
}

.threecol-box .box-content h3 {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.threecol-box .box-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 20px;
}

.threecol-box .box-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    text-decoration: none;
    z-index: 10;
    cursor: pointer;
}

/* Responsive Styles for New Blocks */




/* No Products Message Styles */
.no-products-message {
    padding: 60px 20px;
    text-align: center;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin: 20px 0;
}

.no-products-message h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.no-products-message p {
    color: #666;
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.no-products-message .box-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #910000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.no-products-message .box-btn:hover {
    background-color: #750000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(145, 0, 0, 0.3);
}

/* Hero Banner Block Styles */
.hero-banner-block {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-banner-block .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-banner-block .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-banner-block .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(145, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0.8;
    z-index: 2;
}

.hero-banner-block .hero-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-banner-block .hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-banner-block .hero-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: #910000;
    color: white;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-btn:hover {
    background-color: #750000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(145, 0, 0, 0.3);
    color: #fff;
}



/* Default Block */
.default-block {
    background-color: #fff;
    text-align: center;
}

.default-block .block-content {
    max-width: 800px;
    margin: 0 auto;
}

.default-block h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
}

.default-block .content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* General Edge Container */
.edge-container {
    padding: 60px 0;
    position: relative;
}

.edge-container.dark {
    background-color: #f8f9fa;
}

/* Responsive Design for Content Blocks */




/* No Products Message Styles */
.no-products-message {
    padding: 60px 20px;
    text-align: center;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin: 20px 0;
}

.no-products-message h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.no-products-message p {
    color: #666;
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.no-products-message .box-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #910000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.no-products-message .box-btn:hover {
    background-color: #750000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(145, 0, 0, 0.3);
} 

/* Product Gallery Styles */
.product-gallery {
    margin: 30px 0;
}

.product-gallery h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.gallery-item {
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}



/* Product Technical Sheets Styles */
.product-technical-sheets {
    margin: 30px 0;
}

.product-technical-sheets h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.technical-sheets {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.technical-sheet-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: #910000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    max-width: 250px;
}

.technical-sheet-btn:hover {
    background-color: #750000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(145, 0, 0, 0.3);
    color: white;
    text-decoration: none;
}

.technical-sheet-btn i {
    font-size: 16px;
    color: #ff6b6b;
}

/* Contact Page Styles */
.contact-page {
    background: #f8f9fa;
}

.page-header {
    background: #fff;
    padding: 60px 0 40px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.contact-content {
    padding: 80px 0;
}



/* Map Container */
.map-container {
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.contact-map {
    width: 100%;
    height: 400px;
    background: #f0f0f0;
}

/* Contact Form */
.contact-form-container {
    background: #fff;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    height: fit-content;
}

.contact-form-container h2 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form .form-control {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    color: #333;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: #a91e22;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(169, 30, 34, 0.1);
}

.contact-form .form-control::placeholder {
    color: #999;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #a91e22;
    color: #fff;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #a91e22;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form .btn-primary:hover {
    background: #8b1a1d;
    border-color: #8b1a1d;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(169, 30, 34, 0.3);
}

.contact-form .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.contact-form .btn-primary i {
    font-size: 14px;
}

/* Contact Information */
.contact-page .contact-info {
    margin-bottom: 40px;
}

.contact-page .contact-info h2 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.contact-page .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.contact-page .contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.contact-page .contact-icon {
    width: 50px;
    height: 50px;
    background: #a91e22;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-page .contact-icon i {
    color: #fff;
    font-size: 20px;
}

.contact-page .contact-text {
    flex: 1;
}

.contact-page .contact-text span {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-page .contact-text strong {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
}

