/* 
 * TroyMet Custom Styles
 * Load after Bootstrap to allow overrides
 */

/* ========================================
   Font Face Declarations
   ======================================== */

@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/NotoSans/NotoSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mulish';
  src: url('../fonts/Mulish/Mulish-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mulish';
  src: url('../fonts/Mulish/Mulish-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mulish';
  src: url('../fonts/Mulish/Mulish-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ========================================
   CSS Custom Properties (Variables)
   ======================================== */

:root {
  /* Typography */
  --primary-font: 'Noto Sans', sans-serif;
  --heading-font: 'Mulish', sans-serif;

  /* Colors - Primary */
  --primary-color: #BF1E2E;
  --troy-red: #BF1E2E;
  --troy-blue: #0077BF;
  --troy-green: #009CAD;

  /* Colors - Secondary/Backgrounds */
  --secondary-color: #F4F4F4;
  --light-gray: #F4F4F4;
  --bg-lightgray: #F4F4F4;

  /* Colors - Text & Lines */
  --text-color: #575757;
  --font-gray: #8D8D8D;
  --gray-line: #D9D9D9;
}

/* ========================================
   Base Typography
   ======================================== */

body {
  font-family: var(--primary-font);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-color);
  line-height: 1.6;
  background-color: #fff;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--heading-font);
  color: var(--text-color);
}

h1,
.h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 2px;
}

h2,
.h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

h3,
.h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}

h4,
.h4 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

h5,
.h5 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

/* ========================================
   Custom Utility Classes
   ======================================== */

/* Background Colors */
.bg-troy-red {
  background-color: var(--troy-red) !important;
}

.bg-lightgray {
  background-color: var(--bg-lightgray) !important;
}

/* Text Colors */
.text-troy-red {
  color: var(--troy-red) !important;
}

.text-font-gray {
  color: var(--font-gray) !important;
}

/* Border Colors */
.border-gray-line {
  border-color: var(--gray-line) !important;
}

/* Button Overrides for Troy Red */
.btn-primary {
  --bs-btn-bg: var(--troy-red);
  --bs-btn-border-color: var(--troy-red);
  --bs-btn-hover-bg: #a01a26;
  --bs-btn-hover-border-color: #a01a26;
  --bs-btn-active-bg: #8a1620;
  --bs-btn-active-border-color: #8a1620;
}

.btn-outline-primary {
  --bs-btn-color: var(--troy-red);
  --bs-btn-border-color: var(--troy-red);
  --bs-btn-hover-bg: var(--troy-red);
  --bs-btn-hover-border-color: var(--troy-red);
  --bs-btn-active-bg: var(--troy-red);
  --bs-btn-active-border-color: var(--troy-red);
}

/* All buttons have 0 border-radius */
.btn {
  border-radius: 0 !important;
}

/* Link Colors */
a {
  color: var(--troy-red);
}

a:hover {
  color: #a01a26;
}

/* ========================================
   Custom Component Styles
   ======================================== */

/* ----------------------------------------
   Header / Navigation
   ---------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--gray-line);
}

.header-logo {
  width: 150px;
  height: 60px;
  object-fit: contain;
  margin: 10px 0;
}

/* Navigation Links */
.nav-link-main {
  font-family: var(--primary-font);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-color) !important;
  padding: 0.5rem 0.7rem !important;
  transition: color 0.2s ease;
}

.nav-link-main:hover,
.nav-link-main:focus {
  color: var(--troy-red) !important;
}

.nav-link-main.active {
  color: var(--troy-red) !important;
}

/* Header Right Section */
.header-right {
  gap: 0;
}

/* Language Switcher */
.language-switcher .btn-link {
  font-family: var(--primary-font);
  font-size: 14px;
  color: var(--text-color);
}

.language-switcher .btn-link:hover,
.language-switcher .btn-link:focus {
  color: var(--troy-red);
}


/* Simple Dropdown Menu */
.dropdown-simple {
  background-color: #fff;
  border: 1px solid var(--gray-line);
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin-top: 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  display: block !important;
}

.nav-item.dropdown:hover>.dropdown-simple,
.language-switcher:hover>.dropdown-simple {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-simple .dropdown-item {
  font-family: var(--primary-font);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-color);
  padding: 12px 20px;
  border-bottom: 1px solid var(--gray-line);
  border-radius: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-simple .dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-simple .dropdown-item:hover,
.dropdown-simple .dropdown-item:focus {
  background-color: var(--light-gray);
  color: var(--troy-red);
}

.dropdown-simple .dropdown-item.active {
  background-color: var(--light-gray);
  color: var(--troy-red);
}

/* Dropdown Hover Open */
.nav-item.dropdown:hover>.dropdown-menu:not(.dropdown-simple),
.language-switcher:hover>.dropdown-menu:not(.dropdown-simple) {
  display: block;
}

/* Nav Dropdown Toggle (main menu and language switcher) */
.nav-link-main.dropdown-toggle::after,
.language-switcher .dropdown-toggle::after {
  margin-left: 6px;
  margin-bottom: 3px;
  vertical-align: middle;
  border-top-width: 5px;
  border-right-width: 4px;
  border-left-width: 4px;
}

/* ==========================================================================
   MEGAMENU
   ========================================================================== */

.megamenu-parent {
  position: static;
}

.megamenu {
  width: 100%;
  left: 0;
  right: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  border-top: 1px solid var(--gray-line);
  padding: 0;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  display: block !important;
}

.megamenu-parent:hover>.megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.megamenu-inner {
  display: flex;
}

/* Featured Image Column */
.megamenu-featured {
  flex: 0 0 33.333%;
  max-width: 33.333%;
  position: relative;
}

.megamenu-featured-image {
  position: relative;
  height: 100%;
  min-height: 400px;
}

.megamenu-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.megamenu-featured-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

.megamenu-featured-title {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  margin: 0 0 15px 0;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--troy-red);
}

