/*
Theme Name: becacanhdep.com
Theme URI: https://becacanhdep.com
Author: becacanhdep
Author URI: https://becacanhdep.com
Description: Một theme WordPress hiện đại, sang trọng và đầy tính nghệ thuật dành cho thế giới bể cá cảnh, thủy sinh và phong thủy nước.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: becacanhdep
*/

/* --- Self-hosted Fonts: Be Vietnam Pro (Chuẩn tiếng Việt, tối ưu hiển thị mọi thiết bị) --- */
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/be-vietnam-pro-v12-vietnamese-400.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/be-vietnam-pro-v12-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/be-vietnam-pro-v12-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/be-vietnam-pro-v12-vietnamese-500.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/be-vietnam-pro-v12-latin-ext-500.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/be-vietnam-pro-v12-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/be-vietnam-pro-v12-vietnamese-600.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/be-vietnam-pro-v12-latin-ext-600.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/be-vietnam-pro-v12-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/be-vietnam-pro-v12-vietnamese-700.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/be-vietnam-pro-v12-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/be-vietnam-pro-v12-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/be-vietnam-pro-v12-vietnamese-800.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/be-vietnam-pro-v12-latin-ext-800.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/be-vietnam-pro-v12-latin-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Brand Identity: Blue, White, Black with Red Highlights --- */
:root {
  --font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Brand Palette (Xanh Blue, Trắng, Đen, Nhấn Đỏ) */
  --color-blue: #0066cc;       /* Vibrant Royal Ocean Blue */
  --color-blue-hover: #0052a3; /* Deep Blue Hover */
  --color-blue-tint: #eff6ff;  /* Soft Blue Background */
  --color-white: #ffffff;      /* Pure Crisp White */
  --color-black: #111827;      /* Deep Bold Black */
  --color-red: #dc2626;        /* Highlight / Accent Red */
  --color-red-hover: #b91c1c;  /* Deep Red Hover */
  --color-red-tint: #fef2f2;   /* Soft Red Tint */

  --bg-deep: #ffffff;          /* White Background */
  --bg-dark: #f9fafb;          /* Soft Clean Gray Section */
  --bg-card: #ffffff;          /* White Card */
  --bg-glass: #ffffff;
  
  --primary: #0066cc;          /* Brand Blue */
  --primary-hover: #0052a3;
  --primary-glow: rgba(0, 102, 204, 0.15);
  --secondary: #111827;        /* Brand Black */
  --accent: #dc2626;           /* Highlight Red */
  --accent-hover: #b91c1c;
  --accent-glow: rgba(220, 38, 38, 0.2);
  
  --text-main: #374151;        /* Dark Charcoal Body Text */
  --text-muted: #6b7280;       /* Neutral Gray Secondary Text */
  --text-dark: #111827;        /* Solid Black Headings */
  --text-white: #111827;       /* Headings on light background */
  
  --border-glass: #e5e7eb;     /* Clean delicate gray border */
  --border-hover: #0066cc;     /* Blue border on hover */
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.09);
  --shadow-glow: 0 6px 20px rgba(0, 102, 204, 0.15);
  
  --transition-smooth: all 0.25s ease;
  --border-radius-sm: 6px;
  --border-radius-md: 10px;
  --border-radius-lg: 14px;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-sans);
  background-color: #ffffff;
  color: var(--text-main);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Layout --- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* --- Top Utility Bar --- */
.site-topbar {
  background: #111827; /* Solid Black */
  color: #e2e8f0;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-icon {
  width: 14px;
  height: 14px;
  color: #60a5fa; /* Blue icon */
  flex-shrink: 0;
}

.topbar-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.topbar-link:hover {
  color: #60a5fa;
}

.topbar-divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
}

.topbar-zalo-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #0068ff;
  color: #ffffff;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topbar-zalo-badge:hover {
  transform: translateY(-1px);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 104, 255, 0.4);
}

.topbar-zalo-img {
  width: 13px;
  height: 13px;
  border-radius: 2px;
}

/* --- Header / Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: none;
  padding: 13px 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.site-header.header-scrolled {
  padding: 9px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Brand Left */
