/* ============================================
   CONTACT PAGE - MODERN DESIGN
   Professional & Clean Layout
============================================ */

:root {
  --primary: #2563eb;
  --secondary: #64748b;
  --dark: #1e293b;
  --light: #f8fafc;
  --border: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ============================================
   HERO SECTION
============================================ */
.contact-hero {
  position: relative;
  height: 350px;
  background-image: url("https://images.unsplash.com/photo-1423666639041-f56000c27a9a?w=1920");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.85) 0%,
    rgba(30, 41, 59, 0.9) 100%
  );
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.contact-hero-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.2;
}

.contact-hero-subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  margin: 0;
}

/* ============================================
   MAIN CONTACT SECTION
============================================ */
.contact-main-section {
  padding: 80px 0;
  background: #fff;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px;
}

/* Contact Info Card */
.contact-info-wrapper {
  position: relative;
}

.contact-info-card {
  background: linear-gradient(135deg, #3e3b65 0%, #2b2b4b 100%);
  border-radius: 20px;
  padding: 40px 35px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
}

.contact-info-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 30px;
  color: #fff;
}

.contact-info-list {
  margin-bottom: 40px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  transition: all 0.3s;
}

.contact-info-item:hover .contact-info-icon {
  transform: scale(1.1) rotate(5deg);
}

.contact-icon-blue {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.contact-icon-green {
  background: rgba(16, 185, 129, 0.3);
  color: #d1fae5;
}

.contact-icon-orange {
  background: rgba(245, 158, 11, 0.3);
  color: #fef3c7;
}

.contact-info-content {
  flex: 1;
}

.contact-info-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-info-text {
  font-size: 15px;
  color: #fff;
  line-height: 1.6;
  margin: 0;
}

.contact-info-link {
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.contact-info-link:hover {
  color: #fbbf24;
}

/* Social Links */
.contact-social {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-social-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.contact-social-links {
  display: flex;
  gap: 15px;
}

.contact-social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s;
}

.contact-social-link:hover {
  background: #fff;
  transform: translateY(-3px);
}

.contact-social-facebook:hover {
  color: #1877f2;
}

.contact-social-zalo:hover {
  color: #0088ff;
}

/* Contact Form Card */
.contact-form-wrapper {
  position: relative;
}

.contact-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-group {
  display: flex;
  flex-direction: column;
}

.contact-form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.contact-form-input {
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  color: var(--dark);
  transition: all 0.3s;
  font-family: inherit;
}

.contact-form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.contact-form-input::placeholder {
  color: #94a3b8;
}

.contact-form-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #5e5b8a 0%, #3e3b65 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(62, 59, 101, 0.4);
}

.contact-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(62, 59, 101, 0.5);
  background: linear-gradient(135deg, #6e6b9a 0%, #4e4b75 100%);
}

.contact-form-submit:active {
  transform: translateY(0);
}

/* ============================================
   SUPPORT SECTION
============================================ */
.contact-support-section {
  padding: 80px 0;
  background: #fff;
}

.contact-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 15px;
}

.contact-section-subtitle {
  font-size: 16px;
  color: var(--secondary);
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-channel-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
}

.contact-channel-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.contact-channel-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.contact-channel-card:hover .contact-channel-icon {
  transform: scale(1.1) rotate(5deg);
}

.contact-channel-icon img {
  width: 40px;
  height: 40px;
  transition: all 0.3s;
}

.contact-channel-icon i {
  font-size: 32px;
  color: white;
  transition: all 0.3s;
}

.channel-icon-phone {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
}

.channel-icon-zalo {
  background: linear-gradient(135deg, #0084ff 0%, #0064d2 100%) !important;
}

.channel-icon-messenger {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%) !important;
}

.contact-channel-card:hover .contact-channel-icon {
  transform: scale(1.1) rotate(5deg);
}

.contact-channel-content {
  flex: 1;
}

.contact-channel-label {
  font-size: 14px;
  color: var(--secondary);
  margin-bottom: 5px;
}

.contact-channel-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
}

/* ============================================
   MAP SECTION
============================================ */
.contact-map-section {
  padding: 80px 0;
  background: #fff;
}

