/* ================================================================
   main.css — AQUA LAUNDRY · Global Stylesheet
   ================================================================
   โหลดไฟล์นี้ก่อนทุกไฟล์อื่นในทุกหน้า

   สิ่งที่อยู่ในนี้ (ห้ามใส่ซ้ำในไฟล์หน้าย่อย):
   1. CSS Custom Properties (:root tokens)
   2. Base Reset & Body
   3. Top Bar
   4. Main Header & Navigation (Desktop + Mobile)
   5. Off-canvas Sidebar
   6. Water/Wave animation decoration
   7. Footer
   8. ★ SHARED PAGE HERO + BREADCRUMB (ใหม่ — เดิมซ้ำทุกหน้า)
   9. ★ SHARED :root Extended Tokens (ใหม่)
   10.★ SHARED UTILITY CLASSES (ใหม่)
   11.★ SHARED KEYFRAME ANIMATIONS (ใหม่)
   12.★ SHARED REDESIGN COMPONENTS — glass, gradient, badges, buttons (ใหม่)
   ================================================================
   ลำดับ <link> ที่แนะนำ:
     <link rel="stylesheet" href="main.css">   ← ก่อน
     <link rel="stylesheet" href="about.css">  ← ถัดไป (หน้าที่ต้องการ)
   ❌ ไม่ต้อง link shared-redesign.css อีกต่อไป (รวมอยู่ใน main.css แล้ว)
   ================================================================ */

/* CORE STYLES - ใช้ทุกหน้า */

