/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* Row chứa các box */
.row.phongvt-box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;              /* khoảng cách giữa các cột */
  justify-content: center;
  padding: 0 10px;        /* tạo khoảng cách 2 bên trên mobile */
  box-sizing: border-box;
}

/* Box chung */
.phongvt-box {
  flex: 1 1 calc(25% - 20px);  /* Desktop: 4 box */
  min-width: 200px;
  border: 1px solid #b3d9ff;
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
  transition: all 0.3s ease;
}

/* Hover effect */
.phongvt-box:hover {
  border-color: #66b3ff;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
  transform: translateY(-3px);
}

/* Tablet: 2 box / hàng */
@media (max-width: 991px) {
  .phongvt-box {
    flex: 1 1 calc(50% - 20px);  /* 2 box 1 hàng */
    max-width: calc(50% - 20px);
  }
}

/* Mobile: vẫn giữ 2 box / hàng */
@media (max-width: 575px) {
  .phongvt-box {
    flex: 1 1 calc(50% - 15px);  /* 2 box / hàng */
    max-width: calc(50% - 15px);
  }
}


/* Bọc row */
.ecatalogue-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;               /* khoảng cách giữa các card */
  justify-content: center; /* căn giữa cả hàng */
}

/* Cột con */
.ecatalogue-row > .col {
  flex: 1 1 calc(20% - 20px);  /* 5 cột đều, trừ khoảng gap */
  max-width: calc(20% - 20px);
  
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Hover */
.ecatalogue-row > .col:hover {
  border-color: #1677d8;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}


.bg-fill {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: 50% 50%;
}
.fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    right: 0;
    bottom: 0;
    padding: 0 !important;
    margin: 0 !important;
}
.section-title-normal {
    display: block; /* full chiều ngang */
    width: 100%;
    padding: 5px 15px;
    margin-bottom: 5px;
    border-radius: 6px;
    background: linear-gradient(90deg, #0a1d7c 0%, #1677d8 100%);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}


.phongvt-title {
    font-size: 26px;
    text-align: left;
    text-transform: uppercase;
    font-weight: normal;
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    padding-bottom: 15px; /* tạo khoảng cách dưới chữ */
}

.phongvt-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;             /* bám đáy chữ */
    width: 100px;          /* ban đầu ngắn */
    height: 3px;           
    background: #3fa9f5;   
    transition: width 0.4s ease;
	
}

/* Hover effect */
.phongvt-title:hover {
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.phongvt-title:hover::after {
    width: 100%; /* dài bằng chữ */
}


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}