/* :root - Define Variables for Consistent Design */
:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --card-background-color: #f9f9f9;
  --border-radius: 8px;
  --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  --hover-color: #0056b3;
  --text-color: #333;
  --secondary-text-color: #666;
  --link-color: #007bff;
  --link-hover-color: #0056b3;
}

/* Enable smooth scrolling */


/* Contact Section */
.contact {
  width: 100%;
  max-width: 1200px;
  padding: 20px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
  overflow-y: auto;
  perspective: 1000px; /* Added for 3D effect */
}

/* Container for Contact and Form */
.container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  transform-style: preserve-3d;
}

/* 3D Contact Info Styling */
.contact_info {
  width: 100%;
  max-width: 350px;
  background: var(--card-background-color);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  margin: 10px;
  transform: rotateY(0deg) rotateX(0deg);
  transform-origin: center;
}

.contact_info:hover {
  transform: rotateY(15deg) rotateX(15deg) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact_info h2 {
  margin-bottom: 15px;
  font-size: 1.8rem;
  color: var(--secondary-text-color);
}

.contact_details {
  font-size: 1rem;
  margin: 10px 0;
  color: var(--text-color);
}

/* 3D Social Media Icons */
.contact_socials a {
  font-size: 1.5rem;
  margin: 0 10px;
  color: var(--secondary-text-color);
  background-color: var(--card-background-color);
  padding: 10px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
}

.contact_socials a:hover {
  transform: translateZ(15px) scale(1.2) rotateX(15deg);
  color: var(--primary-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* 3D Contact Form Styling */
.contact_form {
  width: 100%;
  max-width: 400px;
  background-color: var(--card-background-color);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  margin: 10px;
  transform: rotateY(0deg) rotateX(0deg);
}

.contact_form:hover {
  transform: rotateY(-10deg) rotateX(10deg) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact_form input,
.contact_form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.contact_form button {
  width: 100%;
  padding: 12px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.contact_form button:hover {
  transform: translateY(-5px) scale(1.05);
  background-color: var(--hover-color);
}

/* Map Container */
.map_container {
  margin-top: 30px;
  width: 100%;
}

.map_container h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

iframe {
  border-radius: 10px;
  width: 100%;
  height: 400px;
  border: 0;
}
