/* Reset margin, padding, and box-sizing only for specific elements */
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Apply styles only to specific containers */
.container, .header, .footer {
    box-sizing: border-box;
}


body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(145deg, #6fd9e0, #00e5b0);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

.contact-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  animation: fadeIn 1s ease-in-out;
  transform: translateZ(0);
}

.contact-form-wrapper {
  flex: 1 1 50%;
  padding: 20px;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #222;
  font-size: 2.8em;
  font-weight: bold;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.15);
  letter-spacing: 1px;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

input, textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1.1em;
  outline: none;
  background: #f9f9f9;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus {
  border-color: #00e5b0;
  box-shadow: 0 0 10px rgba(0, 229, 176, 0.5);
}

textarea {
  height: 160px;
  resize: none;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #6fd9e0, #00e5b0);
  color: #fff;
  font-size: 1.3em;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 12px rgba(0, 229, 176, 0.4);
}

.submit-btn:hover {
  background: linear-gradient(135deg, #00e5b0, #6fd9e0);
  box-shadow: 0 7px 18px rgba(0, 229, 176, 0.6);
}

.contact-info {
  flex: 1 1 40%;
  padding: 20px;
  display: flex; 
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-info h3 {
  color: #222;
  margin-bottom: 15px;
  font-size: 1.6em;
}

.contact-info p {
  color: #666;
  margin-bottom: 12px;
  font-size: 1em;
}


.social-media {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.social-icon {
  font-size: 1.8em;
  color: #444;
  margin-right: 18px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
  color: #00e5b0;
  transform: scale(1.15);
}

.call-us-btn {
    display: inline-block;
    text-decoration: none;  /* Remove underline from the anchor */
}

.call-us-btn button {
    padding: 10px 20px;
    font-size: 16px;
    background: linear-gradient(135deg, #6fd9e0, #00e5b0);
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.call-us-btn button:hover {
    background: linear-gradient(135deg, #00e5b0, #6fd9e0);
}


@media screen and (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    padding: 20px;
    box-shadow: none; /* Remove shadow for a cleaner mobile look */
  }

  .contact-form-wrapper,
  .contact-info {
    flex: 1 1 100%;
    padding: 15px;
    text-align: center; /* Center align content for better readability */
  }

  h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    text-shadow: none; /* Simplify text for better clarity on smaller screens */
  }

  input,
  textarea {
    font-size: 1em; /* Adjust font size for better usability on mobile */
    padding: 12px;
  }

  .submit-btn {
    font-size: 1em;
    padding: 12px;
    border-radius: 10px; /* Slightly rounder corners for better touch interaction */
  }

  .social-media {
    justify-content: center;
    margin-top: 15px;
  }

  .social-icon {
    font-size: 1.6em;
    margin-right: 10px;
  }

  .contact-info h3 {
    font-size: 1.3em;
  }

  .contact-info p {
    font-size: 0.9em;
  }
}


/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
