/* Contact Section */
:root {
    --primary-color: #3a86ff;
    --secondary-color: #8338ec;
    --dark-color: #2d3748;
    --medium-color: #4a5568;
    --light-color: #f9fafc;
  }

  /* Success Message Styling */
.success-message {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
  padding: 12px 20px;
  border-radius: 5px;
  margin: 15px 0;
  text-align: center;
  border: 1px solid #2ecc71;
  animation: fadeIn 0.3s ease-out;
}

.success-message i {
  margin-right: 8px;
}

/* Spinner Animation */
.spinner {
  margin-left: 8px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.contact-section {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(135deg, #f9fafc 0%, #ffffff 100%);
  }
  
  .contact-section .section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
  }
  
  .contact-section .section-title span {
    color: #3a86ff;
  }
  
  .contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
  }

  @media (max-width: 768px) {
    .contact-content {
      grid-template-columns: 1fr;
      gap: 30px;
    }
    .contact-info,
    .contact-form {
      padding: 25px;
    }
    .info-item {
      margin-bottom: 20px;
    }
    .info-icon {
      width: 40px;
      height: 40px;
      font-size: 1rem;
    }
    .form-group input,
    .form-group textarea {
      padding: 12px 15px;
    }
  }

  @media (max-width: 480px) {
    .contact-section {
      padding: 60px 0;
    }
    .contact-info h3,
    .contact-form h3 {
      font-size: 1.5rem;
    }
    .info-content h4 {
      font-size: 1rem;
    }
    .info-content p {
      font-size: 0.9rem;
    }
    .social-icon {
      width: 35px;
      height: 35px;
    }
  }
  
  .contact-info {
    padding: 40px;
    border-radius: 20px;
    height: 100%;
    transition: transform 0.4s ease;
  }
  
  .contact-info:hover {
    transform: translateY(-10px);
  }
  
  .contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2d3748;
    position: relative;
    padding-bottom: 15px;
  }
  
  .contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #3a86ff, #8338ec);
    border-radius: 3px;
  }
  
  .contact-info p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 30px;
  }
  
  .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
  }
  
  .info-icon {
    width: 50px;
    height: 50px;
    background: rgba(58, 134, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: #3a86ff;
    font-size: 1.2rem;
    flex-shrink: 0;
  }
  
  .info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #2d3748;
  }
  
  .info-content p {
    color: #4a5568;
    margin: 0;
    font-size: 0.95rem;
  }
  
  .contact-social {
    display: flex;
    gap: 15px;
    margin-top: 40px;
  }
  
  .social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(58, 134, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a86ff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
  }
  
  .social-icon:hover {
    background: #3a86ff;
    color: white;
    transform: translateY(-3px);
  }
  
  /* Contact Form */
  .contact-form {
    padding: 40px;
    border-radius: 20px;
    transition: transform 0.4s ease;
  }
  
  .contact-form:hover {
    transform: translateY(-10px);
  }
  
  .contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #2d3748;
    position: relative;
    padding-bottom: 15px;
  }
  
  .contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #3a86ff, #8338ec);
    border-radius: 3px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: #3a86ff;
    box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.2);
  }
  
  .form-group textarea {
    min-height: 150px;
    resize: vertical;
  }
  
  .btn-primary {
    background: linear-gradient(45deg, #3a86ff, #8338ec);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
  }
  
  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(58, 134, 255, 0.3);
  }
  
  /* Map Section */
  .map-section {
    padding-bottom: 80px;
  }
  
  .map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
  }
  
  .map-container:hover {
    transform: translateY(-5px);
  }
  
  .map-container iframe {
    display: block;
    border: none;
  }
  
  /* Glass Effect */
  .glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  /* Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .contact-info, .contact-form, .map-container {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
  }
  
  .contact-info {
    animation-delay: 0.2s;
  }
  
  .contact-form {
    animation-delay: 0.4s;
  }
  
  .map-container {
    animation-delay: 0.6s;
  }
  #particles-js {
    height: 80vh; /* Reduced from 100vh to 80% of viewport */
    position: relative;
    background: #0f0f1a; /* Optional: Match your theme */
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .contact-content {
      grid-template-columns: 1fr;
    }
    
    .contact-info, .contact-form {
      padding: 30px;
    }
    
    .map-container iframe {
      height: 350px;
    }
  }
  
  @media (max-width: 480px) {
    .info-item {
      flex-direction: column;
    }
    
    .info-icon {
      margin-right: 0;
      margin-bottom: 15px;
    }
    
    .contact-info, .contact-form {
      padding: 25px;
    }
  }