.header-brand {
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  object-fit: contain;
  box-shadow: none;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.brand-link:hover .brand-logo-img {
  transform: rotate(5deg) scale(1.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-title {
  font-family: var(--font-sans);
  font-size: 1.22rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: 0.3px;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.72rem;
  color: #6b7280;
  font-weight: 500;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* Navigation Center */
.main-navigation {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 24px;
}

.nav-menu > li {
  position: relative;
  flex-shrink: 0;
}

.nav-menu > li > a {
  color: #1e2c25;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: #0066cc;
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-menu > li:hover > a,
.nav-menu > li.active > a {
  color: #0066cc;
}

.nav-menu > li:hover > a::after,
.nav-menu > li.active > a::after {
  width: 100%;
}

.dropdown-chevron {
  width: 13px;
  height: 13px;
  color: #7d8b83;
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-menu > li:hover .dropdown-chevron {
  transform: rotate(180deg);
  color: #0066cc;
}

/* Submenu Dropdown */
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #ebe6dd;
  border-radius: 12px;
  padding: 8px 6px;
  min-width: 240px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 14px 35px rgba(17, 29, 23, 0.08);
  z-index: 1050;
}

.nav-menu > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.nav-menu .sub-menu li a {
  display: block;
  padding: 9px 14px;
  color: #2d3833;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-menu .sub-menu li a:hover {
  background: #eff6ff;
  color: #0066cc;
  transform: translateX(4px);
}

/* Header Actions Right */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-phone-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0f172a;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.header-phone-btn:hover {
  transform: translateY(-1px);
}

.phone-pulse-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eff6ff;
  color: #0066cc;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  border: 1px solid #dbeafe;
}

.phone-pulse-icon svg {
  width: 17px;
  height: 17px;
}

.phone-pulse-icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  display: none;
  animation: phonePulse 1.8s infinite;
  opacity: 0.5;
}

@keyframes phonePulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 0.2; }
  100% { transform: scale(1.35); opacity: 0; }
}

.phone-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.phone-text small {
  font-size: 0.70rem;
  color: #728078;
  line-height: 1.1;
  white-space: nowrap;
}

.phone-text strong {
  font-size: 1.02rem;
  color: #111827;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dc2626;
  color: #ffffff !important;
  border: none;
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 0.90rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.btn-header-cta:hover {
  transform: translateY(-1px);
  background: #b91c1c;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
  color: #ffffff !important;
}

.cta-arrow-icon {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.btn-header-cta:hover .cta-arrow-icon {
  transform: translateX(3px);
}

/* Intermediate Laptop/Desktop Screens (Prevents wrapping on 1025px - 1240px) */
@media (max-width: 1240px) {
  .header-container, .topbar-container {
    padding: 0 16px;
    gap: 12px;
  }
  .nav-menu {
    gap: 14px;
  }
  .nav-menu > li > a {
    font-size: 0.88rem;
  }
  .brand-title {
    font-size: 1.12rem;
  }
  .brand-tagline {
    display: none;
  }
  .btn-header-cta {
    padding: 8px 14px;
    font-size: 0.84rem;
  }
  .phone-text small {
    display: none;
  }
  .header-actions {
    gap: 12px;
  }
}

/* Mobile & Tablet adjustments */
@media (max-width: 1040px) {
  .site-topbar .d-none-mobile {
    display: none !important;
  }
  .main-navigation {
    display: none !important;
  }
  .btn-header-cta {
    display: none !important;
  }
  .brand-tagline {
    display: none;
  }
  .brand-logo-img {
    width: 42px;
    height: 42px;
  }
  .brand-title {
    font-size: 1.1rem;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}

@media (max-width: 680px) {
  .header-phone-btn {
    display: none !important;
  }
  .site-topbar {
    font-size: 0.78rem;
    padding: 6px 0;
  }
  .header-container, .topbar-container {
    padding: 0 12px;
  }
}

/* --- Hero Banner --- */
.hero-banner {
  padding: 65px 0 60px 0;
  text-align: center;
  position: relative;
  background: #f0f7fc;
  border-bottom: 1px solid #e2e8f0;
}

.hero-banner::before {
  display: none;
}

.hero-banner .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #bae6fd;
  color: #0369a1;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0284c7;
  display: inline-block;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
  line-height: 1.25;
}

.hero-title-highlight {
  color: #0066cc;
  background: none;
  -webkit-text-fill-color: initial;
  display: inline;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #475569;
  max-width: 720px;
  margin: 0 auto 32px auto;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #0066cc;
  color: #ffffff !important;
  border: none;
  border-radius: 6px;
  padding: 12px 26px;
  font-weight: 700;
  box-shadow: 0 3px 8px rgba(0, 102, 204, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #0052a3;
  box-shadow: 0 6px 18px rgba(0, 102, 204, 0.35);
  color: #ffffff !important;
}

.btn-secondary {
  background: #ffffff;
  color: #0066cc;
  border: 1.5px solid #0066cc;
  border-radius: 6px;
  padding: 12px 26px;
  font-weight: 700;
  margin-left: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
  background: #eff6ff;
  color: #0052a3;
  border-color: #0052a3;
  transform: translateY(-2px);
}

/* Trust Bar in Hero */
.hero-trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  margin-top: 45px;
  padding: 18px 32px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.trust-number {
  font-size: 1.7rem;
  font-weight: 800;
  color: #0066cc;
  line-height: 1.2;
}

.trust-label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 4px;
}

.trust-divider {
  width: 1px;
  height: 38px;
  background: #e2e8f0;
}

.trust-number {
  font-size: 1.7rem;
  font-weight: 800;
  color: #0066cc;
  line-height: 1.2;
}

.trust-label {
  font-size: 0.82rem;
  color: #637069;
  font-weight: 500;
  margin-top: 4px;
}

.trust-divider {
  width: 1px;
  height: 38px;
  background: #ebe6dd;
}

@media (max-width: 768px) {
  .hero-banner {
    padding: 45px 0 40px 0;
  }
  .hero-title {
    font-size: 2.1rem !important;
  }
  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 26px;
  }
  .hero-trust-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 16px;
    margin-top: 32px;
  }
  .trust-divider {
    display: none;
  }
}

/* --- Card Grid Layout --- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.post-card {
  background: #ffffff;
  border: 1px solid #ebe6dd;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 12px rgba(17, 29, 23, 0.03);
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: #c9ded3;
  box-shadow: 0 16px 36px rgba(22, 78, 63, 0.12);
}

.post-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.post-card:hover .post-card-image img {
  transform: scale(1.08);
}

.post-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-card-category {
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.post-card-category a, .post-card-category span {
  display: inline-block;
  background: #eaf3ee;
  color: #0066cc;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #c8ded2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.74rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.post-card-category a:hover {
  background: #0066cc;
  color: #ffffff;
  border-color: #0066cc;
}

.post-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.35;
}

.post-card-title a {
  color: var(--text-white);
}

.post-card-title a:hover {
  color: var(--primary);
}

.post-card-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.post-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-glass);
  padding-top: 15px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.post-card-author {
  font-weight: 500;
  color: var(--text-main);
}

/* --- Single Post Detail --- */
.single-post-header {
  padding: 60px 0 40px 0;
  text-align: center;
}

.single-post-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--text-white);
  margin-bottom: 20px;
}

