/**
 * binhminh Vietnam Fashion Theme - Main Stylesheet
 * 
 * @package binhminh_Fashion
 * @version 1.0.0
 * @author binhminh Vietnam Fashion
 */

/* ============================================================
   1. IMPORTS & VARIABLES
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
    /* Colors */
    --primary-color: #c0392b;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --info-color: #3498db;
    --colormain: #1382AC;
    
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --bgmain: #1382AC;
    
    /* Fonts */
    --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Roboto', Georgia, serif;
    --fontUTMBebas: "UTMBebas";
    --fontSFProDisplayBold: "SFProDisplay-Bold";
    --fontSVNPoppins: "SVN-Poppins";
    
    /* Sizes */
    --container-width: 1200px;
    --header-height: 80px;
    --footer-height: 300px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --transition-fast: all 0.15s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-800);
    background-color: var(--gray-100);
    overflow-x: hidden;
}

/* Site Wrapper */
.site-wrapper {
    max-width: var(--container-width);
    margin: 0 auto;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    min-height: 100vh;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

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

/* Lists */
ul, ol {
    padding-left: 20px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900);
    margin-bottom: 15px;
}

h1 { font-size: 42px; }
h2 { font-size: 34px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

/* Paragraphs */
p {
    margin-bottom: 15px;
}

/* ============================================================
   3. CONTAINER & GRID
   ============================================================ */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-main {
    flex: 1;
    padding: 0 15px;
}

.col-sidebar {
    flex: 0 0 320px;
    padding: 0 15px;
}

/* Grid System */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* ============================================================
   4. HEADER
   ============================================================ */
.mobile-menu-toggle, 
.mobile-navigation {
    display: none; /* Ẩn menu mobile trên màn hình lớn */
}

header {
  //  background: var(--white);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1000;
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
/* Layout tổng thể thanh Top Bar */
.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  //background-color: var(--white); /* Màu nền trắng */
  //color: #000000; /* Màu chữ đen */
  height: 36px;
  padding: 0 20px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  position: relative;
  z-index: 999;
}

/* --- XỬ LÝ DÒNG CHỮ CHẠY (MARQUEE) --- */
.marquee-wrapper {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  margin-right: 20px;
  mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent); /* Làm mờ 2 đầu */
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}

.marquee-content span {
  padding-right: 50px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Rê chuột vào chữ sẽ dừng chạy */
.marquee-wrapper:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- XỬ LÝ NÚT CHỌN NGÔN NGỮ --- */
.language-switcher {
  position: absolute;
  top: 0px;
  right: 0px;
}
/* Responsive cho màn hình điện thoại */
@media (max-width: 768px) {
  .top-bar-container {
    padding: 0 10px;
  }
  .marquee-wrapper {
    margin-right: 10px;
  }
}
/* Logo */
.logo {
    position: relative;
    display: inline-block;
    overflow: hidden;
    /* Bắt buộc để vệt sáng không tràn ra ngoài */
    vertical-align: middle;
}

.logo img {
    display: block;
    max-height: 50px;
    /* Tùy chỉnh chiều cao icon */
    width: auto;
}

/* Tạo vệt sáng nghiêng */
.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shineEffect 3s infinite linear;
    /* Lặp lại sau mỗi 3 giây */
    pointer-events: none;
}

@keyframes shineEffect {
    0% {
            left: -75%;
        }
    
    /* Dành tới 70% thời gian (khoảng 5.6 giây) chỉ để vệt sáng trượt từ từ qua icon */
    50% {
        left: 125%; 
    }
    
    /* 30% thời gian còn lại (khoảng 2.4 giây) nghỉ chờ chu kỳ tiếp theo */
    100% {
        left: 125%; 
    }
}
.logo {
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-900);
}

.logo img {
    max-height: 60px;
    width: auto;
}

.logo h1 {
    font-size: 28px;
    font-weight: 900;
    margin: 0;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo h1 span {
    color: var(--secondary-color);
}

.logo .site-description {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
    width: 100%;
}

.main-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 30px;
    width: 100%;
}