.megamenu-featured-image[data-category="analitik"] .megamenu-featured-title {
  border-bottom-color: var(--troy-blue);
}

.megamenu-featured-image[data-category="beton"] .megamenu-featured-title {
  border-bottom-color: var(--troy-green);
}

.megamenu-featured-desc {
  font-family: var(--primary-font);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.5;
}

/* Content Columns */
.megamenu-content {
  flex: 0 0 66.666%;
  max-width: 66.666%;
  background-color: var(--light-gray);
  background-image: url('../images/megamenu/megamenu-bg.png');
  background-position: bottom right;
  background-repeat: no-repeat;
  padding: 40px;
}

.megamenu-columns {
  display: flex;
  height: 100%;
}

.megamenu-column {
  flex: 1;
  padding: 0 30px;
  border-right: 1px solid var(--gray-line);
}

.megamenu-column:first-child {
  padding-left: 0;
}

.megamenu-column:last-child {
  padding-right: 0;
  border-right: none;
}

.megamenu-category-title {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: 1px;
  margin: 0 0 20px 0;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--troy-red);
  display: inline-block;
}

.megamenu-title-ndt {
  border-bottom-color: var(--troy-red);
}

.megamenu-title-analitik {
  border-bottom-color: var(--troy-blue);
}

.megamenu-title-beton {
  border-bottom-color: var(--troy-green);
}

.megamenu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.megamenu-list li {
  margin-bottom: 8px;
}

.megamenu-list li:last-child {
  margin-bottom: 0;
}

.megamenu-list a {
  font-family: var(--primary-font);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.megamenu-list a:hover {
  color: var(--troy-red);
}

/* Megamenu column hover state */
.megamenu-column:hover .megamenu-list a:hover {
  color: var(--troy-red);
}

.megamenu-column[data-category="analitik"]:hover .megamenu-list a:hover {
  color: var(--troy-blue);
}

.megamenu-column[data-category="beton"]:hover .megamenu-list a:hover {
  color: var(--troy-green);
}

/* CTA Button */
.btn-cta {
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  background-color: var(--troy-red);
  color: #fff;
  border: none;
  border-radius: 0;
  padding: 12px 30px;
  transition: background-color 0.2s ease;
}

.btn-cta:hover,
.btn-cta:focus {
  background-color: var(--text-color);
  color: #fff;
}

/* ----------------------------------------
   Responsive Header
   ---------------------------------------- */

@media (max-width: 1199.98px) {
  .header-logo {
    width: 150px;
    height: 60px;
  }

  .navbar-collapse {
    padding: 1rem 0;
  }

  .navbar-nav {
    margin-bottom: 0;
  }

  .nav-link-main {
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid var(--gray-line);
  }

  /* Hide social icons, language switcher, and CTA on mobile */
  .header-right {
    display: none !important;
  }

  /* Mobile Dropdown Reset */
  .dropdown-simple,
  .megamenu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: none !important;
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .nav-item.dropdown.show>.dropdown-simple,
  .megamenu-parent.show>.megamenu {
    display: block !important;
  }

  /* Disable hover on mobile */
  .nav-item.dropdown:hover>.dropdown-simple,
  .language-switcher:hover>.dropdown-simple,
  .megamenu-parent:hover>.megamenu {
    opacity: 0;
    visibility: hidden;
    display: none !important;
  }

  .nav-item.dropdown.show:hover>.dropdown-simple,
  .megamenu-parent.show:hover>.megamenu {
    opacity: 1;
    visibility: visible;
    display: block !important;
  }

  /* Mobile Simple Dropdown Items - 1 indent */
  .dropdown-simple .dropdown-item {
    padding: 10px 0 10px 20px;
    border-bottom: none;
    font-size: 14px;
    color: var(--font-gray);
  }

  .dropdown-simple .dropdown-item:hover {
    background: transparent;
    color: var(--troy-red);
  }

  /* Mobile Megamenu Reset */
  .megamenu-inner {
    flex-direction: column;
  }

  .megamenu-featured {
    display: none !important;
  }

  .megamenu-content {
    flex: none;
    max-width: 100%;
    background: transparent;
    background-image: none;
    padding: 0;
  }

  .megamenu-columns {
    flex-direction: column;
  }

  .megamenu-column {
    padding: 0;
    border-right: none;
    margin-bottom: 0;
  }

  /* Mobile Category Title - 1 indent, clickable */
  .megamenu-category-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--font-gray);
    padding: 10px 0 10px 20px;
    margin: 0;
    border-bottom: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 10px;
  }

  .megamenu-category-title::after {
    content: '+';
    font-size: 16px;
    font-weight: 400;
    color: var(--font-gray);
    transition: transform 0.2s ease;
  }

  .megamenu-column.open .megamenu-category-title::after {
    content: '-';
  }

  /* Mobile Subcategory List - 2 indents */
  .megamenu-list {
    display: none;
    padding-left: 20px;
  }

  .megamenu-column.open .megamenu-list {
    display: block;
  }

  .megamenu-list li {
    margin-bottom: 0;
  }

  .megamenu-list a {
    display: block;
    padding: 8px 0 8px 20px;
    font-size: 13px;
    color: var(--font-gray);
  }

  .megamenu-list a:hover {
    color: var(--troy-red);
  }

  /* Dropdown toggle arrow */
  .nav-link-main.dropdown-toggle::after {
    float: right;
    margin-top: 8px;
  }
}

