:root {
  /* Màu sắc chính */
  --color-primary: #1E3466;
  --color-primary-dark: #0056b3;
  --color-red: #ff0000;
  --color-black: #333;
  --color-blue: #0056b3;
  --hcm:#1E3466;
  /* Màu nền và border */
  --bg-header: #FFFFFF;
  --bg-contact-item: #fafafa;
  --border-color: #ddd;
  --border-item: #eee;
  --hover-bg-item: #f1f1f1;
  --shadow-hover: rgba(0, 123, 255, 0.2);

  /* Font */
  --font-family: Arial, sans-serif;
}

.container-contact {
    background-color: var(--bg-header);
    width: 100%;
    display: flex;             /* Dùng flexbox */
    justify-content: center;   /* Căn giữa theo chiều ngang */
    align-items: center;       /* Căn giữa theo chiều dọc (nếu cần) */
}

.header-top-container {
    background-color: var(--bg-header);
    height: 50px;
    width: 1250px;
    font-family: var(--font-family);
    position: relative;
}

/* Contact info container */
.header-contact {
  color: var(--hcm);
  display: flex;
  gap: 20px;
  align-items: center;
  position: relative;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* Tiêu đề contact */
.contact-title {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0;
  background-color: var(--bg-header);
  color: var(--hcm);
  font-size: 16px;
  padding-right: 30px;
  cursor: pointer;
  color: var(--hcm);
  transition: color 0.3s;
  position: relative;
}
.contact-content.active {
  display: block;
}
.contact-wrapper{
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    height: 100% !important;
}
/* Icon tiêu đề (ví dụ) */
.contact-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url('icon-phone.svg') no-repeat center center;
  background-size: contain;
}



/* Dropdown content */
.contact-content {
  display: none;
  position: absolute;
  top: 80%;
  left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 15px 20px;
  margin-top: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.4;
}

/* Tiêu đề trong dropdown */
.header-content {
  background-color: var(--bg-header);
  display: flex;              
  justify-content: center;    
  align-items: center;        
  height: 50px;
  font-size: 30px;     
  font-weight: 300;      
  padding: 0 20px;            
  box-sizing: border-box;   
  .contact-content {
  padding-left:10px
  }
  
}

/* Hiển thị dropdown khi hover */


/* Contact list dùng Grid 3 cột */
.contact-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Responsive xuống 2 cột dưới 768px */
@media (max-width: 768px) {
  .contact-list {
    grid-template-columns: repeat(2, 1fr);
  }
    .container-contact{
    display: none;
    }
}

/* Responsive xuống 1 cột dưới 480px */
@media (max-width: 480px) {
  .contact-list {
    grid-template-columns: 1fr;
  }
    .container-contact{
    display: none;
    }
}

/* Mỗi item contact */
.contact-item {
  background-color: var(--bg-contact-item);
  border: 1px solid var(--border-item);
  border-radius: 6px;
  padding: 12px 15px;
  box-sizing: border-box;
  transition: box-shadow 0.3s;
  font-size: 14px;
  color: var(--color-black);
}

.contact-item:hover {
  box-shadow: 0 2px 8px var(--shadow-hover);
}

/* Tiêu đề từng item */
.contact-item .heading {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--hcm);
}

/* Danh sách liên hệ */
.heading {
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  padding: 10px;
  background-color: #f5f5f5; /* Màu nền nhẹ */
  border-radius: 8px;        /* Bo góc */
  margin: 10px 0;            /* Khoảng cách trên/dưới */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Bóng nhẹ */
}

.contact-item .list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

/* Mục liên hệ */

.contact-item .item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  transition: background-color 0.3s;
  cursor: default;
}

.contact-item .item:hover {
  background-color: var(--hover-bg-item);
  
}
