
/* Reset default spacing and box model */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f8f8;
    font-weight: 505;
  }
/* Main background wrapper */
.contact-main {
  background: url('../images/training-photo-2.jpg') no-repeat center center;
  background-size: cover; /* ✅ This will make the image fully cover */
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #f8f8f8;
  padding: 4rem 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-top: 100px;
}

  
  
  
  .contact-main::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
   
    z-index: -1;
  }
  
  /* Contact section */
  .contact {
    padding: 3rem;
  }
  
  .contact-wrapper {
    display: flex;
    flex-direction: column; /* stack vertically */
    align-items: center; /* center horizontally */
    gap: 2rem;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
  }
  
  
  /* Form & Info Boxes */
  .contact-form,
  .contact-info {
    flex: 1;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  }
  
  /* Headings & Text */
  .contact-form h2,
  .contact-info h2 {
    font-size: 2rem;
    color: #3f2bec;
    margin-bottom: 1rem;
  }
  
  .contact-form p,
  .contact-info p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.2rem;
  }
  
  /* Inputs & Textarea */
  label {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: #333;
    display: block;
  }
  
  input[type="text"],
  input[type="email"],
  textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
  }
  
  textarea {
    resize: vertical;
  }
  
/* Submit Button */

.submit-btn {
  background-color: #0056b3;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.3s ease;
  position: relative;
  overflow: hidden; 
}

/* Hover effect for button background */
.submit-btn:hover {
  background-color: #003366;
}

/* Wrap the button text and the arrow inside a span */
.submit-btn span {
  display: inline-block;
  transition: opacity 0.3s ease;
}

/* Add arrow on hover */
.submit-btn::after {
  content: " ➤";  
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(-10px); 
  position: absolute;
  right: 10px; 
  top: 50%;
  transform: translateY(-50%) translateX(-10px);
}

/* On hover, fade text and reveal arrow */
.submit-btn:hover span {
  opacity: 0; 
}

.submit-btn:hover::after {
  opacity: 1; 
  transform: translateY(-50%) translateX(0); 
}

  /* WhatsApp Button */
  .whatsapp-btn {
    background-color: #25d366;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
  }
  
  .whatsapp-btn:hover {
    background-color: #128c7e;
  }
  
  .whatsapp-btn i {
    margin-right: 8px;
    font-size: 1.3rem;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .contact-wrapper {
      flex-direction: column;
      align-items: center;
    }
    .contact-form h2,
    .contact-info h2 {
      font-size: 1.5rem;
    }

     .contact-form p,
    .contact-info p {
      font-size: 1rem;
      line-height: 1.2;
    }
    
  
    .contact-form,
    .contact-info {
      width: 100%;
      max-width: 500px;
    }
  }
  
  @media (max-width: 480px) {
    .contact-form h2,
    .contact-info h2 {
      font-size: 1.5rem;
    }
  
    .contact-form p,
    .contact-info p {
      font-size: 1rem;
      line-height: 1.2;
    }
  }
  