@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  background-color: #fdfdfd;
  color: #333;
}
/* Hero Section */
.hero-contact {
  position: relative;
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center 0px;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-text {
  position: absolute;
  bottom: 400px; /* Cách đáy 30px */
  left: 100px; /* Cách trái 30px */
  text-align: left;
  color: white;
  z-index: 2;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 18px;
}

/* Fixed Buttons */
.fixed-buttons {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.fixed-btn {
  display: inline-block;
  padding: 12px 20px; /* Tăng padding để cân đối chiều cao */
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
  width: 125px;
  height: 48px; /* Chiều cao cố định */
  line-height: 24px; /* Cân đối với font-size */
  font-size: 14px; /* Đảm bảo font-size đồng nhất */
  box-sizing: border-box; /* Đảm bảo padding không làm tăng kích thước */
}

.fixed-btn:hover {
  transform: scale(1.05);
}

.donate-btn {
  background-color: #00aaff;
}

.contact-btn {
  background-color: #ff4444;
}

.divider {
  width: 100%;
  height: 4px;
  background-color: #2e7031; /* Màu xanh chủ đạo của trang */
  margin: 30px 0; /* Khoảng cách trên dưới */
  border-radius: 2px; /* Bo góc nhẹ */
}

/* Định dạng phần Liên Hệ */
.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 100px;
}

/* Tiêu đề "Liên Hệ cho tôi" */
.contact-title {
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  font-style: italic;
  font-weight: normal;
  color: #2e7031;
  text-align: center;
  margin-bottom: 20px;
}

/* Contact Section */
.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 100px;
}

/* Kiểu chữ cho tiêu đề "Liên Hệ cho tôi" */
.contact-title {
  font-family: "Poppins", sans-serif; /* Font chữ đẹp */
  font-size: 36px; /* Kích thước chữ lớn */
  font-style: italic; /* In nghiêng */
  font-weight: normal; /* Nét chữ bình thường, không đậm */
  color: #2e7031; /* Màu chữ xanh */
  text-align: center; /* Canh giữa tiêu đề */
  margin-bottom: 20px; /* Khoảng cách dưới tiêu đề */
}

/* Ngăn cách giữa tiêu đề và bản đồ */
.separator {
  margin: 30px 0; /* Khoảng cách trên dưới của phần ngăn cách */
  border-top: 2px solid #2e7031; /* Dòng ngăn cách màu xanh */
}
.map-full {
  width: 90%; /* 80% hoặc 90% tùy bạn muốn */
  max-width: 1200px; /* Giới hạn chiều ngang tối đa nếu muốn */
  margin: 60px auto 0 auto; /* căn giữa ngang, cách trên 60px */
  padding: 0;
  border-radius: 15px;
  overflow: hidden;
}

.map-full iframe {
  width: 100%;
  height: 750px;
  border: 0;
  display: block;
}
.map-container {
  width: 100%; /* Chiếm khoảng 90% chiều ngang, bạn có thể chỉnh */
  max-width: 1500px; /* Giới hạn tối đa */
  margin: 15px auto; /* Căn giữa khung trắng */
  padding: 20px; /* Khoảng cách giữa iframe và khung */
  background: white; /* Màu nền khung trắng */
  border-radius: 20px; /* Bo tròn khung trắng */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Tạo bóng nhẹ cho khung */
  margin-top: 80px;
}