.single-post-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.single-post-thumbnail {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-bottom: 50px;
  box-shadow: var(--shadow-lg);
}

.single-post-thumbnail img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #334155;
}

.post-content p {
  margin-bottom: 25px;
}

.post-content h2, .post-content h3 {
  font-family: var(--font-serif);
  color: var(--text-white);
  margin: 40px 0 20px 0;
}

.post-content blockquote {
  border-left: 4px solid var(--primary);
  background: #f0f9ff;
  padding: 20px 30px;
  margin: 30px 0;
  font-style: italic;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  color: #1e293b;
}

/* --- Footer --- */
.site-footer {
  background: #111827; /* Solid Black */
  border-top: 3px solid #0066cc;
  padding: 65px 0 35px 0;
  margin-top: 80px;
  color: #94a3b8;
}

.site-footer .footer-widget-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.site-footer .footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: #0066cc;
}

.site-footer .footer-widget p {
  color: #94a3b8;
  line-height: 1.7;
}

.site-footer .footer-links a {
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.site-footer .footer-links a:hover {
  color: #38bdf8 !important;
  padding-left: 5px;
}

.site-footer .footer-contact-info li strong {
  color: #38bdf8 !important;
}

.site-footer .footer-contact-info a {
  color: #60a5fa !important;
  font-weight: 800;
}

.site-footer .footer-contact-info a:hover {
  color: #ffffff !important;
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  color: #64748b;
  font-size: 0.88rem;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-widget-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-widget p {
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-copyright a {
  font-weight: 600;
  color: var(--text-main);
}

.footer-copyright a:hover {
  color: var(--accent);
}

/* --- Pagination --- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 60px;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 10px 18px;
  border-radius: var(--border-radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
}

.pagination .page-numbers.current, .pagination .page-numbers:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg-deep);
  font-weight: 600;
  border-color: transparent;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .features-section, .contact-section, .gallery-section {
    padding: 50px 0 !important;
  }
  .hero-banner {
    padding: 50px 0 30px 0 !important;
  }
  .hero-title {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
  }
  .hero-subtitle {
    font-size: 0.95rem !important;
    margin-bottom: 20px !important;
  }
  .section-title {
    font-size: 1.6rem !important;
  }
  .features-visual {
    padding: 30px 20px !important;
    min-height: auto !important;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .single-post-title {
    font-size: 2.2rem;
  }
}

/* --- Buttons & UI Elements --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.98rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.35);
  color: #ffffff !important;
}

.btn-secondary {
  background: #ffffff;
  color: #334155;
  border: 1.5px solid #cbd5e1;
  margin-left: 15px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.btn-secondary:hover {
  background: #f8fafc;
  color: #0284c7;
  border-color: #0284c7;
  transform: translateY(-2px);
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
  position: relative;
  line-height: 1.3;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* --- Services Grid --- */
.services-section {
  padding: 85px 0;
  background: #f8fafc;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #ebe6dd;
  border-radius: var(--border-radius-md);
  padding: 38px 30px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(17, 29, 23, 0.03);
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #0066cc;
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #c9ded3;
  box-shadow: 0 16px 36px rgba(22, 78, 63, 0.12);
}

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

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

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

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #eaf3ee;
  color: #0066cc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card:hover .service-icon {
  background: #0066cc;
  color: #ffffff;
  transform: scale(1.08);
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-white);
  margin-bottom: 15px;
}

.service-description {
  color: #55625b;
  font-size: 0.95rem;
  margin-bottom: 22px;
  line-height: 1.65;
  flex-grow: 1;
}

.service-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: #0066cc;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-link:hover {
  color: var(--primary);
}