.contact-map-wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
  padding: 10px;
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 12px;
  display: block;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 991.98px) {
  .contact-hero {
    height: 300px;
  }

  .contact-main-section,
  .contact-support-section,
  .contact-map-section {
    padding: 60px 0;
  }

  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-info-card {
    position: static;
    padding: 35px 30px;
    border-radius: 16px;
  }

  .contact-info-title {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .contact-info-item {
    gap: 18px;
    margin-bottom: 22px;
  }

  .contact-info-icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .contact-info-label {
    font-size: 12px;
  }

  .contact-info-text,
  .contact-info-link {
    font-size: 14px;
  }

  .contact-social {
    padding-top: 25px;
  }

  .contact-social-title {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .contact-social-link {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .contact-form-card {
    padding: 35px 30px;
    border-radius: 16px;
  }

  .contact-form-title {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .contact-form {
    gap: 18px;
  }

  .contact-form-label {
    font-size: 13px;
    margin-bottom: 7px;
  }

  .contact-form-input {
    padding: 13px 16px;
    font-size: 14px;
  }

  .contact-form-submit {
    padding: 15px 28px;
    font-size: 15px;
  }

  .contact-section-header {
    margin-bottom: 40px;
  }

  .contact-section-title {
    font-size: 32px;
  }

  .contact-section-subtitle {
    font-size: 15px;
    padding: 0 20px;
  }

  .contact-channels {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-channel-card {
    padding: 28px 22px;
    border-radius: 14px;
    border-width: 1.5px;
  }

  .contact-channel-icon {
    width: 65px;
    height: 65px;
    border-radius: 14px;
  }

  .contact-channel-icon img {
    width: 38px;
    height: 38px;
  }

  .contact-channel-label {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .contact-channel-value {
    font-size: 18px;
  }

  .contact-map-wrapper {
    border-radius: 16px;
    padding: 8px;
  }

  .contact-map-wrapper iframe {
    height: 450px;
    border-radius: 10px;
  }
}

@media (max-width: 767.98px) {
  .contact-hero {
    height: 250px;
  }

  .contact-hero-title {
    font-size: 32px;
  }

  .contact-hero-subtitle {
    font-size: 15px;
    padding: 0 10px;
  }

  .contact-main-section,
  .contact-support-section,
  .contact-map-section {
    padding: 50px 0;
  }

  .contact-main-grid {
    gap: 25px;
  }

  .contact-info-card {
    padding: 28px 22px;
    border-radius: 14px;
  }

  .contact-info-title {
    font-size: 20px;
    margin-bottom: 22px;
  }

  .contact-info-list {
    margin-bottom: 30px;
  }

  .contact-info-item {
    gap: 15px;
    margin-bottom: 20px;
  }

  .contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 20px;
  }

  .contact-info-label {
    font-size: 11px;
    margin-bottom: 4px;
  }

  .contact-info-text,
  .contact-info-link {
    font-size: 13px;
    line-height: 1.5;
  }

  .contact-social {
    padding-top: 22px;
  }

  .contact-social-title {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .contact-social-links {
    gap: 12px;
  }

  .contact-social-link {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .contact-form-card {
    padding: 28px 22px;
    border-radius: 14px;
  }

  .contact-form-title {
    font-size: 20px;
    margin-bottom: 22px;
  }

  .contact-form {
    gap: 16px;
  }

  .contact-form-label {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .contact-form-input {
    padding: 12px 15px;
    font-size: 14px;
    border-radius: 10px;
  }

  .contact-form-textarea {
    min-height: 110px;
  }

  .contact-form-submit {
    padding: 14px 24px;
    font-size: 15px;
    border-radius: 10px;
    gap: 8px;
  }

  .contact-section-header {
    margin-bottom: 28px;
  }

  .contact-section-title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .contact-section-subtitle {
    font-size: 13px;
    padding: 0 10px;
    line-height: 1.5;
  }

  .contact-channels {
    gap: 12px;
  }

  .contact-channel-card {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px;
    border-radius: 12px;
    gap: 12px;
  }

  .contact-channel-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
  }

  .contact-channel-icon img {
    width: 34px;
    height: 34px;
  }

  .contact-channel-label {
    font-size: 11px;
    margin-bottom: 2px;
  }

  .contact-channel-value {
    font-size: 16px;
  }

  .contact-map-section {
    padding: 40px 0;
  }

  .contact-map-wrapper {
    border-radius: 12px;
    padding: 6px;
  }

  .contact-map-wrapper iframe {
    height: 350px;
    border-radius: 8px;
  }
}
