:root {
  --alt-font: "Noto Sans Thai", sans-serif;
  --primary-font: "Noto Sans Thai", sans-serif;
}

.bg-blue-2 {
  background-color: #2b3d7c;
}

.bg-gray-2 {
  background-color: #f0f0f0;
}

.bg-gray-3 {
  background-color: #e3e3e3;
}

.bg-gray-gradient-3 {
  background: linear-gradient(
    180deg,
    rgba(227, 227, 227, 1) 0%,
    rgba(241, 241, 241, 1) 50%,
    rgba(243, 243, 243, 1) 100%
  );
}

.bg-gray-4 {
  background-color: #f5f5f5;
}

.bg-gradient-2 {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(253, 253, 253, 1) 40%,
    rgba(251, 251, 251, 1) 70%,
    rgba(245, 245, 245, 1) 100%
  );
}

.text-blue-2 {
  color: #111d47;
}

.text-blue-3 {
  color: #32468a;
}

.text-blue-4 {
  color: #14214d;
}

.text-blue-5 {
  color: #121b3e;
}

.text-dark-2 {
  color: #414141;
}

.text-dark-3 {
  color: #454545;
}

.text-dark-4 {
  color: #393939;
}

.text-gray-2 {
  color: #8f8f8f;
}

.text-gold-2 {
  color: #f1e2b8;
}

.text-gold-3 {
  color: #e7c468;
}

.text-gold-4 {
  color: #d5b048;
}

.text-gold-5 {
  color: #efdeaf;
}

.border-bottom-contact {
  border-bottom: 3px solid #ececec;
}

.border-left-contact {
  border-left: 3px solid #ececec;
}

.border-right-contact {
  border-right: 3px solid #ececec;
}

.p-3px {
  padding: 3px;
}

.p-4px {
  padding: 4px;
}

/* header */

.btn-lag {
  color: #fff !important;
  font-size: 14px;
  border: 1px solid #fff;
  border-radius: 5px;
  padding: 3px 5px;
  font-weight: 400;
}

.btn-lag:hover {
  color: #e4be5a !important;
  border: 1px solid #e4be5a;
}

.navbar .navbar-nav .nav-link {
  font-size: 15px;
  font-weight: 400;
}

.navbar .navbar-nav .nav-item .nav-link {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.navbar .navbar-nav .nav-item .nav-link::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #e4be5a, #f9f2de);
  transition: top 0.4s ease;
  z-index: -1;
}

.navbar .navbar-nav .nav-item:hover .nav-link::after,
.navbar .navbar-nav .nav-item.active .nav-link::after {
  top: 0;
}

