:root {
  --primary: #0c4aad;
  --primary-dark: #062c6b;
  --accent: #ff3b30;
  --accent-2: #ffb400;
  --bg: #0a1f3f;
  --text: #1b1f24;
  --muted: #6b7280;
  --white: #ffffff;
  --panel: #f5f7fb;
  --line: #e5e7eb
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0
}

body {
  font-family: "Source Han Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: #ffffff;
  padding-top: 100px
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600
}

.btn-primary {
  background: var(--accent);
  color: #fff
}

.btn-secondary {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid #fff
}

.mobile-menu-btn {
  display: none
}

.site-header {
  background: linear-gradient(180deg, #0b2248, #0a1e40);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 30;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
  transition: background 0.3s ease, backdrop-filter 0.3s ease
}

.site-header.scrolled {
  background: rgba(10, 30, 64, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .15)
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 100px;
  transition: min-height 0.3s ease
}

.site-header.scrolled .header-inner {
  min-height: 72px
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none
}

.logo img {
  height: 70px;
  display: block
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px
}

.main-nav a {
  display: inline-block;
  padding: 14px 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700
}

.main-nav>ul>li>a {
  border-bottom: 2px solid transparent
}
.main-nav>ul>li>a.on
{
	 color: var(--accent-2);
}
.main-nav>ul>li>a:hover {
 
	 color: var(--accent-2);
  border-bottom-color: var(--accent-2)
}

.main-nav li {
  position: relative
}

.main-nav .dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  background: rgba(10, 30, 64, 0.95);
  border: none;
  border-radius: 0;
  min-width: 180px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
  display: none;
  padding: 10px 0;
  backdrop-filter: blur(5px);
}

.main-nav .dropdown li a {
  padding: 12px 20px;
  white-space: nowrap;
  color: #fff;
  display: block;
  transition: background 0.2s;
}

.main-nav .dropdown li a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-2);
}

.main-nav li:hover>.dropdown {
  display: block
}

.main-nav .has-submenu>a {
  padding-right: 24px;
  position: relative
}

.main-nav .has-submenu>a::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-20%);
  border: 4px solid transparent;
  border-top-color: #fff;
  transition: transform .2s
}

.main-nav .has-submenu:hover>a::after {
  transform: translateY(-20%) rotate(180deg);
  border-top-color: var(--accent-2)
}

.submenu-toggle {
  display: none;
}

.hero {
  position: relative;
  background: linear-gradient(135deg, #071d3a 0%, #0a2c5a 50%, #0e3c82 100%);
  color: #fff
}

.hero input[type=radio] {
  display: none
}

.slides {
  position: relative;
  height: 600px;
  overflow: hidden
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .5s ease, transform .6s ease;
  display: flex;
  align-items: center
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.1) brightness(.8)
}

.slide-bg.alt {
  background-image: radial-gradient(ellipse at 20% 20%, #133b77 0%, #092a56 40%, #071f3f 100%)
}

.slide-bg.alt2 {
  background-image: radial-gradient(ellipse at 80% 30%, #15408a 0%, #0b2f63 40%, #081f3d 100%)
}

.slide .slide-content {
  position: relative;
  z-index: 2;
  width: 100%
}

.slide .slide-content h1 {
  font-size: 40px;
  margin: 0 0 12px
}

.slide .slide-content p {
  font-size: 18px;
  margin: 0 0 24px;
  color: #cfe0ff
}

.slide .actions {
  display: flex;
  gap: 12px
}

.arrows {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  z-index: 3
}

.arrows .prev,
.arrows .next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-family: sans-serif;
  user-select: none
}

.arrows .prev::before {
  content: '<'
}

.arrows .next::before {
  content: '>'
}

.arrows .prev:hover,
.arrows .next:hover {
  background: rgba(255, 255, 255, .25)
}

.indicators {
  position: absolute;
  bottom: 24px;
  left: 0;
  width: 100%;
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 0;
  z-index: 10
}

.indicators label {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  cursor: pointer
}

#slide1:checked~.slides .s1 {
  opacity: 1;
  transform: scale(1);
  z-index: 1
}

