body { font-family: 'Noto Sans Thai', sans-serif; }

/* Header */
.site-header {
  background: #002941;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.header-top {
  padding: 4px 0 0;
}
.header-nav {
  padding: 0 0 4px;
}
.header-nav .nav-link {
  color: #EEEEEF;
  font-size: 20px;
  font-weight: 400;
  padding: 6px 14px;
  transition: color .2s;
}
/* Mobile horizontal scroll nav */
.mobile-nav-scroll {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0;
}
.mobile-nav-scroll::-webkit-scrollbar { display: none; }
.mobile-nav-scroll .nav-link {
  flex-shrink: 0;
  color: #EEEEEF;
  font-size: 14px;
  font-weight: 400;
  padding: 6px 12px;
  transition: color .2s;
  text-decoration: none;
}
.mobile-nav-scroll .nav-link:hover { color: #fff; }

/* Mobile Filter Button */
.mobile-filter-btn-wrap {
  padding: 10px 24px;
  background: #fff;
}
.mobile-filter-toggle {
  background: #002941;
  color: #FDD400;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

/* Mobile Filter Panel (slide-in) */
.mobile-filter-panel {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: #FFFFFF;
  z-index: 9999;
  transition: left .3s ease;
  box-shadow: 4px 0 20px rgba(0,0,0,0.15);
  overflow-y: auto;
}
.mobile-filter-panel.open { left: 0; }
.mobile-filter-header {
  background: #002941;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 2;
}
.mobile-filter-hamburger {
  width: 28px;
  height: 3px;
  background: #FDD400;
  border-radius: 2px;
  display: block;
  margin: 4px 0;
}
.mobile-filter-header-title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  flex: 1;
}
.mobile-filter-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
}
.mobile-filter-body {
  padding: 20px 24px;
}
.mobile-filter-body h6 {
  color: #A3A3A3;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 8px;
}
.mobile-filter-body hr {
  border-color: #A3A3A3;
  margin: 0 0 16px;
}
.mobile-filter-body .form-check { padding-left: 2.2em; }
.mobile-filter-body .form-check-input {
  width: 22px;
  height: 22px;
  border: 1.5px solid #A3A3A3;
  border-radius: 6px;
}
.mobile-filter-body .form-check-input:checked {
  background-color: #1976d2;
  border-color: #1976d2;
}
.mobile-filter-body .form-check-label {
  color: #A3A3A3;
  font-size: 16px;
  padding-top: 2px;
}

.header-nav .nav-link:hover {
  color: #fff;
}