.navbar .navbar-nav .nav-item:hover .nav-link,
.navbar .navbar-nav .nav-item.active .nav-link {
  opacity: 1;
  background: linear-gradient(to bottom, #e4be5a, #f9f2de);
}

/* home */

.btn-blog {
  font-size: 20px;
  font-weight: 600;
  color: #111d47;
  border: 1px solid #111d47;
  border-radius: 10px;
  padding: 8px 40px;
}

.btn-blog:hover {
  background-color: #111d47;
  color: #fff;
  border: 1px solid #111d47;
}

.btn-blog-2 {
  font-size: 14px;
  font-weight: 600;
  background-color: #111d47;
  color: #fff;
  border: 1px solid #111d47;
  border-radius: 30px;
  padding: 5px 20px;
}

.btn-blog-2:hover {
  background-color: transparent;
  color: #111d47;
  border: 1px solid #111d47;
}

.info-card {
  background-color: #fff;
  width: 100%;
  /* max-width: 400px;  */
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card-image-container {
  width: 100%;
  height: auto;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 10px 20px 15px 20px;
}

.card-subtitle {
  line-height: 1.5;
}

/* ตั้งค่าแถวของโลโก้ */
.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.logo-card {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.logo-card:hover {
  transform: translateY(-3px);
}

/* --- ขนาดของกล่องแต่ละแถว --- */

.row-large {
  gap: 20px;
}
.row-large .logo-card {
  width: 200px;
}

.row-medium {
  gap: 10px;
}
.row-medium .logo-card {
  width: 130px;
}

.row-small {
  gap: 12px;
}
.row-small .logo-card {
  width: 80px;
}

/* Responsive สำหรับหน้าจอมือถือ */
@media (max-width: 767px) {
  .row-large,
  .row-small {
    gap: 10px;
  }
  .row-large .logo-card {
    width: 70px;
  }
  .row-medium .logo-card {
    width: 50px;
  }
  .row-small .logo-card {
    width: 50px;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .row-large,
  .row-small {
    gap: 10px;
  }
  .row-large .logo-card {
    width: 130px;
  }
  .row-medium .logo-card {
    width: 105px;
  }
  .row-small .logo-card {
    width: 70px;
  }
}

@media (min-width: 1100px) and (max-width: 1199px) {
  .row-large .logo-card {
    width: 180px;
  }
  .row-small .logo-card {
    width: 70px;
  }
}

@media (min-width: 1200px) and (max-width: 1299px) {
  .row-large .logo-card {
    width: 170px;
  }
  .row-medium .logo-card {
    width: 105px;
  }
  .row-small .logo-card {
    width: 90px;
  }
}

@media (min-width: 1300px) and (max-width: 1399px) {
  .row-large .logo-card {
    width: 180px;
  }
  .row-medium .logo-card {
    width: 115px;
  }
  .row-small .logo-card {
    width: 70px;
  }
}

@media (min-width: 1400px) and (max-width: 1499px) {
  .row-medium .logo-card {
    width: 125px;
  }
}
/* สไตล์ของการ์ดแต่ละใบ */
.feature-card {
  flex: 1;
  padding: 40px 30px 60px;
  border-radius: 32px 32px 0 0;
  text-align: center;
  background: linear-gradient(
    -180deg,
    rgba(240, 240, 240, 1) 0%,
    rgba(253, 253, 253, 1) 100%
  );
}

.feature-card.highlight {
  background: linear-gradient(
    -180deg,
    rgba(240, 227, 182, 1) 0%,
    rgba(246, 236, 209, 1) 68%,
    rgba(255, 255, 255, 0.67) 100%
  );
}

/* Responsive สำหรับหน้าจอมือถือ */
@media (max-width: 768px) {
  .features-container {
    flex-direction: column;
    align-items: center;
  }
  .feature-card {
    width: 100%;
    padding-bottom: 40px;
  }
}

/* footer */

footer .footer-logo img {
  max-height: 80px;
}

.border-footer {
  margin: 60px 0;
}

.border-footer::before {
  content: "";
  display: block;
  background-color: #e2b849;
  width: 42%;
  height: 2px;
}

.menu-policy li a {
  color: #fff;
}

.menu-policy li a:hover {
  color: #e2b849;
}

/* contact */

.map-contact iframe {
  height: 550px;
}

.contact-form-style-01 input,
select,
textarea,
.form-control,
.form-select {
  font-size: 16px;
  border: 1px solid #9197ac;
  color: #14214d;
  border-radius: 13px;
  padding: 5px 20px;
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus {
  border: 1px solid #9197ac;
  box-shadow: none !important;
  color: #14214d;
}
.select select {
  border: 1px solid #dedede;
  background-color: #dedede;
  font-weight: medium;
}
::-webkit-input-placeholder {
  color: #b9b9b9 !important;
  text-overflow: ellipsis;
}
::-moz-placeholder {
  color: #b9b9b9 !important;
  text-overflow: ellipsis;
  opacity: 1;
}
:-ms-input-placeholder {
  color: #b9b9b9 !important;
  text-overflow: ellipsis;
  opacity: 1;
}

textarea::-webkit-input-placeholder,
textarea::-moz-placeholder,
textarea::-ms-input-placeholder {
  color: #14214d !important;
}

.btn-submit-contact {
  color: #111d47;
  background-color: #e7c468;
  padding: 5px 40px;
  border-radius: 10px;
}

.btn-submit-contact:hover {
  color: #111d47;
  background-color: #e7c468;
}

/* review */
.card-review {
  background-color: #ffffff;
  width: 300px;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
  padding: 40px 25px 30px 25px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  /* flex-direction: column; */
  height: 100%;
}

.card-text {
  flex-grow: 1;
}

.card-review::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 16px;
  background-color: #e2b849;
}

.profile-pic {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 10px;
}

.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pagination-style-01 .page-item .page-link {
  padding: 0 2px;
  margin: 0 7px;
  min-width: 35px;
  line-height: 35px;
  min-height: 35px;
  background: #fff;
  color: #111d47;
  border: 1px solid #111d47;
}

.pagination-style-01 .page-item .page-link.arrow-left,
.pagination-style-01 .page-item .page-link.arrow-right {
  background: transparent;
  color: #111d47;
  border: none;
  font-weight: 600;
  font-size: 20px;
  line-height: 40px;
}

.pagination-style-01 .page-item .page-link.arrow-left:hover,
.pagination-style-01 .page-item .page-link.arrow-right:hover {
  background: transparent;
  color: #111d47;
  box-shadow: none !important;
}

.pagination-style-01 .page-item .page-link:hover {
  background: #111d47;
  color: #fff;
  box-shadow: none !important;
}

.pagination-style-01 .page-item.active .page-link {
  background: #111d47;
  color: #fff;
  box-shadow: none !important;
}

/* policy */

.policy-title {
  padding: 30px 0;
  border-bottom: 4px solid #f0f0f0;
}

.tab-style-03 .nav-tabs {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
}

.tab-style-03 .nav-tabs .nav-link {
  writing-mode: vertical-lr;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111d47;
  background-color: #f0f0f0;
  font-weight: 500;
  border: none;
  text-transform: uppercase;
  font-size: 16px;
  padding: 33px 20px 33px 30px;
  border-radius: 0px 25px 25px 0px;
  transition: transform 0.3s ease;
}

.tab-style-03 .nav-tabs .nav-link.active,
.tab-style-03 .nav-tabs .nav-link.show,
.tab-style-03 .nav-tabs .nav-link:hover {
  color: #111d47;
  background-color: #ffffff;
  border: 2px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(
        270deg,
        rgba(226, 184, 75, 1) 0%,
        rgba(243, 215, 157, 1) 50%,
        rgba(248, 228, 189, 1) 70%,
        rgba(255, 255, 255, 1) 100%
      )
      border-box;
  border-left: none;
  transform: translateX(10px);
}

.tab-style-03 .nav-tabs > li.nav-item {
  padding: 3px 0;
}

@media (max-width: 991px) {
  header.sticky .navbar-brand {
    padding: 10px 0;
  }
  header .navbar-brand img {
    max-height: 50px;
  }
  .swiper-horizontal > .swiper-pagination-bullets {
    bottom: 0;
  }

  .map-contact iframe {
    height: 450px;
  }

  header .navbar-brand {
    padding: 10px 0;
  }

  .policy-title {
    padding: 15px 0;
  }

  .tab-style-03 .nav-tabs {
    position: relative;
  }

  .tab-style-03 .nav-tabs .nav-link {
    writing-mode: inherit;
    padding: 15px;
    border-radius: 15px 15px 0px 0px;
  }

  .tab-style-03 .nav-tabs .nav-link.active,
  .tab-style-03 .nav-tabs .nav-link.show,
  .tab-style-03 .nav-tabs .nav-link:hover {
    background:
      linear-gradient(#ffffff, #ffffff) padding-box,
      linear-gradient(
          180deg,
          rgba(226, 184, 75, 1) 0%,
          rgba(243, 215, 157, 1) 50%,
          rgba(248, 228, 189, 1) 70%,
          rgba(255, 255, 255, 1) 100%
        )
        border-box;
    border-left: 2px solid transparent;
    transform: translateX(0);
  }
}

/* ----------------------------------
   สไตล์หลักของการ์ด
----------------------------------- */
.card-project {
  display: flex;
  flex-direction: row;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 24px;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  height: 100%;
}

.card-project:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.card-image-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  flex: 0 0 40%;
  padding: 16px;
  display: flex;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
}

.card-content-project {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-left: 0;
}

.card-header-project {
  background: linear-gradient(
    100deg,
    rgb(245 245 245 / 30%) 0%,
    rgb(236 236 236 / 80%) 51%,
    rgba(236, 236, 236, 0.99) 100%
  );
  color: #23305c;
  font-size: 18px;
  font-weight: 600;
  padding: 10px 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.card-body-project {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 20px 15px;
}

.card-title-project {
  color: #121b3e;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

.card-subtitle-project {
  font-size: 14px;
  color: #121b3e;
  margin: 0 0 5px 0;
  line-height: 1.4;
  letter-spacing: -0.5px;
}

.details-grid-project {
  display: grid;
  grid-template-columns: max-content max-content 1fr;
  row-gap: 3px;
  column-gap: 12px;
  font-size: 14px;
  color: #000000;
  line-height: 1.5;
  margin-top: 10px;
}

.detail-label-project {
  color: #000000;
  font-weight: 500;
}

.detail-colon-project {
  color: #000000;
  font-weight: 400;
  text-align: center;
}

.detail-value-project {
  font-weight: 400;
  line-height: 1.5;
}

/* ----------------------------------
   ทำให้รองรับหน้าจอมือถือ (Responsive)
----------------------------------- */
@media (max-width: 768px) {
  .card-image-wrapper {
    width: 100%;
    margin-bottom: 15px;
  }

  .card-content-project {
    width: 100%;
    padding-left: 0;
  }

  .card-image-wrapper {
    width: 100%;
    flex: 0 0 auto;
    padding: 12px;
  }
}
@media (max-width: 767px) {
  .card-project {
    flex-direction: column;
    height: auto;
  }

  .card-header {
    font-size: 20px;
  }

  .card-title {
    font-size: 20px;
  }

  .details-grid {
    font-size: 14px;
  }
}
@media (max-width: 767px) {
  header .header-top-bar {
    display: block;
    height: 50px;
  }
}

@media (max-width: 767px) {
  .card-image-wrapper img {
    height: 280px;
  }

  .card-header-project {
    font-size: 20px;
    padding: 10px 20px;
  }

  .card-title-project {
    font-size: 20px;
  }

  .details-grid-project {
    font-size: 14px;
  }

  .card-body-project {
    padding: 15px 25px;
  }
}

/* ----------------------------------
   ปรับการแสดงผลสำหรับ iPad และ มือถือ (Responsive)
----------------------------------- */
@media (max-width: 1199px) {
  .card-project {
    flex-direction: column;
  }

  .card-image-wrapper {
    width: 100%;
    flex: unset;
    padding: 12px 12px 0 12px;
  }

  .card-image-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
  }

  .card-content-project {
    width: 100%;
    padding-left: 0;
  }

  .card-body-project {
    padding: 15px 20px 20px 20px;
    flex-grow: 0;
  }
}

/* ----------------------------------
           สไตล์ของการ์ดแต่ละใบ
        ----------------------------------- */
.about-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px 10px;
  border-radius: 20px;
  text-align: center;
  color: #273666;
  height: 100%;
}

.card-outline {
  border: 2px solid #e0e0e0;
}

.card-solid {
  background-color: #d3d3d3;
  border: 2px solid transparent;
}

.stat-title {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.stat-icon {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
}

.stat-icon img {
  max-height: 65px;
}

.stat-value {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #273666;
  margin-bottom: 0;
}

.stat-value.small-text {
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 991px) {
  .stat-title {
    font-size: 16px;
  }
  .stat-value {
    font-size: 16px;
  }
  .stat-icon img {
    max-height: 50px;
  }
  .stat-value.small-text {
    font-size: 14px;
  }
}

/* ----------------------------------
           สไตล์ของการ์ดหลัก
        ----------------------------------- */
.branch-card {
  width: 100%;
  border-radius: 24px;
  padding: 40px 50px;
  border: 1px solid #d3d3d3;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.04);
  color: #273666;
}

.card-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 30px;
}

.map-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 70px;
}

.branch-list {
  list-style: none;
  padding: 0;
}

.branch-list li {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 5px;
  position: relative;
  color: #273666;
}

.branch-list li strong {
  font-weight: 600;
}

.mission-vision::after {
  content: "";
  display: block;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(229, 230, 235, 1) 30%,
    rgba(73, 83, 120, 1) 60%,
    rgba(24, 37, 84, 1) 100%
  );
  width: 100%;
  height: 2px;
  margin: 40px 0;
}

.exp::after {
  content: "";
  display: block;
  background: linear-gradient(
    270deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(229, 230, 235, 1) 30%,
    rgba(73, 83, 120, 1) 60%,
    rgba(24, 37, 84, 1) 100%
  );
  width: 100%;
  height: 2px;
  margin: 40px 0;
}

@media (max-width: 600px) {
  .sticky-buttons li a img {
    width: 40px;
  }
  .branch-card {
    padding: 30px 20px;
  }
  .map-section {
    margin-bottom: 30px;
  }
  .branch-list li {
    font-size: 15px;
  }
}

/* สินค้าประกัน */

.insurance-card {
  width: 100%;
  /* max-width: 400px; */
  padding: 10px;
  height: 100%;
}

.image-wrapper {
  position: relative;
  width: 100%;
}

.icon-badge {
  position: absolute;
  top: -40px;
  left: 0;
  display: flex;
  align-items: center;
}

.icon-badge img {
  width: 80px;
  height: auto;
}

.insurance-card-title {
  margin-top: 20px;
  letter-spacing: -0.3px;
  text-transform: uppercase;
}

.insurance-card-title a {
  color: #121b3e;
  font-size: 16px;
  font-weight: 600;
  display: block;
  line-height: 1.3;
}

@media (max-width: 991px) {
  .icon-badge {
    top: -30px;
  }

  .icon-badge img {
    width: 45%;
  }
}

.text-editer h1,
.text-editer h2,
.text-editer h3,
.text-editer h4,
.text-editer h5,
.text-editer h6,
.text-editer p {
  font-size: inherit !important;
  margin-bottom: auto;
  color: initial !important;
}
.text-editer ul li {
  list-style: inherit !important;
  color: initial !important;
}

/* ----------------------------------
           คอนเทนเนอร์หลักของ Timeline
----------------------------------- */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
}

.timeline-container {
  position: relative;
  width: 100%;
}

/* .timeline-container::before {
  content: "";
  position: absolute;
  background-color: #d1d2d4;
  border-radius: 10px;
  top: -30px;
  bottom: -30px;
  left: 40px;
  width: 10px;
  z-index: 0;
} */

.timeline-container::before {
  content: "";
  position: absolute;
  background-color: #d1d2d4;
  border-radius: 10px;
  top: -10px;
  bottom: 30px;
  left: 40px;
  width: 10px;
  z-index: 0;
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateX(50px);
  animation: slideInFade 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.timeline-item:nth-child(1) {
  animation-delay: 0.2s;
}
.timeline-item:nth-child(2) {
  animation-delay: 0.5s;
}
.timeline-item:nth-child(3) {
  animation-delay: 0.8s;
}
.timeline-item:nth-child(4) {
  animation-delay: 1.1s;
}

.timeline-marker {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-right: 30px;
}

.timeline-marker span:first-child {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-content {
  background-color: transparent;
  color: #000000;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 400;
  padding-right: 20px;
}

@keyframes slideInFade {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 991px) {
  .timeline-grid {
    grid-template-columns: 1fr; /* ปรับเหลือ 1 คอลัมน์เมื่อดูบนหน้าจอเล็ก */
    gap: 50px;
  }
}

/* ----------------------------------
           สไตล์ของการ์ดแต่ละใบ
        ----------------------------------- */
.service-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(252, 252, 252, 1) 50%,
    rgba(245, 245, 245, 1) 100%
  );
  border-radius: 24px;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  margin-bottom: 20px;
}

/* ส่วนไอคอนด้านซ้าย */
.service-icon {
  /* flex: 0 0 100px;
  display: flex;
  justify-content: center;
  margin-right: 30px; */
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin-right: 0;
  margin-bottom: 30px;
}

.service-icon img {
  height: 80px;
}

.service-content {
  flex: 1;
}

.service-title {
  color: #273767;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-list {
  list-style: none;
  color: #273767;
  padding-left: 0;
  margin-bottom: 0;
}

.service-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background-color: #273767;
  border-radius: 50%;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-auto-flow: column;
  column-gap: 20px;
}