:root {
      --aqua-primary: #00B4D8;
      --aqua-secondary: #0077B6;
      --aqua-light: #90E0EF;
      --aqua-dark: #03045E;
      --aqua-pale: #CAF0F8;
      --aqua-gradient: linear-gradient(135deg, #00B4D8 0%, #0077B6 50%, #03045E 100%);
      --aqua-water: linear-gradient(180deg, #CAF0F8 0%, #90E0EF 50%, #00B4D8 100%);
      --white: #FFFFFF;
      --shadow-soft: 0 2px 10px rgba(0, 180, 216, 0.1);
      --shadow-medium: 0 4px 16px rgba(0, 119, 182, 0.12);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Prompt', 'Kanit', sans-serif;
      background: linear-gradient(180deg, #f8fcff 0%, #e8f7ff 100%);
      min-height: 100vh;
      overflow-x: hidden;
    }

    /* ============ TOP BAR ============ */
    .top-bar {
      background: var(--aqua-gradient);
      padding: 10px 0;
      position: relative;
      overflow: hidden;
    }

    .top-bar::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 200%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
      animation: shimmer 3s infinite;
    }

    @keyframes shimmer {
      0% {
        transform: translateX(0);
      }

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

    .top-bar-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
    }

    .top-bar-left,
    .top-bar-right {
      display: flex;
      align-items: center;
    }

    .top-bar-item {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--white);
      font-size: 13px;
      text-decoration: none;
      transition: all 0.3s ease;
      padding: 0 12px;
      border-right: 1px solid rgba(255, 255, 255, 0.3);
    }

    .top-bar-item:last-child {
      border-right: none;
    }

    .top-bar-item:hover {
      color: var(--aqua-pale);
    }

    .top-bar-item i.icon-box {
      width: 28px;
      height: 28px;
      background: rgba(255, 255, 255, 0.15);
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      transition: all 0.3s ease;
    }

    .top-bar-item:hover i.icon-box {
      background: rgba(255, 255, 255, 0.25);
    }

    .social-links {
      display: flex;
      gap: 8px;
    }

    .social-links a {
      width: 28px;
      height: 28px;
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--white);
      font-size: 13px;
      transition: all 0.3s ease;
    }

    .social-links a:hover {
      background: var(--white);
      color: var(--aqua-secondary);
      transform: translateY(-2px);
    }

    /* ============ MAIN HEADER ============ */
    .main-header {
      background: var(--white);
      box-shadow: var(--shadow-soft);
      position: sticky;
      top: 0;
      z-index: 1000;
      transition: all 0.3s ease;
    }

    .main-header.scrolled {
      box-shadow: var(--shadow-medium);
    }

    .header-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 0;
    }

    /* ============ LOGO ============ */
    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      position: relative;
    }

    .logo-icon {
      width: 50px;
      height: 50px;
      background: var(--aqua-gradient);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      animation: float 3s ease-in-out infinite;
    }

    @keyframes float {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-3px);
      }
    }

    .logo-icon::before {
      content: '';
      position: absolute;
      width: 150%;
      height: 150%;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
      animation: pulse-glow 2s ease-in-out infinite;
    }

    @keyframes pulse-glow {

      0%,
      100% {
        transform: scale(1);
        opacity: 0.5;
      }

      50% {
        transform: scale(1.2);
        opacity: 0.8;
      }
    }

    .logo-icon i {
      color: var(--white);
      font-size: 24px;
      z-index: 1;
    }

    .logo-text {
      display: flex;
      flex-direction: column;
    }

    .logo-brand {
      font-family: 'Kanit', sans-serif;
      font-size: 26px;
      font-weight: 700;
      background: var(--aqua-gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      letter-spacing: -0.5px;
      line-height: 1;
    }

    .logo-tagline {
      font-size: 11px;
      color: var(--aqua-secondary);
      font-weight: 400;
      letter-spacing: 0.5px;
    }

    /* ============ DESKTOP NAV ============ */
    .desktop-nav {
      display: none;
    }

    @media (min-width: 992px) {
      .desktop-nav {
        display: flex;
        align-items: center;
        gap: 5px;
      }
    }

    .nav-link {
      color: var(--aqua-dark);
      text-decoration: none;
      padding: 10px 12px;
      font-size: 15px;
      font-weight: 500;
      border-radius: 10px;
      position: relative;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 8px;
      background: transparent;
    }

    .nav-link:hover {
      background: var(--aqua-secondary);
      color: var(--white);
      box-shadow: 0 2px 6px rgba(0, 119, 182, 0.2);
    }

    .nav-link:hover i {
      color: var(--white);
      opacity: 1;
    }

    /* Active state */
    .nav-link.active {
      background: var(--aqua-gradient);
      color: var(--white);
      box-shadow: 0 3px 8px rgba(0, 119, 182, 0.25);
      font-weight: 600;
    }

    .nav-link.active i {
      color: var(--white);
      opacity: 1;
    }

    /* Active state for dropdown trigger */
    .nav-dropdown.active > .nav-link {
      background: var(--aqua-gradient);
      color: var(--white);
      box-shadow: 0 3px 8px rgba(0, 119, 182, 0.25);
      font-weight: 600;
    }

    .nav-dropdown.active > .nav-link i {
      color: var(--white);
      opacity: 1;
    }

    .nav-link i {
      font-size: 20px;
      opacity: 0.7;
      transition: all 0.3s ease;
      color: var(--aqua-secondary);
    }

    /* Divider between nav items */
    .desktop-nav > .nav-link::after,
    .desktop-nav > .nav-dropdown::after {
      content: '';
      position: absolute;
      right: -2.5px;
      top: 50%;
      transform: translateY(-50%);
      width: 1px;
      height: 40px;
      background: linear-gradient(to bottom, transparent, var(--aqua-secondary), transparent);
      opacity: 0.3;
    }

    /* Remove divider from last nav item before contact buttons */
    .desktop-nav > .nav-link:nth-last-child(2)::after {
      display: none;
    }

    /* Add space before contact buttons */
    .nav-contact-buttons {
      margin-left: 20px;
      padding-left: 10px;
      position: relative;
    }

    /* Dropdown */
    .nav-dropdown {
      position: relative;
    }

    .dropdown-menu-custom {
      position: absolute;
      top: calc(100% + 12px);
      left: 50%;
      transform: translateX(-50%) translateY(8px);
      background: var(--white);
      border-radius: 14px;
      box-shadow: 0 4px 16px rgba(0, 119, 182, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.05);
      padding: 10px;
      min-width: 220px;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      border: 1px solid rgba(144, 224, 239, 0.5);
    }

    /* Arrow pointer for dropdown */
    .dropdown-menu-custom::before {
      content: '';
      position: absolute;
      top: -8px;
      left: 50%;
      transform: translateX(-50%);
      border-left: 9px solid transparent;
      border-right: 9px solid transparent;
      border-bottom: 9px solid rgba(144, 224, 239, 0.5);
    }

    .dropdown-menu-custom::after {
      content: '';
      position: absolute;
      top: -6px;
      left: 50%;
      transform: translateX(-50%);
      border-left: 7px solid transparent;
      border-right: 7px solid transparent;
      border-bottom: 7px solid var(--white);
    }

    /* Invisible bridge to prevent hover gap */
    .nav-dropdown::before {
      content: '';
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      height: 15px;
      background: transparent;
    }

    .nav-dropdown:hover .dropdown-menu-custom {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
    }

    .dropdown-item-custom {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      color: var(--aqua-dark);
      text-decoration: none;
      border-radius: 10px;
      transition: all 0.3s ease;
      font-size: 14px;
      font-weight: 500;
      background: transparent;
      margin-bottom: 4px;
    }

    .dropdown-item-custom:last-child {
      margin-bottom: 0;
    }

    .dropdown-item-custom:hover {
      background: var(--aqua-secondary);
      color: var(--white);
      /* transform: translateX(4px); */
    }

    .dropdown-item-custom:hover i {
      color: var(--white);
    }

    .dropdown-item-custom i {
      width: 20px;
      text-align: center;
      color: var(--aqua-secondary);
      font-size: 14px;
      transition: all 0.3s ease;
    }

    /* CTA Button */
    .nav-cta {
      background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
      color: var(--white) !important;
      padding: 12px 26px !important;
      border-radius: 50px !important;
      font-weight: 600;
      box-shadow: 0 2px 8px rgba(255, 107, 53, 0.25);
      position: relative;
      overflow: hidden;
      border: 2px solid transparent;
      text-decoration: none !important;
    }

    .nav-cta i {
      color: var(--white) !important;
      opacity: 1 !important;
    }

    .nav-cta::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
      transition: 0.5s;
    }

    .nav-cta:hover::before {
      left: 100%;
    }

    .nav-cta:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
      background: linear-gradient(135deg, #ff8c5a 0%, #ffab4a 100%);
      color: var(--white) !important;
    }

    .nav-cta:hover i {
      color: var(--white) !important;
    }

    .nav-cta::after {
      display: none;
    }

    .nav-contact-buttons {
      display: flex;
      gap: 10px;
      align-items: center;
      margin-left: 10px;
    }

    .nav-contact-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: white;
      transition: all 0.3s ease;
      text-decoration: none;
    }

    .nav-contact-btn i {
      font-size: 24px;
    }

    .nav-line {
      border: 2px solid #4CAF50;
    }

    .nav-line i {
      color: #00B900;
    }

    .nav-phone {
      border: 2px solid #E91E63; /* กรอบสีแดง */
    }

    .nav-phone i {
      color: #E91E63; /* ไอคอนสีแดง */
    }

    .nav-cta {
      width: auto;
      padding: 12px 30px;
      border-radius: 25px;
      background: linear-gradient(135deg, #E91E63 0%, #F06292 100%);
      color: white;
      font-weight: 500;
      border: none;
    }

    .nav-contact-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .nav-cta:hover {
      background: linear-gradient(135deg, #D81B60 0%, #EC407A 100%);
    }

    /* Global link style - no underline */
    a {
      text-decoration: none;
    }

    /* ============ MOBILE TOGGLE ============ */
    .mobile-toggle {
      display: flex;
      flex-direction: column;
      gap: 5px;
      padding: 10px;
      background: transparent;
      border: none;
      cursor: pointer;
      z-index: 1100;
    }

    @media (min-width: 992px) {
      .mobile-toggle {
        display: none;
      }
    }

    .mobile-toggle span {
      display: block;
      width: 25px;
      height: 3px;
      background: var(--aqua-gradient);
      border-radius: 3px;
      transition: all 0.3s ease;
    }

    .mobile-toggle.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-toggle.active span:nth-child(2) {
      opacity: 0;
      transform: translateX(-10px);
    }

    .mobile-toggle.active span:nth-child(3) {
      transform: rotate(-45deg) translate(6px, -7px);
    }

    /* ============ OFF-CANVAS SIDEBAR ============ */
    .sidebar-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(3, 4, 94, 0.5);
      backdrop-filter: blur(5px);
      opacity: 0;
      visibility: hidden;
      transition: all 0.4s ease;
      z-index: 1040;
    }

    .sidebar-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .mobile-sidebar {
      position: fixed;
      top: 0;
      left: -320px;
      width: 300px;
      max-width: 85%;
      height: 100%;
      background: var(--white);
      z-index: 1050;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      overflow-y: auto;
      box-shadow: 10px 0 40px rgba(0, 0, 0, 0.15);
    }

    .mobile-sidebar.active {
      left: 0;
    }

    .sidebar-header {
      background: var(--aqua-gradient);
      padding: 25px 20px;
      position: relative;
      overflow: hidden;
    }

    .sidebar-header::before {
      content: '';
      position: absolute;
      bottom: -50%;
      right: -20%;
      width: 150px;
      height: 150px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
    }

    .sidebar-header::after {
      content: '';
      position: absolute;
      top: -30%;
      left: -10%;
      width: 100px;
      height: 100px;
      background: rgba(255, 255, 255, 0.08);
      border-radius: 50%;
    }

    .sidebar-logo {
      display: flex;
      align-items: center;
      gap: 12px;
      position: relative;
      z-index: 1;
    }

    .sidebar-logo-icon {
      width: 45px;
      height: 45px;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .sidebar-logo-icon i {
      color: var(--white);
      font-size: 22px;
    }

    .sidebar-logo-text {
      color: var(--white);
    }

    .sidebar-logo-text h4 {
      font-family: 'Kanit', sans-serif;
      font-size: 22px;
      font-weight: 700;
      margin: 0;
      line-height: 1;
    }

    .sidebar-logo-text span {
      font-size: 11px;
      opacity: 0.9;
    }

    .sidebar-close {
      position: absolute;
      top: 15px;
      right: 15px;
      width: 35px;
      height: 35px;
      background: rgba(255, 255, 255, 0.2);
      border: none;
      border-radius: 50%;
      color: var(--white);
      font-size: 18px;
      cursor: pointer;
      transition: all 0.3s ease;
      z-index: 2;
    }

    .sidebar-close:hover {
      background: rgba(255, 255, 255, 0.3);
      transform: rotate(90deg);
    }

    .sidebar-nav {
      padding: 20px 15px;
    }

    .sidebar-nav-item {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 14px 16px;
      color: var(--aqua-dark);
      text-decoration: none;
      border-radius: 10px;
      margin-bottom: 5px;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .sidebar-nav-item::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      width: 3px;
      height: 100%;
      background: var(--aqua-gradient);
      transform: scaleY(0);
      transition: all 0.3s ease;
    }

    .sidebar-nav-item:hover,
    .sidebar-nav-item.active {
      background: var(--aqua-pale);
      color: var(--aqua-primary);
      transform: translateX(5px);
    }

    .sidebar-nav-item:hover::before,
    .sidebar-nav-item.active::before {
      transform: scaleY(1);
    }

    .sidebar-nav-item i {
      width: 24px;
      text-align: center;
      font-size: 16px;
      color: var(--aqua-primary);
    }

    .sidebar-nav-item span {
      font-weight: 500;
      font-size: 15px;
    }

    .sidebar-divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--aqua-light), transparent);
      margin: 15px 0;
    }

    .sidebar-cta {
      margin: 20px 15px;
      padding: 20px;
      background: var(--aqua-gradient);
      border-radius: 15px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .sidebar-cta::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -50%;
      width: 100px;
      height: 100px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
    }

    .sidebar-cta h5 {
      color: var(--white);
      font-size: 16px;
      margin-bottom: 8px;
      position: relative;
      z-index: 1;
    }

    .sidebar-cta p {
      color: rgba(255, 255, 255, 0.9);
      font-size: 12px;
      margin-bottom: 15px;
      position: relative;
      z-index: 1;
    }

    .sidebar-cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--white);
      color: var(--aqua-secondary);
      padding: 10px 20px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: 600;
      font-size: 14px;
      transition: all 0.3s ease;
      position: relative;
      z-index: 1;
    }

    .sidebar-cta-btn:hover {
      transform: scale(1.05);
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
      color: var(--aqua-dark);
    }

    .sidebar-contact {
      padding: 20px 15px;
      border-top: 1px solid var(--aqua-pale);
    }

    .sidebar-contact-title {
      font-size: 13px;
      color: #888;
      margin-bottom: 15px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .sidebar-contact-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 0;
      color: var(--aqua-dark);
      text-decoration: none;
      font-size: 14px;
      transition: all 0.3s ease;
    }

    .sidebar-contact-item:hover {
      color: var(--aqua-primary);
    }

    .sidebar-contact-item i {
      width: 35px;
      height: 35px;
      background: var(--aqua-pale);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--aqua-primary);
      font-size: 14px;
    }

    /* ============ WATER ANIMATION DECORATION ============ */
    .water-decoration {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 60px;
      overflow: hidden;
      pointer-events: none;
    }

    .wave {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 200%;
      height: 100%;
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23CAF0F8' fill-opacity='0.3'/%3E%3C/svg%3E");
      background-size: 50% 100%;
      animation: wave 8s linear infinite;
    }

    .wave:nth-child(2) {
      bottom: 5px;
      opacity: 0.5;
      animation: wave 12s linear reverse infinite;
    }

    @keyframes wave {
      0% {
        transform: translateX(0);
      }

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

    /* ============ DEMO CONTENT ============ */
    .demo-content {
      padding: 60px 20px;
      text-align: center;
    }

    .demo-content h1 {
      font-family: 'Kanit', sans-serif;
      font-size: 42px;
      font-weight: 700;
      background: var(--aqua-gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 20px;
    }

    .demo-content p {
      color: var(--aqua-dark);
      font-size: 18px;
      max-width: 600px;
      margin: 0 auto 30px;
      opacity: 0.8;
    }

    .demo-features {
      display: flex;
      justify-content: center;
      gap: 30px;
      flex-wrap: wrap;
      margin-top: 40px;
    }

    .demo-feature {
      background: var(--white);
      padding: 30px;
      border-radius: 20px;
      box-shadow: var(--shadow-soft);
      max-width: 280px;
      transition: all 0.3s ease;
    }

    .demo-feature:hover {
      transform: translateY(-10px);
      box-shadow: var(--shadow-medium);
    }

    .demo-feature-icon {
      width: 70px;
      height: 70px;
      background: var(--aqua-gradient);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
    }

    .demo-feature-icon i {
      color: var(--white);
      font-size: 28px;
    }

    .demo-feature h3 {
      color: var(--aqua-dark);
      font-size: 18px;
      margin-bottom: 10px;
    }

    .demo-feature p {
      font-size: 14px;
      margin: 0;
    }

    /* ============ RESPONSIVE ============ */
    @media (max-width: 991px) {
      .top-bar-left {
        display: none;
      }

      .top-bar-content {
        justify-content: center;
      }
    }

    @media (max-width: 576px) {
      .logo-brand {
        font-size: 22px;
      }

      .logo-tagline {
        font-size: 10px;
      }

      .logo-icon i {
        font-size: 20px;
      }

      .demo-content h1 {
        font-size: 28px;
      }

      .demo-content p {
        font-size: 15px;
      }
    }

    /* ============ ANIMATIONS ON LOAD ============ */
    @keyframes fadeInDown {
      from {
        opacity: 0;
        transform: translateY(-20px);
      }

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

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

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

    .top-bar {
      animation: fadeInDown 0.6s ease;
    }

    .main-header {
      animation: fadeInDown 0.6s ease 0.1s both;
    }

    .demo-content {
      animation: fadeInUp 0.8s ease 0.3s both;
    }

    .demo-feature {
      animation: fadeInUp 0.6s ease both;
    }

    .demo-feature:nth-child(1) {
      animation-delay: 0.4s;
    }

    .demo-feature:nth-child(2) {
      animation-delay: 0.5s;
    }

    .demo-feature:nth-child(3) {
      animation-delay: 0.6s;
    }

    /* ============ FOOTER ============ */
    .site-footer {
      background: linear-gradient(135deg, var(--aqua-dark) 0%, #021a3a 100%);
      color: var(--white);
      position: relative;
      overflow: hidden;
    }

    .site-footer::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: var(--aqua-gradient);
    }
    
    .footer-main {
      padding: 60px 0 40px;
      position: relative;
      z-index: 1;
    }

    .footer-brand {
      margin-bottom: 20px;
    }

    .footer-logo {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 15px;
    }

    .footer-logo-icon {
      width: 50px;
      height: 50px;
      background: var(--aqua-gradient);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .footer-logo-icon i {
      color: var(--white);
      font-size: 24px;
    }

    .footer-logo-text h3 {
      font-family: 'Kanit', sans-serif;
      font-size: 24px;
      font-weight: 700;
      margin: 0;
      color: var(--white);
    }

    .footer-logo-text span {
      font-size: 12px;
      color: var(--aqua-light);
    }

    .footer-desc {
      color: rgba(255, 255, 255, 0.7);
      font-size: 14px;
      line-height: 1.7;
      margin-bottom: 20px;
    }

    .footer-social {
      display: flex;
      gap: 10px;
    }

    .footer-social a {
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--white);
      font-size: 16px;
      transition: all 0.3s ease;
    }

    .footer-social a:hover {
      background: var(--aqua-primary);
      transform: translateY(-3px);
      box-shadow: 0 5px 20px rgba(0, 180, 216, 0.4);
    }

    .footer-title {
      font-family: 'Kanit', sans-serif;
      font-size: 18px;
      font-weight: 600;
      color: var(--white);
      margin-bottom: 20px;
      position: relative;
      padding-bottom: 10px;
    }

    .footer-title::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 40px;
      height: 3px;
      background: var(--aqua-primary);
      border-radius: 2px;
    }

    .footer-links {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .footer-links li {
      margin-bottom: 12px;
    }

    .footer-links a {
      color: rgba(255, 255, 255, 0.7);
      text-decoration: none;
      font-size: 14px;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: all 0.3s ease;
    }

    .footer-links a i {
      font-size: 12px;
      color: var(--aqua-primary);
      width: 16px;
    }

    .footer-links a:hover {
      color: var(--aqua-light);
      transform: translateX(5px);
    }

    .footer-contact-item {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 15px;
      color: rgba(255, 255, 255, 0.7);
      font-size: 14px;
    }

    .footer-contact-item i {
      width: 36px;
      height: 36px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--aqua-primary);
      font-size: 14px;
      flex-shrink: 0;
    }

    .footer-contact-item span {
      line-height: 1.6;
    }

    .footer-contact-item a {
      color: rgba(255, 255, 255, 0.7);
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .footer-contact-item a:hover {
      color: var(--aqua-light);
    }

    .footer-newsletter {
      background: rgba(255, 255, 255, 0.05);
      border-radius: 12px;
      padding: 20px;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-newsletter p {
      color: rgba(255, 255, 255, 0.7);
      font-size: 13px;
      margin-bottom: 15px;
    }

    .newsletter-form {
      display: flex;
      gap: 10px;
    }

    .newsletter-form input {
      flex: 1;
      padding: 12px 16px;
      border: none;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.1);
      color: var(--white);
      font-size: 14px;
      outline: none;
      transition: all 0.3s ease;
    }

    .newsletter-form input::placeholder {
      color: rgba(255, 255, 255, 0.5);
    }

    .newsletter-form input:focus {
      background: rgba(255, 255, 255, 0.15);
      box-shadow: 0 0 0 2px var(--aqua-primary);
    }

    .newsletter-form button {
      padding: 12px 20px;
      background: var(--aqua-gradient);
      border: none;
      border-radius: 8px;
      color: var(--white);
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .newsletter-form button:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 20px rgba(0, 180, 216, 0.4);
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding: 20px 0;
      position: relative;
      z-index: 1;
    }

    .footer-bottom-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 15px;
    }

    .footer-copyright {
      color: rgba(255, 255, 255, 0.6);
      font-size: 13px;
    }

    .footer-copyright a {
      color: var(--aqua-light);
      text-decoration: none;
    }

    .footer-bottom-links {
      display: flex;
      gap: 20px;
    }

    .footer-bottom-links a {
      color: rgba(255, 255, 255, 0.6);
      text-decoration: none;
      font-size: 13px;
      transition: color 0.3s ease;
    }

    .footer-bottom-links a:hover {
      color: var(--aqua-light);
    }

    @media (max-width: 768px) {
      .footer-main {
        padding: 40px 0 30px;
      }

      .footer-bottom-content {
        flex-direction: column;
        text-align: center;
      }

      .newsletter-form {
        flex-direction: column;
      }

      .newsletter-form button {
        width: 100%;
      }
    }

/* ============================================================
   SHARED PAGE HERO — ใช้ร่วมกันทุกหน้า (about, blog, branches,
   contacts, faq, legal, news, packages, products, promotions,
   reviews)
   ลบโค้ดนี้ออกจากไฟล์ CSS แต่ละหน้าแล้ว — อยู่ที่นี่ที่เดียว
   ============================================================ */

/* Hero wrapper overrides */
.promotions-hero.hero-modern,
.branches-hero.hero-modern,
.products-hero.hero-modern {
  min-height: unset !important;
  height: auto !important;
  padding: 0 !important;
}

/* Hero base — shared gradient & texture */
.promotions-hero,
.branches-hero,
.products-hero {
  position: relative;
  background: linear-gradient(120deg, #023E8A 0%, #0077B6 55%, #0096C7 100%);
  padding: 0;
  overflow: hidden;
}

/* Layered glow overlay */
.promotions-hero::before,
.branches-hero::before,
.products-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 120% at 5% 50%, rgba(0, 212, 255, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 40% 100% at 95% 50%, rgba(2, 62, 138, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

/* Diagonal line texture */
.promotions-hero::after,
.branches-hero::after,
.products-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 18px,
    rgba(255, 255, 255, 0.025) 18px,
    rgba(255, 255, 255, 0.025) 19px
  );
  pointer-events: none;
}

/* Bottom accent line */
.promotions-hero .hero-accent-line,
.branches-hero .hero-accent-line,
.products-hero .hero-accent-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.7) 30%,
    rgba(144, 224, 239, 0.9) 50%,
    rgba(0, 212, 255, 0.7) 70%,
    transparent
  );
}