/* --- Gallery Section --- */
.gallery-section {
  padding: 85px 0;
  background: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.gallery-item {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  border: 1px solid var(--border-glass);
  cursor: pointer;
}

.gallery-img-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.75) 45%, rgba(15, 23, 42, 0.1) 80%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 24px;
  opacity: 0;
  transition: var(--transition-smooth);
  transform: translateY(8px);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-overlay h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 6px;
  line-height: 1.35;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.gallery-overlay p {
  color: #38bdf8 !important;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  margin: 0;
}

/* Stacked card effect for last gallery item */
.gallery-item-more {
  position: relative;
  overflow: visible !important; /* Allow pseudo-elements to overflow for stacked card effect */
  z-index: 1;
}

.gallery-item-more::before,
.gallery-item-more::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-glass);
  background: #ffffff;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.gallery-item-more::before {
  z-index: -1;
  transform: rotate(2deg) scale(0.98) translate(6px, 6px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.gallery-item-more::after {
  z-index: -2;
  transform: rotate(-1.5deg) scale(0.96) translate(-6px, -4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* Hover effects for stacked cards */
.gallery-item-more:hover::before {
  transform: rotate(4deg) scale(1) translate(10px, 10px);
  border-color: var(--accent);
}

.gallery-item-more:hover::after {
  transform: rotate(-3deg) scale(0.98) translate(-10px, -6px);
}

.gallery-more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  z-index: 2;
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 242, 254, 0.15);
}

.gallery-item-more:hover .gallery-more-overlay {
  background: rgba(15, 23, 42, 0.6);
  border-color: var(--accent);
  box-shadow: inset 0 0 20px rgba(0, 242, 254, 0.15);
}

.gallery-more-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #38bdf8 !important;
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
  margin-bottom: 5px;
  transition: var(--transition-smooth);
}

