html {
  font-size: 14px;
}

body {
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
:root {
  --bs-primary: #bb141a;
  --bs-primary-rgb: 187, 20, 26;
  --bs-secondary: #bb141a;
  --bs-secondary-rgb: 187, 20, 26;
  --bs-light: #d2d3d5;
  --bs-light-rgb: 210, 211, 213;
  --bs-gradient: linear-gradient(135deg, #bb141a 0%, #bb141a 100%);
}

/* Bootstrap Text Colors */
.text-primary {
  color: #bb141a !important;
}

.text-secondary {
  color: #bb141a !important;
}

/* Bootstrap Background Colors */
.bg-primary {
  background-color: #bb141a !important;
}

.bg-secondary {
  background-color: #bb141a !important;
}

.bg-light {
  background-color: #d2d3d5 !important;
}

/* Bootstrap Border Colors */
.border-primary {
  border-color: #bb141a !important;
}

.border-secondary {
  border-color: #bb141a !important;
}

/* Bootstrap Buttons */
.btn-primary {
  background: linear-gradient(135deg, #bb141a 0%, #bb141a 100%);
  border: none;
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: linear-gradient(135deg, #8f0f14 0%, #8f0f14 100%);
  border: none;
}

.btn-secondary {
  background-color: #bb141a;
  border-color: #bb141a;
  color: #fff;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background-color: #8f0f14;
  border-color: #8f0f14;
}

.btn-outline-primary {
  color: #bb141a;
  border-color: #bb141a;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: #bb141a;
  border-color: #bb141a;
  color: #fff;
}

.btn-outline-secondary {
  color: #bb141a;
  border-color: #bb141a;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
  background-color: #bb141a;
  border-color: #bb141a;
  color: #fff;
}

/* Bootstrap Badges */
.badge.bg-primary {
  background-color: #bb141a !important;
}

.badge.bg-secondary {
  background-color: #bb141a !important;
}

/* Bootstrap Alerts */
.alert-primary {
  color: #003057;
  background-color: #cce0f0;
  border-color: #b3d1e8;
}

.alert-secondary {
  color: #0a5750;
  background-color: #d1f2ee;
  border-color: #baeee7;
}

/* Bootstrap Links */
.link-primary {
  color: #bb141a !important;
}

.link-primary:hover,
.link-primary:focus {
  color: #8f0f14 !important;
}

.link-secondary {
  color: #bb141a !important;
}

.link-secondary:hover,
.link-secondary:focus {
  color: #8f0f14 !important;
}

/* Bootstrap Forms - Focus States */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(187, 20, 26, 0.5);
}

.form-check-input:checked {
  background-color: #bb141a;
  border-color: #bb141a;
}

/* Bootstrap Progress Bars */
.progress-bar {
  background-color: #bb141a;
}

.progress-bar.bg-secondary {
  background-color: #bb141a !important;
}

/* Bootstrap List Group */
.list-group-item-primary {
  color: #003057;
  background-color: #cce0f0;
}

.list-group-item-secondary {
  color: #0a5750;
  background-color: #d1f2ee;
}

/* Bootstrap Tables */
.table-primary {
  --bs-table-bg: #cce0f0;
  --bs-table-border-color: #b8ceda;
}

.table-secondary {
  --bs-table-bg: #d1f2ee;
  --bs-table-border-color: #bcdad6;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
a {
    color: #bb141a;
    text-decoration: none;
}
.footer .btn {
    box-shadow:unset;
}
.header-bg {
/*    background-image: url(../img/bg-2.jpg);
*/    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100%;
  height: 880px;
  min-height: 680px;
}

.header-carousel .owl-carousel-item {
  overflow: hidden;
}

.header-carousel .owl-item .header-bg {
  transform: scale(1.06);
  filter: saturate(1.02);
  transition: transform 9000ms ease, filter 1200ms ease;
}

.header-carousel .owl-item.slide-active .header-bg {
  transform: scale(1.14);
  filter: saturate(1.1);
}

.header-carousel .owl-item .owl-carousel-item h3,
.header-carousel .owl-item .owl-carousel-item h2,
.header-carousel .owl-item .owl-carousel-item p,
.header-carousel .owl-item .owl-carousel-item .btn {
  opacity: 0;
  transform: translateY(26px);
}

.header-carousel .owl-item.slide-active .owl-carousel-item h3 {
  animation: heroTextIn 620ms ease forwards 120ms;
}

.header-carousel .owl-item.slide-active .owl-carousel-item h2 {
  animation: heroTextIn 680ms ease forwards 260ms;
}

.header-carousel .owl-item.slide-active .owl-carousel-item p {
  animation: heroTextIn 680ms ease forwards 420ms;
}

.header-carousel .owl-item.slide-active .owl-carousel-item .btn {
  animation: heroTextIn 620ms ease forwards 560ms;
}

/* Keep the light CTA visible while other hero elements animate in. */
.header-carousel .owl-item .owl-carousel-item .hero-contact-btn,
.header-carousel .owl-item .owl-carousel-item .btn.btn-light.py-md-3.px-md-5.animated.slideInRight {
  /*opacity: 1 !important;
  transform: translateX(0);*/
}

.header-carousel .owl-item.slide-active .owl-carousel-item .hero-contact-btn,
.header-carousel .owl-item.slide-active .owl-carousel-item .btn.btn-light.py-md-3.px-md-5.animated.slideInRight {
  animation: heroSlideInRightNoFade 700ms ease both 220ms !important;
}

@keyframes heroSlideInRightNoFade {
  from {
    opacity: 1;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .header-bg {
    height: 560px;
    min-height: 560px;
  }
}
.sticky-top.shadow-sm{
    background-color:#fff;
}

.contact-detail-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(187, 20, 26, 0.12);
  background:
    radial-gradient(120% 140% at 0% 100%, rgba(187, 20, 26, 0.08), transparent 55%),
    linear-gradient(145deg, #ffffff 0%, #fbfbfc 100%);
  box-shadow: 0 12px 30px rgba(27, 33, 48, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  overflow: hidden;
}

.contact-detail-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -55% auto;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(187, 20, 26, 0.16), rgba(187, 20, 26, 0));
  pointer-events: none;
}

.contact-detail-card:hover {
  transform: translateY(-6px);
  border-color: rgba(187, 20, 26, 0.35);
  box-shadow: 0 16px 40px rgba(27, 33, 48, 0.14);
}

.contact-detail-icon {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #bb141a 0%, #8f0f14 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(187, 20, 26, 0.3);
  font-size: 1.6rem;
}

.contact-detail-content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.contact-detail-content h4 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  color: #2a2f3a;
}

.contact-detail-content p {
  margin: 0;
  color: #596074;
  font-size: 1rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.contact-detail-content a {
  color: #2f3442 !important;
  font-weight: 600;
}

.contact-detail-content a:hover {
  color: #bb141a !important;
}

.map-container {
  border-radius: 18px;
  border: 1px solid rgba(187, 20, 26, 0.15);
  box-shadow: 0 16px 38px rgba(31, 40, 60, 0.12);
}

.map-container iframe {
  width: 100%;
  min-height: 430px;
  border: 0;
}

html[dir="rtl"] .contact-detail-card {
  text-align: right;
}

@media (max-width: 991.98px) {
  .contact-detail-card {
    padding: 1rem;
    border-radius: 14px;
  }

  .contact-detail-icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    font-size: 1.45rem;
  }
}

/* Legacy home contact boxes (current runtime markup) + new card class */
.container-xxl .row.g-4 > .col-md-6.col-lg-3 .d-flex.h-100.align-items-center.p-4.bg-light.rounded-1,
.contact-detail-card {
  background:
    radial-gradient(140% 120% at 0% 100%, rgba(187, 20, 26, 0.12), transparent 55%),
    linear-gradient(145deg, #ffffff 0%, #f8f9fc 100%) !important;
  border: 1px solid rgba(187, 20, 26, 0.18);
  border-radius: 18px !important;
  box-shadow: 0 12px 30px rgba(26, 33, 47, 0.09);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.container-xxl .row.g-4 > .col-md-6.col-lg-3 .d-flex.h-100.align-items-center.p-4.bg-light.rounded-1:hover,
.contact-detail-card:hover {
  transform: translateY(-6px);
  border-color: rgba(187, 20, 26, 0.42);
  box-shadow: 0 18px 42px rgba(26, 33, 47, 0.16);
}

.container-xxl .row.g-4 > .col-md-6.col-lg-3 .d-flex.h-100.align-items-center.p-4.bg-light.rounded-1 > i {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-end: 0.95rem !important;
  color: #fff !important;
  font-size: 1.5rem !important;
  background: linear-gradient(145deg, #bb141a 0%, #8f0f14 100%);
  box-shadow: 0 10px 22px rgba(187, 20, 26, 0.33);
}

.container-xxl .row.g-4 > .col-md-6.col-lg-3 .d-flex.h-100.align-items-center.p-4.bg-light.rounded-1 h4,
.contact-detail-content h4 {
  margin: 0 0 0.25rem;
  color: #1f2635;
  font-size: 1.3rem;
}

.container-xxl .row.g-4 > .col-md-6.col-lg-3 .d-flex.h-100.align-items-center.p-4.bg-light.rounded-1 p,
.contact-detail-content p {
  margin: 0;
  color: #5c6375;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.container-xxl .row.g-4 > .col-md-6.col-lg-3 .d-flex.h-100.align-items-center.p-4.bg-light.rounded-1 a,
.contact-detail-content a {
  font-weight: 600;
  color: #2f3648 !important;
}

.container-xxl .row.g-4 > .col-md-6.col-lg-3 .d-flex.h-100.align-items-center.p-4.bg-light.rounded-1 a:hover,
.contact-detail-content a:hover {
  color: #bb141a !important;
}

.about-page-modern {
  position: relative;
  background:
    radial-gradient(90rem 50rem at 8% -8%, rgba(187, 20, 26, 0.1), transparent 55%),
    radial-gradient(80rem 48rem at 100% 0%, rgba(23, 28, 38, 0.08), transparent 60%),
    linear-gradient(180deg, #f6f7fa 0%, #ffffff 42%);
  overflow: hidden;
}

.about-page-modern::before,
.about-page-modern::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
}

.about-page-modern::before {
  inset: 80px auto auto -120px;
  background: radial-gradient(circle, rgba(187, 20, 26, 0.16), rgba(187, 20, 26, 0));
}

.about-page-modern::after {
  inset: auto -140px 60px auto;
  background: radial-gradient(circle, rgba(29, 38, 52, 0.1), rgba(29, 38, 52, 0));
}

@media (max-width: 767.98px) {
  .about-page-modern::before,
  .about-page-modern::after {
    display: none;
  }
}

.about-surface {
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(187, 20, 26, 0.16);
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.88));
  box-shadow: 0 25px 60px rgba(25, 33, 46, 0.12);
  backdrop-filter: blur(5px);
  overflow: hidden;
}

.about-figure {
  position: relative;
  min-height: 440px;
  overflow: hidden;
}

.about-figure-media {
  position: relative;
  isolation: isolate;
}

.about-figure-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(18, 24, 35, 0.16) 0%, rgba(18, 24, 35, 0.5) 100%);
}

.about-figure img {
  object-fit: cover;
  transition: transform 1.6s ease;
}

.about-surface:hover .about-figure img {
  transform: scale(1.08);
}

.about-figure-glow {
  position: absolute;
  inset: auto 0 -15%;
  z-index: 2;
  height: 45%;
  background: linear-gradient(180deg, rgba(187, 20, 26, 0), rgba(187, 20, 26, 0.38));
}

.about-copy {
  padding: 3rem 2.6rem;
}

.about-eyebrow {
  display: inline-block;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  background: rgba(187, 20, 26, 0.1);
  color: #991117;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.about-description {
  color: #3c4252;
  line-height: 1.85;
}

.about-description p:last-child {
  margin-bottom: 0;
}

.about-stat {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(187, 20, 26, 0.14);
  background:
    radial-gradient(120% 150% at 0% 100%, rgba(187, 20, 26, 0.11), transparent 55%),
    linear-gradient(145deg, #ffffff, #f8f8fb);
  box-shadow: 0 10px 24px rgba(31, 39, 56, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-stat:hover {
  transform: translateY(-6px);
  border-color: rgba(187, 20, 26, 0.35);
  box-shadow: 0 16px 34px rgba(31, 39, 56, 0.14);
}

.about-stat-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #bb141a, #8f0f14);
  box-shadow: 0 10px 24px rgba(187, 20, 26, 0.33);
  color: #fff;
  font-size: 1.3rem;
}

.about-stat-value {
  color: #bb141a;
  font-size: 1.8rem;
  line-height: 1;
}

.about-stat-label {
  color: #4d5465;
  font-weight: 600;
}

.about-cta {
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(187, 20, 26, 0.35);
}

.about-cta:hover {
  transform: translateY(-2px);
}

.about-pillars {
  position: relative;
}

.about-pillars-kicker {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(187, 20, 26, 0.11);
  color: #981217;
  font-weight: 700;
}

.about-pillar-card {
  position: relative;
  padding: 1.8rem 1.4rem 1.35rem;
  border-radius: 18px;
  border: 1px solid rgba(30, 38, 52, 0.1);
  background: linear-gradient(150deg, #ffffff 0%, #f7f8fb 100%);
  box-shadow: 0 12px 28px rgba(30, 38, 52, 0.09);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  overflow: hidden;
}

.about-pillar-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #bb141a, rgba(187, 20, 26, 0.25));
}

.about-pillar-card:hover {
  transform: translateY(-7px);
  border-color: rgba(187, 20, 26, 0.32);
  box-shadow: 0 20px 38px rgba(30, 38, 52, 0.15);
}

.about-pillar-icon {
  width: 66px;
  height: 66px;
  margin-bottom: 1rem;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  background: linear-gradient(145deg, #bb141a, #8f0f14);
  box-shadow: 0 12px 26px rgba(187, 20, 26, 0.34);
}

.about-pillar-copy {
  color: #4d5464;
  line-height: 1.75;
}

.about-pillar-copy p:last-child {
  margin-bottom: 0;
}

html[dir="rtl"] .about-copy,
html[dir="rtl"] .about-description,
html[dir="rtl"] .about-pillar-copy {
  text-align: right;
}

@media (max-width: 1199.98px) {
  .about-copy {
    padding: 2.3rem 1.8rem;
  }
}

@media (max-width: 991.98px) {
  .about-surface {
    border-radius: 22px;
  }

  .about-figure {
    min-height: 300px;
  }

  .about-copy {
    padding: 1.8rem 1.3rem;
  }

  .about-stat-value {
    font-size: 1.55rem;
  }
}

@media (max-width: 575.98px) {
  .about-page-modern::before,
  .about-page-modern::after {
    display: none;
  }

  .about-copy {
    padding: 1.4rem 1rem;
  }

  .about-stat {
    padding: 0.9rem;
  }

  .about-pillar-card {
    padding: 1.5rem 1.1rem 1.2rem;
  }
}

.layout-deco {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  user-select: none;
  filter: saturate(1.03) contrast(1.02);
  transition: opacity 0.25s ease;
}

.layout-deco svg {
  display: block;
  will-change: transform;
  transform: translateZ(0);
}

.layout-deco--orb {
  top: 0;
  right: 0;
  opacity: 0.75;
}

.layout-deco--waves {
  top: 390px;
  left: 0;
  opacity: 0.62;
}

.header-carousel .owl-item.slide-active .owl-carousel-item .btn.btn-primary.py-md-3.px-md-5,
.header-carousel .owl-item.slide-active .owl-carousel-item .hero-contact-btn,
.header-carousel .owl-item.slide-active .owl-carousel-item .btn.btn-light.py-md-3.px-md-5.animated.slideInRight {
  box-shadow: 0 14px 30px rgba(187, 20, 26, 0.32);
}

@media (max-width: 1199.98px) {
  .layout-deco--orb {
    opacity: 0.45;
  }

  .layout-deco--waves {
    opacity: 0.36;
  }
}

@media (max-width: 767.98px) {
  .layout-deco {
    display: none;
  }
}

/* ==================== ENHANCED HOME PAGE ABOUT SECTION ==================== */
.about-section-modern {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
  overflow: hidden;
}

.about-section-modern::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(187, 20, 26, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-section-modern::after {
  content: "";
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(23, 28, 38, 0.06), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-section-bg-blur {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: linear-gradient(90deg, rgba(187, 20, 26, 0.05), rgba(29, 38, 52, 0.05));
  filter: blur(80px);
  pointer-events: none;
}

.about-section-container {
  position: relative;
  z-index: 1;
}

/* About Image Wrapper */
.about-image-wrapper {
  position: relative;
  height: 100%;
}

.about-image-frame {
  position: relative;
  height: 100%;
  min-height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(30, 38, 52, 0.15);
  border: 1px solid rgba(187, 20, 26, 0.1);
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-image-frame:hover .about-image {
  transform: scale(1.1);
}

.about-image-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(187, 20, 26, 0.15), transparent 60%);
  pointer-events: none;
  border-radius: 20px;
}

.about-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 24, 35, 0.3) 100%);
  border-radius: 20px;
}

/* Floating Badges */
.about-float-badge {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #bb141a, #8f0f14);
  box-shadow: 0 15px 40px rgba(187, 20, 26, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float-up 3s ease-in-out infinite;
  z-index: 10;
}

.about-float-1 {
  bottom: 15%;
  left: -30px;
  animation-delay: 0s;
}

.about-float-2 {
  top: 15%;
  right: -20px;
  animation-delay: 1s;
}

.badge-content {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
}

@keyframes float-up {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* About Content Wrapper */
.about-content-wrapper {
  position: relative;
  z-index: 2;
}

.about-label {
  margin-bottom: 1rem;
}

.label-badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: linear-gradient(135deg, rgba(187, 20, 26, 0.1), rgba(187, 20, 26, 0.05));
  border: 1px solid rgba(187, 20, 26, 0.2);
  border-radius: 50px;
  color: #bb141a;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-heading {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1a1f2e;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #1a1f2e 0%, #3d4559 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4d5465;
  margin-bottom: 2rem;
}

/* About Stats Grid */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 2;
  margin-bottom: 2rem;
  width: 100%;
}

.stat-card {
  position: relative;
  padding: 1.5rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(187, 20, 26, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 252, 0.98));
  box-shadow: 0 10px 25px rgba(30, 38, 52, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  min-height: 220px;
}

/* Card Background Effect */
.stat-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(187, 20, 26, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.stat-card:hover .stat-card-bg {
  opacity: 1;
}

/* Top Border Line Animation */
.stat-hover-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #bb141a, #8f0f14);
  border-radius: 0 0 3px 0;
  transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat-card:hover .stat-hover-line {
  width: 100%;
}

/* Color Variants for Different Stats */
.stat-card-1 {
  --stat-color: #bb141a;
  --stat-light: rgba(187, 20, 26, 0.1);
}

.stat-card-2 {
  --stat-color: #e67e22;
  --stat-light: rgba(230, 126, 34, 0.1);
}

.stat-card-3 {
  --stat-color: #27ae60;
  --stat-light: rgba(39, 174, 96, 0.1);
}

.stat-card-4 {
  --stat-color: #3498db;
  --stat-light: rgba(52, 152, 219, 0.1);
}

.stat-card:hover {
  transform: translateY(-12px);
  border-color: var(--stat-color, rgba(187, 20, 26, 0.25));
  box-shadow: 0 18px 45px var(--stat-color, rgba(187, 20, 26, 0.18));
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.99));
}

/* Icon Wrapper */
.stat-icon-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
  display: inline-block;
}

/* Icon Background Circle */
.stat-icon-bg {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: var(--stat-light, rgba(187, 20, 26, 0.1));
  z-index: -1;
  transition: all 0.3s ease;
}

.stat-card:hover .stat-icon-bg {
  background: var(--stat-light, rgba(187, 20, 26, 0.2));
  transform: scale(1.2);
}

/* Icon Container */
.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--stat-color, #bb141a) 0%, var(--stat-color, #8f0f14) 100%);
  color: white;
  font-size: 1.3rem;
  box-shadow: 0 10px 25px var(--stat-light, rgba(187, 20, 26, 0.3));
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 1;
  margin-bottom: 0.8rem;
}

.stat-card:hover .stat-icon {
  transform: scale(1.15) rotate(-8deg);
  box-shadow: 0 16px 40px var(--stat-light, rgba(187, 20, 26, 0.4));
}

/* Icon Pulse Effect */
.stat-icon-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--stat-light, rgba(187, 20, 26, 0.3));
  opacity: 0;
  animation: pulse-ring 2s ease-out infinite;
}

