/*--------------------------------------------------------------
# Contact Section - Modern Premium Design
--------------------------------------------------------------*/
.contact-section-modern {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  overflow: hidden;
  padding: 80px 0;
}

/* Section Title Styles */
.modern-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(6, 60, 173, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
  border: 1px solid rgba(6, 60, 173, 0.2);
  border-radius: 50px;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.modern-badge:hover {
  background: linear-gradient(135deg, rgba(6, 60, 173, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 60, 173, 0.15);
}

.modern-badge i {
  font-size: 16px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.section-title-modern {
  font-size: 42px;
  font-weight: 800;
  color: var(--heading-color);
  line-height: 1.2;
  margin-bottom: 0;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-color) 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Info Card */
.contact-info-card {
  position: relative;
  background: var(--surface-color);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(3, 40, 123, 0.1);
  border: 1px solid rgba(3, 40, 123, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color) 0%, #6366f1 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contact-info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(3, 40, 123, 0.15);
  border-color: rgba(6, 60, 173, 0.2);
}

.contact-info-card:hover::before {
  opacity: 1;
}

/* Card Header */
.card-header-contact {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid rgba(3, 40, 123, 0.08);
}

.contact-card-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 8px;
  line-height: 1.3;
}

.contact-card-subtitle {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
}

/* Contact Items */
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(6, 60, 173, 0.02) 0%, rgba(99, 102, 241, 0.02) 100%);
  border-radius: 16px;
  border: 1px solid rgba(3, 40, 123, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover {
  background: linear-gradient(135deg, rgba(6, 60, 173, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
  border-color: rgba(6, 60, 173, 0.15);
  transform: translateX(8px);
}

/* Contact Icon */
.contact-icon-wrapper {
  position: relative;
  width: 56px;
  height: 56px;
  min-width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-color) 0%, #6366f1 100%);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(6, 60, 173, 0.25);
  transition: all 0.3s ease;
}

.contact-icon-wrapper::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--accent-color) 0%, #6366f1 100%);
  border-radius: 16px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.contact-item:hover .contact-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(6, 60, 173, 0.35);
}

.contact-item:hover .contact-icon-wrapper::before {
  opacity: 0.5;
  animation: pulse-ring 1.5s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.contact-icon-wrapper i {
  font-size: 24px;
  color: var(--contrast-color);
  transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon-wrapper i {
  transform: scale(1.1);
}

/* Contact Details */
.contact-details {
  flex: 1;
  min-width: 0;
}

.contact-label {
  font-size: 14px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.contact-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color);
  text-decoration: none;
  transition: all 0.3s ease;
  word-wrap: break-word;
  display: inline-block;
  position: relative;
}

.contact-value::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color) 0%, #6366f1 100%);
  transition: width 0.3s ease;
}

.contact-value:hover {
  color: var(--accent-color);
}

.contact-value:hover::after {
  width: 100%;
}

/* Social Media Section */
.social-media-section {
  padding-top: 28px;
  border-top: 2px solid rgba(3, 40, 123, 0.08);
}

.social-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.social-title i {
  color: var(--accent-color);
  font-size: 18px;
}

.social-links-modern {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-btn {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(6, 60, 173, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
  border: 2px solid rgba(6, 60, 173, 0.15);
  color: var(--accent-color);
  font-size: 22px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.social-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-color) 0%, #6366f1 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.social-btn i {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.social-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(6, 60, 173, 0.25);
  border-color: transparent;
}

.social-btn:hover::before {
  opacity: 1;
}

.social-btn:hover i {
  color: var(--contrast-color);
  transform: scale(1.1) rotate(5deg);
}

/* Specific Social Media Colors */
.social-btn.facebook:hover::before {
  background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
}

.social-btn.instagram:hover::before {
  background: linear-gradient(135deg, #e4405f 0%, #c13584 50%, #833ab4 100%);
}

.social-btn.tiktok:hover::before {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

.social-btn.youtube:hover::before {
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

/* Contact Card Decoration */
.contact-card-decoration {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(6, 60, 173, 0.03) 0%, rgba(99, 102, 241, 0.03) 100%);
  border-radius: 24px 0 24px 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contact-info-card:hover .contact-card-decoration {
  opacity: 1;
}

/* Map Wrapper */
.map-wrapper {
  position: relative;
  height: 100%;
  min-height: 500px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(3, 40, 123, 0.1);
  border: 1px solid rgba(3, 40, 123, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-wrapper:hover {
  box-shadow: 0 20px 60px rgba(3, 40, 123, 0.15);
  transform: translateY(-4px);
}

.map-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 24px;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(6, 60, 173, 0.02) 0%, rgba(99, 102, 241, 0.02) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.map-wrapper:hover .map-overlay {
  opacity: 1;
}

/* Background Decoration */
.contact-wave-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 250px;
  background: linear-gradient(180deg, transparent 0%, rgba(3, 40, 123, 0.03) 100%);
  pointer-events: none;
}

.contact-wave-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(6, 60, 173, 0.03)' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 991px) {
  .section-title-modern {
    font-size: 36px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .contact-info-card {
    padding: 32px;
    margin-bottom: 32px;
  }

  .map-wrapper,
  .map-container {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .contact-section-modern {
    padding: 60px 0;
  }

  .section-title-modern {
    font-size: 32px;
  }

  .section-subtitle {
    font-size: 15px;
  }

  .contact-info-card {
    padding: 28px;
  }

  .contact-card-title {
    font-size: 24px;
  }

  .contact-item {
    padding: 16px;
  }

  .contact-icon-wrapper {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }

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

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

  .social-btn {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .map-wrapper,
  .map-container {
    min-height: 350px;
  }
}

@media (max-width: 576px) {
  .contact-section-modern {
    padding: 50px 0;
  }

  .section-title-modern {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  .modern-badge {
    font-size: 12px;
    padding: 8px 18px;
  }

  .contact-info-card {
    padding: 24px;
    border-radius: 20px;
  }

  .contact-card-title {
    font-size: 22px;
  }

  .contact-card-subtitle {
    font-size: 14px;
  }

  .contact-items {
    gap: 16px;
  }

  .contact-item {
    padding: 14px;
    gap: 14px;
  }

  .contact-icon-wrapper {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
  }

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

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

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

  .social-btn {
    width: 44px;
    height: 44px;
    font-size: 18px;
    border-radius: 12px;
  }

  .map-wrapper,
  .map-container {
    min-height: 300px;
    border-radius: 20px;
  }

  .contact-wave-bg {
    height: 150px;
  }
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Print Styles */
@media print {
  .contact-section-modern {
    background: white;
  }

  .contact-info-card,
  .map-wrapper {
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .social-links-modern,
  .contact-wave-bg {
    display: none;
  }
}