.main-menu li {
    position: relative;
    padding: 0;
    flex: 1; /* Tất cả các nút chia đều chiều rộng */
    text-align: center; /* Căn chữ vào giữa mỗi nút */
}

.main-menu a {
    display: block;
    padding: 10px 0;
    color: var(--gray-800);
    font-weight: 500;
    font-size: 18px;
    transition: var(--transition);
    position: relative;
}

.main-menu a:hover {
    color: var(--info-color);
}

.main-menu a:hover::after {
    width: 100%;
}

.main-menu .current-menu-item a {
    color: var(--info-color);
}

.main-menu .current-menu-item a::after {
 //   width: 100%;
}

/* Dropdown Menu */
.main-menu .menu-item-has-children {
    position: relative;
}

.main-menu .menu-item-has-children > a::before {
    content: '▾';
    margin-left: 5px;
    font-size: 12px;
}

.main-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    padding: 10px 0;
    list-style: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 999;
}

.main-menu .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-menu .sub-menu li {
    padding: 0;
}

.main-menu .sub-menu a {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 400;
}

.main-menu .sub-menu a::after {
    display: none;
}

.main-menu .sub-menu a:hover {
    background: var(--gray-100);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    border: none;
    background: none;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* Sticky Header */
header .sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.3s ease;
 //   background: var(--white);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}
/* =============================================================
    4.1 slide section
   =============================================================*/
/* Khung chứa slider chính */
.mina-fashion-slider {
  width: 100%;
  height: 80vh; /* Chiều cao slider trên máy tính (80% màn hình) */
  position: relative;
  font-family: Arial, sans-serif;
}

/* Kiểu dáng từng slide */
.mina-fashion-slider .swiper-slide {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Lớp phủ màu tối nhẹ giúp nổi bật chữ */
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

/* Nội dung chữ trên Slide */
.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 0 20px;
}

.slide-content .subtitle {
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
  font-weight: 500;
}

.slide-content .title {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 28px;
  text-transform: uppercase;
  line-height: 1.2;
  color: #0a66c2;
}

/* Nút bấm chuyển hướng (Button) */
.btn-shop {
  display: inline-block;
  padding: 12px 36px;
  background-color: #ffffff;
  color: #000000;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  border: 1px solid #ffffff;
  transition: all 0.3s ease;
}

.btn-shop:hover {
  background-color: transparent;
  color: #ffffff;
}

/* Tùy chỉnh mũi tên & chấm tròn Swiper */
.swiper-button-control {
    position: absolute;
    background-color: white;
    max-width: 100px;
    max-height: 50px;
    bottom: 0px;
    right: 0px;
    z-index: 10;
    display: flex;
}
.swiper-button-next, 
.swiper-button-prev {
  color: #666666 !important;
  opacity: 0.7;
  transition: opacity 0.3s;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  top: 0 !important;
  margin: 0px !important;
  left:0px !important;

}
.swiper-button-next:after, .swiper-button-prev:after{
    font-size: 12px !important;
}
.swiper-button-next:hover, 
.swiper-button-prev:hover {
  opacity: 1;
  background-color: #AAAAAA;
}
.swiper-pagination-bullet-active {
  background: #ffffff !important;
}

/* Tùy chỉnh giao diện Mobile */
@media (max-width: 768px) {
  .mina-fashion-slider {
    height: 55vh; /* Thu nhỏ chiều cao trên điện thoại */
  }
  
  .slide-content .title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .slide-content .subtitle {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .btn-shop {
    padding: 10px 24px;
    font-size: 11px;
  }
}
/* Mặc định ẩn nội dung chữ */
.swiper-slide .slide-title,
.swiper-slide .btn-shop {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

/* Khi slide được kích hoạt (active), cho chữ bay lên và hiển thị */
.swiper-slide-active .slide-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
    /* Hiện sau 0.3s */
}

.swiper-slide-active .btn-shop {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
    /* Hiện sau 0.6s */
}
/* ============================================================
   5. HERO SECTION
   ============================================================ */

.hero-section {
    padding: 80px 0;
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.05) 0%, rgba(44, 62, 80, 0.05) 100%);
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    text-align: center;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--info-color);
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.hero-highlight {
    margin: 25px 0;
}