/* ----------------------------------
           คอนเทนเนอร์ครอบรูปภาพ (Flexbox/Grid)
        ----------------------------------- */

.card-container-about img {
  margin-top: -100px;
}

.border-left-footer {
  border-left: 3px solid #e2b849;
}

@media (max-width: 1199px) {
  .border-left-footer {
    border-left: none;
  }
}

@media (min-width: 991px) and (max-width: 1199px) {
  .card-container-about img {
    margin-top: -70px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .card-container-about img {
    margin-top: -90px;
  }
}

@media (max-width: 991px) {
  .card-container-about img {
    margin-top: 0;
  }
  .timeline-marker {
    width: 75px;
    height: 75px;
    margin-right: 20px;
  }
  .timeline-container::before {
    left: 32px;
    top: -20px;
    bottom: -20px;
  }
  .timeline-content {
    font-size: 16px;
  }

  .service-icon img {
    height: 80px;
  }
  .service-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  .service-icon {
    margin-right: 0;
    margin-bottom: 20px;
  }
  .service-list li {
    text-align: left;
  }
  .two-columns {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
  }

  .service-title {
    font-size: 20px;
  }

  .service-list li {
    font-size: 16px;
  }
}

.hero-content {
  width: 50%;
  padding-left: 0;
  text-align: center;
}

@media (max-width: 992px) {
  .hero-content {
    width: 60%;
    padding-left: 5%;
  }
  .hero-content h1 {
    font-size: 40px;
  }
  .hero-content h2 {
    font-size: 18px;
  }
  .hero-content p {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    width: 100%;
    padding-left: 0;
  }
}

.step-card {
  background-color: #fff;
  border-radius: 20px;
  padding: 25px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  height: 100%;
}

.step-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.step-number {
  background-color: #111d47;
  color: #d5b048;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 400;
  font-size: 16px;
  margin-right: 10px;
  flex-shrink: 0;
}

.step-title {
  color: #111d47;
  font-size: 20px;
  font-weight: 600;
  padding-right: 10px;
  white-space: nowrap;
}

/* เส้นเชื่อมต่อระหว่างการ์ด */
.card-step:not(:last-child) .step-header::after {
  content: "";
  position: absolute;
  background: url("../img/caim-border.png");
  background-repeat: no-repeat;
  top: 50%;
  left: 90%;
  width: 100%;
  height: 12px;
  transform: translateY(-50%);
  z-index: 1;
}

/* รูปภาพและไอคอน */
.step-visual {
  position: relative;
  margin-top: 15px;
  margin-bottom: 20px;
}

.icon-circle {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.step-visual img {
  width: 100%;
}

.step-details {
  flex-grow: 1;
  margin-bottom: 20px;
}

.step-details ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
  color: #000000;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}

.step-details li {
  list-style: disc;
  margin-bottom: 3px;
}

.step-footer {
  background-color: #dddddd;
  border-radius: 12px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-footer .footer-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-footer .footer-icon img {
  height: 30px;
}

.footer-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.footer-text strong {
  color: #111d47;
  font-size: 12px;
  font-weight: 600;
}

.footer-text span {
  color: #111d47;
  font-size: 12px;
}

/* สำหรับหน้าจอขนาดเล็ก */
@media (max-width: 1199px) {
  .card-step:not(:last-child) .step-header::after,
  .card-step:not(:last-child) .step-header::before {
    display: none;
  }
}

/* banner */
.banner-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banner-bg {
  width: 100%;
  height: auto;
  display: block;
}

.left-content {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  text-align: center;
}

.left-content h1 {
  color: #111d47;
  font-size: clamp(24px, 4.2vw, 50px);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 10px 0;
}

.subtitle-badge {
  background: linear-gradient(
    180deg,
    rgba(236, 235, 233, 1) 0%,
    rgba(234, 221, 188, 1) 50%,
    rgba(231, 203, 129, 1) 100%
  );
  color: #111d47;
  font-size: clamp(12px, 1.6vw, 22px);
  font-weight: 400;
  padding: 0.4em 1.2em;
  border-radius: 50px;
  margin-bottom: clamp(20px, 4vw, 50px);
  box-shadow: 0 4px 10px rgba(230, 197, 122, 0.4);
}

.cta-btn {
  background-color: #111d47;
  color: #ffffff;
  font-size: clamp(12px, 1.5vw, 20px);
  font-weight: 500;
  text-decoration: none;
  padding: 0.6em 1.5em;
  border-radius: clamp(10px, 1vw, 15px);
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background-color: #111d47;
  color: #ffffff;
  transform: scale(1.02);
}

.right-content {
  position: absolute;
  bottom: 4%;
  right: 3%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.right-content h3 {
  color: #111d47;
  font-size: clamp(12px, 1.8vw, 24px);
  font-weight: 600;
  margin: 0;
  line-height: 1.8;
}

.circles-group {
  display: flex;
  gap: clamp(8px, 1.2vw, 20px);
}

.circle-item {
  width: clamp(25px, 6vw, 65px);
  height: clamp(25px, 6vw, 65px);
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(248, 240, 219, 1) 50%,
    rgba(236, 215, 159, 1) 100%
  );
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.circle-item:hover {
  transform: translateY(-5px);
}

.circle-item span {
  color: #111d47;
  font-size: clamp(5px, 0.8vw, 12px);
  font-weight: 500;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .right-content {
    display: none;
  }

  .left-content h1 {
    font-size: 16px;
    margin: 0 0 10px 0;
  }

  .subtitle-badge {
    font-size: 12px;
    padding: 0 15px;
    margin-bottom: 10px;
  }

  .cta-btn {
    font-size: 10px;
    padding: 0 20px;
    border-radius: 5px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .left-content h1 {
    font-size: 30px;
  }

  .left-content {
    transform: translateY(-40%);
  }

  .subtitle-badge {
    margin-bottom: 20px;
  }

  .right-content h3 {
    font-size: 18px;
  }

  .circle-item {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 992px) and (max-width: 1299px) {
  .left-content h1 {
    font-size: 40px;
  }

  .left-content {
    transform: translateY(-45%);
  }

  .subtitle-badge {
    margin-bottom: 30px;
  }

  .right-content h3 {
    font-size: 18px;
  }

  .circle-item {
    width: 50px;
    height: 50px;
  }
}

/* product-2 */
.btn-product-2 {
  color: #131d46;
  background-color: #e1b848;
  border: 1px solid #e1b848;
  padding: 8px 20px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
}

.btn-product-2:hover {
  color: #131d46;
  background-color: transparent;
  border: 1px solid #131d46;
}

/* testimonial */
.testimonial-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 30px 25px 30px 25px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.testimonial-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: #e2b849;
}

.card-user {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
}

.user-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.user-name {
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.user-name span {
  font-size: 14px;
  color: #334155;
  font-weight: 500;
}

/* ตัวกล่องการ์ดสีขาว มุมโค้งมน */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  overflow: hidden;
}

.service-icon-wrapper {
  position: absolute;
  top: 30px;
  right: 35px;
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* หัวข้อบริการ สีน้ำเงินเข้ม */
.service-title {
  font-size: 22px;
  font-weight: 600;
  color: #1e355d;
  margin: 0 0 0 0;
  line-height: 1.3;
  padding-right: 80px;
}

@media (max-width: 768px) {
  .service-icon-wrapper {
    top: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
  }
}

@media (max-width: 1199px) {
  header .navbar-brand img {
    max-height: 50px;
  }
  .navbar .navbar-nav .dropdown .dropdown-menu {
    padding: 15px 0 15px;
  }

  .navbar .navbar-nav .simple-dropdown .dropdown-menu li {
    padding: 0 10px 0 10px;
  }

  .navbar .navbar-nav .dropdown .dropdown-menu a {
    font-size: 12px;
    line-height: 16px;
  }

  .navbar .navbar-nav .simple-dropdown .dropdown-menu .dropdown i {
    right: 20px;
  }
}

@media (min-width: 1200px) and (max-width: 1299px) {
  .card-user img {
    width: 60px !important;
  }

  .testimonial-card {
    padding: 30px 15px 30px 15px;
  }

  .card-content .review-text {
    font-size: 14px;
    line-height: 20px;
  }
  .user-name span {
    font-size: 12px;
  }
  .review-star-icon {
    font-size: 12px;
  }
}

@media (min-width: 1300px) and (max-width: 1399px) {
  .navbar .navbar-nav .dropdown .dropdown-menu a {
    font-size: 12px;
    line-height: 16px;
  }

  .navbar .navbar-nav .simple-dropdown .dropdown-menu .dropdown i {
    right: 20px;
  }

  .card-user img {
    width: 60px !important;
  }

  .testimonial-card {
    padding: 30px 15px 30px 15px;
  }

  .card-content .review-text {
    font-size: 14px;
    line-height: 20px;
  }
  .user-name span {
    font-size: 12px;
  }
  .review-star-icon {
    font-size: 12px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  header .navbar-brand img {
    max-height: 40px;
  }
  .navbar .navbar-nav .nav-link {
    font-size: 12px;
    font-weight: 400;
  }
  .tab-style-03 .nav-tabs {
    top: 25%;
  }
  .tab-style-03 .nav-tabs .nav-link {
    font-size: 10px;
    padding: 10px 10px 10px 10px;
    border-radius: 0px 15px 15px 0px;
  }
  .sticky-buttons img {
    width: 30px;
  }
  .step-footer .footer-icon img {
    height: 24px;
  }

  .navbar .navbar-nav .simple-dropdown .dropdown-menu {
    width: 210px;
  }

  .navbar .navbar-nav .dropdown .dropdown-menu a {
    font-size: 10px;
    line-height: 14px;
  }

  .navbar .navbar-nav .simple-dropdown .dropdown-menu li {
    padding: 0 10px 0 10px;
  }
  .navbar .navbar-nav .simple-dropdown .dropdown-menu .dropdown i {
    right: 10px;
    top: 0;
  }
  .stat-title {
    font-size: 14px;
  }
  .stat-icon img {
    max-height: 50px;
  }
  .stat-value {
    font-size: 14px;
  }
  .service-icon-wrapper {
    width: 50px;
    height: 50px;
  }
  .service-title {
    font-size: 20px;
  }
  .service-list li {
    font-size: 12px;
  }
  .timeline-container::before {
    left: 30px;
  }
  .timeline-marker {
    width: 70px;
    height: 70px;
  }
  .timeline-content {
    font-size: 14px;
  }
  .btn-blog-2 {
    font-size: 10px;
  }
}

@media (min-width: 1400px) and (max-width: 1499px) {
  .navbar .navbar-nav .dropdown .dropdown-menu a {
    font-size: 12px;
    line-height: 16px;
  }

  .tab-style-03 .nav-tabs .nav-link {
    font-size: 12px;
    padding: 20px 15px 20px 15px;
  }

  .navbar .navbar-nav .simple-dropdown .dropdown-menu .dropdown i {
    right: 15px;
  }

  .navbar .navbar-nav .simple-dropdown .dropdown-menu li {
    padding: 0 10px 0 10px;
  }
}

@media (min-width: 1500px) and (max-width: 1599px) {
  .navbar .navbar-nav .dropdown .dropdown-menu a {
    font-size: 12px;
    line-height: 16px;
  }

  .tab-style-03 .nav-tabs .nav-link {
    font-size: 12px;
    padding: 20px 15px 20px 15px;
  }

  .navbar .navbar-nav .simple-dropdown .dropdown-menu .dropdown i {
    right: 15px;
  }

  .navbar .navbar-nav .simple-dropdown .dropdown-menu li {
    padding: 0 10px 0 10px;
  }
}

/* COOKIE CONSENT */
:root {
  --cookie-navy: #2b3d7c;
  --cookie-navy-dark: #202e5e;
  --cookie-gold: #d5b048;
  --cookie-gold-hover: #c29b36;
  --cookie-text: #2a2a2a;
  --cookie-text-dim: #6b6f7e;
  --cookie-border: #e7e7ec;
}

/* Banner */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(20, 25, 60, 0.16);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner__body {
  flex: 1 1 480px;
}

.cookie-banner__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--cookie-text);
  margin: 0 0 0;
}

.cookie-banner__text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--cookie-text-dim);
  margin: 0;
}

.cookie-banner__text a {
  color: var(--cookie-gold);
  font-weight: 600;
  text-decoration: none;
}

.cookie-banner__text a:hover {
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cookie-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.cookie-link:hover {
  color: var(--cookie-navy-dark);
}

.cookie-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 5px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: background 0.2s ease;
}

.cookie-btn--primary {
  background: var(--cookie-gold);
  color: var(--cookie-navy-dark);
}

.cookie-btn--primary:hover {
  background: var(--cookie-gold-hover);
}

.cookie-btn--sm {
  padding: 5px 16px;
  font-size: 12px;
}

/* Modal overlay */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 25, 45, 0.55);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal {
  background: #ffffff;
  color: var(--cookie-text);
  border-radius: 12px;
  max-width: 620px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(20, 25, 60, 0.25);
  scrollbar-width: thin;
  scrollbar-color: var(--cookie-navy-dark) #f1f1f5;
}

.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--cookie-border);
  position: sticky;
  top: 0;
  background: #fff;
  border-radius: 12px 12px 0 0;
}