/* ----------------------------------------
   Hero Slider
   ---------------------------------------- */

.hero-banner {
  width: 100%;
  overflow: hidden;
}

.hero-slide {
  display: flex;
  width: 100%;
  min-height: 500px;
  /* Hardware acceleration to reduce forced reflows */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Left Side - Image */
.hero-slide-image {
  position: relative;
  width: 50%;
  overflow: hidden;
}

.hero-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Primary color overlay on right edge of image */
.hero-slide-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 100%;
  background-color: var(--troy-red);
  opacity: 0.75;
  mix-blend-mode: darken;
}

/* Right Side - Content */
.hero-slide-content {
  width: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  padding: 60px;
  position: relative;
  /* Hardware acceleration */
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Background pattern from external SVG */
.hero-slide-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/slider/content-bg.svg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  pointer-events: none;
}

.hero-slide-content-inner {
  position: relative;
  z-index: 1;
  max-width: 500px;
}

/* 
 * Hero Slide Title - Unified styling for H1 and H2
 * SEO: First slide uses H1, subsequent slides use H2
 * This class ensures consistent appearance regardless of heading level
 */
.hero-slide-title,
.hero-slide-content h1,
.hero-slide-content h2 {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-slide-title strong,
.hero-slide-content h1 strong,
.hero-slide-content h2 strong {
  font-weight: 800;
}

.hero-divider {
  width: 180px;
  height: 2px;
  background-color: var(--troy-red);
  border: none;
  opacity: 1;
  margin: 20px 0;
}

.hero-slide-content p {
  font-family: var(--primary-font);
  font-size: 16px;
  color: var(--font-gray);
  line-height: 1.5;
  margin-bottom: 30px;
}

/* ----------------------------------------
   Hero Slider Responsive
   ---------------------------------------- */

@media (max-width: 991.98px) {
  .hero-slide {
    flex-direction: column;
    min-height: auto;
  }

  .hero-slide-image {
    width: 100%;
    height: 300px;
  }

  .hero-slide-overlay {
    width: 100%;
    height: 80px;
    top: auto;
    bottom: 0;
    right: 0;
  }

  .hero-slide-content {
    width: 100%;
    padding: 40px 20px;
  }

  .hero-slide-title,
  .hero-slide-content h1,
  .hero-slide-content h2 {
    font-size: 24px;
  }
}

/* ----------------------------------------
   Section Header
   ---------------------------------------- */

.section-header {
  background-color: #fff;
}

/* When section-header follows breadcrumb, no top margin needed */
.breadcrumb-section+.section-header {
  margin-top: 0;
}

.section-header h1,
.section-header h2 {
  margin: 0;
  padding-right: 30px;
}

.section-header-divider {
  width: 1px;
  background-color: var(--gray-line);
  flex-shrink: 0;
  align-self: stretch;
}

.section-header-content {
  padding-left: 30px;
}

.section-header-content p {
  font-family: var(--primary-font);
  font-size: 16px;
  color: var(--font-gray);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.section-header-content p:last-child {
  margin-bottom: 0;
}

/* Section Header Responsive */
@media (max-width: 991.98px) {

  .section-header h1,
  .section-header h2 {
    padding-right: 0;
    margin-bottom: 20px;
    text-align: center;
  }

  .section-header-divider {
    display: none;
  }

  .section-header-content {
    padding-left: 0;
  }
}

/* ----------------------------------------
   Product Tabs
   ---------------------------------------- */

.product-tabs-section {
  background-color: #fff;
}

.product-tabs {
  border: none;
  gap: 20px;
  width: 100%;
}

.product-tabs .nav-item {
  flex: 1 1 0;
}

.product-tabs .nav-link {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--font-gray);
  background-color: var(--bg-lightgray);
  border: none;
  border-radius: 0;
  padding: 18px 20px;
  width: 100%;
  position: relative;
  transition: all 0.3s ease;
}

.product-tabs .nav-link:hover {
  color: var(--text-color);
}

.product-tabs .nav-link.active {
  color: #fff;
  background-color: var(--troy-red);
}

/* Arrow indicator for active tab */
.product-tabs .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid var(--troy-red);
}