.stat-card:hover .stat-icon-pulse {
  animation: pulse-ring 1.5s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 1;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* Content Section */
.stat-content {
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Number Wrapper and Display */
.stat-number-wrapper {
  margin-bottom: 0.5rem;
  order: -1;
}

.stat-number-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--stat-color, #bb141a);
  display: block;
  line-height: 1;
  letter-spacing: -0.5px;
  transition: all 0.3s ease;
  margin-bottom: 0.3rem;
}

.stat-card:hover .stat-number-value {
  font-size: 2.2rem;
  text-shadow: 0 4px 12px var(--stat-light, rgba(187, 20, 26, 0.2));
}

/* Counter Animation */
.counter {
  animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Label Text */
.stat-label {
  font-size: 0.85rem;
  color: #4d5465;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  margin-top: auto;
  transition: color 0.3s ease;
  letter-spacing: 0.3px;
}

.stat-card:hover .stat-label {
  color: var(--stat-color, #bb141a);
}

/* Divider Line */
.stat-divider {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--stat-color, #bb141a), transparent);
  border-radius: 2px;
  margin-top: 1rem;
  transition: all 0.3s ease;
  opacity: 0;
}

.stat-card:hover .stat-divider {
  opacity: 1;
  width: 60px;
}

/* CTA Button */
.about-cta-wrapper {
  margin-top: 2rem;
}

.btn-about-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  background: linear-gradient(135deg, #bb141a 0%, #8f0f14 100%);
  border: none;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 12px 30px rgba(187, 20, 26, 0.3);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
}

.btn-about-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(187, 20, 26, 0.4);
  background: linear-gradient(135deg, #8f0f14 0%, #6d0a0f 100%);
  color: white;
}

.btn-about-cta:active {
  transform: translateY(-1px);
}

.btn-text {
  font-weight: 600;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.btn-about-cta:hover .btn-icon {
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .about-heading {
    font-size: 2rem;
  }

  .about-description {
    font-size: 1rem;
  }

  .about-image-frame {
    min-height: 300px;
  }

  .about-float-badge {
    width: 60px;
    height: 60px;
  }

  .badge-content {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  /* Tablet Stat Card Improvements */
  .stat-card {
    padding: 1.3rem 0.8rem;
    min-height: 200px;
  }

  .stat-card:hover {
    transform: translateY(-10px);
  }

  .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
  }

  .stat-card:hover .stat-icon {
    transform: scale(1.12) rotate(-5deg);
  }

  .stat-number-value {
    font-size: 1.8rem;
  }

  .stat-card:hover .stat-number-value {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .stat-divider {
    width: 30px;
  }
}

@media (max-width: 767.98px) {
  .about-section-modern {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .about-heading {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .about-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .about-image-wrapper {
    order: 2;
  }

  .about-content-wrapper {
    order: 1;
  }

  .about-image-frame {
    min-height: 250px;
    margin-top: 2rem;
  }

  .about-float-badge {
    display: none;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-card {
    padding: 1.2rem 0.8rem;
    border-radius: 14px;
    min-height: 180px;
  }

  .stat-card:hover {
    transform: translateY(-8px);
  }

  .stat-icon-wrapper {
    margin-bottom: 0.6rem;
  }

  .stat-icon {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(-5deg);
  }

  .stat-number-value {
    font-size: 1.6rem;
  }

  .stat-card:hover .stat-number-value {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .stat-divider {
    width: 25px;
  }

  .stat-card:hover .stat-divider {
    width: 50px;
  }
}
}

/* ==================== ENHANCED HOME PAGE PRODUCTS SECTION ==================== */
.products-section-modern {
  position: relative;
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
  overflow: hidden;
}

/* Section Header */
.section-header-modern {
  position: relative;
  z-index: 2;
  animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-label-wrapper {
  margin-bottom: 1rem;
}

/* ============================================
   BLOG SECTION - MODERN DESIGN
   ============================================ */

/* Blog Section Container */
.blog-section-modern {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
}

/* Blog Section Title */
.blog-heading {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #bb141a 0%, #e67e22 50%, #3498db 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
  position: relative;
  z-index: 1;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

/* Blog Card */
.blog-card {
  position: relative;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: white;
  box-shadow: 0 10px 35px rgba(30, 38, 52, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-16px);
  box-shadow: 0 25px 60px rgba(30, 38, 52, 0.2);
}

/* Blog Image Wrapper */
.blog-image-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #f0f0f0;
}

.blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.blog-card:hover .blog-image {
  transform: scale(1.15) rotate(2deg);
}

.blog-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8f0f7 100%);
  color: rgba(52, 152, 219, 0.3);
  font-size: 3rem;
}

/* Blog Overlay */
.blog-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.blog-card:hover .blog-overlay {
  opacity: 1;
}

/* Blog Badge */
.blog-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #bb141a, #8f0f14);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 10;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 20px rgba(187, 20, 26, 0.3);
  transition: all 0.3s ease;
}

.blog-card:hover .blog-badge {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(187, 20, 26, 0.4);
}

/* Blog Content */
.blog-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Blog Meta */
.blog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.blog-date {
  color: #bb141a;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.blog-meta-separator {
  color: #ccc;
  margin: 0 0.5rem;
}

.blog-author {
  color: #4d5465;
  display: inline-flex;
  align-items: center;
}

/* Blog Title */
.blog-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e2634;
  line-height: 1.4;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
  word-wrap: break-word;
}

.blog-card:hover .blog-title {
  color: #bb141a;
}

/* Blog Excerpt */
.blog-excerpt {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Read More Link */
.blog-read-more {
  display: inline-flex;
  align-items: center;
  color: #bb141a;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  transition: all 0.3s ease;
}

.blog-read-more::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #bb141a, #e67e22);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-read-more:hover::after {
  transform: scaleX(1);
}

.blog-read-more:hover {
  color: #e67e22;
  gap: 0.5rem;
}

/* Responsive Blog Grid */
@media (max-width: 1199.98px) {
  .blog-heading {
    font-size: 2.2rem;
  }

  .blog-grid {
    gap: 2rem;
  }

  .blog-image-wrapper {
    height: 250px;
  }

  .blog-title {
    font-size: 1.25rem;
  }

  .blog-content {
    padding: 1.8rem;
  }
}

@media (max-width: 991.98px) {
  .blog-heading {
    font-size: 2rem;
  }

  .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
  }

  .blog-image-wrapper {
    height: 220px;
  }

  .blog-title {
    font-size: 1.15rem;
  }

  .blog-content {
    padding: 1.6rem;
  }

  .blog-badge {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 767.98px) {
  .blog-section-modern {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .blog-heading {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-image-wrapper {
    height: 240px;
  }

  .blog-title {
    font-size: 1.1rem;
  }

  .blog-content {
    padding: 1.4rem;
  }

  .blog-excerpt {
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
  }

  .blog-card:hover {
    transform: translateY(-8px);
  }

  .blog-card:hover .blog-image {
    transform: scale(1.08);
  }
}

.section-label {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: linear-gradient(135deg, rgba(187, 20, 26, 0.1), rgba(187, 20, 26, 0.05));
  border: 1px solid rgba(187, 20, 26, 0.2);
  border-radius: 50px;
  color: #bb141a;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-heading-modern {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1a1f2e;
  background: linear-gradient(135deg, #1a1f2e 0%, #3d4559 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #bb141a, #8f0f14);
  border-radius: 2px;
  margin: 1.5rem auto;
  box-shadow: 0 4px 15px rgba(187, 20, 26, 0.2);
}

.section-subtitle {
  font-size: 1.05rem;
  color: #4d5465;
  margin-top: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.product-card-wrapper {
  height: 100%;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  box-shadow: 0 8px 24px rgba(30, 38, 52, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(187, 20, 26, 0.08);
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(187, 20, 26, 0.2);
  border-color: rgba(187, 20, 26, 0.2);
}

/* Product Image Container */
.product-image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #f8f9fa;
}

.product-image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-image {
  transform: scale(1.15) rotate(2deg);
}

.product-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(187, 20, 26, 0.1), transparent 60%);
  pointer-events: none;
  transition: background 0.4s ease;
}

.product-card:hover .product-image-overlay {
  background: linear-gradient(135deg, rgba(187, 20, 26, 0.2), rgba(30, 38, 52, 0.1));
}

.product-image-glow {
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 150%;
  background: radial-gradient(circle, rgba(187, 20, 26, 0.2), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover .product-image-glow {
  opacity: 1;
}

/* Product Badge */
.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
}

.badge-text {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: linear-gradient(135deg, #bb141a, #8f0f14);
  color: white;
  font-weight: 600;
  font-size: 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(187, 20, 26, 0.3);
}

/* Actions Overlay */
.product-actions-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(187, 20, 26, 0.85), rgba(30, 38, 52, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 4;
  backdrop-filter: blur(4px);
}

.product-card:hover .product-actions-overlay {
  opacity: 1;
}

.actions-container {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.action-btn span {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.action-preview {
  animation: slideInLeft 0.5s ease-out 0.1s both;
}

.action-details {
  animation: slideInRight 0.5s ease-out 0.2s both;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Product Info */
.product-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1f2e;
  margin-bottom: 0.8rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.product-card:hover .product-title {
  color: #bb141a;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stars {
  display: flex;
  gap: 0.2rem;
  font-size: 0.8rem;
  color: #ffc107;
}

.rating-text {
  font-size: 0.85rem;
  color: #4d5465;
  font-weight: 500;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #bb141a;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  margin-top: auto;
}

.product-link:hover {
  color: #8f0f14;
  gap: 0.8rem;
}

.product-link i {
  transition: transform 0.3s ease;
}

.product-link:hover i {
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1199.98px) {
  .section-heading-modern {
    font-size: 2.3rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 991.98px) {
  .section-heading-modern {
    font-size: 2rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .product-card {
    box-shadow: 0 4px 12px rgba(30, 38, 52, 0.06);
  }

  .product-card:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 767.98px) {
  .section-heading-modern {
    font-size: 1.7rem;
  }

  .section-divider {
    margin: 1rem auto;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }

  .product-card {
    border-radius: 12px;
  }

  .product-info {
    padding: 1rem;
  }

  .product-title {
    font-size: 1rem;
  }
}

/* ============================================
   PRODUCTS PAGE - MODERN DESIGN
   ============================================ */

.products-page-modern {
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 5rem 0;
  overflow: hidden;
}

.products-page-modern::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(187, 20, 26, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.products-page-modern::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 152, 219, 0.07), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 767.98px) {
  .products-page-modern::before,
  .products-page-modern::after {
    display: none;
  }
}

.products-page-heading {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #bb141a 0%, #e67e22 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.products-page-subtitle {
  font-size: 1.2rem;
  color: #6b7280;
  position: relative;
  z-index: 1;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.product-card-modern {
  position: relative;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  box-shadow: 0 10px 35px rgba(30, 38, 52, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}

.product-card-modern:hover {
  transform: translateY(-16px);
  box-shadow: 0 25px 60px rgba(30, 38, 52, 0.2);
}

.product-image-container {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.product-card-modern:hover .product-image {
  transform: scale(1.15) rotate(2deg);
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 4rem;
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.product-card-modern:hover .product-overlay {
  opacity: 1;
}

.product-price-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #27ae60, #16a34a);
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(39, 174, 96, 0.3);
  transition: all 0.3s ease;
}

.product-card-modern:hover .product-price-badge {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(39, 174, 96, 0.4);
}

.product-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card-modern .product-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e2634;
  line-height: 1.4;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
  word-wrap: break-word;
}

.product-card-modern:hover .product-title {
  color: #bb141a;
}

.product-description {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-read-more {
  display: inline-flex;
  align-items: center;
  color: #bb141a;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  transition: all 0.3s ease;
}

.product-read-more::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #bb141a, #e67e22);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-read-more:hover::after {
  transform: scaleX(1);
}

.product-read-more:hover {
  color: #e67e22;
  gap: 0.5rem;
}

@media (max-width: 1199.98px) {
  .products-page-heading {
    font-size: 2.5rem;
  }

  .products-grid {
    gap: 2rem;
  }

  .product-image-container {
    height: 240px;
  }

  .product-card-modern .product-title {
    font-size: 1.25rem;
  }

  .product-content {
    padding: 1.8rem;
  }
}

@media (max-width: 991.98px) {
  .products-page-heading {
    font-size: 2.2rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
  }

  .product-image-container {
    height: 220px;
  }

  .product-card-modern .product-title {
    font-size: 1.15rem;
  }

  .product-content {
    padding: 1.6rem;
  }
}

@media (max-width: 767.98px) {
  .products-page-modern {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .products-page-heading {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }

  .products-page-subtitle {
    font-size: 1rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-image-container {
    height: 240px;
  }

  .product-card-modern .product-title {
    font-size: 1.1rem;
  }

  .product-content {
    padding: 1.4rem;
  }

  .product-card-modern:hover {
    transform: translateY(-8px);
  }

  .product-card-modern:hover .product-image {
    transform: scale(1.08);
  }
}

  .actions-container {
    gap: 0.5rem;
  }

  .action-btn {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }

  .action-btn span {
    display: none;
  }
}

/* ==================== ENHANCED HOME PAGE FEATURES SECTION ==================== */
.features-section-modern {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
  overflow: hidden;
}


/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.feature-card-wrapper {
  height: 100%;
}

.feature-card {
  position: relative;
  height: 100%;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 252, 0.95));
  border: 1px solid rgba(187, 20, 26, 0.1);
  box-shadow: 0 10px 30px rgba(30, 38, 52, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #bb141a, #8f0f14);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-15px);
  border-color: rgba(187, 20, 26, 0.25);
  box-shadow: 0 20px 50px rgba(187, 20, 26, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.98));
}

/* Feature Number Badge */
.feature-number-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(187, 20, 26, 0.12), rgba(187, 20, 26, 0.06));
  border: 2px solid rgba(187, 20, 26, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-number-badge {
  background: linear-gradient(135deg, rgba(187, 20, 26, 0.25), rgba(187, 20, 26, 0.15));
  border-color: rgba(187, 20, 26, 0.4);
  transform: scale(1.1);
}

.number-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #bb141a;
  letter-spacing: 1px;
}

/* Feature Icon Wrapper */
.feature-icon-wrapper {
  position: relative;
  margin-bottom: 1.8rem;
  display: inline-block;
}

.feature-icon-bg {
  position: absolute;
  inset: -8px;
  background: linear-gradient(135deg, rgba(187, 20, 26, 0.1), rgba(187, 20, 26, 0.05));
  border-radius: 16px;
  z-index: -1;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-bg {
  background: linear-gradient(135deg, rgba(187, 20, 26, 0.15), rgba(187, 20, 26, 0.08));
}

.feature-icon-container {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 14px;
  background: linear-gradient(135deg, #bb141a, #8f0f14);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(187, 20, 26, 0.25);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.feature-card:hover .feature-icon-container {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 18px 40px rgba(187, 20, 26, 0.35);
}

.feature-icon {
  font-size: 1.8rem;
  color: white;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(10deg);
}

.feature-icon-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(187, 20, 26, 0.3), transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.feature-card:hover .feature-icon-glow {
  opacity: 1;
}

/* Feature Title */
.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1f2e;
  margin-bottom: 1rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
  color: #bb141a;
}

/* Feature Description */
.feature-description {
  font-size: 0.95rem;
  color: #4d5465;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  margin-top: auto;
}

/* Feature Link */
.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #bb141a;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
}

.feature-link:hover {
  color: #8f0f14;
  gap: 1rem;
  border-bottom-color: #bb141a;
}

.feature-link i {
  transition: transform 0.3s ease;
}

.feature-link:hover i {
  transform: translateX(4px);
}

/* Corner Accent Elements */
.feature-corner-accent {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(187, 20, 26, 0.15);
  opacity: 0;
  transition: all 0.3s ease;
}

.feature-corner-accent.top-left {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
  border-radius: 8px 0 0 0;
}

.feature-corner-accent.bottom-right {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
  border-radius: 0 0 8px 0;
}

.feature-card:hover .feature-corner-accent {
  opacity: 1;
  border-color: rgba(187, 20, 26, 0.3);
}

.feature-card:hover .feature-corner-accent.top-left {
  transform: translate(-8px, -8px);
}

.feature-card:hover .feature-corner-accent.bottom-right {
  transform: translate(8px, 8px);
}

/* Responsive Design */
@media (max-width: 1199.98px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 991.98px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .feature-card {
    padding: 1.8rem 1.2rem;
  }

  .feature-title {
    font-size: 1.1rem;
  }

  .feature-description {
    font-size: 0.9rem;
  }

  .feature-card:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 767.98px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.2rem;
  }

  .feature-card {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }

  .feature-number-badge {
    width: 55px;
    height: 55px;
    top: 1rem;
    right: 1rem;
  }

  .number-text {
    font-size: 1.2rem;
  }

  .feature-icon-container {
    width: 55px;
    height: 55px;
  }

  .feature-icon {
    font-size: 1.4rem;
  }

  .feature-title {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  .feature-description {
    display: none;
  }

  .feature-link {
    font-size: 0.85rem;
  }

  .feature-card:hover {
    transform: translateY(-8px);
  }
}

/* ============================================
   BLOG PAGE - MODERN DESIGN
   ============================================ */

.blog-page-modern {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 5rem 0;
  overflow: hidden;
}

.blog-page-modern::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.blog-page-modern::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 152, 219, 0.07), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 767.98px) {
  .blog-page-modern::before,
  .blog-page-modern::after {
    display: none;
  }
}

.blog-filter-badge {
  background: linear-gradient(135deg, #bb141a, #8f0f14);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(187, 20, 26, 0.2);
  position: relative;
  z-index: 1;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

/* Sidebar Layout: Adjust grid for col-lg-8 container */
.col-lg-8 .blog-posts-grid {
  grid-template-columns: 1fr;
}

@media (max-width: 1199.98px) {
  .col-lg-8 .blog-posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.blog-card-modern {
  position: relative;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  box-shadow: 0 10px 35px rgba(30, 38, 52, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}

.blog-card-modern:hover {
  transform: translateY(-16px);
  box-shadow: 0 25px 60px rgba(30, 38, 52, 0.2);
}

.blog-image-container {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
}

.blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.blog-card-modern:hover .blog-image {
  transform: scale(1.15) rotate(2deg);
}

.blog-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8f0f7 100%);
  color: rgba(52, 152, 219, 0.3);
  font-size: 4rem;
}

.blog-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.blog-card-modern:hover .blog-overlay {
  opacity: 1;
}

.blog-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #bb141a, #8f0f14);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 10;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 20px rgba(187, 20, 26, 0.3);
  transition: all 0.3s ease;
}

.blog-card-modern:hover .blog-badge {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(187, 20, 26, 0.4);
}

.blog-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.blog-date {
  color: #bb141a;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.blog-meta-separator {
  color: #ccc;
  margin: 0 0.5rem;
}

.blog-author {
  color: #4d5465;
  display: inline-flex;
  align-items: center;
}

.blog-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e2634;
  line-height: 1.4;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
  word-wrap: break-word;
}

.blog-card-modern:hover .blog-title {
  color: #bb141a;
}

.blog-excerpt {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-tag-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(187, 20, 26, 0.1);
  color: #bb141a;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-tag-badge:hover {
  background: linear-gradient(135deg, #bb141a, #8f0f14);
  color: white;
  transform: translateY(-2px);
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  color: #bb141a;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  transition: all 0.3s ease;
}

.blog-read-more::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #bb141a, #e67e22);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-read-more:hover::after {
  transform: scaleX(1);
}

.blog-read-more:hover {
  color: #e67e22;
  gap: 0.5rem;
}

@media (max-width: 1199.98px) {
  .blog-posts-grid {
    gap: 2rem;
  }

  .blog-image-container {
    height: 240px;
  }

  .blog-title {
    font-size: 1.25rem;
  }

  .blog-content {
    padding: 1.8rem;
  }
}

@media (max-width: 991.98px) {
  .blog-posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
  }

  .blog-image-container {
    height: 220px;
  }

  .blog-title {
    font-size: 1.15rem;
  }

  .blog-content {
    padding: 1.6rem;
  }
}

@media (max-width: 767.98px) {
  .blog-page-modern {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .blog-filter-badge {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-posts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-image-container {
    height: 240px;
  }

  .blog-title {
    font-size: 1.1rem;
  }

  .blog-content {
    padding: 1.4rem;
  }

  .blog-card-modern:hover {
    transform: translateY(-8px);
  }

  .blog-card-modern:hover .blog-image {
    transform: scale(1.08);
  }
}

.blog-detail-page {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.blog-detail-page::before {
  content: '';
  position: absolute;
  top: -12rem;
  right: -8rem;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(187, 20, 26, 0.12), transparent 66%);
  pointer-events: none;
}

.blog-detail-page::after {
  content: '';
  position: absolute;
  bottom: -12rem;
  left: -7rem;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 152, 219, 0.08), transparent 65%);
  pointer-events: none;
}

.article-card-modern {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid rgba(187, 20, 26, 0.08);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.article-featured-media {
  position: relative;
  width: 100%;
  max-height: 440px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fb 0%, #edf2f7 100%);
}

.article-featured-media img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

.article-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #bb141a 0%, #8f0f14 100%);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 24px rgba(187, 20, 26, 0.25);
}

.article-body {
  padding: 2rem 2rem 2.5rem;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(187, 20, 26, 0.06), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(187, 20, 26, 0.08);
  border-radius: 18px;
  margin-bottom: 1.75rem;
}

.article-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #4b5563;
  font-size: 0.92rem;
  font-weight: 600;
}

.article-meta-row i {
  color: #bb141a;
}

.article-header-wrap {
  margin-bottom: 1.5rem;
}

.article-kicker {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(187, 20, 26, 0.08);
  color: #bb141a;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-title {
  margin-top: 1rem;
  margin-bottom: 0;
  color: #1a202c;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.article-submeta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.article-author-box {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.article-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #bb141a 0%, #8f0f14 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(187, 20, 26, 0.2);
}

.article-author-box small {
  display: block;
  color: #64748b;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.article-author-box strong {
  color: #1f2937;
  font-size: 0.98rem;
}

.article-read-time {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 600;
}

.article-read-time i {
  color: #bb141a;
}

.article-content {
  color: #374151;
  font-size: 1.05rem;
  line-height: 1.9;
}

.article-content > * {
  margin-bottom: 1.4rem;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  color: #111827;
  margin: 2rem 0 1rem;
  line-height: 1.3;
}

.article-content p {
  margin-bottom: 1.3rem;
}

.article-content img,
.article-content iframe,
.article-content video,
.article-content table {
  max-width: 100%;
  border-radius: 16px;
}

.article-content blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 4px solid #bb141a;
  background: rgba(187, 20, 26, 0.04);
  border-radius: 0 16px 16px 0;
  color: #374151;
  font-style: italic;
}

.article-content ul,
.article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.article-content th,
.article-content td {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  text-align: left;
}

.article-content th {
  background: rgba(187, 20, 26, 0.05);
  color: #111827;
}

.article-tag-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.article-tag-label {
  color: #111827;
  font-weight: 700;
  margin-right: 0.35rem;
}

.article-tag-item {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(187, 20, 26, 0.08);
  border: 1px solid rgba(187, 20, 26, 0.1);
  color: #bb141a;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.article-tag-item:hover {
  background: linear-gradient(135deg, #bb141a 0%, #8f0f14 100%);
  color: #fff;
  transform: translateY(-2px);
}

.share-panel {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.share-panel-header h5 {
  margin: 0 0 1rem;
  color: #111827;
  font-size: 1.15rem;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  transition: all 0.3s ease;
}

.share-btn:hover {
  transform: translateY(-3px);
}

.share-facebook { background: #1877f2; }
.share-twitter { background: #1d9bf0; }
.share-linkedin { background: #0a66c2; }
.share-whatsapp { background: #25d366; }

.blog-detail-sidebar {
  position: sticky;
  top: 110px;
  z-index: 1;
}

.sidebar-widget {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: 0 16px 46px rgba(15, 23, 42, 0.06);
}

.sidebar-widget + .sidebar-widget {
  margin-top: 1.5rem;
}

.sidebar-widget-title {
  margin: 0 0 1rem;
  color: #111827;
  font-size: 1.3rem;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.sidebar-widget-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #bb141a, rgba(187, 20, 26, 0.15));
  margin-top: 0.5rem;
}

.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.recent-post-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem;
  border-radius: 14px;
  text-decoration: none;
  background: rgba(248, 250, 252, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.12);
  transition: all 0.25s ease;
}

.recent-post-item:hover {
  background: rgba(187, 20, 26, 0.04);
  border-color: rgba(187, 20, 26, 0.12);
  transform: translateY(-2px);
}

.recent-post-item img,
.recent-post-thumb {
  width: 74px;
  height: 74px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.recent-post-thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fb, #edf2f7);
  color: rgba(187, 20, 26, 0.45);
  font-size: 1.5rem;
}

.recent-post-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.recent-post-title {
  color: #1f2937;
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recent-post-copy small {
  color: #64748b;
  margin-top: 0.25rem;
}

.sidebar-cta {
  text-align: center;
}

.sidebar-cta p {
  color: #64748b;
  margin-bottom: 1rem;
}

.related-section {
  position: relative;
  z-index: 1;
  margin-top: 3rem;
}

.section-heading-inline {
  margin-bottom: 1.5rem;
}

.section-heading-inline span {
  display: inline-block;
  color: #bb141a;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.55rem;
}

.section-heading-inline span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #bb141a 0%, rgba(187, 20, 26, 0.2) 100%);
}

.related-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.related-post-card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
}

.related-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.related-post-image-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f7f7f7, #edf2f7);
}

.related-post-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-post-image-wrap.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(187, 20, 26, 0.35);
  font-size: 3rem;
}

.related-post-content {
  padding: 1rem 1rem 1.2rem;
}

.related-date {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: #bb141a;
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.related-title {
  color: #111827;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.related-title:hover {
  color: #bb141a;
}

@media (max-width: 991.98px) {
  .blog-detail-page {
    padding-top: 4rem;
  }

  .blog-detail-sidebar {
    position: static;
  }

  .related-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .blog-detail-page {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .article-body {
    padding: 1.25rem;
  }

  .article-meta-row {
    padding: 0.8rem 0.9rem;
    gap: 0.5rem;
  }

  .article-submeta {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-title {
    font-size: 2rem;
  }

  .related-post-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-widget {
    padding: 1.1rem;
  }
}

/* ============================================
   CONTACT PAGE - MODERN DESIGN
   ============================================ */

.contact-page-modern {
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 6rem 0;
  overflow: hidden;
}

.contact-page-modern::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(187, 20, 26, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.contact-page-modern::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 152, 219, 0.07), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 767.98px) {
  .contact-page-modern::before,
  .contact-page-modern::after {
    display: none;
  }
}

.contact-info-section {
  position: relative;
  z-index: 1;
}

.contact-section-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #bb141a 0%, #e67e22 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

.contact-section-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  font-weight: 500;
}

.contact-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 10px 35px rgba(30, 38, 52, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #bb141a, #e67e22);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(30, 38, 52, 0.15);
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-card-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, #bb141a, #8f0f14);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 20px rgba(187, 20, 26, 0.2);
  transition: all 0.3s ease;
}

.contact-card:hover .contact-card-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(187, 20, 26, 0.3);
}

.contact-card-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e2634;
  margin-bottom: 0.5rem;
}

.contact-card-content p {
  margin-bottom: 0;
  color: #6b7280;
  font-size: 0.95rem;
}

.contact-card-content a {
  color: #bb141a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-card-content a:hover {
  color: #e67e22;
  text-decoration: underline;
}

.contact-form-container {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(30, 38, 52, 0.12);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(187, 20, 26, 0.05), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-form-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e2634;
  position: relative;
  padding-bottom: 1.5rem;
}

.contact-form-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, #bb141a, #e67e22);
  border-radius: 2px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e2634;
  margin-bottom: 0.5rem;
  text-transform: capitalize;
}

.contact-form .form-control {
  padding: 1rem;
  border: 2px solid #e8eaed;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: transparent;
  color: #1e2634;
}

.contact-form .form-control::placeholder {
  color: #999;
}

.contact-form .form-control:focus {
  outline: none;
  border-color: #bb141a;
  box-shadow: 0 0 0 3px rgba(187, 20, 26, 0.1);
  background: rgba(187, 20, 26, 0.02);
}

.contact-form textarea.form-control {
  min-height: 150px;
  resize: vertical;
  font-family: inherit;
}

.g-recaptcha {
  margin: 1rem 0;
}

.contact-submit-btn {
  grid-column: 1 / -1;
  padding: 1.2rem 2rem;
  border: none;
  background: linear-gradient(135deg, #bb141a, #8f0f14);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 8px 20px rgba(187, 20, 26, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.contact-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.contact-submit-btn:hover::before {
  left: 100%;
}

.contact-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(187, 20, 26, 0.4);
  background: linear-gradient(135deg, #8f0f14, #bb141a);
}

.contact-submit-btn:active {
  transform: translateY(-1px);
}

.contact-success-panel {
  background: rgba(39, 174, 96, 0.05);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}

.contact-success-panel i {
  animation: bounce 0.6s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.send-again {
  background: linear-gradient(135deg, #27ae60, #16a34a) !important;
  border: none !important;
  transition: all 0.3s ease !important;
}

.send-again:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(39, 174, 96, 0.3) !important;
}

@media (max-width: 1199.98px) {
  .contact-form-container {
    padding: 2.5rem;
  }

  .contact-section-title {
    font-size: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-group {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 991.98px) {
  .contact-page-modern {
    padding: 4rem 0;
  }

  .contact-section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .contact-form-container {
    padding: 2rem;
  }

  .contact-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .contact-card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .contact-page-modern {
    padding: 2rem 0;
  }

  .contact-section-title {
    font-size: 1.5rem;
  }

  .contact-section-subtitle {
    font-size: 0.95rem;
  }

  .contact-form-container {
    padding: 1.5rem;
  }

  .contact-form-title {
    font-size: 1.3rem;
  }

  .contact-card {
    padding: 1.2rem;
    margin-bottom: 1rem;
    flex-direction: column;
    text-align: center;
  }

  .contact-card-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
    margin: 0 auto;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-control {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .contact-submit-btn {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }
}
.share-btn:hover{
    color:#fff;
}