/* Contact Page Styling */
.contact {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .contact h1 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 15px;
  }
  
  .contact h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4caf50, #8bc34a);
    border-radius: 2px;
  }
  
  .contact > p {
    text-align: center;
    color: #555;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 1rem auto 3rem;
    line-height: 1.6;
  }
  
  .contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
  }
  
  /* Contact Info Section */
  .contact-info1 {
    flex: 1 1 400px;
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
  }
  
  .contact-info1:hover {
    transform: translateY(-5px);
  }
  
  .contact-info1 h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
  }
  
  .contact-info1 p {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
  }
  
  .contact-info1 i {
    color: #4caf50;
    font-size: 1.2rem;
    margin-right: 15px;
    width: 20px;
    text-align: center;
  }
  
  /* Map container */
  .map-container {
    margin-top: auto;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
  }
  
  .map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f4ebeb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 0.9rem;
    background-image: url("https://maps.googleapis.com/maps/api/staticmap?center=Naini,Prayagraj,UP,India&zoom=14&size=600x300&maptype=roadmap&markers=color:green%7CNewada+Samogar,+Industrial+Area+Naini,+Prayagraj+UP+211010&key=YOUR_API_KEY");
    background-size: cover;
    background-position: center;
  }
  
  .map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(76, 175, 80, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .map-container:hover .map-overlay {
    opacity: 1;
  }
  
  .view-map-btn {
    background-color: white;
    color: #4caf50;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }
  
  .view-map-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  /* Social media links */
  .contact-social {
    display: flex;
    margin-top: 1.5rem;
    gap: 15px;
    justify-content: center;
  }
  
  .contact-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* background-color: #f8f9fa; */
    color: #4caf50;
    font-size: 1.2rem;
    transition: all 0.3s ease;
  }
  
  .contact-social a:hover {
    /* background-color: #4caf50; */
    color: white;
    transform: translateY(-3px);
  }
  
  /* Contact Form */
  .contact-form {
    flex: 1 1 500px;
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
  }
  
  .contact-form:hover {
    transform: translateY(-5px);
  }
  
  .contact-form h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
  }
  
  .contact-form form {
    display: flex;
    flex-direction: column;
  }
  
  .contact-form label {
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 0.8rem;
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: #4caf50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
  }
  
  .contact-form .cta-button {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .contact-form .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #43a047 0%, #7cb342 100%);
  }
  
  .contact-form .cta-button:active {
    transform: translateY(0);
  }
  
  /* Form feedback */
  .form-feedback {
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
  }
  
  .form-feedback.success {
    background-color: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    border: 1px solid rgba(76, 175, 80, 0.3);
  }
  
  .form-feedback.error {
    background-color: rgba(244, 67, 54, 0.1);
    color: #c62828;
    border: 1px solid rgba(244, 67, 54, 0.3);
  }
  
  /* Loading indicator for form submission */
  .loading-spinner {
    display: none;
    width: 30px;
    height: 30px;
    margin: 0 auto;
    border: 3px solid rgba(76, 175, 80, 0.3);
    border-radius: 50%;
    border-top-color: #4caf50;
    animation: spin 1s ease-in-out infinite;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .contact {
      padding: 1.5rem;
      margin: 1rem;
    }
  
    .contact h1 {
      font-size: 2rem;
    }
  
    .contact-container {
      flex-direction: column;
      gap: 1.5rem;
    }
  
    .contact-info1,
    .contact-form {
      flex: 1 1 100%;
    }
  
    .map-container {
      height: 200px;
    }
  }
  
  /* Animations */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .contact h1,
  .contact > p,
  .contact-info1,
  .contact-form {
    animation: fadeIn 0.8s ease forwards;
  }
  
  .contact-info1 {
    animation-delay: 0.2s;
  }
  
  .contact-form {
    animation-delay: 0.4s;
  }
  
  /* Input field animations */
  @keyframes focusField {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.02);
    }
    100% {
      transform: scale(1);
    }
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    animation: focusField 0.3s ease;
  }
  
  /* Floating labels (optional enhancement) */
  .input-container {
    position: relative;
    margin-bottom: 1.5rem;
  }
  
  .floating-label {
    position: absolute;
    pointer-events: none;
    left: 10px;
    top: 12px;
    transition: 0.2s ease all;
    color: #777;
  }
  
  .contact-form input:focus ~ .floating-label,
  .contact-form input:not(:placeholder-shown) ~ .floating-label,
  .contact-form textarea:focus ~ .floating-label,
  .contact-form textarea:not(:placeholder-shown) ~ .floating-label {
    top: -10px;
    left: 5px;
    font-size: 0.8rem;
    color: #4caf50;
    background: white;
    padding: 0 5px;
  }
  