/* ===========================================
   FOOTER STYLES - DESIGN CHUYÊN NGHIỆP
   =========================================== */
.footer {
  background: linear-gradient(
    135deg,
    #2c3e50 0%,
    #34495e 100%
  ); /* ← GRADIENT ĐẸP */
  color: #ecf0f1;
  margin-top: 80px; /* ← TĂNG KHOẢNG CÁCH */
  position: relative;
  overflow: hidden;
}

/* HIỆU ỨNG NỀN */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #009fc9, #3498db, #009fc9);
  background-size: 200% 100%;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* FOOTER CONTENT CONTAINER */
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr; /* ← TỶ LỆ 2:1 ĐẸP HƠN */
  gap: 50px; /* ← TĂNG GAP */
  padding: 60px 40px; /* ← TĂNG PADDING */
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* SECTION CHÍNH - CÔNG TY */
.footer-section:first-child {
  padding-right: 30px;
}

.footer-section h3 {
  color: #009fc9; /* ← DÙNG BRAND COLOR */
  margin-bottom: 20px;
  font-size: 28px; /* ← TĂNG SIZE */
  font-weight: 700;
  position: relative;
  display: inline-block;
}

/* UNDERLINE CHO TIÊU ĐỀ */
.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #009fc9, #3498db);
  border-radius: 2px;
}