/* Hero inner content row */
.hero-content-modern {
  position: relative;
  z-index: 2;
  padding: 16px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 640px) {
  .hero-content-modern {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 0 12px;
  }
  .hero-page-title{ display: none !important; }
}

/* Page title (left) */
.hero-page-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-page-title .title-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  flex-shrink: 0;
}

.hero-page-title .title-icon i {
  font-size: 1rem;
  color: #fff;
}

.hero-page-title h1 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 0.01em;
  line-height: 1;
}

/* Breadcrumb (right) */
.hero-breadcrumb {
  display: flex;
  align-items: center;
}

.breadcrumb-list {
  list-style: none;
  margin: 0;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 5px 14px;
  backdrop-filter: blur(10px);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  font-size: 0.775rem;
  font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 2.5px solid rgb(255, 255, 255);
  border-right: 2.5px solid rgb(255, 255, 255);
  transform: rotate(45deg);
  margin: 0 9px;
  flex-shrink: 0;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.18s;
}

.breadcrumb-item a:hover { color: rgba(255, 255, 255, 0.95); }
.breadcrumb-item a i { font-size: 0.7rem; }

.breadcrumb-item.active {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}


/* ============================================================
   SHARED :root TOKENS — ใช้ร่วมกันทุกไฟล์
   (แต่ละหน้าไม่จำเป็นต้องประกาศซ้ำอีก)
   ============================================================ */

