/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: auto;
  font-family: 'Poppins', sans-serif;
  background-color: #f4f4f9;
  color: #333;
  background-image: url('../../images/contact-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  line-height: 1.6;
}

body {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

/* Header Section */
.contact-header {
  background-color: #4682B4;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-info {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.info-box {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 250px;
  min-width: 250px;
  transition: all 0.3s ease;
}

.info-box:hover {
  background-color: #113d3c;
}

.info-box h3,
.info-box p {
  transition: color 0.3s ease;
}

.info-box:hover h3,
.info-box:hover p {
  color: #fff;
}

.info-box h3 {
  margin-bottom: 0.5rem;
  color: #113d3c;
}

.info-box p {
  color: #113d3c;
}

.con-icon {
  height: 80px;
  width: 80px;
  background-color: #1a1a1a;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: #fdede2;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: background-color 0.3s ease;
}

.info-box:hover .con-icon {
  background-color: #2c3e50;
}

/* Main Content Section */
.contact-content {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.left-column,
.right-column {
  flex: 1 1 400px;
  min-width: 300px;
}

.left-column {
  background-color: #113d3c;
  color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.left-column h2 {
  color: white;
  margin-bottom: 1rem;
}

.left-column p {
  margin-bottom: 1rem;
}

.support-info {
  list-style: none;
  padding: 0;
}

.support-info li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.support-info i {
  margin-right: 0.5rem;
  color: #fff;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
}

.right-column {
  background-color: #ff4d4d;
  color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.right-column h2 {
  color: white;
  margin-bottom: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: white;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.8);
  color: #333;
  transition: background-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  background-color: #fff;
  outline: none;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  padding: 0.75rem 1.5rem;
  background-color: #fff;
  color: #113d3c;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-info,
  .contact-content {
    flex-direction: column;
    align-items: stretch;
  }

  .info-box {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .con-icon {
    height: 60px;
    width: 60px;
    font-size: 1.2rem;
  }

  .contact-content {
    flex-direction: column;
  }

  .form-group input,
  .form-group textarea {
    font-size: 1rem;
  }
}

.contact-info,
.contact-content {
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center; /* Improves centering on small screens */
}

.info-box {
  flex: 1 1 calc(100% - 2rem);
  max-width: 100%;
}
@media (min-width: 600px) {
  .info-box {
    flex: 1 1 calc(50% - 2rem);
  }
}
@media (min-width: 900px) {
  .info-box {
    flex: 1 1 calc(33.33% - 2rem);
  }
}

@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
  }

  .left-column,
  .right-column {
    width: 100%;
    padding: 1.5rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 1rem;
  }

  .info-box {
    margin-bottom: 1rem;
  }
}

.contact-form button {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
}

html, body {
  background-color: #f4f4f9;
  background-image: url('../../images/contact-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 600px) {
  html, body {
    background-size: auto 100%;
    background-position: top;
  }
}

.social-links a {
  font-size: 1.5rem;
}

@media (max-width: 600px) {
  .con-icon {
    height: 50px;
    width: 50px;
    font-size: 1rem;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 790px) {
  .email{
  font-size: 0.8rem;
}
}