.map-container iframe {
  width: 100%;
  height: 550px;
  border: none;
  border-radius: 15px; /* Bo tròn bản đồ bên trong */
  display: block;
}
.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.contact-info {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-box {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
}

.info-box i {
  color: #2e7031;
  font-size: 24px;
  margin-bottom: 10px;
}

.info-box h4 {
  margin: 0 0 5px;
  font-size: 18px;
  color: #333;
}

.info-box p {
  margin: 0;
  color: #666;
  font-size: 15px;
}

.contact-form {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

.submit-btn {
  padding: 12px 20px;
  background-color: #2e7031;
  color: white;
  border: none;
  font-weight: 900;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  align-self: flex-start;
}

.submit-btn:hover {
  background-color: #014417;
}
.contact-section {
  margin-bottom: 60px; /* tạo khoảng cách phía dưới contact section */
}

.footer {
  background-color: #111;
  color: #fff;
  padding: 40px 20px;
  margin-top: 40px; /* tạo khoảng cách giữa footer và phần trên */
}
.mc_contact_repeater {
  background: none;
  padding: 30px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.mc-col-4 {
  flex: 0 0 32%;
  box-sizing: border-box;
}

.mc-col-sm-6 {
  width: 100%;
}

.item-contact-page {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.item-contact-page:hover {
  transform: translateY(-5px);
}

.icon-item-ctp img {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
}

.name-item-ctp {
  font-weight: 600;
  font-size: 40px;
  margin-bottom: 6px;
  color: #2e7031;
}

.info-item-ctp {
  font-size: 16px;
  color: #444;
  word-wrap: break-word;
}
.icon-item-ctp img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 100%; /* Làm tròn ảnh */
  border: none; /* Xóa viền */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Tạo bóng nhẹ cho ảnh chìm tự nhiên */
  transition: transform 0.3s ease; /* Thêm hiệu ứng khi hover nếu muốn */
}

.icon-item-ctp img:hover {
  transform: scale(1.1);
}

.mc_contact_repeater {
  display: flex;
  justify-content: space-between; /* cách đều các phần */
  align-items: flex-start;
  gap: 40px;
  padding: 40px 60px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.item-contact-page {
  flex: 1;
  text-align: center;
  background: none;
  box-shadow: none;
  border: none;
}

.icon-item-ctp img {
  width: 50px;
  height: auto;
  margin-bottom: 10px;
}

.name-item-ctp {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 6px;
  color: #222;
}

.info-item-ctp {
  font-size: 16px;
  color: #444;
}
.contact-info-wrapper {
  display: flex;
  justify-content: space-around; /* hoặc space-between nếu muốn cách đều hết cỡ */
  align-items: flex-start;
  gap: 20px;
  padding: 40px 60px;
  background: none;
}

.item-contact-page {
  text-align: center;
  flex: 1;
  padding: 10px;
  background: none;
  box-shadow: none;
  border: none;
}

.icon-item-ctp img {
  width: 160px; /* Tăng từ 50px lên 80px */
  height: auto;
  margin-bottom: 40px;
}

.name-item-ctp {
  font-weight: 600;
  font-size: 30px;
  margin-bottom: 6px;
  color: #222;
}

.info-item-ctp {
  font-size: 16px;
  color: #444;
}

/* Container form */
.frm {
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 2px solid #0f4d16;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-family: "Poppins", sans-serif;
}

/* Tiêu đề form */
.title.f-space2e {
  color: #097844;
  text-align: center;
  font-size: 28px;
  margin-bottom: 25px;
  font-weight: 600;
}

/* Bố cục hàng có 2 ô */
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

/* Mỗi ô input */
.form-item {
  flex: 1;
  position: relative;
}

.form-item input[type="text"],
.form-item input[type="email"],
.form-item input[type="tel"],
.form-item textarea {
  width: 100%;
  padding: 12px 15px 12px 15px;
  border: 1.5px solid #0d1810;
  border-radius: 5px;
  font-size: 16px;
  outline: none;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
  background-color: #dde6e0;
}

.form-item input:focus,
.form-item textarea:focus {
  border-color: #08533b;
  box-shadow: 0 0 4px rgba(10, 75, 52, 0.5);
}

/* Icon trong input nếu cần */
.form-item i.fa {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
}

/* Textarea chiếm cả dòng */
.form-item.full-width {
  width: 100%;
  margin-bottom: 20px;
}

/* Nút gửi */
.frm input[type="submit"] {
  background-color: #09672f;
  color: white;
  border: none;
  padding: 14px 25px;
  font-size: 18px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  display: block;
  width: 100%;
  transition: background-color 0.3s ease;
}

.frm input[type="submit"]:hover {
  background-color: #357abd;
}

/* Responsive */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}
.icon-item-ctp img {
  width: 160px; /* Tăng từ 50px lên 80px */
  height: auto;
  margin-bottom: 10px;
}
#button-contact-vr {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 999999;
}

.button-contact {
  margin-bottom: 15px;
  cursor: pointer;
}

.phone-vr {
  position: relative;
  width: 55px;
  height: 55px;
}

.phone-vr-circle-fill {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: pulse 2s infinite;
  z-index: 1;
}

.phone-vr-img-circle {
  position: relative;
  z-index: 2;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.phone-vr-img-circle img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.phone-vr-img-circle {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hiệu ứng sóng */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Màu viền động cho từng ứng dụng */
#messenger-vr .phone-vr-circle-fill {
  background-color: rgba(0, 120, 255, 0.4);
}
#zalo-vr .phone-vr-circle-fill {
  background-color: rgba(1, 128, 199, 0.4);
}
#phone-vr .phone-vr-circle-fill {
  background-color: rgba(37, 211, 102, 0.4);
}
/* Nút lên đầu trang */
#back-to-top {
  position: fixed;
  bottom: 50px;
  right: 19px;
  width: 55px;
  height: 15px;
  background: #00aaff;
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#back-to-top img {
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease;
}

#back-to-top:hover img {
  transform: translateY(-3px);
}
@media (max-width: 1200px) {
  .navbar{
    padding: 10px 20px;
  }
    .navbar ul{
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        background-color: #333;
        padding: 10px;
        display: none;
    }

    .navbar ul.active {
        display: flex;
    }

    .navbar .logo-container::after {
        content: "☰";
        font-size: 24px;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 15px;
    }
}