@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #9F3537;        /* แดง SEN */
  --primary-dark: #7f2a2c;
  --primary-light: #c85a5c;

  --white: #ffffff;
  --black: #111111;

  --radius: 14px;
  --transition: all .25s ease;
}


body {
  font-family: 'Kanit', sans-serif;
}
.bg-newred{
  background-color: #9F3537;
}
/* ================= FOOTER ================= */
.sen-footer {
  background: linear-gradient(135deg, #7a0f14, #9F3537);
  padding: 40px 0 32px;
  text-align: center;
  color: #fff;
}

.footer-logo img {
  height: 52px;
  margin-bottom: 14px;
}

.footer-text p {
  margin: 0;
  font-weight: 600;
  letter-spacing: 1px;
}

.footer-text span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  opacity: 0.85;
}

.hero {
  height: 100vh;
  background: url("../../img/bg.jpg") center center / cover no-repeat;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* ปรับความเข้มได้ */
}
.hero p{
  color: white !important;
}
.hero a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 36px;
  font-size: 18px;
  font-weight: 500;

  color: var(--white);
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-dark)
  );

  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);

  box-shadow:
    0 12px 30px rgba(159, 53, 55, 0.35),
    inset 0 0 0 rgba(255,255,255,0);

  transition: var(--transition);
}
.hero a:hover {
  color: white;
  transform: translateY(-2px);
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary)
  );

  box-shadow:
    0 18px 40px rgba(159, 53, 55, 0.45),
    inset 0 0 12px rgba(255,255,255,0.25);
}

.hero a:active {
  transform: translateY(0);
  box-shadow:
    0 8px 18px rgba(159, 53, 55, 0.35);
}
.hero a.outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.hero a.outline:hover {
  background: var(--white);
  color: var(--primary);
}
.hero h1 {
  letter-spacing: 1px;
}

.hero p {
  max-width: 780px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.hero > .container {
  position: relative;
  z-index: 2;
}
.feature-card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: all .3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
}

.icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #9F3537;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.mockup {
  width: 100%;
  height: 260px;
  border-radius: 15px;
  background: #e9f7ef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2ecc71;
  font-weight: bold;
}
.navbar-logo {
  height: 42px;       /* ปรับตามโลโก้ */
  width: auto;
  transition: all .25s ease;
}

/* hover เบา ๆ */
.navbar-brand:hover .navbar-logo {
  transform: scale(1.05);
}
.navbar {
  background: #fff;
}

.navbar.scrolled {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.highlight-feature {
  background: linear-gradient(180deg, #fff5f5, #ffffff);
}
.text-primary{
  color: #8F3032 !important;
}
.step {
  text-align: center;
  cursor: pointer;
  color: #aaa;
  font-weight: 500;
  position: relative;
}

.step span {
  font-size: 14px;
}

.step::after {
  content: "";
  display: block;
  height: 4px;
  width: 40px;
  background: #e0e0e0;
  margin: 12px auto 0;
  border-radius: 10px;
}

/* active */
.step.active {
  color: var(--primary);
}

.step.active::after {
  background: var(--primary);
}
.feature-box {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(159, 53, 55, 0.15);
  padding: 32px;
}
.feature-title {
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-dark)
  );
  color: var(--white);
  padding: 14px 22px;
  border-radius: 14px;
  margin-bottom: 22px;
  font-weight: 500;
}
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding-left: 28px;
  margin-bottom: 12px;
  position: relative;
  color: #333;
}

.feature-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #f4b400; /* ทอง */
  font-weight: bold;
}
.feature-image {
  max-width: 420px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}
.feature-content {
  display: none;
  animation: fadeUp .4s ease;
}

.feature-content.active {
  display: flex;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ================= ABOUT SECTION ================= */
.about-section {
  background: linear-gradient(180deg, #ffffff, #fff1f1);
}

.about-title {
  color: #9F3537;
  letter-spacing: 1px;
}

.about-subtitle {
  color: #666;
  max-width: 640px;
  margin: 0 auto;
}

.about-image {
  max-width: 460px;
  filter: drop-shadow(0 20px 40px rgba(159, 53, 55, 0.25));
}

.about-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(159, 53, 55, 0.15);
}

.about-box-title {
  color: #9F3537;
  font-weight: 600;
  margin-bottom: 16px;
}

.about-text {
  color: #444;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.about-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #333;
}

.about-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: #f4b400; /* ทอง */
  font-size: 16px;
}

/* Button */
.about-btn {
  background: linear-gradient(135deg, #9F3537, #7f2a2c);
  color: #fff;
  padding: 12px 32px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(159, 53, 55, 0.35);
  transition: all .25s ease;
}

.about-btn:hover {
  background: linear-gradient(135deg, #c85a5c, #9F3537);
  color: #fff;
  transform: translateY(-2px);
}
.sen-stats {
  background: linear-gradient(135deg, #9F3537, #7f2a2c);
  padding: 60px 0;
}

.stat-box h3 {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
}

.stat-box p {
  color: rgba(255,255,255,0.85);
  margin: 0;
  font-size: 14px;
}
/* ================= SEN PROVIDER ================= */
.sen-provider-section {
  background: white;
}

.sen-provider-title {
  color: #9F3537;
  letter-spacing: .5px;
}

/* TABS */
.provider-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.provider-tabs button {
  border: none;
  background: #ffffff;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 500;
  color: #555;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  transition: all .25s ease;
}

.provider-tabs button.active,
.provider-tabs button:hover {
  background: linear-gradient(135deg, #9F3537, #7f2a2c);
  color: #fff;
}

/* GRID */
.provider-wrap {
  margin-top: 40px;
}

.provider-grid {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 26px;
}

.provider-grid.active {
  display: grid;
}

/* PROVIDER ITEM */
.provider-circle {
  background: #ffffff;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  transition: all .3s ease;
}

.provider-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* ⭐ ตัวแก้หลัก */
  object-position: center;
}

.provider-circle:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 40px rgba(159,53,55,.25);
}
.sen-platform-slide {
  padding: 100px 0;
  background: linear-gradient(135deg, #7a0f14, #a4161a);
}

.slide-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.slides {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,.45);
}

.slide {
  display: none;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  padding: 40px;
  box-sizing: border-box;
}

/* DOTS */
.slide-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
}

.dot.active {
  background: #f5c86b;
}

/* TEXT */
.slide-content h2 {
  color: #f5c86b;
  font-weight: 700;
  margin-top: 16px;
}

.slide-content p {
  color: #fff;
  opacity: .9;
}

/* BUTTON */
.slide-actions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn-main {
  background: linear-gradient(135deg, #f5c86b, #e0a82e);
  color: #7a0f14;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
}

.btn-outline {
  border: 2px solid #f5c86b;
  color: #f5c86b;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
}
@media (max-width: 768px) {
  .feature-steps span{
    display: none;
  }
  .about-image{
    max-width: 300px;
  }
  .hero a{
    margin-top: 5px;
  }
}