/* Tab Content Area */
.product-tabs-content {
  margin-top: 30px;
  background-color: #fff;
}

/* Product Tabs Responsive */
@media (max-width: 767.98px) {
  .product-tabs {
    gap: 10px;
  }

  .product-tabs .nav-link {
    padding: 15px 30px;
    font-size: 14px;
  }
}

@media (max-width: 575.98px) {
  .product-tabs {
    flex-direction: column;
    align-items: center;
  }

  .product-tabs .nav-item {
    width: 100%;
  }

  .product-tabs .nav-link {
    width: 100%;
    text-align: center;
  }

  .product-tabs .nav-link.active::after {
    display: none;
  }
}

/* ----------------------------------------
   Product Cards (Tab Content)
   ---------------------------------------- */

/* Standard Product Card */
.product-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  background-color: var(--bg-lightgray);
  padding: 0;
  min-height: 200px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.product-card:hover {
  background-color: #D9D9D9;
}

.product-card:hover .product-card-title h5 {
  color: var(--troy-red);
}

.product-card-title {
  flex: 1;
  padding: 35px 10px 35px 25px;
}

.product-card-title h5 {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-color);
  margin-bottom: 15px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.product-card-line {
  width: 100%;
  height: 3px;
  background-color: var(--troy-red);
}

.product-card-image {
  flex: 0 0 auto;
  max-width: 180px;
  text-align: right;
}

.product-card-image img {
  max-width: 150px;
  max-height: 150px;
  object-fit: contain;
}

/* Featured Product Card (Large) */
.product-card-featured {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 340px;
  overflow: hidden;
  text-decoration: none;
}

.product-card-featured-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Black overlay for hover effect */
.product-card-featured-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
}

.product-card-featured:hover .product-card-featured-overlay {
  background-color: rgba(0, 0, 0, 0.5);
}

.product-card-featured:hover .product-card-featured-bg {
  transform: scale(1.05);
}

.product-card-featured-content {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 45px;
  text-align: right;
}

.product-card-featured-divider {
  width: 50%;
  height: 3px;
  background-color: var(--troy-red);
  border: none;
  opacity: 1;
  margin: 15px 0 15px auto;
}

.product-card-featured-content h4 {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-color);
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.product-card-featured:hover .product-card-featured-content h4 {
  color: var(--troy-red);
}

.product-card-featured-content p {
  font-family: var(--primary-font);
  font-size: 14px;
  color: var(--font-gray);
  line-height: 1.6;
  margin: 0;
}

/* Product Cards Responsive */
@media (max-width: 991.98px) {
  .product-card-featured {
    min-height: 300px;
  }

  .product-card-featured-content {
    width: 60%;
    padding: 20px;
  }
}

@media (max-width: 767.98px) {
  .product-card {
    min-height: 130px;
    padding: 20px;
  }

  .product-card-title h5 {
    font-size: 14px;
  }

  .product-card-featured-content {
    width: 100%;
    position: relative;
    background-color: #fff;
  }

  .product-card-featured {
    min-height: auto;
  }

  .product-card-featured-bg {
    position: relative;
    height: 200px;
  }
}

/* ----------------------------------------
   CTA Section
   ---------------------------------------- */

.cta-section {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-content {
  background-color: rgba(51, 51, 51, 0.9);
  padding: 50px;
  color: #fff;
}

.cta-subtitle {
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-bottom: 10px;
}

.cta-content h2 {
  color: #fff;
  margin-bottom: 0;
}

.cta-divider {
  width: 80px;
  height: 3px;
  background-color: var(--troy-red);
  border: none;
  opacity: 1;
  margin: 20px 0;
}

.cta-content p {
  font-family: var(--primary-font);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 30px;
}

/* CTA Section Responsive */
@media (max-width: 991.98px) {
  .cta-content {
    padding: 40px;
  }
}

@media (max-width: 767.98px) {
  .cta-section {
    min-height: 350px;
  }

  .cta-content {
    padding: 30px;
  }

  .cta-content h2 {
    font-size: 24px;
  }
}

/* ----------------------------------------
   Sector Cards
   ---------------------------------------- */

.sector-cards-section {
  background-color: #fff;
}

.sector-card {
  display: block;
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  text-decoration: none;
}

.sector-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sector-card:hover .sector-card-bg {
  transform: scale(1.05);
}

/* Gradient overlay */
.sector-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
  transition: background 0.4s ease;
}

.sector-card:hover .sector-card-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%);
}

/* Content area */
.sector-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  color: #fff;
  z-index: 1;
}

