/* =========================================
   NEWS LIST PAGE — Page-Specific Styles
   ========================================= */

.news-list-section {
  padding: 6rem 2vw;
  /* background: #f8fafc; */
}

.news-list-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* 2-Column Layout */
.news-list-layout {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.news-main-content {
  flex: 1;
}

/* .page-sidebar {
  flex: 0 0 320px;
  position: sticky;
  top: 100px;
} */

/* 1x4 Layout News Card */
.news-row-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.news-card-wide {
  display: flex;
  gap: 0; /* Remove gap for direct image-to-text contact */
  background: #fff;
  border-radius: 24px;
  height: 400px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
  border: 1px solid var(--gray-mid);
  position: relative;
}

.news-card-wide::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: 24px;
  transition: all 0.4s ease;
  pointer-events: none;
}

.news-card-wide:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  border-color: var(--secend-color);
}

.news-card-wide:hover::after {
  border-color: rgba(255, 102, 0, 0.15);
  inset: -2px;
}

.news-card-img-wrap {
  flex: 0 0 40%;
  /* height: 320px; */
  overflow: hidden;
  position: relative;
}

.news-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card-wide:hover .news-card-img-wrap img {
  transform: scale(1.05);
}

.news-card-content {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.news-card-tag {
  color: #fff;
  background: linear-gradient(135deg, var(--secend-color) 0%, #ff8c42 100%);
  padding: 0.25rem 1rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.2);
}

.news-card-date {
  color: var(--gray-text);
}

.news-card-title {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.news-card-title a,
.news-card-title a:link,
.news-card-title a:visited,
.news-card-title a:hover,
.news-card-title a:active {
  text-decoration: none; 
  color: inherit;        
  outline: none;         
}
.news-card-excerpt {
  font-size: 1.05rem;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.news-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--secend-color);
  font-weight: 800;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  width: fit-content;
  transition: all 0.3s ease;
}

.news-card-readmore::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secend-color);
  transition: width 0.3s ease;
}

.news-card-readmore svg {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.news-card-readmore:hover {
  gap: 1.25rem;
  letter-spacing: 0.02em;
}

.news-card-readmore:hover::before {
  width: 100%;
}

.news-card-readmore:hover svg {
  transform: translateX(5px) scale(1.2);
}

/* ── Corporate Trust Section (Redesigned) ── */
/* .trust-section {
  padding: 10rem 2vw;
  background-color: #0f172a; 
  color: #fff;
  position: relative;
  overflow: hidden;
} */

.trust-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.trust-mesh {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 10% 20%,
      rgba(255, 102, 0, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(0, 102, 255, 0.08) 0%,
      transparent 40%
    );
  opacity: 0.6;
}
/* 
.trust-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.trust-shape-1 {
  width: 400px;
  height: 400px;
  background: var(--secend-color);
  top: -100px;
  right: -100px;
  animation: floatShape 20s infinite alternate;
}

.trust-shape-2 {
  width: 300px;
  height: 300px;
  background: #3b82f6;
  bottom: -50px;
  left: -50px;
  animation: floatShape 15s infinite alternate-reverse;
} */

@keyframes floatShape {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(30px, 40px);
  }
}

.trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.trust-header {
  text-align: center;
  margin-bottom: 6rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.trust-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--secend-color);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.trust-title span {
  background: linear-gradient(90deg, #fff, var(--secend-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.trust-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Feature Grid */
.trust-main-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 10rem;
}

.trust-feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 1.5rem;
  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.trust-feat-img {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2rem;
  position: relative;
}

.trust-feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* filter: grayscale(100%); */
  transition: all 0.7s ease;
}

.trust-feat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(15, 23, 42, 0.8)
  );
  opacity: 0.6;
}

.trust-feat-content {
  /* padding: 0 1rem 1.5rem; */
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.trust-feat-content h3 {
  color: white;
}
.trust-feat-content p {
  color: white;
}
.trust-feat-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 102, 0, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secend-color);
  transition: all 0.4s ease;
}

.trust-feat-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.trust-feat-card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.trust-feat-footer {
  margin-top: auto;
}

.trust-feat-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secend-color);
  background: rgba(255, 102, 0, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 100px;
}

/* Hover States */
.trust-feature-card:hover {
  transform: translateY(-15px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.trust-feature-card:hover .trust-feat-img img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.trust-feature-card:hover .trust-feat-icon {
  background: var(--secend-color);
  color: #fff;
  transform: rotateY(180deg);
}

.trust-feature-card:hover h3 {
  color: var(--secend-color);
}

/* Statistics Box */
.trust-stats-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  padding: 1.5rem;
  backdrop-filter: blur(20px);
}

.trust-stat-item {
  text-align: center;
  position: relative;
}

.trust-stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1rem;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.trust-stat-val {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: #fff;
  font-family: "Inter", sans-serif;
}

.count-up {
  color: var(--secend-color);
  text-shadow: 0 0 20px rgba(255, 102, 0, 0.3);
}

.trust-stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

/* ── Related Products Section ───────── */
.related-products-section {
  padding: 8rem 2vw;
  /* background: #f8fafc; */
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── Responsive ───────── */
@media (max-width: 1200px) {
  .news-list-layout {
    flex-direction: column; /* Sidebar moves below or stays hidden depending on preference, but usually aside first or last */
    gap: 3rem;
  }
  /* .page-sidebar {
    flex: 1;
    width: 100%;
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  } */
}

@media (max-width: 1024px) {
  .trust-main-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-stats-box {
    grid-template-columns: repeat(2, 1fr);
    padding: 3rem;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .news-card-wide {
    flex-direction: column;
    height: auto;
  }
  .news-card-img-wrap {
    width: 100%;
    height: 250px;
    flex: none;
  }
  .page-sidebar {
    grid-template-columns: 1fr;
    order:2;
  }
  .trust-main-grid {
    grid-template-columns: 1fr;
  }
  .trust-stats-box {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .related-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .trust-stat-item:not(:last-child)::after {
    display: none;
  }
  .trust-title {
    font-size: 2.5rem;
  }
  .news-list-section,.trust-section,.related-products-section{
    padding: 2rem 1rem;
  }
  .news-card-content{
    padding: 15px;
  }
  .news-card-title{
    font-size: 1.4rem;
  }
  .trust-header{
    margin-bottom: 2rem;
  }
  .trust-main-grid{
    margin-bottom: 2rem;
  }
  .trust-feature-card{
    background: rgba(255, 255, 255, 0.08);
  }
}