.highlight-badge {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 30px;
    font-weight: 700;
    font-size: 18px;
    box-shadow: var(--shadow-md);
}

.hero-description {
    font-size: 17px;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
/* ============================================================
   5.1 image SECTION
   ============================================================ */
.images-section {
    padding: 80px 0px;
    background: var(--white);
}
.images-content {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: space-between;
    align-items: flex-start;
}

/* ============================================================
   5.2 brand SECTION
   ============================================================ */
.brand-section{
    padding: 80px 0px;
    background: var(--white);
}
.row-thuonghieunoibat{
    display: flex;
    flex-wrap: wrap;
}
.thunghieunoibat_left{
    background: #585858;
        color: #fff;
        width: 45%;
}
.thunghieunoibat-desc{
        padding: 100px 30px 30px 60px;
            position: relative;
}
.thunghieunoibat-desc:before {
    position: absolute;
    content: '';
    left: 40px;
    top: 60px;
    width: 2px;
    height: 80px;
    background: Var(--bgmain);
}
.thunghieunoibat-img img {
    width: -webkit-fill-available;
}
.thunghieunoibat_right {
    width: 55%;
    padding: 40px;
}
.thunghieunoibat_list_title {
    color: #000;
    font: 30px var(--fontSFProDisplayBold);
    position: relative;
    text-align: right;
    padding: 0 0 0;
    margin: 0 0 30px 0;
}
.thunghieunoibat_list_title:after {
    position: absolute;
    content: '';
    right: 0;
    bottom: 0;
    width: 70%;
    height: 2px;
    background: var(--bgmain);
}
/* ============================================================
   5.3 QC SECTION
   ============================================================ */
.qc-section{
    padding: 30px 0;
    background: var(--white);
    margin: 0;
    text-align: center;
}
.bannerqc-item {
    height: 300px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-evenly;
    align-items: center;
}
.bannerqc-item span {
    font: 33px var(--font);
    color: #fff;
}
.bannerqc-item a {
    background: var(--bgmain);
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    font: 20px var(--font);
}
/* ============================================================
   5.4 news SECTION
   ========================================================== */
.news-section {
    padding: 80px 0px;
    background: var(--white);
}
.title-home {
    text-align: center;
    margin: 0px 0 20px;
}
.title-home h3 {
    font: 55px var(--fontSVNPoppins);
    font-weight: 700;
    color: #000;
    margin: 0;
}
.title-home h3 span {
    color: var(--colormain);
}
.title-home p {
    font: 19px var(--fontSVNPoppins);
    color: #333333;
    margin: 0;
    font-weight: 500;
}
/* ============================================================
   6. ABOUT SECTION
   ============================================================ */

.about-section {
    padding: 80px 0;
    background: var(--white);
}
.about-left{
    width: 53%;
    position: relative;
}
.about-right{
    width: 45%;
    position: relative;
    padding-left: 0;
    min-height: 650px;
}
.about-text5 {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: scale(-1);
    text-align: end;
    color: #EDEDED;
    /* width: 6.3%; */
    font: 100px var(--fontUTMBebas);
    position: absolute;
    right: 0;
    top: 10px;
    text-transform: uppercase;
}
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: space-between;
    align-items: flex-start;
}

.about-image {
    position: relative;
    padding: 20px 20px 0 0;
    display: inline-block;
    width: 80%;
}
.about-image:before {
    position: absolute;
    content: '';
    right: 0;
    top: 0;
    border-top: 1px solid var(--bgmain);
    border-right: 1px solid var(--bgmain);
    width: 50%;
    height: 50%;
}
.about-image img {
    margin: 0 auto;
    max-width: 100%;
    box-shadow: var(--shadow-lg);
}