.sector-card-content h5 {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

/* HR divider - hidden by default */
.sector-card-divider {
  width: 60px;
  height: 3px;
  background-color: var(--troy-red);
  border: none;
  opacity: 0;
  margin: 0 0 15px 0;
  transition: opacity 0.4s ease, margin 0.4s ease;
}

.sector-card:hover .sector-card-divider {
  opacity: 1;
}

/* Description - hidden by default, expands on hover */
.sector-card-desc {
  font-family: var(--primary-font);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
}

.sector-card:hover .sector-card-desc {
  max-height: 200px;
  opacity: 1;
  margin-bottom: 20px;
}

/* Sector Cards Responsive */
@media (max-width: 991.98px) {
  .sector-card {
    height: 400px;
  }
}

@media (max-width: 767.98px) {
  .sector-card {
    height: 350px;
  }

  .sector-card-content {
    padding: 20px;
  }
}

/* ----------------------------------------
   View All Link
   ---------------------------------------- */

.view-all-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  float: right;
  text-decoration: none;
  padding: 15px 0;
  padding-left: 0;
  transition: padding-left 0.3s ease;
}

.view-all-link span:first-child {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-color);
  margin-right: 15px;
}


.view-all-line {
  display: inline-block;
  width: 100px;
  height: 2px;
  background-color: var(--troy-red);
  transition: width 0.3s ease;
  flex-shrink: 0;
}

.view-all-link:hover {
  padding-left: 50px;
}

.view-all-link:hover .view-all-line {
  width: 50px;
}

/* View All Link Responsive */
@media (max-width: 767.98px) {
  .view-all-link span:first-child {
    font-size: 16px;
  }

  .view-all-line {
    width: 60px;
  }

  .view-all-link:hover {
    padding-left: 30px;
  }

  .view-all-link:hover .view-all-line {
    width: 30px;
  }
}

/* ==========================================================================
   SOCIAL POSTS SECTION
   ========================================================================== */

.social-posts-section {
  background-color: var(--light-gray);
  padding: 80px 0;
  overflow: hidden;
}

.social-posts-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  padding-left: calc((100% - 1320px) / 2 + 12px);
}

.social-posts-header {
  flex-shrink: 0;
  min-width: 220px;
}

.social-posts-title {
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-color);
  line-height: 1.1;
  letter-spacing: 1.5px;
  margin-bottom: 30px;
}

.social-posts-icons {
  display: flex;
  gap: 15px;
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--font-gray);
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon-link:hover {
  color: var(--troy-red);
  transform: translateY(-3px);
}

.social-posts-slider {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.social-posts-swiper {
  overflow: visible;
}

.social-posts-swiper .swiper-slide {
  width: auto;
}

.social-post-card {
  position: relative;
  display: block;
  width: 280px;
  height: 280px;
  overflow: hidden;
  text-decoration: none;
}

.social-post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.social-post-card:hover img {
  transform: scale(1.05);
}

.social-post-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--troy-red);
  padding: 15px 20px;
  display: none;
  /* Hidden for now */
}

.social-post-label {
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: block;
}

/* Social Posts Responsive */
@media (max-width: 1399.98px) {
  .social-posts-wrapper {
    padding-left: calc((100% - 1140px) / 2 + 12px);
  }
}

@media (max-width: 1199.98px) {
  .social-posts-wrapper {
    padding-left: calc((100% - 960px) / 2 + 12px);
    gap: 40px;
  }

  .social-posts-title {
    font-size: 24px;
  }
}

@media (max-width: 991.98px) {
  .social-posts-wrapper {
    padding-left: calc((100% - 720px) / 2 + 12px);
    flex-direction: column;
    align-items: flex-start;
  }

  .social-posts-header {
    min-width: auto;
  }

  .social-posts-slider {
    width: 100%;
  }

  .social-posts-title {
    font-size: 24px;
  }

  .social-posts-title br {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .social-posts-section {
    padding: 60px 0;
  }

  .social-posts-wrapper {
    padding-left: 20px;
    padding-right: 0;
    gap: 30px;
  }

  .social-posts-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .social-post-label {
    font-size: 13px;
  }
}

@media (max-width: 575.98px) {
  .social-posts-wrapper {
    padding-left: 15px;
  }

  .social-post-overlay {
    padding: 12px 15px;
  }
}

/* ==========================================================================
   ARTICLES & EVENTS SECTION
   ========================================================================== */

.articles-events-section {
  background-color: #fff;
}

.section-title {
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-color);
  letter-spacing: 1.5px;
  margin-bottom: 30px;
}

/* Articles Layout */
.articles-wrapper {
  display: flex;
  gap: 40px;
}

/* Featured Article */
.featured-article {
  flex: 0 0 45%;
}

.featured-article-link {
  display: block;
  text-decoration: none;
}

.featured-article-image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 20px;
}

.featured-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-article-link:hover .featured-article-image img {
  transform: scale(1.05);
}