.gallery-item-more:hover .gallery-more-number {
  transform: scale(1.1);
  text-shadow: 0 0 25px rgba(56, 189, 248, 0.6);
}

.gallery-more-text {
  font-size: 0.95rem;
  color: #ffffff !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* --- Gallery Lightbox --- */
.gallery-lightbox {
  display: none;
  position: fixed;
  z-index: 100000;
  inset: 0;
  background: rgba(6, 11, 27, 0.95);
  backdrop-filter: blur(12px);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 85%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  object-fit: contain;
}

.lightbox-caption {
  text-align: center;
  margin-top: 20px;
  color: #ffffff !important;
}

.lightbox-caption h3,
.lightbox-caption .lightbox-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.lightbox-code {
  display: inline-block;
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.lightbox-caption p {
  color: #cbd5e1 !important;
  font-size: 0.95rem;
  max-width: 650px;
  line-height: 1.6;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: var(--text-muted);
  font-size: 45px;
  font-weight: 200;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lightbox-close:hover {
  color: var(--text-white);
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  font-size: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 10;
}

.lightbox-prev:hover, .lightbox-next:hover {
  background: var(--accent);
  color: #ffffff;
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

.lightbox-prev .dashicons, .lightbox-next .dashicons {
  font-size: inherit;
  width: auto;
  height: auto;
  line-height: inherit;
  display: inline-block;
}

@media (max-width: 768px) {
  .lightbox-prev {
    left: 10px;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  .lightbox-next {
    right: 10px;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  .lightbox-close {
    top: 15px;
    right: 20px;
    font-size: 35px;
  }
  .lightbox-caption h3,
  .lightbox-caption .lightbox-title {
    font-size: 1.2rem;
  }
}

/* --- Features Section --- */
.features-section {
  padding: 80px 0;
}

.features-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-check {
  background: var(--accent-glow);
  color: var(--accent);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
  border: 1px solid var(--accent);
}

.feature-item div {
  color: var(--text-muted);
  line-height: 1.6;
}

.feature-item strong {
  color: var(--text-white);
  display: block;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.features-visual {
  height: 350px;
  background-image: linear-gradient(135deg, rgba(2, 132, 199, 0.08), rgba(5, 150, 105, 0.08));
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius-lg);
  border: 1px solid #e2e8f0;
  padding: 30px;
  display: flex;
  align-items: flex-end;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-md);
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.glass-panel h3 {
  font-family: var(--font-serif);
  color: var(--text-white);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.glass-panel p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- Contact & Forms --- */
.contact-section {
  padding: 100px 0;
  background: #f8fafc;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.contact-details p {
  font-size: 1.05rem;
  color: var(--text-main);
}

.contact-details strong {
  color: var(--primary);
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.premium-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
}

.form-group input, .form-group select, .form-group textarea {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.form-group select option {
  background: var(--bg-deep);
  color: var(--text-white);
}

/* --- Extra Mobile adjustments --- */
@media (max-width: 992px) {
  .features-wrapper, .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .btn-secondary {
    margin-left: 0;
    margin-top: 15px;
    display: block;
  }
}

/* --- Floating Contact (Left) & Scroll to Top (Right) --- */
.floating-widgets-left {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  position: relative;
}

.floating-btn-contact:hover {
  transform: scale(1.15) translateY(-3px);
}

.floating-btn-zalo {
  background: #0068ff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 104, 255, 0.4);
}

.floating-btn-zalo:hover {
  box-shadow: 0 8px 25px rgba(0, 104, 255, 0.6);
}

.floating-btn-zalo img {
  width: 26px;
  height: 26px;
  border-radius: 4px;
}

.floating-btn-call {
  background: #dc2626;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
  color: #ffffff;
}

.floating-btn-call:hover {
  background: #b91c1c;
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.6);
}

.floating-btn-call svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Pulse animation for call button to draw attention */
.floating-btn-call::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #dc2626;
  opacity: 0.8;
  animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* Scroll to top button */
.scroll-to-top-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.scroll-to-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top-btn:hover {
  transform: translateY(-5px);
  color: var(--accent);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.scroll-to-top-btn svg {
  width: 20px;
  height: 20px;
}

/* Adjustments for mobile viewports */
@media (max-width: 1024px) {
  .floating-widgets-left {
    left: 15px;
    bottom: 15px;
    gap: 10px;
  }
  .floating-btn-contact {
    width: 45px;
    height: 45px;
  }
  .floating-btn-zalo img {
    width: 22px;
    height: 22px;
  }
  .floating-btn-call svg {
    width: 20px;
    height: 20px;
  }
  .scroll-to-top-btn {
    right: 15px;
    bottom: 15px;
    width: 40px;
    height: 40px;
  }
}

/* --- Beautiful Post Call to Action Box --- */
.post-cta-box {
  background: #eff6ff;
  border: 2px dashed #0066cc;
  border-radius: var(--border-radius-md);
  padding: 30px;
  margin: 40px 0;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  transition: var(--transition-smooth);
}

.post-cta-box:hover {
  border-color: #0052a3;
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

.post-cta-content {
  flex: 1.2;
}

.post-cta-content h3 {
  font-family: var(--font-serif);
  color: #0b3c6d;
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0 0 10px 0 !important;
}

.post-cta-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 !important;
}

.post-cta-actions {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.post-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.post-cta-btn-call {
  background: #dc2626;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.post-cta-btn-call:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

.post-cta-btn-call svg {
  width: 18px;
  height: 18px;
}

.post-cta-btn-zalo {
  background: #0068ff;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 104, 255, 0.2);
}

.post-cta-btn-zalo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 104, 255, 0.4);
}

.post-cta-btn-zalo img {
  width: 20px;
  height: 20px;
  border-radius: 3px;
}

@media (max-width: 1024px) {
  .post-cta-box {
    flex-direction: column;
    padding: 25px;
    gap: 20px;
    text-align: center;
  }
  .post-cta-content h3 {
    font-size: 1.3rem;
  }
}

/* --- Beautiful Post Related Articles Box --- */
.post-related-box {
  background: #f8fafc;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  padding: 20px 25px;
  margin: 30px 0;
  border-top: 1px solid var(--border-glass);
  border-right: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.post-related-title {
  font-family: var(--font-serif);
  color: var(--text-white);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 12px 0 !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-related-title::before {
  content: '💡';
  font-size: 1.1rem;
}

.post-related-list {
  list-style: none;
  padding: 0 !important;
  margin: 0 !important;
}

.post-related-list li {
  margin-bottom: 10px !important;
  position: relative;
  padding-left: 15px;
  line-height: 1.5;
}

.post-related-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.post-related-list li:last-child {
  margin-bottom: 0 !important;
}

.post-related-list a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.98rem;
  transition: var(--transition-smooth);
}

.post-related-list a:hover {
  color: var(--primary);
  padding-left: 3px;
}

/* --- Single Post Related Grid --- */
.related-posts-section {
  margin-top: 50px;
  border-top: 1px solid var(--border-glass);
  padding-top: 40px;
  margin-bottom: 50px;
}

.related-posts-section-title {
  font-family: var(--font-serif);
  color: var(--text-white);
  margin-bottom: 25px;
  font-size: 1.6rem;
  position: relative;
  padding-bottom: 8px;
}

.related-posts-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.related-post-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.related-post-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.related-post-card-thumb {
  height: 150px;
  overflow: hidden;
}

.related-post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.related-post-card:hover .related-post-card-thumb img {
  transform: scale(1.08);
}

.related-post-card-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.related-post-card-content h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.4;
  margin: 0 0 10px 0 !important;
}

.related-post-card-content h4 a {
  color: var(--text-white);
}

.related-post-card-content h4 a:hover {
  color: var(--primary);
}

.related-post-card-content .date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
}

/* --- Mobile Menu & Hamburger Toggle --- */

/* Mobile Toggle Button */
.mobile-menu-toggle {
  display: none;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  padding: 10px;
  z-index: 1100;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #f1f5f9;
  transition: var(--transition-smooth);
}

.mobile-menu-toggle:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #0f172a;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, background-color 0.3s ease;
  border-radius: 2px;
}

@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: flex !important;
    order: 2 !important;
  }
}

/* Hamburger active transformation to X */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--primary);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--primary);
}

/* Scroll Lock when Drawer is open */
body.mobile-menu-open {
  overflow: hidden !important;
}

/* Mobile Menu Drawer Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(4, 7, 20, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1090;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Sliding Drawer Panel */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85%;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 30px 25px;
  box-sizing: border-box;
}