.about-text {
    flex: 1;
}

.about-text .section-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--info-color);
    font-weight: 700;
    margin-bottom: 10px;
    text-align: left;
}
.about-text .section-title::after {
    background :none !important;
}
.about-text h3 {
    font-size: 32px;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray-700);
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

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

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--gray-600);
    margin-top: 5px;
}
.about_seemore {
    margin: 10px 0 15px;
}
.about_seemore a {
    padding: 0 20px;
    font-family: var(--fontQS);
    font-size: 17px;
    color: #333;
    text-transform: uppercase;
    width: 180px;
    height: 48px;
    line-height: 50px;
    text-align: center;
    border-radius: 25px;
    border: 1px solid var(--bgmain);
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}
.about_seemore a:hover {
    background: var(--info-color);
    color: #FFFFFF;
}
/* ============================================================
   7. FEATURES SECTION
   ============================================================ */

.features-section {
    padding: 80px 0;
    background: var(--gray-100);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 50px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--primary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(192, 57, 43, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.feature-card p {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   8. BLOG SECTION
   ============================================================ */

.blog-preview-section {
    padding: 80px 0;
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-thumbnail {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-thumbnail img {
    transform: scale(1.05);
}

.blog-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
}

.blog-date span {
    display: block;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 10px;
}

.blog-meta a {
    color: var(--primary-color);
}

.blog-meta a:hover {
    color: var(--secondary-color);
}

.blog-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-title a {
    color: var(--gray-900);
    transition: var(--transition);
}

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

.blog-excerpt {
    color: var(--gray-600);
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
}

.read-more-btn {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.read-more-btn::after {
    content: ' →';
    transition: var(--transition);
}

.read-more-btn:hover {
    color: var(--secondary-color);
}

.read-more-btn:hover::after {
    transform: translateX(5px);
}

/* ============================================================
   9. CONTACT SECTION
   ============================================================ */

.contact-section {
    padding: 80px 0;
    background: var(--gray-100);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    display: grid;
    gap: 20px;
}

.info-item {
    padding: 25px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.info-item i {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.info-item p {
    color: var(--gray-600);
    margin: 0;
    font-size: 14px;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.contact-form-wrapper .form-group {
    margin-bottom: 20px;
}

.contact-form-wrapper label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--gray-700);
}

.contact-form-wrapper input,
.contact-form-wrapper textarea,
.contact-form-wrapper select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus,
.contact-form-wrapper select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.contact-form-wrapper textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============================================================
   10. FOOTER
   ============================================================ */

footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 0;
}

footer a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

footer a:hover {
    color: var(--white);
}

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

.footer-widget h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-widget p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.8;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-widget ul li:last-child {
    border-bottom: none;
}

.footer-widget ul li a {
    font-size: 14px;
}

.footer-widget ul li a::before {
    content: '›';
    margin-right: 8px;
    color: var(--primary-color);
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 20px;
}

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

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

.footer-bottom .footer-menu {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 20px;
}

.footer-bottom .footer-menu a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.footer-bottom .footer-menu a:hover {
    color: var(--white);
}
.ttft1 {
    text-transform: uppercase;
    font: 22px var(--fontSVNPoppins);
    margin: 0 0 20px 0;
    position: relative;
    padding: 0 0 10px 0;
}
.ttft1:after {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 67px;
    height: 6px;
    border-top: 2px solid var(--bgmain);
    border-bottom: 2px solid var(--bgmain);
}
.doitac-item {
    margin: 10px 0;
}
.col-doitac{
    padding-left: 10px;
    padding-right: 10px;
    width: 50%;
}
#footer-map iframe {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    top: 0px !important;
    left: 0px !important;
}
#footer-map {
    position: relative;
    height: 350px;
}
/* ============================================================
   11. SINGLE POST
   ============================================================ */
/*
.single-post {
    padding: 40px 0;
}*/

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--info-color);
    margin-bottom: 15px;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--gray-600);
}