.article-label {
  font-family: var(--heading-font);
  font-size: 12px;
  font-weight: 500;
  color: var(--font-gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.featured-article-title {
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.5;
  letter-spacing: 1px;
  margin: 0;
  transition: color 0.3s ease;
}

.featured-article-link:hover .featured-article-title {
  color: var(--troy-red);
}

/* Latest Articles List */
.latest-articles {
  flex: 1;
}

.articles-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.articles-list li {
  border-bottom: 1px solid var(--troy-red);
  padding: 20px 0;
}

.articles-list li:first-child {
  padding-top: 0;
}


.articles-list a {
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
  text-decoration: none;
  letter-spacing: 1px;
  line-height: 1.6;
  display: block;
  transition: color 0.3s ease;
}

.articles-list a:hover {
  color: var(--troy-red);
}

/* Events Calendar */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.event-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: var(--light-gray);
  padding: 25px 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.event-item:hover {
  background-color: #eaeaea;
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 50px;
}

.event-day {
  font-family: var(--heading-font);
  font-size: 32px;
  font-weight: 300;
  color: var(--text-color);
  line-height: 1;
}

.event-month {
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 400;
  color: var(--font-gray);
  text-transform: capitalize;
}

.event-divider {
  width: 1px;
  height: 50px;
  background-color: var(--troy-red);
}

.event-info {
  flex: 1;
}

.event-name {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: 1px;
  margin: 0 0 5px 0;
}

.event-location {
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 400;
  color: var(--font-gray);
  letter-spacing: 0.5px;
  margin: 0;
}

/* Articles & Events Responsive */
@media (max-width: 1199.98px) {
  .articles-wrapper {
    gap: 30px;
  }

  .featured-article {
    flex: 0 0 40%;
  }
}

@media (max-width: 991.98px) {
  .articles-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .featured-article {
    flex: none;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--troy-red);
  }

  .col-lg-4 {
    margin-top: 50px;
  }
}

@media (max-width: 767.98px) {
  .section-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .event-item {
    padding: 20px;
    gap: 15px;
  }

  .event-day {
    font-size: 28px;
  }

  .event-name {
    font-size: 16px;
  }

  .event-location {
    font-size: 12px;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background-color: var(--light-gray);
}

.footer-main {
  padding: 0;
  background-color: var(--light-gray);
}

.footer-main>.container-fluid>.row {
  position: relative;
}

/* Logo & Contact Column */
.footer-brand {
  padding: 50px 40px 50px 0;
  padding-left: calc((100vw - 1320px) / 2 + 12px);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 30px;
}

.footer-logo img {
  height: 70px;
  width: auto;
}

.footer-address {
  font-family: var(--primary-font);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-color);
  font-style: normal;
  line-height: 1.8;
  margin-bottom: 15px;
}

.footer-phone {
  font-family: var(--primary-font);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-color);
  text-decoration: none;
  display: block;
  margin-bottom: 25px;
  transition: color 0.3s ease;
}

.footer-phone:hover {
  color: var(--troy-red);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--text-color);
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--troy-red);
}

/* Menu Columns */
.footer-menus {
  border-left: 1px solid var(--gray-line);
  padding: 50px 0 50px 40px;
  padding-right: calc((100vw - 1320px) / 2 + 12px);
  min-height: 100%;
}

.footer-menu-col {
  padding-right: 20px;
}

.footer-menu-title {
  font-family: var(--heading-font);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu-list li {
  margin-bottom: 3px;
  line-height: 1.4;
}

.footer-menu-list li:last-child {
  margin-bottom: 0;
}

.footer-menu-list a {
  font-family: var(--primary-font);
  font-size: 13px;
  font-weight: 400;
  color: var(--font-gray);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.footer-menu-list a:hover {
  color: var(--troy-red);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--gray-line);
  padding: 25px 0;
  background-color: var(--light-gray);
}

.footer-copyright {
  font-family: var(--primary-font);
  font-size: 13px;
  font-weight: 400;
  color: var(--font-gray);
  margin: 0;
}

.footer-legal {
  text-align: right;
}

.footer-legal a {
  font-family: var(--primary-font);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--troy-red);
}

.footer-legal-divider {
  color: var(--font-gray);
  margin: 0 15px;
}

/* Footer Responsive */
@media (max-width: 1399.98px) {
  .footer-brand {
    padding-left: calc((100vw - 1140px) / 2 + 12px);
  }

  .footer-menus {
    padding-right: calc((100vw - 1140px) / 2 + 12px);
  }
}

@media (max-width: 1199.98px) {
  .footer-brand {
    padding-left: calc((100vw - 960px) / 2 + 12px);
  }

  .footer-menus {
    padding-right: calc((100vw - 960px) / 2 + 12px);
    padding-left: 30px;
  }

  .footer-menu-list a {
    font-size: 12px;
  }
}

@media (max-width: 991.98px) {
  .footer-brand {
    padding: 40px 20px;
    border-bottom: 1px solid var(--gray-line);
  }

  .footer-menus {
    border-left: none;
    padding: 40px 20px;
  }

  .footer-menu-col {
    margin-bottom: 30px;
  }

  .footer-copyright,
  .footer-legal {
    text-align: center;
  }

  .footer-legal {
    margin-top: 15px;
  }
}

@media (max-width: 767.98px) {
  .footer-bottom {
    padding: 20px 0;
  }

  .footer-legal a {
    font-size: 12px;
  }

  .footer-legal-divider {
    margin: 0 10px;
  }
}