:root {
  /* ---- Extended palette ---- */
  --slate:        #475569;
  --muted:        #64748b;
  --surface:      #f8fafc;
  --surface-2:    #f1f5f9;
  --border:       #e2e8f0;
  --accent-glow:  rgba(0, 180, 216, 0.2);

  /* ---- Status colours ---- */
  --success:      #10B981;
  --success-dark: #059669;
  --danger:       #EF4444;
  --warning:      #F59E0B;
  --purple:       #8B5CF6;

  /* ---- Shared shadows ---- */
  --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md:  0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg:  0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl:  0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-blue: 0 10px 30px rgba(0, 119, 182, 0.2);

  /* ---- Border radii ---- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}


/* ============================================================
   SHARED UTILITY CLASSES — ใช้ซ้ำหลายหน้า
   ============================================================ */

/* Gradient text */
.text-gradient {
  background: var(--aqua-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section icon box (icon กลางหัวข้อ section) */
.section-icon-box {
  width: 70px;
  height: 70px;
  background: var(--aqua-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 10px 30px rgba(0, 119, 182, 0.25);
}

.section-icon-box i {
  font-size: 28px;
  color: #fff;
}

/* Filter buttons (ใช้ใน blog, news, reviews, promotions) */
.filter-btn-shared {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border: 1.5px solid #e2e8f0;
  border-radius: 50px;
  background: white;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  white-space: nowrap;
}

.filter-btn-shared i { font-size: 12px; }

.filter-btn-shared:hover {
  border-color: var(--aqua-primary);
  color: var(--aqua-secondary);
  background: rgba(0, 180, 216, 0.04);
}

.filter-btn-shared.active {
  background: var(--aqua-gradient);
  border-color: transparent;
  color: white;
  box-shadow: 0 3px 12px rgba(0, 180, 216, 0.35);
}

/* Shared card hover lift */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-blue);
}

/* Shared page background */
.page-bg {
  background: #f8fafc;
  padding: 48px 0 80px;
}

/* Label dot (used in about, etc.) */
.label-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aqua-primary);
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ============================================================
   SHARED ANIMATION KEYFRAMES
   ============================================================ */

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.06); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ================================================================
   SHARED REDESIGN COMPONENTS (from shared-redesign.css)
   Glassmorphism · Gradient utilities · Animated badges · Buttons
   ================================================================ */