#slide2:checked~.slides .s2 {
  opacity: 1;
  transform: scale(1);
  z-index: 1
}

#slide3:checked~.slides .s3 {
  opacity: 1;
  transform: scale(1);
  z-index: 1
}

#slide1:checked~.indicators label[for=slide1] {
  background: #fff
}

#slide2:checked~.indicators label[for=slide2] {
  background: #fff
}

#slide3:checked~.indicators label[for=slide3] {
  background: #fff
}

/* Added rules in assets/css/styles.css */
#slide4:checked~.slides .s4 {
  opacity: 1;
  transform: scale(1);
  z-index: 1
}

#slide5:checked~.slides .s5 {
  opacity: 1;
  transform: scale(1);
  z-index: 1
}

#slide4:checked~.indicators label[for=slide4] {
  background: #fff
}

#slide5:checked~.indicators label[for=slide5] {
  background: #fff
}
.services {
  background: var(--panel);
  padding: 48px 0
}

.services h2 {
  text-align: center;
  margin: 0 0 32px;
  font-size: 28px;
  color: var(--text)
}

.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch
}

.service-grid .service-card {
  position: relative;
  perspective: 1000px;
  display: block
}

.service-grid .flip-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none
}

.service-grid .card-3d {
  display: block;
  position: relative;
  height: 275px;
  background-color: transparent;
  border: none;
  border-radius: 16px;
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
  will-change: transform
}

.service-grid .service-card:hover .card-3d {
  transform: rotateY(180deg);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .12)
}

.service-grid .flip-toggle:checked+.card-3d {
  transform: rotateY(180deg)
}

.service-grid .card-3d {
  cursor: pointer
}

.service-grid .card-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 16px;
  backface-visibility: hidden;
  overflow: hidden
}

.service-grid .card-face.front {
  background: linear-gradient(to right, #ffffff, transparent);
  border: 2px solid #ffffff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  padding: 35px 20px;
  justify-content: space-between;
}

.service-grid .card-face.back {
  background: #1861C0;
  color: #fff;
  transform: rotateY(180deg);
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  gap: 10px
}

.service-grid .card-face.back .icon {
  display: none
}

.service-grid .icon img {
  width: 120px;
  height: 120px
}

.service-grid h3 {
  font-size: 21px;
  font-weight: 700;
  margin: 0;
  text-align: center
}

.service-grid .back h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px
}

.service-grid .back p {
  margin: 0;
  text-align: center;
  line-height: 1.6;
  padding: 0;
  font-size: 20px;
  color: #fff
}

.brokers {
  background: #f9fafb;
  padding: 48px 0
}

.brokers h2 {
  margin: 0 0 20px
}

.broker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.broker-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .3s ease, transform .3s ease
}

.broker-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  transform: translateY(-2px)
}

.broker-card .logo {
  height: 44px;
  border-radius: 8px;
  background: #eef2ff;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700
}

.broker-card .metrics {
  display: flex;
  gap: 16px;
  color: #334155;
  padding-left: 20px;
}

.broker-card .details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  padding-left: 20px;
  color: #475569
}

.broker-card .actions {
  display: flex;
  gap: 10px;
  justify-content: center
}

.broker-card .actions .btn {
  flex: 1;
  text-align: center;
  justify-content: center
}

.broker-card .actions .btn-primary {
  background: #003897;
  color: #fff;
  transition: background .2s
}

.broker-card .actions .btn-primary:hover {
  background: #002a70
}

.broker-card .actions .btn-secondary {
  background: #fff;
  color: #003897;
  border: 1px solid #003897;
  transition: background .2s
}

.broker-card .actions .btn-secondary:hover {
  background: #f0f5ff
}

.strip {
  padding: 24px 0;
  background: #fff
}

.strip-inner {
  position: relative;
  min-height: 180px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  overflow: hidden
}

