/* ==========================================================================
   Panalı / Airfel Klima — panali.com.tr Design System
   ========================================================================== */

/* --- CSS Variables --- */
:root {
  --brand-red: #d6494c;
  --brand-red-dark: #b83a3d;
  --brand-red-light: #e86b6e;
  --footer-dark: #292929;
  --footer-darker: #1e1e1e;
  --text-dark: #333333;
  --text-muted: #666666;
  --text-light: #999999;
  --bg-light: #f5f5f5;
  --bg-gray: #f0f0f0;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
  --transition: 0.3s ease;
  --container-max: 1200px;
  --header-height: 80px;
  --font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  color: var(--brand-red);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

p {
  margin-bottom: 0.75em;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

i.image {
  display: block;
  font-style: normal;
}

.hidden {
  display: none !important;
}

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 15px;
}

.container-fluid {
  width: 100%;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-md-3,
.col-md-6,
.col-md-9,
.col-md-12 {
  padding: 0 15px;
}

.col-md-3 { width: 25%; }
.col-md-6 { width: 50%; }
.col-md-9 { width: 75%; }
.col-md-12 { width: 100%; }

.col-row {
  display: flex;
  flex-wrap: wrap;
}

.nn_section {
  padding: 60px 0;
}

/* --- Page Loader --- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--bg-light);
  border-top-color: var(--brand-red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Header --- */
.panali-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}

.panali-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  height: 70px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 15px;
  transition: height var(--transition);
}

.panali-header.scrolled .header-inner {
  height: 70px;
}

.logo_head {
  flex: 0 0 auto;
  z-index: 10;
}

.panali_logo {
  height: 50px;
  width: auto;
  transition: height var(--transition);
}

.panali-header.scrolled .panali_logo {
  height: 42px;
}

.navbar {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-collapse {
  display: flex;
  align-items: center;
}

.nn_navbar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nn_navbar li a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  position: relative;
  transition: color var(--transition);
}

.nn_navbar li a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--brand-red);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nn_navbar li a:hover::after,
.nn_navbar li a.active::after {
  transform: scaleX(1);
}

.nn_navbar li a:hover,
.nn_navbar li a.active {
  color: var(--brand-red);
}

.support-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.support-nav .icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-red);
  color: var(--white);
  border-radius: 50%;
  font-size: 18px;
  transition: background var(--transition), transform var(--transition);
}

.support-nav:hover .icon {
  background: var(--brand-red-dark);
  transform: scale(1.05);
}

.support-nav .content .text p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.3;
}