/* :root tokens → see main.css */

/* ============================================
   1. ANIMATED BUBBLES BACKGROUND
   ============================================ */

.hero-bubbles,
.aqua-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bubble,
.aqua-bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  opacity: 0.6;
  animation: float-up 15s infinite ease-in-out;
}

.bubble:nth-child(1),
.aqua-bubble:nth-child(1) {
  width: 80px;
  height: 80px;
  left: 10%;
  bottom: -80px;
  animation-delay: 0s;
  animation-duration: 12s;
}

.bubble:nth-child(2),
.aqua-bubble:nth-child(2) {
  width: 120px;
  height: 120px;
  left: 25%;
  bottom: -120px;
  animation-delay: 2s;
  animation-duration: 15s;
}

.bubble:nth-child(3),
.aqua-bubble:nth-child(3) {
  width: 60px;
  height: 60px;
  left: 50%;
  bottom: -60px;
  animation-delay: 4s;
  animation-duration: 18s;
}

.bubble:nth-child(4),
.aqua-bubble:nth-child(4) {
  width: 100px;
  height: 100px;
  left: 70%;
  bottom: -100px;
  animation-delay: 1s;
  animation-duration: 14s;
}

.bubble:nth-child(5),
.aqua-bubble:nth-child(5) {
  width: 90px;
  height: 90px;
  left: 85%;
  bottom: -90px;
  animation-delay: 3s;
  animation-duration: 16s;
}