.strip-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1
}

.strip-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 32px;
  align-items: center;
  justify-content: center;
  gap: 32px;
  width: 100%;
  display: flex;
  flex-wrap: wrap
}

.strip-content h3 {
  font-size: 28px;
  margin: 0;
  font-weight: 700;
  line-height: 1
}

.strip-content p {
  font-size: 16px;
  margin: 0;
  opacity: 0.9;
  padding-top: 6px
}

.strip-actions {
  display: flex;
  gap: 16px
}

.strip-actions .btn {
  min-width: 140px
}

.news {
  background: url('../images/good_left.png') left top no-repeat, url('../images/good.png') right bottom / auto 100% no-repeat, linear-gradient(180deg, #0d2f5c, #0b274d);
  padding: 36px 0;
  color: #fff
}

.news-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: center
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px
}

.news-header h2 {
  margin: 0
}

.more-link {
  color: #cfe0ff;
  text-decoration: none;
  font-size: 14px
}

.more-link:hover {
  color: #fff;
  text-decoration: underline
}

.news-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px
}

.news-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .06);
  padding: 12px;
  border-radius: 10px;
  transition: background .2s, transform .2s
}

.news-list li:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateX(4px)
}

.news-list .date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 28px;
  border-radius: 8px;
  background: #0b3a89;
  color: #cfe0ff;
  font-weight: 600
}

.news-list a {
  color: #ebefff;
  text-decoration: none
}

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

.mascot .figure {
  width: 220px;
  height: 260px;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 20%, #6ba5ff 0%, #3572e6 40%, #153b87 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35)
}

.categories {
  background: #fff;
  padding: 48px 0
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px
}

.category-card {
  background: #f4f7ff;
  border: 1px solid var(--line);
  border-radius: 12px
}

.category-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: #0f2f66;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px
}

.category-card h3 {
  margin: 0;
  color: #fff;
  font-size: 18px
}

.category-card .more-btn {
  color: #cfe0ff;
  text-decoration: none;
  font-size: 14px
}

.category-card .more-btn:hover {
  color: #fff;
  text-decoration: underline
}

.category-card ul {
  list-style: none;
  margin: 0;
  padding: 16px;
  display: grid;
  gap: 10px
}

.category-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  transition: transform .2s, box-shadow .2s, border-color .2s
}

.category-card li:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
  border-color: #cbd5e1
}

.category-card .date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 28px;
  border-radius: 8px;
  background: #e2e8f0;
  color: #0f172a;
  font-weight: 600
}

.category-card a {
  color: #0f172a;
  text-decoration: none
}

.contact-cta {
  background: #0a2146;
  color: #fff;
  padding: 36px 0
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.contact-inner h3 {
  margin: 0;
  font-size: 24px
}

.cta-actions {
  display: flex;
  gap: 12px
}

.partners {
  background: #fff;
  padding: 36px 0;
  overflow: hidden
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0
}

.logo-wall {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: max-content;
  animation: scroll 40s linear infinite
}

.logo-wall:hover {
  animation-play-state: paused
}

.logo-wall li {
  flex: 0 0 auto;
  display: flex;
  align-items: center
}

.logo-wall img {
  height: 50px;
  width: auto;
  filter: grayscale(10%);
  opacity: 0.7;
  transition: filter .3s, opacity .3s, transform .3s
}

.logo-wall img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.8)
}

.logo-wall img:hover {
  filter: grayscale(0);
  opacity: 1
}

@keyframes scroll {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

/* List Page Styles */
.page-banner {
  height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4)
}

.page-banner .container {
  position: relative;
  z-index: 1;
  text-align: center
}

.page-banner h1 {
  font-size: 36px;
  margin: 0;
  font-weight: 700
}

.breadcrumb-bar {
  background: #f8fafc;
  padding: 12px 0;
  border-bottom: 1px solid var(--line)
}

.breadcrumb-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.breadcrumb {
  font-size: 14px;
  color: #64748b
}