.entry-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.entry-meta a {
    color: var(--gray-600);
}

.entry-meta a:hover {
    color: var(--primary-color);
}

.entry-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-800);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 30px;
}

.entry-content img {
  /*  margin: 20px 0;*/
    border-radius: var(--radius-md);
}

.entry-content blockquote {
    padding: 20px 30px;
    margin: 30px 0;
    border-left: 5px solid var(--primary-color);
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    font-style: italic;
}

.entry-content blockquote p {
    margin: 0;
}

.entry-content ul,
.entry-content ol {
    margin: 15px 0;
}

.entry-content .wp-caption {
    max-width: 100%;
    margin: 20px 0;
}

.entry-content .wp-caption-text {
    font-size: 14px;
    color: var(--gray-600);
    text-align: center;
    padding: 10px 0;
}

/* Post Tags */
.entry-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-200);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.post-tags .tag-label {
    font-weight: 600;
    color: var(--secondary-color);
}

.post-tags a {
    padding: 5px 15px;
    background: var(--gray-100);
    border-radius: 20px;
    font-size: 13px;
    color: var(--gray-700);
    transition: var(--transition);
}

.post-tags a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Post Share */
.post-share {
    margin-top: 20px;
    display: flex;
    gap: 50px;
    align-items: center;
}

.post-share span {
    font-weight: 600;
    color: var(--white);
}

.post-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.post-share a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.post-share .share-facebook { background: #1877f2; }
.post-share .share-twitter { background: #000000; }
.post-share .share-linkedin { background: #0a66c2; }
.post-share .share-pinterest { background: #e60023; }
.post-share .share-email { background: var(--gray-600); }

/* Related Posts */
.related-posts {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid var(--gray-200);
}

.related-posts h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

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

.related-item {
    text-align: center;
}

.related-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

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

.related-item h4 a {
    color: var(--gray-900);
}

.related-item h4 a:hover {
    color: var(--primary-color);
}

.related-item .date {
    font-size: 12px;
    color: var(--gray-600);
}

/* ============================================================
   12. SIDEBAR
   ============================================================ */

.widget {
    margin-bottom: 30px;
    padding: 25px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-200);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: var(--gray-700);
    transition: var(--transition);
}

.widget ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Search Widget */
.widget_search .search-form {
    display: flex;
    gap: 10px;
}

.widget_search .search-field {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition);
}

.widget_search .search-field:focus {
    outline: none;
    border-color: var(--primary-color);
}

.widget_search .search-submit {
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.widget_search .search-submit:hover {
    background: var(--secondary-color);
}

/* Tag Cloud */
.tag-cloud a {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 5px 5px 0;
    background: var(--gray-100);
    border-radius: 20px;
    font-size: 14px !important;
    color: var(--gray-700);
    transition: var(--transition);
}

.tag-cloud a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Recent Posts Widget */
.recent-posts-list li {
    display: flex;
    gap: 15px;
    padding: 10px 0 !important;
}

.recent-posts-list .post-thumbnail {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.recent-posts-list .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-posts-list .post-details {
    flex: 1;
}

.recent-posts-list .post-details h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 5px;
}

.recent-posts-list .post-details h4 a {
    color: var(--gray-900);
}

.recent-posts-list .post-details h4 a:hover {
    color: var(--primary-color);
}

.recent-posts-list .post-date {
    font-size: 12px;
    color: var(--gray-600);
}

/* Social Icons Widget */
.widget_social_icons .social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.widget_social_icons .social-icons li {
    border: none;
    padding: 0;
}

.widget_social_icons .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.widget_social_icons .social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* ============================================================
   13. COMMENTS
   ============================================================ */

.comments-area {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
}

.comments-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

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

.comment-list .comment {
    margin-bottom: 20px;
}

.comment-list .comment-body {
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
}

.comment-list .comment-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.comment-list .comment-author .avatar {
    border-radius: 50%;
}

.comment-list .comment-author .fn {
    font-weight: 700;
    color: var(--secondary-color);
}

.comment-list .comment-metadata {
    font-size: 13px;
    color: var(--gray-600);
}

.comment-list .comment-content {
    margin: 10px 0;
}

.comment-list .reply {
    text-align: right;
}

.comment-list .comment-reply-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

.comment-list .comment-reply-link:hover {
    color: var(--secondary-color);
}

.comment-list .children {
    list-style: none;
    padding-left: 40px;
}

.comment-respond {
    margin-top: 30px;
    padding: 30px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
}

.comment-respond .comment-reply-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.comment-respond .comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.comment-respond .comment-form-comment {
    grid-column: 1 / -1;
}

.comment-respond .comment-form-author,
.comment-respond .comment-form-email,
.comment-respond .comment-form-url {
    width: 100%;
}

.comment-respond label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--gray-700);
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.comment-respond input:focus,
.comment-respond textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.comment-respond textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-respond .form-submit {
    grid-column: 1 / -1;
}

.comment-respond .submit {
    padding: 12px 35px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.comment-respond .submit:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ============================================================
   14. PAGINATION
   ============================================================ */

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
    list-style: none;
    padding: 0;
}

.pagination-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0;
    list-style: none;
}

.pagination-list li {
    margin: 0;
}

.pagination-list a,
.pagination-list span {
    display: inline-block;
    padding: 10px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition);
}