.cookie-modal__header h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--cookie-navy);
  margin: 0;
}

.cookie-modal__header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cookie-modal__close {
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: var(--cookie-text-dim);
  cursor: pointer;
  padding: 4px;
}

.cookie-modal__close:hover {
  color: var(--cookie-text);
}

.cookie-modal__body {
  padding: 8px 24px;
}

.cookie-category {
  border: 1px solid var(--cookie-border);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 14px 0;
}

.cookie-category__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.cookie-category__title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--cookie-text);
  margin: 0;
}

.cookie-category__always-on {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cookie-gold-hover);
  white-space: nowrap;
}

.cookie-category__desc {
  font-size: 13px;
  color: var(--cookie-text-dim);
  line-height: 1.65;
  margin: 0;
}

.cookie-toggle {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle__track {
  position: absolute;
  inset: 0;
  background: #d7d9e2;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-toggle__track::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.cookie-toggle input:checked + .cookie-toggle__track {
  background: var(--cookie-gold);
}

.cookie-toggle input:checked + .cookie-toggle__track::before {
  transform: translateX(18px);
}

.cookie-modal__footer {
  display: flex;
  justify-content: flex-end;
  padding: 18px 24px 22px;
}

@media (max-width: 640px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 18px;
  }

  .cookie-modal__header {
    padding: 15px 20px;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .cookie-modal__header {
    flex-wrap: wrap;
  }

  .cookie-modal__header h3 {
    font-size: 12px;
  }

  .cookie-category__title {
    font-size: 13px;
  }

  .cookie-category__desc {
    font-size: 10px;
  }
  .cookie-category {
    padding: 10px 14px;
    margin: 10px 0;
  }

  .cookie-modal__footer {
    padding: 15px 20px 15px;
  }
}

/* Transitions */
.cookie-banner-slide-enter-active,
.cookie-banner-slide-leave-active {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.cookie-banner-slide-enter-from,
.cookie-banner-slide-leave-to {
  opacity: 0;
  transform: translateY(24px);
}

.cookie-modal-fade-enter-active,
.cookie-modal-fade-leave-active {
  transition: opacity 0.25s ease;
}

.cookie-modal-fade-enter-from,
.cookie-modal-fade-leave-to {
  opacity: 0;
}

.cookie-modal-pop-enter-active {
  transition:
    opacity 0.25s ease,
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-modal-pop-leave-active {
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.cookie-modal-pop-enter-from {
  opacity: 0;
  transform: translateY(16px) scale(0.96);
}

.cookie-modal-pop-leave-to {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
}

/* pop-up */
:root {
  --popup-close-bg: rgba(0, 0, 0, 0.55);
  --popup-close-bg-hover: rgba(0, 0, 0, 0.75);
}

.img-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 30, 0.65);
  z-index: 10500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.img-popup {
  position: relative;
  display: inline-flex;
  max-width: 90vw;
  max-height: 90vh;
}

/* The image itself decides the popup's shape: landscape stays wide,
     portrait stays tall. object-fit + max constraints avoid cropping. */
.img-popup__img {
  display: block;
  max-width: 70vw;
  max-height: 70vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.img-popup__img--no-link {
  cursor: default;
}

.img-popup__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--popup-close-bg);
  color: #fff;
  border: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.img-popup__close:hover {
  background: var(--popup-close-bg-hover);
}

.img-popup__footer {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 90vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-popup__dontshow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  background: rgba(0, 0, 0, 0.4);
  padding: 0 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.img-popup__dontshow input {
  cursor: pointer;
}

@media (max-width: 640px) {
  .img-popup__close {
    top: -12px;
    right: -12px;
    width: 30px;
    height: 30px;
  }

  .img-popup__footer {
    bottom: -45px;
  }
}

/* Transition */
.img-popup-fade-enter-active,
.img-popup-fade-leave-active {
  transition: opacity 0.25s ease;
}

.img-popup-fade-enter-from,
.img-popup-fade-leave-to {
  opacity: 0;
}

.img-popup-pop-enter-active {
  transition:
    opacity 0.25s ease,
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.img-popup-pop-leave-active {
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.img-popup-pop-enter-from {
  opacity: 0;
  transform: scale(0.92);
}

.img-popup-pop-leave-to {
  opacity: 0;
  transform: scale(0.96);
}