.support-nav .content .number p {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.support-nav .content .number a {
  color: var(--text-dark);
}

.support-nav .content .number a:hover {
  color: var(--brand-red);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  z-index: 10;
}

.navbar-toggle .icon-bar {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.navbar-toggle.active .icon-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar-toggle.active .icon-bar:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active .icon-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

#main_wrapper {
  padding-top: var(--header-height);
}

/* --- Hero Slider --- */
.main-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider-banner {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide > img {
  position: absolute;
  right: 0;
  top: 0;
  width: 55%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-caption,
.slider_caption {
  position: relative;
  z-index: 2;
  width: 45%;
  padding: 60px 50px 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.slider_title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.slider_text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.slider_button {
  display: inline-block;
  align-self: flex-start;
  padding: 12px 32px;
  background: var(--brand-red);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 3px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.slider_button:hover {
  background: var(--brand-red-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.slide .animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide.active .animate-in {
  opacity: 1;
  transform: translateY(0);
}

.slide.active .animate-in.delay-1 { transition-delay: 0.15s; }
.slide.active .animate-in.delay-2 { transition-delay: 0.3s; }

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  border-radius: 50%;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.slider-nav:hover {
  background: var(--brand-red);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
}

.slider-nav.prev { left: 20px; }
.slider-nav.next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.slider-dots .dot.active,
.slider-dots .dot:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  transform: scale(1.15);
}

/* --- Four Block Section --- */
.four-block {
  text-align: center;
  background: var(--white);
}

.four-block .title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.four-block .title.accent {
  color: var(--brand-red);
  margin-bottom: 40px;
}

.four-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}

.col-box {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.col-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.col-box .image {
  overflow: hidden;
}

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

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

.col-box .text {
  padding: 20px;
}

.col-box .text p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.col-box .text p:first-child {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* --- Special Section (Asymmetric Grid) --- */
.special-section {
  background: var(--bg-light);
}

.special-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.special-right {
  display: grid;
  grid-template-rows: 1fr 1fr auto;
  gap: 20px;
}

.special-box {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.special-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.special-box.tall {
  grid-row: span 2;
  min-height: 520px;
}

.special-box.half {
  min-height: 240px;
}

.special-box.full {
  min-height: 200px;
}

.special-box .content {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 28px;
  max-width: 60%;
}

.special-box .content .title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.special-box .content .title.accent-text {
  color: var(--brand-red);
}

.special-box .content .text p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.special-box .image {
  position: absolute;
  inset: 0;
}

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

.special-box:hover .image img {
  transform: scale(1.03);
}

/* --- Full Slider Section --- */
.full-slider-section {
  padding: 0;
}

.full-slider {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 400px;
}

.full-slider .image {
  position: absolute;
  inset: 0;
}

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

.full-slider .content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 400px;
  padding: 60px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
}

.full-slider .content .title {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 500px;
  line-height: 1.3;
}

.more-button {
  display: inline-block;
  padding: 12px 28px;
  background: var(--brand-red);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.more-button:hover {
  background: var(--brand-red-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --- Footer Block (Red Section) --- */
.footer-block {
  padding: 0;
  background: var(--brand-red);
}

.footer-blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.block-box {
  padding: 40px 30px;
  text-align: center;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  transition: background var(--transition);
}

.block-box:last-child {
  border-right: none;
}

.block-box:hover {
  background: var(--brand-red-dark);
}

.block-box .text {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.5;
}

.block-box .text a {
  color: var(--white);
}

.block-box .text a:hover {
  opacity: 0.85;
  color: var(--white);
}

.block-box .more-button {
  margin-top: 20px;
  background: var(--white);
  color: var(--brand-red);
}

.block-box .more-button:hover {
  background: var(--bg-light);
  color: var(--brand-red-dark);
}

/* --- Products Page --- */
.list-banner-section {
  padding: 0;
}

.list-banner {
  display: flex;
  align-items: stretch;
  min-height: 380px;
  background: var(--bg-light);
}

.list-banner .banner-image {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

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

.list-banner .banner-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 60px;
}

.list-banner .sub-head {
  font-size: 16px;
  color: var(--brand-red);
  margin-bottom: 12px;
}

.list-banner .title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.list-banner .text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.page-head {
  padding: 30px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-head .title {
  font-size: 28px;
  font-weight: 700;
}

.page-head .title.accent {
  color: var(--brand-red);
}

.product-tab {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 40px;
}

.product-tab li a {
  display: block;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
}

.product-tab li.active a,
.product-tab li a:hover {
  color: var(--brand-red);
  border-bottom-color: var(--brand-red);
}

.tab-content .tab-pane {
  display: none;
}

.tab-content .tab-pane.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-list li {
  list-style: none;
}

.product {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
  display: block;
  text-decoration: none;
  color: inherit;
}

.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product .image {
  display: block;
  overflow: hidden;
  background: var(--bg-light);
  padding: 20px;
}

.product .image img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  margin: 0 auto;
  transition: transform 0.4s ease;
}

.product:hover .image img {
  transform: scale(1.05);
}

.product .title {
  display: block;
  padding: 16px 16px 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  font-style: normal;
}

.product .price {
  display: inline-block;
  padding: 8px 24px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Gallery / Projects --- */
.gallery-header {
  text-align: center;
  padding-bottom: 20px;
}

.gallery-header .title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.gallery-header .head {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 400;
}

.gallery-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 15px;
}

.gallery-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-img {
  display: block;
  position: relative;
  overflow: hidden;
}

.gallery-img::after {
  content: '\f00e';
  font-family: 'FontAwesome';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--white);
  background: rgba(214, 73, 76, 0.7);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-img::after {
  opacity: 1;
}

.gallery-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-info {
  padding: 16px;
  background: var(--white);
}

.gallery-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.gallery-info span {
  font-size: 12px;
  color: var(--text-muted);
}

/* --- Lightbox --- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  padding: 40px;
  animation: fadeIn 0.3s ease;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background var(--transition);
}

.lightbox-close:hover {
  background: var(--brand-red);
}

/* --- About Page --- */
.about-two {
  padding: 0;
}

.about-layout {
  display: flex;
  min-height: calc(100vh - var(--header-height));
}

.about-sidebar {
  flex: 0 0 280px;
  background: var(--bg-light);
  border-right: 1px solid var(--border-color);
}

.about-tab {
  padding: 30px 0;
}

.about-tab li a {
  display: block;
  padding: 16px 30px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border-left: 4px solid transparent;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.about-tab li.active a,
.about-tab li a:hover {
  color: var(--brand-red);
  border-left-color: var(--brand-red);
  background: var(--white);
}

.about-content {
  flex: 1;
  padding: 40px 50px;
}

.about-content .tab-pane {
  display: none;
}

.about-content .tab-pane.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.about-content .title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-content .head {
  font-size: 16px;
  color: var(--brand-red);
  font-weight: 600;
  margin-bottom: 24px;
}

.about-content .text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.image-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.image-list li img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
  transition: transform var(--transition);
}

.image-list li:hover img {
  transform: scale(1.03);
}

.mission-row {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
}

.mission-row.gray {
  background: var(--bg-light);
  margin: 0 -50px;
  padding: 40px 50px;
}

.mission-img {
  flex: 0 0 200px;
}

.mission-img img {
  width: 100%;
  border-radius: 4px;
}

.mission-text {
  flex: 1;
}

.mission-text .head {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.mission-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}

.finance-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 20px;
}

.finance-img {
  flex: 0 0 250px;
}

.finance-img img {
  width: 100%;
  border-radius: 4px;
}

.finance-table {
  flex: 1;
  width: 100%;
  border-collapse: collapse;
}

.finance-table tr {
  border-bottom: 1px solid var(--border-color);
}

.finance-table tr:last-child {
  border-bottom: none;
}

.finance-table td {
  padding: 14px 16px;
  font-size: 14px;
  vertical-align: top;
}

.finance-table td:first-child {
  font-weight: 700;
  color: var(--text-dark);
  width: 180px;
  white-space: nowrap;
}

.finance-table td:last-child {
  color: var(--text-muted);
}

/* --- Contact Page --- */
.contact-section {
  background: var(--bg-light);
  padding: 60px 0;
}

.contact-layout {
  display: flex;
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 15px;
}

.contact-info-side {
  flex: 0 0 35%;
  padding-top: 20px;
}

.contact-info-side .head {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-red);
  margin-bottom: 12px;
}

.contact-info-side .title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
}

.contact-form-side {
  flex: 1;
  background: var(--white);
  padding: 40px;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
}

.contact-form .form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  flex: 1;
  margin-bottom: 16px;
}

.field-col-4 { flex: 0 0 calc(33.333% - 11px); }
.field-col-6 { flex: 0 0 calc(50% - 8px); }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(214, 73, 76, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-light);
}

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

.contact-form .form-submit {
  margin-bottom: 0;
}

.contact-form button[type="submit"] {
  display: inline-block;
  padding: 14px 40px;
  background: var(--brand-red);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 3px;
  transition: background var(--transition), transform var(--transition);
}

.contact-form button[type="submit"]:hover {
  background: var(--brand-red-dark);
  transform: translateY(-2px);
}

.contact-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 3px;
  font-size: 14px;
}

.form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.form-message.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.contcat-info {
  padding-top: 0;
}

.map {
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.map iframe {
  display: block;
  width: 100%;
  height: 350px;
  border: 0;
}

.map-full iframe {
  height: 400px;
}

.contact-offices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.contact-head {
  font-size: 15px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.contact-info-list li i {
  color: var(--brand-red);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.office-map .map iframe {
  height: 200px;
}

/* --- Privacy / Policy Pages --- */
.soft-article {
  min-height: 60vh;
}

.privacy-section {
  padding: 60px 0;
}

.privacy-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-color);
}

.privacy-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}

.privacy-text h4,
.privacy-text h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 28px 0 12px;
}

.privacy-text ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.privacy-text ul li {
  margin-bottom: 8px;
}

.privacy-text a {
  color: var(--brand-red);
  text-decoration: underline;
}

/* --- Footer --- */
footer {
  background: var(--footer-dark);
  color: #cccccc;
  padding: 50px 0 0;
}

footer .title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 20px;
}

footer .title p {
  margin: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.6;
}

.contact-list li i {
  color: var(--brand-red);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-list li a {
  color: #cccccc;
}

.contact-list li a:hover {
  color: var(--white);
}

.footer-menu li {
  margin-bottom: 8px;
}

.footer-menu li a {
  font-size: 13px;
  color: #aaaaaa;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-menu li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
  height: 40px;
  width: auto;
  opacity: 0.8;
}

.copyright p {
  font-size: 12px;
  color: #888888;
  margin: 0;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  color: #aaaaaa;
  border-radius: 50%;
  font-size: 16px;
  transition: background var(--transition), color var(--transition);
}

.footer-social li a:hover {
  background: var(--brand-red);
  color: var(--white);
}

.footer-credit {
  padding: 0 0 20px;
}

.footer-credit-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.footer-credit-ornament {
  flex: 1;
  max-width: 72px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.footer-credit-text {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 6px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.38);
  text-align: center;
}

.footer-credit-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.footer-credit-text a {
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-credit-text a:hover {
  color: var(--brand-red-light);
}

.footer-credit-sep {
  color: rgba(255, 255, 255, 0.22);
}

.footer-credit-by {
  font-style: italic;
  color: rgba(255, 255, 255, 0.3);
}

.footer-credit-brand {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- Cookie Box --- */
.cookie-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9000;
  max-width: 380px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--brand-red);
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-box .title p {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.cookie-box .text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.cookie-box .text a {
  color: var(--brand-red);
  text-decoration: underline;
}

.cookie-accept {
  display: inline-block;
  padding: 8px 24px;
  background: var(--brand-red);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  border-radius: 3px;
  transition: background var(--transition);
}

.cookie-accept:hover {
  background: var(--brand-red-dark);
}

/* --- Welcome Popup --- */
.fixed-banner {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  padding: 40px;
  animation: fadeIn 0.4s ease;
}

.fixed-banner .container-fluid {
  max-width: 900px;
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.fixed-banner .row {
  margin: 0;
}

.fixed-banner .col-md-6 {
  padding: 0;
}

.close-banner {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  transition: background var(--transition);
}

.close-banner:hover {
  background: var(--brand-red);
  color: var(--white);
}

.banner-col {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.banner-col.full-height {
  height: 400px;
}

.banner-col.half-height {
  height: 200px;
}

.banner-col .image {
  display: block;
  height: 100%;
}

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

.banner-col:hover .image img {
  transform: scale(1.05);
}

.banner-col .title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition: background var(--transition);
}

.banner-col:hover .title {
  background: linear-gradient(transparent, rgba(214, 73, 76, 0.85));
  color: var(--white);
}

/* --- Scroll to Top --- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 8000;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-red);
  color: var(--white);
  border-radius: 50%;
  font-size: 16px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--brand-red-dark);
  transform: translateY(-3px);
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   Responsive — Tablet (max 991px)
   ========================================================================== */
@media (max-width: 991px) {
  .col-md-3,
  .col-md-6,
  .col-md-9 {
    width: 100%;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar {
    position: static;
  }

  .navbar-collapse {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }

  .navbar-collapse.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nn_navbar {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nn_navbar li {
    width: 100%;
  }

  .nn_navbar li a {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
  }

  .nn_navbar li a::after {
    display: none;
  }

  .support-nav .content {
    display: none;
  }

  .slider-banner {
    height: 500px;
  }

  .slide > img {
    width: 100%;
    opacity: 0.3;
  }

  .carousel-caption,
  .slider_caption {
    width: 100%;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.92);
  }

  .slider_title {
    font-size: 26px;
  }

  .four-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .special-grid {
    grid-template-columns: 1fr;
  }

  .special-box.tall {
    min-height: 360px;
  }

  .footer-blocks {
    grid-template-columns: repeat(2, 1fr);
  }

  .block-box:nth-child(2) {
    border-right: none;
  }

  .product-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-layout {
    flex-direction: column;
  }

  .about-sidebar {
    flex: none;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }

  .about-tab {
    display: flex;
    overflow-x: auto;
    padding: 0;
  }

  .about-tab li a {
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 14px 20px;
  }

  .about-tab li.active a {
    border-bottom-color: var(--brand-red);
    background: transparent;
  }

  .about-content {
    padding: 30px 20px;
  }

  .mission-row {
    flex-direction: column;
    gap: 20px;
  }

  .mission-row.gray {
    margin: 0 -20px;
    padding: 30px 20px;
  }

  .image-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .finance-layout {
    flex-direction: column;
  }

  .contact-layout {
    flex-direction: column;
  }

  .contact-info-side {
    flex: none;
  }

  .contact-offices {
    grid-template-columns: 1fr 1fr;
  }

  .list-banner {
    flex-direction: column;
  }

  .list-banner .banner-image {
    flex: none;
    height: 250px;
  }

  .list-banner .banner-content {
    padding: 30px;
  }

  footer .row:first-child > .col-md-3 {
    margin-bottom: 30px;
  }

  footer .col-row .col-md-3 {
    width: 50%;
    margin-bottom: 24px;
  }

  .fixed-banner .row {
    flex-direction: column;
  }

  .fixed-banner .col-md-6 {
    width: 100%;
  }

  .banner-col.full-height {
    height: 280px;
  }

  .banner-col.half-height {
    height: 180px;
  }
}

/* ==========================================================================
   Responsive — Mobile (max 767px)
   ========================================================================== */
@media (max-width: 767px) {
  :root {
    --header-height: 65px;
  }

  .nn_section {
    padding: 40px 0;
  }

  .panali_logo {
    height: 38px;
  }

  .slider-banner {
    height: 420px;
  }

  .slider_title {
    font-size: 22px;
  }

  .slider_text {
    font-size: 14px;
  }

  .slider-nav {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .slider-nav.prev { left: 10px; }
  .slider-nav.next { right: 10px; }

  .four-block .title {
    font-size: 22px;
  }

  .four-grid {
    grid-template-columns: 1fr;
  }

  .footer-blocks {
    grid-template-columns: 1fr;
  }

  .block-box {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .full-slider .content {
    padding: 30px;
    min-height: 300px;
  }

  .full-slider .content .title {
    font-size: 24px;
  }

  .product-tab {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .product-tab li a {
    white-space: nowrap;
    padding: 12px 16px;
    font-size: 13px;
  }

  .product-list {
    grid-template-columns: 1fr;
  }

  .gallery-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-img img {
    height: 160px;
  }

  .contact-form-side {
    padding: 24px;
  }

  .contact-form .form-row {
    flex-direction: column;
    gap: 0;
  }

  .field-col-4,
  .field-col-6 {
    flex: 1;
  }

  .contact-offices {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-credit-ornament {
    display: none;
  }

  .footer-credit-text {
    font-size: 10px;
    gap: 3px 5px;
  }

  .cookie-box {
    left: 15px;
    right: 15px;
    bottom: 15px;
    max-width: none;
  }

  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  .list-banner .title {
    font-size: 24px;
  }

  .about-content .title {
    font-size: 26px;
  }

  .image-list {
    grid-template-columns: 1fr 1fr;
  }

  .fixed-banner {
    padding: 15px;
  }

  .banner-col.full-height {
    height: 220px;
  }

  .banner-col.half-height {
    height: 140px;
  }
}

/* Product Detail Pages */
.breadcrumb-section {
  background: var(--bg-light);
  padding: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 20px 0;
  gap: 8px;
  font-size: 13px;
  text-transform: uppercase;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: #999;
}

.breadcrumb a {
  color: var(--brand-red);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.details-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #dfe3ea;
}

.details-slider-col {
  background: #eef0f4;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-slider {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-slide {
  display: none;
  width: 100%;
  height: 100%;
  text-align: center;
}

.product-slide.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.details-info-col {
  background: #eef0f4;
  padding: 60px 50px;
  align-self: center;
}

.details-info-col .title {
  font-size: 32px;
  font-weight: 300;
  margin: 0 0 24px;
  line-height: 1.4;
}

.main-info {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.main-info li {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 300;
  padding-left: 25px;
  position: relative;
}

.main-info li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 0 2px var(--brand-red);
}

.guarantee-text {
  margin-bottom: 24px;
  font-size: 15px;
  color: var(--text-dark);
}

.icon-list {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.icon-list li {
  width: 70px;
  height: 70px;
  border: 2px solid var(--brand-red);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-list img {
  max-width: 100%;
  max-height: 100%;
}

.contact-btn {
  display: inline-block;
}

.details-two-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.details-text-col h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.details-text-col p {
  font-style: italic;
  color: #666;
  margin-bottom: 20px;
}

.info-list {
  padding-left: 20px;
  margin: 0;
}

.info-list li {
  margin-bottom: 10px;
  line-height: 1.7;
  font-size: 15px;
}

.details-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.details-icons .box {
  border: 2px solid var(--brand-red);
  background: #fff;
  border-radius: 10px;
  text-align: center;
  overflow: hidden;
}

.details-icons .icon {
  display: block;
  height: 60px;
  padding: 12px;
  line-height: 36px;
}

.details-icons .icon img {
  max-width: 100%;
  max-height: 100%;
}

.details-icons .text {
  display: block;
  background: var(--brand-red);
  color: #fff;
  font-size: 11px;
  padding: 6px;
  line-height: 1.3;
  font-weight: 500;
}

.document-section {
  background: var(--brand-red);
  padding: 40px 0;
  text-align: center;
}

.document-file {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 16px 30px;
  border-radius: 8px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.2s, color 0.2s;
}

.document-file:hover {
  background: #333;
  color: #fff;
}

.table-section {
  padding: 60px 0;
  background: #f1f1f1;
}

.table-section .title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
}

.document-table {
  width: 100%;
  background: #fff;
  border-collapse: collapse;
  border: 1px solid #eee;
}

.document-table tr {
  border-bottom: 1px solid #eee;
}

.document-table tr:hover {
  background: rgba(214, 73, 76, 0.04);
}

.document-table td {
  padding: 12px 20px;
  border-right: 1px solid #eee;
  font-size: 14px;
}

.document-table td:last-child {
  text-align: right;
  font-weight: 500;
}

.related-products {
  padding: 60px 0;
  background: var(--bg-light);
}

.related-products .title {
  text-align: center;
  margin-bottom: 30px;
}

.related-list {
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .details-layout {
    grid-template-columns: 1fr;
  }

  .details-info-col {
    padding: 30px 20px;
  }

  .details-two-layout {
    grid-template-columns: 1fr;
  }

  .product-slider {
    height: 350px;
  }

  .document-table td {
    display: block;
    text-align: left !important;
  }

  .document-table td:nth-child(2):empty {
    display: none;
  }
}

/* Blog Pages */
.blog-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 60px 0;
}

.blog-box {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-img {
  display: block;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-box:hover .blog-img img {
  transform: scale(1.05);
}

.blog-data {
  padding: 20px;
}

.cat-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 8px;
}

.post-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.4;
  color: var(--text-dark);
}

.post-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-details-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding: 40px 0 60px;
}

.blog-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 24px;
}

.blog-content .head {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 20px;
  line-height: 1.4;
}

.blog-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dark);
}

.blog-body p {
  margin-bottom: 16px;
}

.blog-body img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 4px;
}

.blog-body ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.blog-body li {
  margin-bottom: 8px;
}

.blog-body a {
  color: var(--brand-red);
}

.blog-social {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
}

.blog-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(214, 73, 76, 0.4);
}

.blog-sidebar .head {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-red);
}

.related-col-box {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  transition: opacity 0.2s;
}

.related-col-box:hover {
  opacity: 0.8;
}

.related-col-box .image {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  overflow: hidden;
  border-radius: 4px;
}

.related-col-box .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-col-box .text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-dark);
}

@media (max-width: 991px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-details-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-image img {
    height: 250px;
  }
}