@keyframes float-up {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.6;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-120vh) rotate(360deg);
    opacity: 0;
  }
}

/* ============================================
   2. GLASSMORPHISM CARD
   ============================================ */

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 119, 182, 0.15);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  box-shadow: 0 12px 40px rgba(0, 119, 182, 0.25);
  transform: translateY(-4px);
}

/* Glassmorphism for search/filter cards */
.glass-search-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: 
    0 8px 32px rgba(0, 119, 182, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  padding: 2rem;
}

/* ============================================
   3. GRADIENT ICON BOX
   ============================================ */

.gradient-icon-box {
  background: var(--aqua-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 
    0 4px 12px rgba(0, 119, 182, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.gradient-icon-box::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  animation: pulse-glow 2s ease-in-out infinite;
}

.gradient-icon-box i {
  position: relative;
  z-index: 1;
  color: white;
}

.gradient-icon-box:hover {
  transform: scale(1.05);
  box-shadow: 
    0 6px 16px rgba(0, 119, 182, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Size variations */
.gradient-icon-box.size-sm {
  width: 30px;
  height: 30px;
  font-size: 0.85rem;
}

.gradient-icon-box.size-md {
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
}

.gradient-icon-box.size-lg {
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
}

.gradient-icon-box.size-xl {
  width: 60px;
  height: 60px;
  font-size: 1.75rem;
}

/* ============================================
   4. GRADIENT TEXT
   ============================================ */

.gradient-text {
  background: var(--aqua-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.gradient-text-primary {
  background: linear-gradient(135deg, var(--aqua-primary), var(--aqua-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   5. ENHANCED CARD WITH GRADIENT BORDER
   ============================================ */

.card-gradient-border {
  position: relative;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.02);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 180, 216, 0.05);
}

.card-gradient-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--aqua-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-gradient-border:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(0, 180, 216, 0.15);
}

.card-gradient-border:hover::before {
  transform: scaleX(1);
}

/* ============================================
   6. GRADIENT BUTTONS
   ============================================ */

.btn-gradient-primary {
  background: var(--aqua-gradient);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-gradient-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
}

.btn-gradient-primary:hover::before {
  left: 100%;
}

.btn-gradient-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 119, 182, 0.35);
}

.btn-gradient-primary:active {
  transform: translateY(0);
}

/* Secondary gradient button */
.btn-gradient-secondary {
  background: white;
  color: var(--aqua-primary);
  border: 2px solid var(--aqua-primary);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.15);
}

.btn-gradient-secondary:hover {
  background: var(--aqua-gradient);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 119, 182, 0.25);
}

/* ============================================
   7. ANIMATED BADGES
   ============================================ */

.badge-animated {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  color: var(--aqua-primary);
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 900;
  backdrop-filter: blur(15px);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.5);
  z-index: 2;
}

.badge-animated.pulse {
  animation: badge-pulse 2.5s ease-in-out infinite;
}

.badge-animated.shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: shimmer-slide 2s infinite;
}