.breadcrumb a {
  color: #64748b;
  text-decoration: none
}

.breadcrumb a:hover {
  color: var(--primary)
}

.btn-rebate {
  display: inline-block;
  background: #f59e0b;
  color: #fff;
  padding: 6px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s
}

.btn-rebate:hover {
  background: #d97706
}

.content-list {
  padding: 60px 0;
  background: #fff
}

.list-item {
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
  transition: background .2s
}



.list-item:hover {
  background: #f9fafb;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: -20px;
  margin-right: -20px;
  border-radius: 8px;
  border-bottom-color: transparent
}

.list-item h2 {
  margin: 0 0 12px;
  font-size: 20px
}

.list-item h2 a {
  color: var(--text);
  text-decoration: none;
  transition: color .2s
}

.list-item h2 a:hover {
  color: var(--primary)
}

.list-item .meta {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 12px
}

.list-item .meta span {
  display: flex;
  align-items: center
}

.list-item p {
  color: #475569;
  line-height: 1.6;
  margin: 0 0 16px
}

.list-item .read-more {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 6px;
  transition: background .2s
}

.list-item .read-more:hover {
  background: #1d4ed8;
  text-decoration: none
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px
}

.pagination .page-link,.pagination .page-num {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-width: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
  transition: all .2s
}

.pagination .page-link:hover,
.pagination .page-link.active,.pagination .page-num-current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary)
}

.list-item.has-image {
  display: flex;
  gap: 24px;
  align-items: flex-start
}

.list-item .item-image {
  width: 240px;
  height: 160px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden
}

.list-item .item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s
}

.list-item:hover .item-image img {
  transform: scale(1.05)
}

.list-item .item-content {
  flex: 1;
  min-width: 0
}

.list-item.image-right {
  flex-direction: row-reverse;
  background: #f8fafc;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 20px
}

.list-item.image-right:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  body {
    padding-top: 60px;
  }

  .news {
    background: linear-gradient(180deg, #0d2f5c, #0b274d);
    padding: 36px 0;
    color: #fff
  }

  .header-inner {
    padding: 10px 0;
    min-height: 60px;
    height: auto;
    position: relative
  }

  .logo img {
    height: 40px;
  }

  .site-header.scrolled .header-inner {
    min-height: 60px
  }

  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 40
  }

  .mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: 0.3s
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 12px 12px;
    z-index: 35
  }

  .main-nav.active {
    display: block
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0
  }

  .main-nav a {
    color: #333;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #eee
  }

  .main-nav .dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    padding-left: 20px;
    background: #f9f9f9
  }

  .main-nav .dropdown li a {

    color: #000;

  }

  .main-nav li:hover>.dropdown {
    display: none
  }

  .main-nav li.active>.dropdown {
    display: block
  }

  .main-nav .has-submenu>a::after {
    display: none;
  }

  .main-nav .has-submenu>a {
    padding-right: 44px;
  }

  .submenu-toggle {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 10;
  }

  .submenu-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid transparent;
    border-top-color: #666;
    transition: transform 0.2s;
  }

  .main-nav li.active>.submenu-toggle::after {
    transform: translate(-50%, -50%) rotate(180deg);
  }

  .services h2 {
    font-size: 20px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 16px
  }

  .service-grid .card-3d {
    height: auto;
    aspect-ratio: 1 / 1;
  }

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

  .service-grid .card-face.front {
    padding: 20px 15px;
  }

  .service-grid h3 {
    font-size: 16px;
  }

  .service-grid .back p {
    font-size: 14px;
    line-height: 1.4;
  }

  .broker-grid {
    grid-template-columns: 1fr
  }

  .news-inner {
    grid-template-columns: 1fr
  }

  .category-grid {
    grid-template-columns: 1fr
  }

  .strip-content {
    flex-direction: column;
    text-align: center;
    gap: 24px
  }

  .strip-actions {
    justify-content: center;
    width: 100%
  }

  .contact-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px
  }

  .cta-actions {
    flex-direction: column;
    width: 100%
  }

  .cta-actions .btn {
    width: 100%;
    text-align: center
  }

  .slides {
    height: 75vw;
    min-height: 280px
  }

  .hero .slide-content h1 {
    font-size: 24px
  }

  .hero .slide-content p {
    font-size: 16px
  }

  .list-item.has-image {
    flex-direction: column
  }

  .list-item .item-image {
    width: 100%;
    height: 200px
  }

  .list-item.image-right {
    flex-direction: column
  }
}

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 48px 0;
  font-size: 14px;
  line-height: 1.6
}