.pagination-list a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination-list .current {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination-list .dots {
    border: none;
    padding: 10px 5px;
}

/* ============================================================
   15. BREADCRUMB
   ============================================================ */

.breadcrumb {
    padding: 0;
    font-size: 14px;
    color: var(--gray-600);
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: var(--gray-400);
}

.breadcrumb-list a {
    color: var(--gray-700);
}

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

.breadcrumb-list .current {
    color: var(--primary-color);
    font-weight: 500;
}

/* ============================================================
   16. ARCHIVE & SEARCH
   ============================================================ */

.archive-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-200);
}

.archive-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.archive-description {
    color: var(--gray-600);
    font-size: 16px;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.archive-item {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.archive-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.archive-item .post-thumbnail {
    height: 200px;
    overflow: hidden;
}

.archive-item .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.archive-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

.archive-item .post-content {
    padding: 20px;
}

.archive-item .entry-title {
    font-size: 20px;
    margin: 0 0 10px;
}

.archive-item .entry-title a {
    color: var(--gray-900);
}

.archive-item .entry-title a:hover {
    color: var(--primary-color);
}

.archive-item .entry-meta {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 10px;
}

.archive-item .entry-excerpt {
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Search Results */
.search-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-200);
}

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

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

.search-thumbnail {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.search-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-info .entry-title {
    font-size: 20px;
    margin: 0 0 5px;
}

.search-info .entry-title a {
    color: var(--gray-900);
}

.search-info .entry-title a:hover {
    color: var(--primary-color);
}

.search-info .entry-meta {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 10px;
}

.search-info .entry-excerpt {
    color: var(--gray-700);
}

.no-results {
    text-align: center;
    padding: 60px 0;
}

.no-results .search-form {
    max-width: 500px;
    margin: 20px auto;
}

/* ============================================================
   17. 404 PAGE
   ============================================================ */

.error-404 {
    text-align: center;
    padding: 80px 0;
}

.error-title {
    font-size: 150px;
    font-weight: 900;
    color: var(--primary-color);
    margin: 0;
    line-height: 1;
}

.error-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 20px 0;
}

.error-content p {
    color: var(--gray-600);
    font-size: 18px;
    margin-bottom: 30px;
}

.error-actions {
    margin: 30px 0;
}

.error-actions .btn {
    margin: 5px;
}

.error-categories {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
}

.error-categories h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.error-categories ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0;
}