/* SECTION LIÊN HỆ */
.footer-section:last-child {
  background: rgba(255, 255, 255, 0.05); /* ← NỀN MỜ */
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.footer-section h4 {
  color: #009fc9;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 600;
  position: relative;
  padding-left: 25px;
}

/* TYPOGRAPHY CẢI TIẾN */
.footer-section p {
  line-height: 1.7; /* ← TĂNG LINE HEIGHT */
  margin-bottom: 15px;
  color: #d5dbdb; /* ← MÀU SÁNG HƠN */
  font-size: 16px;
  text-align: justify; /* ← JUSTIFY TEXT */
}

/* FOOTER BOTTOM - CHUYÊN NGHIỆP HƠN */
.footer-bottom {
  background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
  text-align: center;
  padding: 25px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #009fc9, transparent);
}

.footer-bottom p {
  margin: 0;
  color: #95a5a6;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px; /* ← LETTER SPACING */
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */
@media screen and (max-width: 968px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 30px;
  }

  .footer-section:first-child {
    padding-right: 0;
    text-align: center;
  }

  .footer-section:last-child {
    margin: 0 auto;
    max-width: 400px;
  }
}

@media screen and (max-width: 768px) {
  .footer {
    margin-top: 60px;
  }

  .footer-content {
    padding: 40px 25px;
    gap: 35px;
  }

  .footer-section h3 {
    font-size: 24px;
    text-align: center;
  }

  .footer-section h4 {
    font-size: 18px;
    text-align: center;
    padding-left: 0;
  }

  .footer-section p {
    font-size: 15px;
    text-align: center;
  }

  .footer-section:last-child {
    padding: 25px 20px;
  }
}

@media screen and (max-width: 480px) {
  .footer-content {
    padding: 30px 20px;
    gap: 30px;
  }

  .footer-section h3 {
    font-size: 22px;
  }

  .footer-section h4 {
    font-size: 16px;
  }

  .footer-section p {
    font-size: 14px;
  }

  .footer-section:last-child {
    padding: 25px 20px;
  }

  .footer-section:last-child p {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* ===========================================
   LOADING ANIMATION CHO FOOTER
   =========================================== */
.footer {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================================
   SOCIAL MEDIA BUTTONS - THÊM VÀO CUỐI FILE
   =========================================== */

/* SOCIAL MEDIA SECTION */
.social-media {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-media h4 {
  color: #009fc9;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-media h4::before {
  content: "🌐";
  font-size: 20px;
}

/* SOCIAL BUTTONS CONTAINER */
.social-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* INDIVIDUAL SOCIAL BUTTON */
.social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
}

.social-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.3s ease;
  z-index: 1;
}

.social-btn i,
.social-btn span {
  position: relative;
  z-index: 2;
}

.social-btn i {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

/* FACEBOOK BUTTON */
.social-btn.facebook {
  border-color: #1877f2;
}

.social-btn.facebook::before {
  background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.social-btn.facebook:hover {
  border-color: #1877f2;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.social-btn.facebook:hover::before {
  left: 0;
}

/* TIKTOK BUTTON */
.social-btn.tiktok {
  border-color: #fe2c55;
}

.social-btn.tiktok::before {
  background: linear-gradient(135deg, #fe2c55, #25f4ee);
}

.social-btn.tiktok:hover {
  border-color: #fe2c55;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(254, 44, 85, 0.4);
}

.social-btn.tiktok:hover::before {
  left: 0;
}

/* YOUTUBE BUTTON */
.social-btn.youtube {
  border-color: #ff0000;
}

.social-btn.youtube::before {
  background: linear-gradient(135deg, #ff0000, #ff4444);
}

.social-btn.youtube:hover {
  border-color: #ff0000;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.social-btn.youtube:hover::before {
  left: 0;
}

/* HOVER EFFECTS CHO TEXT */
.social-btn:hover {
  color: white;
}

/* ===========================================
   RESPONSIVE CHO SOCIAL BUTTONS
   =========================================== */
@media screen and (max-width: 968px) {
  .social-media {
    text-align: center;
  }

  .social-buttons {
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  .social-media {
    margin-top: 30px;
    padding-top: 25px;
  }

  .social-media h4 {
    font-size: 16px;
    justify-content: center;
  }

  .social-buttons {
    gap: 12px;
  }

  .social-btn {
    padding: 10px 15px;
    font-size: 13px;
  }

  .social-btn i {
    font-size: 14px;
    width: 16px;
  }
}

@media screen and (max-width: 480px) {
  .social-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .social-btn {
    width: 180px;
    justify-content: center;
    padding: 12px 20px;
  }
}

/* ===========================================
   CONTACT ITEMS - DESIGN MỚI CHUYÊN NGHIỆP
   =========================================== */

/* CONTACT ITEM CONTAINER */
.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  padding: 18px 20px;
  border-radius: 12px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 159, 201, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.contact-item:hover::before {
  left: 100%;
}

.contact-item:hover {
  background: linear-gradient(
    135deg,
    rgba(0, 159, 201, 0.15),
    rgba(52, 152, 219, 0.1)
  );
  border-color: rgba(0, 159, 201, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 159, 201, 0.2);
}

/* CONTACT ICON */
.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #009fc9, #3498db);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 159, 201, 0.3);
}

.contact-icon i {
  font-size: 18px;
  color: white;
}

/* CONTACT INFO */
.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 12px;
  font-weight: 600;
  color: #009fc9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  font-size: 14px;
  font-weight: 500;
  color: #ecf0f1;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.4;
}

/* COPY INDICATOR */
.copy-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.copy-indicator i {
  font-size: 14px;
  color: #95a5a6;
  transition: all 0.3s ease;
}

.contact-item:hover .copy-indicator {
  background: rgba(0, 159, 201, 0.2);
}

.contact-item:hover .copy-indicator i {
  color: #009fc9;
}

/* COPY NOTIFICATION */
.copy-notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(39, 174, 96, 0.4);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
}

.copy-notification.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.copy-notification i {
  font-size: 16px;
}

/* ===========================================
   RESPONSIVE CHO CONTACT ITEMS
   =========================================== */
@media screen and (max-width: 768px) {
  .contact-item {
    padding: 15px 18px;
    gap: 12px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .contact-icon i {
    font-size: 16px;
  }

  .contact-label {
    font-size: 11px;
  }

  .contact-value {
    font-size: 13px;
  }

  .copy-indicator {
    width: 30px;
    height: 30px;
  }

  .copy-indicator i {
    font-size: 12px;
  }
}

@media screen and (max-width: 480px) {
  .contact-item {
    padding: 12px 15px;
    gap: 10px;
  }

  .contact-icon {
    width: 35px;
    height: 35px;
  }

  .contact-icon i {
    font-size: 14px;
  }

  .contact-value {
    font-size: 12px;
  }

  .copy-notification {
    padding: 12px 20px;
    font-size: 13px;
  }
}