/* Article Page Styles */
.article-content {
  padding: 40px 0;
  background: #fff
}

.article-body {
  width: 100%
}

.article-header {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px
}

.article-header h1 {
  font-size: 32px;
  color: var(--text);
  margin-bottom: 16px
}

.article-meta {
  display: flex;
  gap: 20px;
  color: #64748b;
  font-size: 14px
}

.article-text {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}
.article-text p {
  margin-bottom: 24px
}

.article-text h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--text)
}

.article-text img {
  max-width: 100%;
  border-radius: 8px;
  margin: 20px 0
}

.article-text blockquote {
  background: #f8fafc;
  border-left: 4px solid var(--primary);
  margin: 30px 0;
  padding: 20px;
  font-style: italic;
  color: #475569
}

.article-nav {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px
}

.article-nav a {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  transition: color .2s
}

.article-nav a:hover {
  color: var(--primary)
}

.legal p {
  margin: 0 0 8px;
  text-align: center;
}

@media (max-width:1024px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr)
  }

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

  .news-inner {
    grid-template-columns: 1fr
  }
}

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

  .broker-grid {
    grid-template-columns: 1fr
  }

  .category-grid {
    grid-template-columns: 1fr
  }

  .contact-inner {
    flex-direction: column;
    gap: 14px
  }

  .slide .slide-content h1 {
    font-size: 28px
  }
}

.broker-img-wrapper {
  width: 100%;
  max-width: 150px;
  height: 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0px;
}

.broker-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Floating Bottom Bar */
.floating-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-image: url('../images/Open-Account-Background.jpg');
  background-size: 100% 100%;
  background-position: center;
  z-index: 100;
  padding: 15px 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

/*
.floating-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 31, 63, 0.9);
  z-index: 1;
}*/

.bar-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.bar-txt {
  color: #fff;
  text-align: left;
}

.bar-txt h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.bar-txt p {
  margin: 4px 0 0;
  font-size: 12px;
  opacity: 0.8;
}

.bar-actions {
  display: flex;
  gap: 20px;
}

.bar-actions .btn {
  padding: 12px 30px;
  border-radius: 0;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.3s;
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.bar-actions .btn:hover {
  opacity: 0.9;
}

.bar-actions .btn-secondary {
  background-color: #b01c2e;
  color: #fff;
  border: none;
}

.bar-actions .btn-primary {
  background-color: #a4c639;
  color: #fff;
}

/* Add padding to footer to prevent floating bar from covering content */
.site-footer {
  padding-bottom: 100px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .floating-bar {
    padding: 12px 0;
  }

  .bar-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .bar-txt {
    text-align: center;
  }

  .bar-txt h3 {
    font-size: 18px;
  }

  .bar-txt p {
    display: none;
  }

  .bar-actions {
    width: 100%;
    justify-content: center;
  }

  .bar-actions .btn {
    flex: 1;
    padding: 10px 12px;
  }
}

/* Broker Card New Layout */
.broker-card .broker-img-wrapper {
  text-align: center;
  margin-bottom: 10px;
}

.broker-stats {
  background-color: #e0f2fe;
  margin: 0 -18px 15px -18px;
  padding: 15px 0;
  display: flex;
  justify-content: space-around;
  border-top: 1px dashed #cbd5e1;
  border-bottom: 1px dashed #cbd5e1;
}

.broker-stats .stat-item {
  text-align: center;
}

.broker-stats .stat-value {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.2;
}

.broker-stats .stat-value.orange {
  color: #ff6600;
}

.broker-stats .stat-value.blue {
  color: #0ea5e9;
}

.broker-stats .stat-label {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
}

.broker-details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 14px;
}