.mobile-menu-drawer.active {
  transform: translateX(0);
}

/* Drawer Header */
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}

.drawer-logo img, .drawer-logo .site-logo-img {
  height: 55px;
  width: 55px;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
  border: 1.5px solid rgba(0, 242, 254, 0.2);
  object-fit: cover;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.mobile-menu-close:hover {
  color: var(--primary);
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.3);
  transform: rotate(90deg);
}

/* Drawer Navigation */
.drawer-navigation {
  margin-bottom: auto;
}

.drawer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-menu > li {
  opacity: 0;
  transform: translateX(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

/* Stagger animations for drawer items when drawer is active */
.mobile-menu-drawer.active .drawer-menu > li {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu-drawer.active .drawer-menu > li:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu-drawer.active .drawer-menu > li:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu-drawer.active .drawer-menu > li:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu-drawer.active .drawer-menu > li:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu-drawer.active .drawer-menu > li:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu-drawer.active .drawer-menu > li:nth-child(6) { transition-delay: 0.3s; }

.drawer-menu a {
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  transition: var(--transition-smooth);
}

.drawer-menu a:hover {
  color: var(--primary);
  padding-left: 8px;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

/* Drawer Sub Menu */
.drawer-sub-menu {
  list-style: none;
  padding-left: 20px;
  margin-top: 5px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 1.5px solid rgba(0, 242, 254, 0.2);
}

.drawer-sub-menu li {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.drawer-sub-menu a {
  font-size: 0.95rem !important;
  opacity: 0.85;
  padding: 6px 0 !important;
  font-weight: 400 !important;
  border-bottom: none !important;
}

.drawer-sub-menu a:hover {
  padding-left: 5px !important;
}

/* Drawer Footer */
.drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 25px;
}

.drawer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg-deep) !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
  transition: var(--transition-smooth);
}

.drawer-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
}

.drawer-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-white) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 11px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.drawer-secondary-btn:hover {
  background: rgba(0, 242, 254, 0.05);
  border-color: var(--primary);
  color: var(--primary) !important;
}