.error-categories ul li {
    margin: 0;
}

.error-categories ul li a {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gray-200);
    border-radius: 20px;
    color: var(--gray-700);
    font-size: 14px;
    transition: var(--transition);
}

.error-categories ul li a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ============================================================
   18. BACK TO TOP
   ============================================================ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: none;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.back-to-top i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* ============================================================
   19. UTILITY CLASSES
   ============================================================ */

/* Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

/* Text Colors */
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-white { color: var(--white); }
.text-dark { color: var(--gray-900); }
.text-muted { color: var(--gray-600); }

/* Backgrounds */
.bg-primary { background: var(--primary-color); }
.bg-secondary { background: var(--secondary-color); }
.bg-white { background: var(--white); }
.bg-light { background: var(--gray-100); }
.bg-dark { background: var(--gray-900); }

/* Spacing */
.m-0 { margin: 0; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.p-0 { padding: 0; }
.p-10 { padding: 10px; }
.p-20 { padding: 20px; }
.p-30 { padding: 30px; }
.p-40 { padding: 40px; }
.p-50 { padding: 50px; }

/* Display */
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-none { display: none; }

/* Flex */
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }

/* Width & Height */
.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* Border Radius */
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: 50%; }

/* Shadow */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Hover Effects */
.hover-lift:hover { transform: translateY(-5px); }
.hover-scale:hover { transform: scale(1.05); }
.hover-shadow:hover { box-shadow: var(--shadow-lg); }

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Screen Reader */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Clearfix */
.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* ============================================================
   20. RESPONSIVE OVERRIDES (Partial - Full in responsive.css)
   ============================================================ */