/* Logo gradient */
.logo-img {
  height: 40px;
  width: auto;
}
.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(180.8deg, #5EE0F5 -38.39%, #30A5FD 99.84%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header account area */
.header-pkg-link {
  color: #FFFFFF;
  font-size: 16px;
  text-decoration: underline;
  transition: opacity .2s;
}
.header-pkg-link:hover {
  color: #FFFFFF;
  opacity: 0.8;
}
.header-lang-btn {
  background: #FFFFFF;
  border: none;
  border-radius: 14px;
  padding: 4px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #0D0C0C;
  line-height: 18px;
}
.header-lang-btn:hover {
  background: #f0f0f0;
  color: #0D0C0C;
}
.header-account-text {
  color: #FDD400;
  font-size: 14px;
  font-weight: 400;
}
.header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: #D9D9D9;
}
.header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero */
.hero-section {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  background: #FFFFFF;
  z-index: 2;
}
.hero-inner {
  position: relative;
  background: linear-gradient(180deg, #e8edf5 0%, #d5dced 40%, #FFFFFF 100%);
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 20px;
  overflow: visible;
}
/* Decorative blur ellipses */
.hero-inner::before {
  content: '';
  position: absolute;
  width: 810px;
  height: 880px;
  left: -328px;
  top: -413px;
  background: linear-gradient(180deg, #FFFDFE 0%, #2785FF 53.37%);
  opacity: 0.2;
  filter: blur(50px);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner::after {
  content: '';
  position: absolute;
  width: 668px;
  height: 727px;
  right: -100px;
  top: -100px;
  background: linear-gradient(180deg, #5467F2 0%, #FFFFFF 100%);
  opacity: 0.2;
  filter: blur(50px);
  border-radius: 50%;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-title {
  color: #052F64;
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 50px);
  line-height: 1.2;
}
.hero-subtitle {
  color: #052F64;
  font-size: 23px;
  font-weight: 600;
}
.hero-float {
  position: absolute;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  overflow: hidden;
  z-index: 3;
}
.hero-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Left side */
.hero-float-1 { width:100px;height:100px;top:130px;left:4%;border-radius:16px; }
.hero-float-2 { width:120px;height:85px;top:40px;left:14%;border-radius:16px; }
.hero-float-3 { width:190px;height:260px;bottom:-80px;left:8%;border-radius:16px; }
/* Right side */
.hero-float-4 { width:120px;height:120px;top:40px;right:4%;border-radius:16px; }
.hero-float-5 { width:120px;height:155px;top:30px;right:16%;border-radius:12px; }
.hero-float-6 { width:200px;height:240px;bottom:-70px;right:5%;border-radius:16px; }
.hero-search-box {
  position: relative;
  max-width: 680px;
  width: 100%;
}
.hero-search-input {
  border: 1px solid #A3A3A3;
  border-radius: 50px;
  padding: 14px 50px 14px 24px;
  font-size: 15px;
  width: 100%;
  height: 65px;
  background: #F5F5F5;
  outline: none;
}
.hero-search-input:focus {
  background: #fff;
  border-color: #85A4D3;
}
.hero-search-icon {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: #4a5e7a;
  font-size: 22px;
}
.hero-filter-btn {
  width: 72px;
  height: 65px;
  border-radius: 12px;
  background: #002941;
  border: none;
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-filter-btn:hover {
  background: #001f33;
}
.hero-tag {
  background: #66A3F2;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 6px 0;
  width: 130px;
  height: 36px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.hero-tag:hover {
  background: #5090e0;
  color: #fff;
}
.hero-tag-label {
  font-size: 16px;
  font-weight: 600;
  color: #002941;
}

/* Stats + Categories combined blue section */
.blue-section {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #0069A7 0%, #002941 100%);
  min-height: 578px;
  padding: 120px 0 60px;
}
.blue-section .stat-label {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  font-weight: 400;
}
.blue-section .stat-number {
  color: #fff;
  font-weight: 700;
}
.blue-section h2 {
  color: #fff;
  font-size: 50px;
  font-weight: 500;
  line-height: 59px;
}
.cat-card {
  background: linear-gradient(180deg, #66A3F2 0%, #2785FF 100%);
  border: none;
  border-radius: 15px;
  width: 183px;
  height: 126px;
  padding: 16px 12px;
  text-align: center;
  transition: transform .2s, background .2s;
  cursor: pointer;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cat-card:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}
.cat-card-icon {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}
.cat-card-label {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
}

/* Category icons */
.cat-tab-icon {
  width:90px;height:90px;border-radius:16px;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 15px rgba(0,0,0,0.1);
}
.cat-tab:hover { transform:translateY(-4px); }

/* Template card */
.template-card { transition:transform .2s,box-shadow .2s;cursor:pointer;background:transparent;border:none; }
.template-card:hover { transform:translateY(-4px);box-shadow:none!important; }
.template-card-img {
  width:100%;max-width:350px;height:240px;border-radius:22px;overflow:hidden;
  background-size:cover;background-position:center;margin:0 auto;
}
.card-heart {
  position:absolute;top:14px;right:14px;width:34px;height:34px;
  background:#FFFFFF;border-radius:50%;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  z-index:2;
}
.card-heart i { color:#333;font-size:0.95rem; }
.card-heart:hover { background:#f0f0f0; }
.card-view-more {
  position:absolute;bottom:14px;left:14px;
  background:rgba(255,255,255,0.95);border-radius:30px;
  padding:5px 14px;font-size:14px;font-weight:600;
  color:#0D0C0C;text-decoration:none;display:inline-flex;
  align-items:center;gap:6px;z-index:2;
  transition:background .2s;    }
.card-view-more:hover { background:#fff;color:#111; }
.card-duration {
  position:absolute;bottom:14px;right:14px;
  background:rgba(0,0,0,0.7);border-radius:8px;
  padding:3px 10px;font-size:17px;font-weight:600;
  color:#FFFDFD;z-index:2;    }
.template-card .card-info {
  text-align:center;padding:12px 8px 4px;
}
.template-card .card-info .card-title-text {
  font-size:18px;font-weight:600;color:#0D0C0C;
  margin-bottom:2px;    }
.template-card .card-info .card-price {
  font-size:18px;font-weight:600;color:#0D0C0C;
      }
.whats-new-pagination {
  display:flex;justify-content:center;align-items:center;
  gap:8px;margin-top:32px;
}
.whats-new-pagination .page-btn {
  width:38px;height:38px;border-radius:10px;border:1px solid #e0e0e0;
  background:#fff;display:flex;align-items:center;justify-content:center;
  font-size:0.88rem;color:#555;cursor:pointer;transition:all .2s;
}
.whats-new-pagination .page-btn:hover { border-color:#1976d2;color:#1976d2; }
.whats-new-pagination .page-btn.active {
  background:#1976d2;color:#fff;border-color:#1976d2;
}

/* Topic card */
.topic-card { height:228px;cursor:pointer;transition:transform .2s;border-radius:22px;overflow:hidden; }
.topic-card:hover { transform:translateY(-3px); }
.topic-card .card-heart { position:absolute;top:14px;right:14px; }
.topic-card .card-view-more { position:absolute;bottom:14px;left:14px; }
.topic-card-label { text-align:center;padding:10px 0 4px;font-size:18px;font-weight:600;color:#0D0C0C; }

/* About + FAQ combined */
.about-faq-section {
  background: linear-gradient(180deg, #0069A7 0%, #002941 100%);
}
.about-heading {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #fff;
}
.about-text {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  line-height: 2;
  max-width: 960px;
  margin: 0 auto;
}
.faq-heading {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 48px;
}
.about-faq-section .accordion {
  max-width: 960px;
  margin: 0 auto;
}
.about-faq-section .accordion-item {
  border: none;
  border-radius: 16px !important;
  margin-bottom: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.about-faq-section .accordion-button {
  font-size: 18px;
  font-weight: 600;
  color: #0D0C0C;
  padding: 24px 32px;
  background: #fff;
  border-radius: 16px !important;
}
.about-faq-section .accordion-button:not(.collapsed) {
  background: #fff;
  color: #0D0C0C;
  box-shadow: none;
}
.about-faq-section .accordion-button:focus {
  box-shadow: none;
}
.about-faq-section .accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  width: 24px;
  height: 24px;
  background-size: 24px;
}
.about-faq-section .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='18 15 12 9 6 15'%3E%3C/polyline%3E%3C/svg%3E");
  transform: none;
}
.about-faq-section .accordion-body {
  padding: 0 32px 24px;
  color: #666;
  font-size: 16px;
  line-height: 1.8;
}

/* Testimonials */
.testimonials-bg {
  background: radial-gradient(88.75% 280.49% at 68.44% 69.26%, #66A3F2 0%, #FFFFFF 100%);
}
.testimonials-bg h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #FFFFFF;
  text-align: center;
}
.testimonial-card {
  background: #FFFFFF;
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform .2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-card:hover { transform: translateY(-3px); }
.testimonial-card .testimonial-text {
  color: #0D0C0C;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
}
.testimonial-card .testimonial-role {
  color: #7AABDB;
  font-size: 15px;
  font-weight: 400;
}

/* Blog / Updates */
.blog-section {
  background: linear-gradient(180deg, #0069A7 0%, #002941 100%);
  padding: 60px 0 80px;
}
.blog-section h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 16px;
}
.blog-section .blog-view-all {
  color: #FFFFFF;
  font-size: 20px;
  text-decoration: none;
  font-weight: 600;
}
.blog-section .blog-view-all:hover {
  opacity: 0.8;
}
.blog-card {
  transition: transform .2s;
  cursor: pointer;
  background: #fff;
  border: none;
  border-radius: 20px;
  overflow: hidden;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card-img { height: 240px; }
.blog-card .card-title { font-size:18px; color:#0D0C0C; }
.blog-card .card-text { font-size:15px; line-height:1.7; }
.view-all-link { color:#052F64; font-size:20px; font-weight:600; }
.section-heading-lg { font-size:50px; font-weight:600; }
.view-all-wrap { padding-right:40px; }

/* CTA */
.cta-bg {
  background: radial-gradient(88.75% 280.49% at 68.44% 69.26%, #566FF2 0%, #66A2F2 100%);
}
.cta-bg p {
  font-size: 36px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 50px;
  text-align: center;
}
.cta-btn-custom {
  width: 200px;
  height: 52px;
  background: #FFFFFF;
  box-shadow: 0px 4px 10px 6px rgba(188, 188, 188, 0.25);
  border-radius: 50px;
  color: #0A0A0A;
  font-size: 20px;
  font-weight: 700;
  line-height: 35px;
  transition: transform .2s, box-shadow .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cta-btn-custom:hover {
  background: #F0F0F0;
  color: #0A0A0A;
  transform: translateY(-2px);
  box-shadow: 0px 4px 14px 8px rgba(188, 188, 188, 0.35);
}

/* Footer */
.footer-bg { background: #0A0A0A; }
.footer-logo-area {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-divider-top {
  border: none;
  border-top: 3px solid #FFFFFF;
  margin: 0;
  flex: none;
  width: 40%;
}
.footer-social-icon {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: opacity .2s; color: #fff; font-size: 20px;
}
.footer-social-icon:hover { opacity: 0.7; color: #fff; }
.footer-col-title {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-link {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  transition: color .2s;
}
.footer-link:hover { color: #FFFFFF; }
.footer-copyright {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}
.footer-copyright span { color: #FFFFFF; }

/* Sidebar (sticky within section) */
.sidebar-inline {
  width: 71px;
  min-width: 71px;
  background: #FFFFFF;
  box-shadow: 0px 4px 4px 5px rgba(163, 163, 163, 0.06);
  transition: width .3s ease, min-width .3s ease;
  align-self: flex-start;
  padding: 0;
  margin: 16px 0 16px 16px;
  overflow: hidden;
}
.sidebar-inline.expanded { width: 300px; min-width: 300px; padding: 0; }
.sidebar-header {
  background: #002941;
  padding: 13px 17px;
  cursor: pointer;
  min-height: 57px;
  display: flex;
  align-items: center;
}
.sidebar-hamburger {
  width: 37px; height: 3px; background: #FDD400; border-radius: 1.5px;
  display: block; margin: 5.5px 0;
}
.sidebar-header-title {
  color: #fff; font-size: 18px; font-weight: 600; margin-left: 16px;
  white-space: nowrap; opacity: 0; transition: opacity .2s;
}
.sidebar-inline.expanded .sidebar-header-title { opacity: 1; }
.sidebar-icon { width: 40px; height: 40px; color: #A3A3A3; transition: all .2s; font-size: 18px; }
.sidebar-icon:hover { background: #f0f0f0!important; }
.sidebar-icon:hover svg path,
.sidebar-icon:hover svg line,
.sidebar-icon:hover svg circle { stroke: #1976d2; fill: #1976d2; }
.sidebar-icon svg { width: 22px; height: 22px; }
.sidebar-divider { width: 32px; height: 0; border: none; border-top: 1px solid #A3A3A3; margin: 12px auto; opacity: 1; }
.sidebar-filter { display: none; overflow-y: auto; }
.sidebar-inline.expanded .sidebar-filter { display: block; }
.sidebar-inline.expanded .sidebar-icons-compact { display: none!important; }
.sidebar-filter .form-check { padding-left: 2.2em; }
.sidebar-filter .form-check-input { width: 18px; height: 18px; border: 1px solid #A3A3A3; border-radius: 5px; }
.sidebar-filter .form-check-input:checked { background-color: #1976d2; border-color: #1976d2; }
.sidebar-filter .form-check-label { color: #A3A3A3; font-size: 16px; }
.sidebar-filter h6 { color: #A3A3A3; font-size: 18px; font-weight: 400; }

/* Main content area with sidebar */
.content-with-sidebar {
  display: flex;
  min-height: 100vh;
}
.content-main {
  flex: 1;
  min-width: 0;
}

/* Account dropdown */
.account-dropdown-menu {
  width:260px;border:none;border-radius:14px;
  box-shadow:0 8px 30px rgba(0,0,0,0.18);
}
.account-dropdown-menu .px-4 { padding-left:14px!important; padding-right:14px!important; }
.account-dropdown-menu .pt-4 { padding-top:12px!important; }
.account-dropdown-menu .pb-3 { padding-bottom:8px!important; }
.dropdown-avatar-lg {
  width:40px;height:40px;background:linear-gradient(135deg,#6c63ff,#e91e63);
  font-size:15px!important;
}
.dropdown-pro-btn {
  background:#0071ff;transition:background .2s;
  font-size:15px!important;
  padding:6px 0!important;
}
.dropdown-pro-btn:hover { background:#005ad4; }
.dropdown-menu-item {
  transition:background .15s;
  font-size:14px;
  padding-top:8px!important;
  padding-bottom:8px!important;
  padding-left:14px!important;
}
.dropdown-menu-item .fs-5 { font-size:15px!important; }
.dropdown-menu-item:hover { background:#f7f7f7; }
.dropdown-logout { font-size:14px; }
.dropdown-logout:hover { color:#e53935!important; }
.account-dropdown-menu .py-3 { padding-top:8px!important; padding-bottom:8px!important; }

/* Placeholder backgrounds */
.bg-warm,.bg-cool,.bg-purple,.bg-green,.bg-orange,.bg-pink,.bg-teal,.bg-amber,.bg-red,.bg-indigo,.bg-lime,.bg-deep,.bg-blog1,.bg-blog2,.bg-blog3{background:url('no-image.jpg') center/cover no-repeat;}

/* ===== TABLET BREAKPOINT ===== */
@media(max-width:991.98px){
  /* Hero */
  .hero-inner { min-height:380px; padding:40px 0 20px; }
  .hero-inner::before { width:400px; height:440px; left:-160px; top:-200px; }
  .hero-inner::after { width:340px; height:370px; right:-60px; top:-60px; }
  .hero-subtitle { font-size:19px; }
  .hero-search-input { height:55px; font-size:14px; }
  .hero-filter-btn { width:60px; height:55px; font-size:22px; }
  .hero-tag { width:110px; height:32px; font-size:14px; }

  /* Blue section */
  .blue-section { height:auto; padding:48px 0; }
  .blue-section h2 { font-size:32px; line-height:1.3; }
  .blue-section .stat-number { font-size:2.5rem!important; }
  .cat-card { width:160px; height:110px; padding:14px 10px; }
  .cat-card-label { font-size:13px; }

  /* Section headings with inline styles */
  .section-heading-lg { font-size:36px; }

  /* Template cards */
  .template-card-img { height:200px; }
  .card-view-more { font-size:13px; padding:5px 12px; }

  /* Topic cards */
  .topic-card { height:180px; }
  .topic-card-label { font-size:17px; }

  /* About + FAQ */
  .about-faq-section .accordion-button { font-size:16px; padding:18px 24px; }
  .about-faq-section .accordion-body { padding:0 24px 20px; font-size:15px; }
  .about-text { font-size:15px; line-height:1.8; }

  /* Testimonials */
  .testimonials-bg h2 { font-size:32px; }
  .testimonial-card .testimonial-text { font-size:15px; }

  /* Blog */
  .blog-card-img { height:200px; }

  /* CTA */
  .cta-bg p { font-size:28px; line-height:40px; }

  /* Footer */
  .footer-divider-top { width:60%; }
}

/* ===== MOBILE BREAKPOINT ===== */
@media(max-width:767.98px){
  /* Hero */
  .hero-float { display:none; }
  .hero-inner { min-height:320px; padding:32px 0 16px; }
  .hero-inner::before { width:250px; height:270px; left:-100px; top:-130px; }
  .hero-inner::after { width:200px; height:220px; right:-40px; top:-40px; }
  .hero-title { font-size:24px!important; line-height:1.3; }
  .hero-subtitle { font-size:16px; }
  .hero-search-box { max-width:100%; }
  .hero-search-input { height:48px; padding:10px 44px 10px 16px; font-size:14px; }
  .hero-search-icon { font-size:18px; right:16px; }
  .hero-filter-btn { width:48px; height:48px; font-size:20px; border-radius:10px; }
  .hero-tag { width:100px; height:30px; font-size:13px; padding:4px 0; }
  .hero-tag-label { font-size:13px; }
  .hero-content.px-3 { padding-left:16px!important; padding-right:16px!important; }

  /* Sidebar */
  .sidebar-inline { display:none!important; }
  .content-with-sidebar { display:block; }

  /* Blue section (stats + categories) */
  .blue-section { height:auto; padding:36px 0; }
  .blue-section h2 { font-size:24px; line-height:1.3; margin-bottom:20px!important; }
  .blue-section .stat-label { font-size:13px; }
  .blue-section .stat-number { font-size:2rem!important; }
  .blue-section .row.g-4.mb-5 { margin-bottom:1.5rem!important; }
  .cat-card { width:140px; height:100px; padding:12px 8px; border-radius:12px; }
  .cat-card-icon { height:44px; margin-bottom:6px; }
  .cat-card-icon svg { width:36px; height:36px; }
  .cat-card-label { font-size:12px; }

  /* "What's new" section heading */
  .content-main .py-5 { padding-top:2rem!important; padding-bottom:2rem!important; }

  /* Section headings with inline font-size:50px */
  .section-heading-lg { font-size:28px; }

  /* Template cards */
  .template-card-img { max-width:100%; height:180px; border-radius:16px; }
  .card-view-more { font-size:12px; padding:4px 10px; bottom:10px; left:10px; border-radius:24px; }
  .card-heart { width:28px; height:28px; top:10px; right:10px; }
  .card-heart i { font-size:0.8rem; }
  .card-duration { font-size:13px; padding:2px 8px; bottom:10px; right:10px; }
  .template-card .card-info { padding:8px 4px 2px; }
  .template-card .card-info .card-title-text { font-size:13px; }
  .template-card .card-info .card-price { font-size:13px; }
  .whats-new-pagination { margin-top:20px; gap:6px; }
  .whats-new-pagination .page-btn { width:32px; height:32px; font-size:0.8rem; border-radius:8px; }

  /* Topic cards (search other topics) */
  .topic-card { height:150px; border-radius:16px; }
  .topic-card .card-view-more { font-size:13px; padding:4px 10px; bottom:8px; left:8px; }
  .topic-card .card-heart { top:8px; right:8px; }
  .topic-card-label { font-size:15px; padding:6px 0 2px; }

  /* About + FAQ section */
  .about-faq-section .container.text-white.text-center.py-5 { padding:2rem 0!important; }
  .about-heading { font-size:24px!important; margin-bottom:1.5rem!important; }
  .about-text { font-size:14px; line-height:1.7; }
  .about-text br { display:none; }
  .faq-heading { font-size:24px!important; margin-bottom:28px; }
  .about-faq-section .accordion-button { font-size:15px; padding:16px 20px; }
  .about-faq-section .accordion-body { padding:0 20px 16px; font-size:14px; line-height:1.7; }
  .about-faq-section .accordion-item { margin-bottom:12px; border-radius:12px!important; }

  /* Testimonials */
  .testimonials-bg { padding-top:2rem!important; padding-bottom:2rem!important; }
  .testimonials-bg .container.py-4 { padding-top:0.5rem!important; padding-bottom:0.5rem!important; }
  .testimonials-bg h2 { font-size:24px!important; margin-bottom:1.5rem!important; }
  .testimonial-card { border-radius:12px; }
  .testimonial-card.p-4 { padding:1rem!important; }
  .testimonial-card .testimonial-text { font-size:14px; line-height:1.6; margin-bottom:0.75rem!important; }
  .testimonial-card .testimonial-role { font-size:13px; }

  /* Blog / Updates */
  .blog-section { padding:36px 0 48px; }
  .blog-section h2 { font-size:24px!important; margin-bottom:10px; }
  .blog-section .blog-view-all { font-size:15px; }
  .blog-card-img { height:180px; }
  .blog-card { border-radius:14px; }
  .blog-card .card-body.p-4 { padding:1rem!important; }
  .blog-card .card-title { font-size:16px!important; }
  .blog-card .card-text { font-size:14px!important; }

  /* CTA section */
  .cta-bg .container.py-4 { padding-top:0.5rem!important; padding-bottom:0.5rem!important; }
  .cta-bg p { font-size:20px; line-height:30px; }
  .cta-btn-custom { width:170px; height:44px; font-size:17px; }

  /* Footer */
  .footer-bg .d-flex.align-items-start.gap-4.mb-5 {
    flex-direction:column;
    gap:16px!important;
    margin-bottom:2rem!important;
  }
  .footer-bg .d-flex.align-items-start.gap-4.mb-5 .flex-grow-1 { padding-top:0!important; }
  .footer-divider-top { width:80%; }
  .footer-bg .d-flex.gap-4 { gap:1rem!important; }
  .footer-col-title { font-size:15px; margin-bottom:14px; }
  .footer-link { font-size:13px; }
  .footer-bg .row.mb-5 { margin-bottom:1.5rem!important; }
  .footer-copyright { font-size:13px; }
  .footer-bg.pt-5.pb-5 { padding-top:2rem!important; padding-bottom:2rem!important; }

  /* Header adjustments */
  .header-nav .nav-link { font-size:14px; padding:6px 10px; }
  .logo-text svg { width:160px; height:auto; }

  /* Mobile dropdown - compact & themed */
  .account-dropdown-menu { box-shadow:0 8px 30px rgba(0,0,0,0.2); }
  .account-dropdown-menu .px-4 { padding-left:16px!important; padding-right:16px!important; }
  .account-dropdown-menu .pt-4 { padding-top:14px!important; }
  .account-dropdown-menu .pb-3 { padding-bottom:10px!important; }
  .dropdown-avatar-lg { width:42px; height:42px; font-size:16px!important; }
  .account-dropdown-menu .fw-semibold[style*="font-size:17px"] { font-size:15px!important; }
  .account-dropdown-menu .text-muted[style*="font-size:14px"] { font-size:12px!important; }
  .account-dropdown-menu .badge { font-size:11px!important; }
  .dropdown-pro-btn { font-size:16px!important; padding:8px 0!important; }
  .dropdown-menu-item.py-3 { padding-top:10px!important; padding-bottom:10px!important; }
  .dropdown-menu-item .fs-5 { font-size:16px!important; }
  .account-dropdown-menu .py-3:last-child { padding-top:10px!important; padding-bottom:10px!important; }

  /* General spacing - เพิ่ม padding ด้านข้างทุกส่วน */
  .container,
  .container-fluid.px-4,
  .container-fluid.px-5 { padding-left:24px!important; padding-right:24px!important; }
  .about-heading,
  .about-text { padding-left:8px; padding-right:8px; }

  /* "ดูทั้งหมด" ลด padding-right บนมือถือ */
  .view-all-wrap { padding-right:0; }
}

/* ===== SMALL MOBILE ===== */
@media(max-width:479.98px){
  .hero-title { font-size:20px!important; }
  .hero-subtitle { font-size:14px; }
  .hero-search-input { height:44px; padding:8px 40px 8px 14px; }
  .hero-filter-btn { width:44px; height:44px; font-size:18px; }
  .hero-tag { width:85px; height:28px; font-size:12px; }
  .hero-tag-label { font-size:12px; }

  .section-heading-lg { font-size:22px; }
  .blue-section h2 { font-size:20px; }
  .cat-card { width:120px; height:90px; padding:10px 6px; }
  .cat-card-icon { height:36px; }
  .cat-card-icon svg { width:28px; height:28px; }
  .cat-card-label { font-size:11px; }

  .template-card-img { height:150px; border-radius:12px; }
  .card-view-more { font-size:11px; padding:3px 8px; }

  .topic-card { height:120px; border-radius:12px; }
  .topic-card-label { font-size:13px; }

  .about-heading { font-size:20px!important; }
  .faq-heading { font-size:20px!important; }
  .about-faq-section .accordion-button { font-size:14px; padding:14px 16px; }

  .testimonials-bg h2 { font-size:20px!important; }
  .testimonial-card .testimonial-text { font-size:13px; }

  .blog-section h2 { font-size:20px!important; }
  .blog-card-img { height:150px; }

  .cta-bg p { font-size:17px; line-height:26px; }
  .cta-btn-custom { width:150px; height:42px; font-size:15px; }
}
