.ai-tool-container body{
    font-family: 'Barlow Condensed', sans-serif;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    direction: ltr;
}

.ai-tool-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    direction: ltr;
      width: 90%; /* Default width for mobile */
    margin: 20px auto; /* Center the container */
      display: flex;
    flex-direction: column;
    justify-content: space-between; /* Adjust space between items */
}

.ai-tool-container  h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.ai-tool-container  .form-group {
    margin-bottom: 15px;
    text-align: left;
}

.ai-tool-container
input[type="file"] {
    display: none;
}

.ai-tool-container  .custom-file-upload {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
    transition: background 0.3s;
}

.ai-tool-container  .custom-file-upload:hover {
    background-color: #0056b3;
}

.ai-tool-container  #file-name {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

.ai-tool-container  .radio-group {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.ai-tool-container  .btn-submit {
    background: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.ai-tool-container  .btn-submit:hover {
    background: #0056b3;
}

.ai-tool-container  .result {
    margin-top: 20px;
}

.ai-tool-container  .result h2 {
    font-size: 20px;
    color: #333;
}

.ai-tool-container  .result-image {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.ai-tool-container  .result-image:hover {
    transform: scale(1.05);
}

.ai-tool-container  .error-message {
    color: red;
    font-size: 16px;
}

   

.ai-tool-container .prog-cont {
    width: 100%;
    background-color: #f3f3f3;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 20px;
    display: none;
}

  .ai-tool-container .prog-bar {
    height: 10px;
    width: 0%;
    transition: width 0.4s ease, background-color 0.4s ease;
}
.ai-tool-container .result-images {
    display: flex;
    align-items: center;
    justify-content: center;
}
.ai-tool-container .result-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ai-tool-container .result-image {
    max-width: 100%;
    max-height: 300px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin: 10px 0;
}

.ai-tool-container .result-image:hover {
    transform: scale(1.05);
}

.ai-tool-container .arrow {
    font-size: 24px;
    color: #333;
    margin: 10px 0;
  }

    .ai-tool-container .btn-download {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #708090;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.ai-tool-container .btn-download:hover {
    background-color: #218838;
    }
   
/* Media Queries for larger screens */
@media (min-width: 600px) {
    .ai-tool-container {
        width: 1024px;
        height: auto; /* Ensure height adjusts dynamically */
        padding: 100px; /* Increase padding */
    }
}

@media (min-width: 768px) {
    .ai-tool-container {
        width: 1024px; /* Match image width */
        height: auto; /* Match image height */
        padding: 100px; /* Increase padding */
    }
}

@media (min-width: 992px) {
    .ai-tool-container {
        width: 1024px; /* Match image width */
        height: auto; /* Match image height */
        padding: 100px; /* Increase padding */
    }
}

@media (min-width: 1200px) {
    .ai-tool-container {
        width: 1024px; /* Match image width */
        height: auto; /* Match image height */
        padding: 100px; /* Increase padding */
    }
}