@media (max-width: 575.98px) {
  .footer-legal a {
    display: block;
    margin-bottom: 10px;
  }

  .footer-legal-divider {
    display: none;
  }
}

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */

.breadcrumb-section {
  padding: 12px 0;
}

.breadcrumb {
  font-family: var(--primary-font);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.breadcrumb-item a {
  color: var(--troy-red);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--text-color);
}

.breadcrumb-item.active {
  color: var(--text-color);
}

.breadcrumb-item+.breadcrumb-item::before {
  content: "›";
  color: var(--text-color);
  font-weight: 400;
  padding: 0 8px;
}

/* ==========================================================================
   CATEGORY PRODUCTS
   ========================================================================== */

.category-products {
  background-color: #fff;
}

/* Make columns stretch for equal heights */
.category-products .row {
  align-items: stretch;
}

.category-products .col-lg-3,
.category-products .col-lg-4,
.category-products .col-md-6 {
  display: flex;
}

.category-product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none;
  background-color: var(--light-gray);
  transition: background-color 0.3s ease;
}

.category-product-card:hover {
  background-color: #D9D9D9;
}

.category-product-card:hover .category-product-title {
  color: var(--troy-red);
}

.category-product-image {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  flex-shrink: 0;
}

.category-product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.category-product-card:hover .category-product-image img {
  transform: scale(1.05);
}

