/* Container styling */
.container {
    max-width: 1200px; /* Increase the max width for better layout */
    margin: 0 auto; /* Center the container */
    display: flex; /* Flex container for side-by-side layout */
    flex-direction: row; /* Row direction for desktop layout */
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Clip overflowing child elements */
    align-items: center; /* Center content vertically */
    padding: 20px; /* Padding around the container */
  }
  
  /* Image section styling */
  .image-section {
    flex: 1;
    padding: 20px; /* Padding around image */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .image-section img {
    max-width: 100%; /* Responsive image size */
    border-radius: 12px; /* Rounded corners for the image */
    margin-bottom: 20px; /* Space below the image */
  }
  
  .image-section h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
  }
  
  .image-section p {
    color: #555;
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  /* Form section styling */
  .form-section {
    flex: 1;
    padding: 30px;
    display: flex;
    align-items: center; /* Center the form vertically */
    justify-content: center; /* Center the form horizontally */
    flex-direction: column; /* Stack elements vertically */
  }
  
  .card {
    width: 100%; /* Full width of form section */
    max-width: 400px; /* Max width for the card */
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }
  
  /* Card header styling */
  .card-header {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
  }
  
  /* Input styling */
  .form-control {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 25px; /* Rounded corners for inputs */
    background-color: #f7f7f7;
    transition: border-color 0.3s ease;
    margin-bottom: 15px; /* Space between input fields */
  }
  
  .form-control:focus {
    border-color: #333;
    outline: none;
  }
  
  /* Button styling */
  .btn-primary {
    padding: 12px 20px;
    background-color: #000; /* Black color for primary button */
    color: #ffffff;
    border: none;
    border-radius: 25px; /* Rounded corners for buttons */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%; /* Full width button */
    margin-bottom: 15px; /* Space between buttons */
  }
  
  .btn-primary:hover {
    background-color: #555; /* Slightly lighter on hover */
    transform: translateY(-2px); /* Lift effect on hover */
  }
  
  .btn-link {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-top: 10px;
  }
  
  .btn-link:hover {
    color: #0056b3;
  }
  
  .btn-social {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 25px; /* Rounded corners for social buttons */
    color: #555;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 48%;
    text-align: center;
  }
  
  .btn-social:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px); /* Lift effect on hover */
  }
  
  .social-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px; /* Space above social buttons */
  }
  
  /* Error feedback styling */
  .invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .container {
      flex-direction: column; /* Stack image and form vertically on smaller screens */
      max-width: 100%; /* Full width for smaller screens */
      padding: 10px; /* Reduce padding for smaller screens */
    }

    .image-section{
        display: none;
    }
  
    .form-section {
      width: 100%; /* Full width sections on smaller screens */
      padding: 10px; /* Reduce padding for smaller screens */
    }
  
    .card {
      max-width: 100%; /* Full width for the card on smaller screens */
    }
  }
  