/* @keyframes badge-pulse → already in main.css */

@keyframes shimmer-slide {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Badge color variants */
.badge-animated.success {
  background: linear-gradient(135deg, #10B981, #059669);
  color: white;
}

.badge-animated.danger {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: white;
}

.badge-animated.warning {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: white;
}

/* ============================================
   8. FLOATING ANIMATION
   ============================================ */

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* @keyframes float → already in main.css */

/* ============================================
   9. PULSE GLOW ANIMATION
   ============================================ */

/* @keyframes pulse-glow → already in main.css */

/* ============================================
   10. HERO SECTION — FULL PAGE (Homepage/Reviews style)
   ใช้ .hero-content-centered สำหรับ hero เต็มหน้า (text-align: center)
   ต่างจาก .hero-content-modern ของ page hero (flex space-between)
   ============================================ */

.hero-modern {
  position: relative;
  background: var(--aqua-gradient);
  padding: 100px 0 120px;
  overflow: hidden;
  min-height: 400px;
}

.hero-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(144, 224, 239, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 180, 216, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content-centered {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.hero-content-centered h1 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-content-centered h1 i {
  font-size: 2.5rem;
  opacity: 0.9;
}

.hero-content-centered p {
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   11. STATS COUNTER ANIMATION
   ============================================ */

.stat-counter {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--aqua-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-counter.gradient {
  background: var(--aqua-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   12. RESPONSIVE UTILITIES
   ============================================ */

@media (max-width: 768px) {
  .hero-modern {
    padding: 60px 0 80px;
  }

  .hero-content-centered h1 {
    font-size: 1.85rem;
  }

  .hero-content-centered h1 i {
    font-size: 1.65rem;
  }

  .hero-content-centered p {
    font-size: 1rem;
  }

  .glass-search-card {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .card-gradient-border:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 576px) {
  .hero-modern {
    padding: 50px 0 70px;
  }

  .hero-content-centered h1 {
    font-size: 1.5rem;
    gap: 0.75rem;
  }

  .hero-content-centered h1 i {
    font-size: 1.35rem;
  }

  .glass-search-card {
    padding: 1.25rem 1rem;
    border-radius: 14px;
  }

  .stat-counter {
    font-size: 2rem;
  }
}

/* ============================================================
   Shared Pagination (products-pagination)
   Used by: products, branches, promotions pages
   ============================================================ */

.products-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #E2E8F0;
}

.pagination-btn {
  min-width: 40px;
  height: 40px;
  border: 1px solid #CBD5E1;
  background: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: #334155;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
}

.pagination-btn:hover:not(:disabled) {
  border-color: #0077B6;
  color: #0077B6;
  background: #F8FAFC;
}

.pagination-btn.active {
  background: #0077B6;
  border-color: #0077B6;
  color: #ffffff;
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-dots {
  color: #94A3B8;
  padding: 0 0.25rem;
  font-weight: 700;
}

.pagination-info {
  font-size: 0.9rem;
  color: #64748B;
  margin-left: 2rem;
}

@media (max-width: 576px) {
  .products-pagination {
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .pagination-btn {
    min-width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
}