.broker-details-list li {
  display: flex;
  margin-bottom: 8px;
  line-height: 1.4;
}

.broker-details-list .label {
  color: #64748b;
  flex-shrink: 0;
}

.broker-details-list .value {
  color: #334155;
}

/* Broker List Page Styles */
.broker-list-section {
  padding: 40px 0;
  background-color: #f9fafb;
  min-height: 80vh;
}

.page-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #111;
}

.broker-list {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  /* overflow: hidden; Removed to allow hover scale overflow */
}

.broker-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 40px;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  position: relative;
}

.broker-list-item:last-child {
  border-bottom: none;
}

.broker-list-item:hover {
  background-color: #ccfbf1;
  transform: scale(1.02);
  z-index: 10;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  border-bottom-color: transparent;
}

.broker-item-logo {
  flex: 0 0 200px;
  width: 200px;
  height: 75px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.broker-item-logo img {
  width: 100%;
  height: auto;
}

.broker-item-stat {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.broker-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
  line-height: 1;
}

.broker-stat-label {
  font-size: 13px;
  color: #666;
}

.broker-item-info {
  text-align: center;
  flex: 0 0 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.broker-item-info .info-main {
  font-size: 15px;
  color: #d35400;
  /* Orange/Red text */
  margin-bottom: 4px;
}

.broker-item-info .info-sub {
  color: #94a3b8;
  /* Light gray */
  font-size: 13px;
}

/* Specific color for info main text based on image (some are red, some orange) */
.broker-item-info .info-main {
  color: #e76f51;
}

.broker-item-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 0 0 140px;
  align-items: center;
}

.btn-open-account {
  color: #0088cc;
  /* Blue text */
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.2s;
}

.btn-open-account:hover {
  color: #005f8f;
  text-decoration: underline;
}

.btn-details {
  border: 1px solid #cbd5e1;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 12px;
  color: #64748b;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  background: transparent;
}

.btn-details:hover {
  border-color: #94a3b8;
  color: #475569;
  background: #f8fafc;
}

/* Mobile Responsiveness for Broker List */
/* Mobile Responsiveness for Broker List */
@media (max-width: 768px) {
  .broker-list-item {
    flex-wrap: wrap;
    padding: 25px 10px;
    gap: 0;
    justify-content: center;
    text-align: center;
  }

  .broker-item-logo {
    flex: 0 0 100%;
    margin-bottom: 25px;
    justify-content: center;
  }

  .broker-item-stat {
    flex: 0 0 33.33%;
    width: 33.33%;
    margin-bottom: 20px;
    border: none;
    padding: 0;
    flex-direction: column;
    justify-content: flex-start;
  }

  .broker-stat-value {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .broker-stat-label {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    transform: scale(0.95);
  }

  .broker-item-info {
    flex: 0 0 50%;
    margin-top: 10px;
    order: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .broker-item-info .info-main {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .broker-item-info .info-sub {
    color: #2e7d32;
    /* Green color for 'Account Rebate' to match image */
    font-size: 14px;
  }

  .broker-item-actions {
    flex: 0 0 50%;
    margin-top: 10px;
    order: 5;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
  }

  .btn-open-account {
    font-size: 17px;
  }

  .btn-details {
    padding: 6px 24px;
    font-size: 13px;
  }
}

/* Broker Detail Page Styles */
.broker-banner {
  background: linear-gradient(135deg, #004e92 0%, #000428 100%);
  color: #fff;
  padding: 40px 0 20px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

/* Add a subtle chart background effect if desired */
.broker-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/chart-bg-overlay.png');
  /* Placeholder for chart bg */
  opacity: 0.1;
  pointer-events: none;
}

.banner-top h1 {
  font-size: 28px;
  margin: 0 0 30px;
  font-weight: 700;
}

.banner-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.banner-logo {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-logo img {
  max-width: 90%;
  max-height: 90%;
}

.banner-stats {
  display: flex;
  flex: 1;
  justify-content: space-around;
  text-align: center;
}

.stat-box .val {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-box .lbl {
  font-size: 16px;
  opacity: 0.9;
}

.btn-danger {
  background-color: #e31d1a;
  color: #fff;
  padding: 15px 40px;
  font-size: 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-danger::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }

  20% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

.btn-danger:hover {
  background-color: #c01512;
  box-shadow: 0 5px 15px rgba(227, 29, 26, 0.4);
  transform: translateY(-2px);
}

.banner-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 15px;
  font-size: 14px;
  text-align: center;
  opacity: 0.8;
}

/* Layout Grid */
.broker-detail-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  align-items: start;
  margin-bottom: 60px;
}

/* Tabs */
.detail-tabs {
  display: flex;
  border-bottom: 2px solid #0088cc;
  margin-bottom: 30px;
}

.detail-tabs a {
  padding: 12px 24px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  background: #f5f5f5;
  margin-right: 2px;
  transition: all 0.2s;
}

.detail-tabs a.active,
.detail-tabs a:hover {
  background: #0088cc;
  color: #fff;
}

/* Section Blocks */
.section-block {
  margin-bottom: 40px;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  border-left: 4px solid #0088cc;
  padding-left: 10px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  background: #f9f9f9;
  padding: 20px;
  border: 1px dashed #ddd;
  margin-bottom: 20px;
}

.info-item {
  font-size: 14px;
  color: #333;
}

.info-item.full {
  grid-column: span 2;
}

.info-item .label {
  color: #888;
  margin-right: 5px;
}

.info-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  background: #f5f5f5;
  padding: 15px;
  border-radius: 4px;
}

/* Tables Grid */
.tables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.detail-table td {
  border: 1px solid #eee;
  padding: 12px;
}

.detail-table tr:nth-child(odd) td:first-child {
  background: #f9f9f9;
  width: 40%;
  color: #666;
}

.detail-table tr:nth-child(even) td:first-child {
  background: #fff;
  width: 40%;
  color: #666;
}

/* Sidebar */
.detail-sidebar {
  position: sticky;
  top: 100px;
  /* Adjust based on header height */
  background: #fff;
  border: 1px solid #eee;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: #eee;
}

.timeline li {
  display: flex;
  margin-bottom: 25px;
  position: relative;
}

.timeline li:last-child {
  margin-bottom: 0;
}

.timeline .num {
  width: 30px;
  height: 30px;
  background: #ddd;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 15px;
  z-index: 2;
  flex-shrink: 0;
}

.timeline li:hover .num {
  background: #0088cc;
}

.timeline .content h4 {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 600;
}

.timeline .content p {
  margin: 0;
  font-size: 12px;
  color: #888;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* Mobile Responsiveness for Detail Page */
@media (max-width: 768px) {
  .broker-detail-layout {
    grid-template-columns: 1fr;
  }

  .banner-main {
    flex-direction: column;
    text-align: center;
  }

  .banner-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .stat-box {
    width: 45%;
  }

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

  .detail-tabs {
    flex-wrap: wrap;
  }

  .detail-tabs a {
    flex: 1 0 33.33%;
    text-align: center;
    padding: 10px 5px;
    font-size: 13px;
  }
}

/* Tab Panes */
.tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Us Page Styles */
.about-content-box {
  border: 1px solid #e5e7eb;
  padding: 40px;
  padding-top:0px;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.about-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #111;
  position: relative;
  padding-bottom: 10px;
}

.about-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #0088cc;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .about-content-box {
    padding: 20px;
  }

  .about-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .pagination {
    flex-wrap: wrap;
    gap: 6px;
  }

  .pagination .page-link {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 14px;
    margin-bottom: 8px;
  }
}