.drawer-contact-info {
  text-align: center;
  margin-top: 10px;
}

.drawer-contact-info p {
  margin: 4px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Search Box Styling --- */
.search-field:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3), inset 0 0 5px rgba(0, 242, 254, 0.1);
  background: rgba(255, 255, 255, 0.06) !important;
}

.search-submit:hover {
  transform: translateY(-50%) scale(1.08) !important;
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.6) !important;
}

/* --- Table of Contents (TOC) --- */
.post-toc-container {
  background: #f8fafc;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: 20px 25px;
  margin: 30px 0;
  max-width: 100%;
  box-sizing: border-box;
}

.post-toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
  margin-bottom: 15px;
}

.post-toc-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-white);
  display: inline-flex;
  align-items: center;
}

.post-toc-toggle {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.post-toc-toggle:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.3);
}

.post-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-toc-list li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.post-toc-list li:last-child {
  margin-bottom: 0;
}

.post-toc-list a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}

.post-toc-list a:hover {
  color: var(--primary);
  padding-left: 5px;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.toc-level-2 {
  font-weight: 500;
}

.toc-level-3 {
  padding-left: 20px;
  font-size: 0.9rem;
}

.toc-level-3::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
  display: inline-block;
}

/* Category Filter list style */
.category-filter-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 25px;
}

.cat-filter-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 8px 22px;
  border-radius: 25px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cat-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.cat-filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.25);
}

.cat-filter-btn.active:hover {
  color: #ffffff;
  transform: none;
}

@keyframes spin-loading {
  to { transform: rotate(360deg); }
}


/* --- Footer Enhancements --- */
.footer-links a:hover {
  color: var(--primary) !important;
  padding-left: 4px;
}
.footer-contact-info a:hover {
  color: #0369a1 !important;
}