.category-product-info {
  padding: 0 50px 50px 50px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.category-product-brand {
  display: block;
  font-family: var(--primary-font);
  font-size: 12px;
  font-weight: 400;
  color: var(--font-gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.category-product-title {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-color);
  margin: 0;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.category-product-divider {
  border: none;
  border-top: 1px solid var(--troy-red);
  margin: 15px 0;
  opacity: 1;
}

.category-product-desc {
  font-family: var(--primary-font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
}

/* Responsive */
@media (max-width: 767.98px) {
  .category-product-image {
    padding: 20px;
  }

  .category-product-info {
    padding: 0 20px 20px 20px;
  }

  .category-product-title {
    font-size: 16px;
  }

  .category-product-desc {
    font-size: 13px;
  }
}

/* ==========================================================================
   CATEGORY CONTENT & FAQ
   ========================================================================== */

.category-content {
  background-color: #fff;
}

/* Editorial Content */
.editorial-content h2 {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.editorial-content p {
  font-family: var(--primary-font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.editorial-content p:last-child {
  margin-bottom: 0;
}

/* FAQ Accordion */
.category-faq .accordion {
  border: none;
  border-radius: 0;
}

.category-faq .accordion-item {
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--troy-red);
  background-color: transparent;
}

.category-faq .accordion-item:first-child {
  border-top: 1px solid var(--troy-red);
  border-radius: 0;
}

.category-faq .accordion-item:last-child {
  border-radius: 0;
}

.category-faq .accordion-header {
  margin: 0;
}

.category-faq .accordion-button {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-color);
  background-color: transparent;
  padding: 20px 20px;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.category-faq .accordion-button:not(.collapsed) {
  color: var(--text-color);
  background-color: transparent;
  box-shadow: none;
}

.category-faq .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.category-faq .accordion-button::after {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  content: '';
  background-image: none;
  border: solid var(--text-color);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -4px;

}

.category-faq .accordion-button:not(.collapsed)::after {
  transform: rotate(-135deg);
  margin-top: 4px;

}

.category-faq .accordion-collapse {
  border: none;
}

.category-faq .accordion-body {
  padding: 0 20px 20px 20px;
}

.category-faq .accordion-body p {
  font-family: var(--primary-font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
  margin: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
  .editorial-content h2 {
    font-size: 20px;
  }

  .editorial-content p {
    font-size: 15px;
  }
}

/* ==========================================================================
   RELATED ARTICLES
   ========================================================================== */

.related-articles {
  background-color: #fff;
}

.related-articles-title {
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-color);
  text-transform: uppercase;
  margin-bottom: 30px;
}

/* Equal height cards */
.related-articles-swiper .swiper-wrapper {
  align-items: stretch;
}

.related-articles-swiper .swiper-slide {
  height: auto;
}

.related-article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.related-article-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
}

.related-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-article-card:hover .related-article-image img {
  transform: scale(1.05);
}

.related-article-content {
  background-color: var(--light-gray);
  padding: 30px;
  transition: background-color 0.3s ease;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.related-article-card:hover .related-article-content {
  background-color: #D9D9D9;
}

.related-article-category {
  display: block;
  font-family: var(--primary-font);
  font-size: 11px;
  font-weight: 400;
  color: var(--font-gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.related-article-title {
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-color);
  text-transform: uppercase;
  margin: 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.related-article-card:hover .related-article-title {
  color: var(--troy-red);
}

/* Swiper Pagination */
.related-articles-swiper {
  padding-bottom: 50px;
  overflow: visible;
}

.related-articles-pagination.swiper-pagination {
  position: relative;
  bottom: auto;
  top: auto;
  margin-top: 30px;
}

.related-articles-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--gray-line);
  opacity: 1;
  margin: 0 5px;
}

.related-articles-pagination .swiper-pagination-bullet-active {
  background-color: var(--troy-red);
}

/* Responsive */
@media (max-width: 991.98px) {
  .related-articles-title {
    font-size: 24px;
  }
}

@media (max-width: 767.98px) {
  .related-articles-title {
    font-size: 20px;
  }

  .related-article-content {
    padding: 15px;
  }

  .related-article-title {
    font-size: 13px;
  }
}

/* ==========================================================================
   PRODUCT DETAIL PAGE
   ========================================================================== */

.product-detail {
  background-color: #fff;
  overflow: visible;
}

.product-detail .container,
.product-detail .row,
.product-detail [class*="col-"] {
  overflow: visible;
}

/* Product Content - Left Column */
.product-detail-content {
  padding-right: 40px;
}

.product-detail-brand {
  display: block;
  font-family: var(--primary-font);
  font-size: 14px;
  font-weight: 400;
  color: var(--font-gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.product-detail-title {
  font-family: var(--heading-font);
  font-size: 36px;
  font-weight: 800;
  color: var(--text-color);
  text-transform: uppercase;
  margin: 0;
}

.product-detail-divider {
  border: none;
  border-top: 1px solid var(--troy-red);
  margin: 25px 0;
  opacity: 1;
}

.product-detail-description p {
  font-family: var(--primary-font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.product-detail-description h3 {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color);
  margin: 30px 0 15px 0;
}

.product-detail-description ul {
  padding-left: 20px;
  margin-bottom: 1rem;
}

.product-detail-description ul li {
  font-family: var(--primary-font);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 5px;
}

/* Product Gallery - Right Column */
.product-gallery {
  position: sticky;
  top: 100px;
}

.product-gallery-main {
  background-color: var(--light-gray);
  margin-bottom: 15px;
  height: calc(100vh - 400px);
  max-height: 400px;
  min-height: 250px;
}

.product-gallery-main-swiper {
  width: 100%;
  height: 100%;
}

.product-gallery-main-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.product-gallery-main-swiper .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Thumbnails */
.product-gallery-thumbs-swiper {
  width: 100%;
}

.product-gallery-thumbs-swiper .swiper-slide {
  cursor: pointer;
  background-color: var(--light-gray);
  padding: 20px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery-thumbs-swiper .swiper-slide-thumb-active {
  opacity: 1;
}

.product-gallery-thumbs-swiper .swiper-slide:hover {
  opacity: 1;
}

.product-gallery-thumbs-swiper .swiper-slide img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 991.98px) {
  .product-detail-content {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .product-detail-title {
    font-size: 28px;
  }

  .product-gallery {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .product-detail-title {
    font-size: 24px;
  }

  .product-gallery-main {
    min-height: 300px;
  }

  .product-gallery-main-swiper .swiper-slide {
    padding: 20px;
  }

  .product-gallery-thumbs {
    height: 80px;
  }

  .product-gallery-thumbs-swiper .swiper-slide {
    padding: 10px;
  }
}

/* ==========================================================================
   PRODUCT DETAILS SECTION
   ========================================================================== */

.product-details-section {
  background-color: var(--light-gray);
  padding: 7rem 0;
}

.product-details-heading {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-color);
  text-transform: uppercase;
  margin: 0;
}

.product-details-content p {
  font-family: var(--primary-font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 1.25rem;
}

.product-details-content p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   PRODUCT SPECS SECTION
   ========================================================================== */

.product-specs-section {
  background-color: #fff;
  padding: 7rem 0;
}

.product-specs-heading {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-color);
  text-transform: uppercase;
  margin: 0;
}

.product-specs-table {
  width: 100%;
  margin: 0;
  border: none;
}

.product-specs-table tbody tr {
  border-bottom: 1px solid var(--gray-line);
}

.product-specs-table tbody tr:last-child {
  border-bottom: none;
}

.product-specs-table th,
.product-specs-table td {
  font-family: var(--primary-font);
  font-size: 15px;
  line-height: 1.6;
  padding: 15px 0;
  border: none;
  vertical-align: top;
}

.product-specs-table th {
  font-weight: 600;
  color: var(--text-color);
  width: 35%;
}

.product-specs-table td {
  font-weight: 400;
  color: var(--font-gray);
}

/* Responsive */
@media (max-width: 991.98px) {

  .product-details-section,
  .product-specs-section {
    padding: 5rem 0;
  }

  .product-details-heading,
  .product-specs-heading {
    margin-bottom: 20px;
  }
}

@media (max-width: 767.98px) {

  .product-details-section,
  .product-specs-section {
    padding: 3.5rem 0;
  }

  .product-details-heading,
  .product-specs-heading {
    font-size: 18px;
  }

  .product-details-content p {
    font-size: 15px;
  }

  .product-specs-table th,
  .product-specs-table td {
    font-size: 14px;
    padding: 12px 0;
  }

  .product-specs-table th {
    width: 40%;
  }
}