@media screen and (max-width: 992px) {
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-text h2 {
        font-size: 24px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
   
    .about-stats {
        justify-content: center;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .col-sidebar {
        flex: 0 0 100%;
        margin-top: 30px;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-lg);
        gap: 0;
    }
    
    .main-menu.active {
        display: flex;
    }
    
    .main-menu li {
        width: 100%;
    }
    
    .main-menu a {
        padding: 12px 0;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .main-menu a::after {
        display: none;
    }
    
    .main-menu .sub-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0 0 0 20px;
        background: transparent;
        display: none;
    }
    
    .main-menu .menu-item-has-children:hover .sub-menu {
        display: none;
    }
    
    .main-menu .menu-item-has-children.active .sub-menu {
        display: block;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .archive-grid {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .comment-respond .comment-form {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .hero-text h1 {
        font-size: 28px;
    }
    
    .hero-text h2 {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .highlight-badge {
        font-size: 14px;
        padding: 8px 18px;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .search-item-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .search-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .error-title {
        font-size: 100px;
    }
    .about-content {
        flex-direction: column;
        text-align: center;
    }
}
.post_item_1{
        width: 25%;
        padding: 0 10px;
}
/* ============================================================
   21. PRINT STYLES
   ============================================================ */

@media print {
    header, footer, .sidebar, .hero-actions, 
    .post-share, .related-posts, .comments-area,
    .back-to-top, .breadcrumb {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .entry-content {
        font-size: 12pt;
    }
    
    .entry-title {
        font-size: 24pt;
    }
}

/* ============================================================
   22. END OF FILE
   ============================================================ */

/**
 * End of main.css
 * 
 * Thank you for using binhminh Fashion Theme!
 * For support, please contact: support@maymacbinhminh.com.vn
 */
 /* Khung bọc bên ngoài form */
.bm-contact-form-wrap {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.bm-form-group {
    margin-bottom: 15px;
}

.bm-form-row {
    display: flex;
    gap: 15px;
}

.bm-form-row .bm-form-group {
    flex: 1;
}

.bm-contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.bm-contact-form label .required {
    color: #d63638;
}

.bm-contact-form input[type="text"],
.bm-contact-form input[type="email"],
.bm-contact-form input[type="tel"],
.bm-contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.bm-contact-form input:focus,
.bm-contact-form textarea:focus {
    border-color: #2563eb;
}

/* Nút gửi */
.bm-btn-submit {
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.bm-btn-submit:hover {
    background-color: #1d4ed8;
}

/* Thông báo */
.bm-form-alert {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: 500;
}

.bm-form-alert.success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.bm-form-alert.error {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

/* Responsive di động */
@media (max-width: 600px) {
    .bm-form-row {
        flex-direction: column;
        gap: 0;
    }
}
/* nút bổ sung */
/* 1. KHUNG CHỨA CỐ ĐỊNH GÓC DƯỚI BÊN PHẢI */
.floating-widgets-wrap {
    position: fixed !important;
    bottom: 25px !important;
    right: 20px !important;
    z-index: 999999 !important;
    /* Đảm bảo luôn đè lên trên mọi thành phần */
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    align-items: center !important;
}

/* 2. ĐỊNH DẠNG HÌNH TRÒN CHO NÚT */
.floating-widgets-wrap .float-btn {
    position: relative !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
    transition: transform 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    outline: none !important;
}

.floating-widgets-wrap .float-btn:hover {
    transform: scale(1.12) !important;
}

/* 3. MÀU SẮC RIÊNG CỦA TỪNG NÚT */
.floating-widgets-wrap .btn-call {
    background-color: #d63638 !important;
}

/* Đỏ Call */
.floating-widgets-wrap .btn-zalo {
    background-color: #0068FF !important;
}

/* Xanh Zalo */
.floating-widgets-wrap .btn-map {
    background-color: #ea4335 !important;
}

/* Đỏ Map */
.floating-widgets-wrap .btn-top {
    background-color: #aca9a9 !important;
    border-radius: 20% !important;
}

/* Đen Top */

.floating-widgets-wrap .zalo-text {
    font-weight: 800;
    font-size: 13px;
}

/* 4. HIỆU ỨNG 3 TẦNG SÓNG LAN TỎA */
.floating-widgets-wrap .pulse-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    animation: pulseMultiWave 2.4s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.floating-widgets-wrap .ring-1 {
    animation-delay: 0s;
}

.floating-widgets-wrap .ring-2 {
    animation-delay: 0.8s;
}

.floating-widgets-wrap .ring-3 {
    animation-delay: 1.6s;
}

.floating-widgets-wrap .btn-call .pulse-ring {
    border: 2px solid #d63638;
}

.floating-widgets-wrap .btn-zalo .pulse-ring {
    border: 2px solid #0068FF;
}

.floating-widgets-wrap .btn-map .pulse-ring {
    border: 2px solid #ea4335;
}

@keyframes pulseMultiWave {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* 5. NÚT LÊN ĐẦU TRANG */
.floating-widgets-wrap .btn-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
}

.floating-widgets-wrap .btn-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* nút xuống  */
/* 1. KHUNG CHỨA NẰM GIỮA ĐÁY BANNER */
.scroll-down-btn {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    padding: 10px;
}

/* 2. ĐỊNH DẠNG TỪNG MŨI TÊN (3 CHEVRONS) */
.scroll-down-btn span {
    display: block;
    width: 18px;
    height: 18px;
    border-bottom: 2.5px solid #ffffff;
    /* Màu mũi tên (Trắng) */
    border-right: 2.5px solid #ffffff;
    transform: rotate(45deg);
    margin: -6px;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.4));
    animation: chevronWave 2s infinite;
}

/* 3. ĐỘ TRỄ LỆCH PHA TẠO HIỆU ỨNG SÓNG NỐI ĐUÔI */
.scroll-down-btn span:nth-child(1) {
    animation-delay: 0s;
}

.scroll-down-btn span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-down-btn span:nth-child(3) {
    animation-delay: 0.4s;
}

/* 4. KEYFRAMES CHUYỂN ĐỘNG TRƯỢT VÀ ẨN/HIỆN */
@keyframes chevronWave {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-1px, -1px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(1px, 1px);
    }
}