/* Custom CSS for Contact Page */
body {
  background-color: aliceblue;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Card Styling */
.contact-card {
  border: none !important;
  position: relative;
  overflow: hidden;
  background-color: #212529;
  box-shadow: 0 6px 24px 0 rgba(0, 0, 0, 0.18), 0 1.5px 4px 0 rgba(0, 0, 0, 0.15);
  transition:
    box-shadow 0.3s cubic-bezier(.25, .8, .25, 1),
    transform 0.3s cubic-bezier(.25, .8, .25, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  transform: rotate(25deg);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 0;
}

.contact-card:hover::before {
  opacity: 1;
  transform: rotate(45deg) scale(1.2);
}

.contact-card:hover {
  transform: translateY(-10px) scale(1.04) rotateX(3deg);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.contact-card i,
.contact-card .card-text {
  position: relative;
  z-index: 1;
}

.contact-card i {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #f8f9fa;
}

.phone-icon{
  transform: rotateY(180deg);
}

.contact-card .card-text {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  padding: 0 10px;
}

.card-link {
  text-decoration: none;
  /* color: inherit;
      display: block; */
}

/* Specific Card Styles */
#phoneCard {
  border-radius: 12px 0 0 0;
  background: linear-gradient(135deg, #3ad64f 0%, #20ac2b 100%);
}

#emailCard {
  border-radius: 0 12px 0 0;
  background: linear-gradient(135deg, #e9ba21 0%, #bd931f 100%);
}

#instagramCard {
  border-radius: 0%;
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}

#facebookCard {
  border-radius: 0%;
  background: linear-gradient(135deg, #3b5998 0%, #2d4373 100%);
}

#linkedInCard {
  border-radius: 0%;
  background: linear-gradient(135deg, #0077b5 0%, #004471 100%);
}

#youtubeCard {
  border-radius: 0%;
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

#addressCard {
  border-radius: 0 0 12px 12px;
  background: linear-gradient(135deg, #495057 0%, #343a40 100%);
  padding: 20px 15px !important;
}

#addressCard i {
  font-size: 2rem;
  margin-bottom: 10px;
}

#addressCard .card-text {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Map Styling */
#map {
  border-radius: 12px;
  overflow: hidden;
  background-color: aliceblue;
  height: 100%;
}

#map iframe {
  width: 100%;
  height: 100%;
  border: none;
  min-height: 400px;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  .contact-card i {
    font-size: 2rem;
  }

  .contact-card .card-text {
    font-size: 0.85rem;
  }

  #addressCard .card-text {
    font-size: 0.8rem;
  }

  .contact-grid .row {
    margin-bottom: 15px;
  }
}

@media (max-width: 575.98px) {
  .contact-card i {
    font-size: 1.8rem;
  }

  .contact-card .card-text {
    font-size: 0.75rem;
  }

  #addressCard .card-text {
    font-size: 0.75rem;
  }
}

/* Layout adjustments */
.contact-grid .row {
  margin-bottom: 20px;
}

.contact-grid .row:last-child {
  margin-bottom: 0;
}