/* ================= CONTACT PAGE STYLING ================= */

/* Contact Section */
.contact-modern {
  width: 100%;
  min-height: 100vh;
  padding: 120px 20px 60px;
  background: linear-gradient(135deg, #fef5fb 0%, #fff0f8 50%, #ffe8f5 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  position: relative;
  overflow: hidden;
}

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

/* Floating decorative elements */
.contact-modern::before,
.contact-modern::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  animation: floatAround 20s ease-in-out infinite;
  pointer-events: none;
}

.contact-modern::before {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #EE007D, transparent);
  top: -150px;
  right: -150px;
}

.contact-modern::after {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #ff3a8c, transparent);
  bottom: -100px;
  left: -100px;
  animation-delay: 5s;
}

@keyframes floatAround {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.9); }
  75% { transform: translate(20px, 30px) scale(1.05); }
}

/* Contact Details Container */
.contact-details {
  max-width: 1200px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease-out;
}

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

/* Contact Card */
.contact-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 60px 50px;
  box-shadow: 
    0 20px 60px rgba(238, 0, 125, 0.15),
    0 0 0 1px rgba(238, 0, 125, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(238, 0, 125, 0.2);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 30px 80px rgba(238, 0, 125, 0.25),
    0 0 0 1px rgba(238, 0, 125, 0.2);
}

/* Decorative corner accents */
.contact-card::before,
.contact-card::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border: 3px solid rgba(238, 0, 125, 0.3);
  border-radius: 20px;
  animation: rotateBorder 10s linear infinite;
}

.contact-card::before {
  top: -15px;
  left: -15px;
  border-right: none;
  border-bottom: none;
}

.contact-card::after {
  bottom: -15px;
  right: -15px;
  border-left: none;
  border-top: none;
  animation-direction: reverse;
}

@keyframes rotateBorder {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(5deg); }
}

/* Contact Title */
.contact-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  background: linear-gradient(135deg, #EE007D 0%, #ff3a8c 50%, #ff6ba8 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 5s ease infinite;
  position: relative;
  display: inline-block;
  width: 100%;
}

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

.contact-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #EE007D, transparent);
  border-radius: 2px;
  animation: expandLine 2s ease-out;
}

@keyframes expandLine {
  from { width: 0; }
  to { width: 100px; }
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 20px;
}

/* Contact Item */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px 25px;
  background: linear-gradient(135deg, rgba(238, 0, 125, 0.05), rgba(255, 58, 140, 0.05));
  border-radius: 15px;
  border: 2px solid rgba(238, 0, 125, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, #EE007D, #ff6ba8);
  transition: height 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  border-color: rgba(238, 0, 125, 0.3);
  box-shadow: 0 10px 30px rgba(238, 0, 125, 0.15);
}

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

/* Contact Icon */
.contact-icon {
  font-size: 24px;
  color: #EE007D;
  background: linear-gradient(135deg, rgba(238, 0, 125, 0.1), rgba(255, 58, 140, 0.1));
  padding: 12px;
  border-radius: 12px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.contact-item:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, #EE007D, #ff3a8c);
  color: #fff;
  box-shadow: 0 5px 20px rgba(238, 0, 125, 0.3);
}

/* Contact Text */
.contact-item div {
  flex: 1;
}

.contact-item span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #EE007D;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.contact-item p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}

/* Map Section */
.map-full {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 
    0 20px 60px rgba(238, 0, 125, 0.15),
    0 0 0 1px rgba(238, 0, 125, 0.1);
  border: 2px solid rgba(238, 0, 125, 0.2);
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.map-full iframe {
  width: 100%;
  height: 500px;
  display: block;
  filter: grayscale(20%) contrast(1.1);
  transition: filter 0.3s ease;
}

.map-full:hover iframe {
  filter: grayscale(0%) contrast(1.2);
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-modern {
    padding: 110px 20px 50px;
  }

  .contact-card {
    padding: 40px 35px;
  }

  .contact-title {
    font-size: 32px;
    margin-bottom: 35px;
  }

  .contact-grid {
    gap: 25px;
  }

  .map-full iframe {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .contact-modern {
    padding: 100px 15px 40px;
  }

  .contact-card {
    padding: 35px 25px;
    border-radius: 20px;
  }

  .contact-card::before,
  .contact-card::after {
    width: 80px;
    height: 80px;
  }

  .contact-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-item {
    padding: 18px 20px;
  }

  .contact-icon {
    font-size: 22px;
    padding: 10px;
  }

  .contact-item span {
    font-size: 11px;
  }

  .contact-item p {
    font-size: 13px;
  }

  .map-full {
    border-radius: 20px;
  }

  .map-full iframe {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .contact-modern {
    padding: 90px 10px 30px;
  }

  .contact-card {
    padding: 25px 18px;
    border-radius: 15px;
  }

  .contact-card::before,
  .contact-card::after {
    display: none;
  }

  .contact-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .contact-item {
    padding: 15px 18px;
    gap: 12px;
  }

  .contact-icon {
    font-size: 20px;
    padding: 10px;
  }

  .contact-item span {
    font-size: 10px;
  }

  .contact-item p {
    font-size: 12px;
    line-height: 1.5;
  }

  .map-full {
    border-radius: 15px;
  }

  .map-full iframe {
    height: 300px;
  }
}
