  .upload-photo-btn {
    width: 100%;
    margin-top:0px;
}
.Uploadphoto {
    float: left;
    position: relative;
    padding: 15px 30px;
    color: #fff;
    border-radius: 23px;
    font-size: 14px;
    font-weight: 500;
    background: #48383a;
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}
.Uploadphoto input.upload {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    cursor: pointer;
    opacity: 0;
}

 #service-input-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 5px;
}
#tags-container {
    display: flex;
    flex-wrap: wrap;
}
.tag {
    margin: 2px;
    padding: 5px 10px;
    background-color: #e9ecef;
    color: #464a46;
    font-size: 14px;
    font-weight: 600;
    border-radius: 3px;
    display: flex;
    align-items: center;
}
.tag [data-role="remove"] {
    margin-left: 8px;
    cursor: pointer;
    color: #dc3545;
    font-weight: bold;
}
.tag [data-role="remove"]:hover {
    color: #a71d2a;
}
.input {
    flex-grow: 1;
    border: none;
    outline: none;
    margin-left: 5px;
    padding: 5px;
}
.input::-moz-placeholder {
    color: #777;
    opacity: 1;
}
.input:-ms-input-placeholder {
    color: #777;
}
.input::-webkit-input-placeholder {
    color: #777;
}


.mandatory{

    color:red;
}
.tg-btn-list {
    position: relative;
    z-index: 10; /* Ensure it is above overlapping elements */
}



  .responsive-logo {
        height: 160px;
    }

    @media (max-width: 768px) { 
        .responsive-logo {
            height: 110px;
        }
    }

.detail-gallery-preview img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Desktop View (Default) */
.detail-gallery-index {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
}

/* Thumbnail Items */
.detail-gallery-list-item {
    flex: 0 0 auto;
    width: 100px; /* Default width for desktop */
    margin: 5px;
}

/* Make Images Responsive */
.detail-gallery-list-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Mobile View (Less than 768px) */
@media (max-width: 768px) {
    .detail-gallery-index {
        flex-wrap: wrap; /* Wrap thumbnails on smaller screens */
        justify-content: center;
    }
    .detail-gallery-list-item {
        width: 70px; /* Smaller thumbnails for mobile */
        margin: 3px;
    }
}

/* Extra Small Screens (Less than 480px) */
@media (max-width: 480px) {
    .detail-gallery-list-item {
        width: 60px; /* Even smaller thumbnails */
    }
}

/* Large Image Full Width */
.detail-gallery-preview img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.btn-success {
    
    width: 100%;
    text-transform: uppercase;
    font-weight: bold;
    background-color: #16A34A;
    border-color: #16A34A;
}

.btn-view-more{
    padding-left: 9px;
}

 /*.listing-item {
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .listing-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  }*/

  .feature-box-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0;
  }

  .feature-box-text h3 a {
    color: #fff;
    text-decoration: none;
  }

  /* Gradient background color classes */
  .bg-color-1 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
  .bg-color-2 { background: linear-gradient(135deg, #43e97b, #38f9d7); }
  .bg-color-3 { background: linear-gradient(135deg, #fa709a, #fee140); }
  .bg-color-4 { background: linear-gradient(135deg, #f093fb, #f5576c); }
  .bg-color-5 { background: linear-gradient(135deg, #667eea, #764ba2); }
  
   /* Scrollable dropdown */
.scrollable-dropdown {
  max-height: 200px; /* Adjust height as needed */
  overflow-y: auto;
  overflow-x: hidden;
}

/* Custom scrollbar style */
.scrollable-dropdown::-webkit-scrollbar {
  width: 8px;
}

.scrollable-dropdown::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.scrollable-dropdown::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.scrollable-dropdown::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Parent tool-card setup */
.tool-card {
  background: linear-gradient(135deg, #262626 0%, #16A34A 100%);
  color: #fff;
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.4s ease;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Inner content spaced equally */
.card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: bold;
}

.card-content p {
  font-size: 14px;
  margin-bottom: auto; /* Pushes button down */
  opacity: 0.9;
}

.btn-wrapper {
  margin-top: 20px;
}

.btn-open-tool {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 20px;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, border 0.3s ease;
  margin-top: 10px;
}

.btn-open-tool:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Test */

        :root {
            --primary: #4361ee;
            --primary-dark: #3a56d4;
            --secondary: #7209b7;
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
            --success: #4bb543;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --radius: 8px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: #f5f7ff;
            color: var(--dark);
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        header {
            background: linear-gradient(135deg, #4b9579, #133c2c);
            color: white;
            padding: 2rem 0;
            text-align: center;
            box-shadow: var(--shadow);
        }

        header h1 {
          
            margin-bottom: 0.5rem;
        }

        header p {
           
            opacity: 0.9;
        }

        main {
            padding: 3rem 0;
        }

        .converter-container {
            background: white;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding: 2rem;
            margin-bottom: 2rem;
            margin-top: 20px;
        }

        .upload-area {
            border: 2px dashed #ccc;
            border-radius: var(--radius);
            padding: 3rem 2rem;
            text-align: center;
            margin-bottom: 2rem;
            transition: all 0.3s ease;
            cursor: pointer;
            background-color: #fafafa;
        }

        .upload-area:hover, .upload-area.drag-over {
            border-color: var(--primary);
            background-color: #f0f4ff;
        }

        .upload-icon {
            font-size: 3rem;
            color: var(--gray);
            margin-bottom: 1rem;
        }

        .upload-area h3 {
            margin-bottom: 1rem;
            color: var(--dark);
        }

        .upload-area p {
            color: var(--gray);
            margin-bottom: 1.5rem;
        }

        .btn {
            display: inline-block;
            background: #2f9870;
            color: white;
            padding: 0.8rem 1.5rem;
            border: none;
            border-radius: var(--radius);
            cursor: pointer;
            font-size: 2rem;
            font-weight: 600;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .btn:hover {
            background: #1d543f;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            color: white;
        }

        .btn-secondary {
            background: var(--gray);
        }

        .btn-secondary:hover {
            background: #5a6268;
        }

        .btn-success {
            background: var(--success);
        }

        .btn-success:hover {
            background: #3fa037;
        }

        .file-input {
            display: none;
        }

        .preview-section {
            display: none;
            margin-top: 2rem;
        }

        .preview-container {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .preview-box {
            flex: 1;
            min-width: 300px;
            text-align: center;
        }

        .preview-box h4 {
            margin-bottom: 1rem;
            color: var(--dark);
        }

        .image-preview {
            max-width: 100%;
            max-height: 300px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }

        .file-info {
            background: #f8f9fa;
            border-radius: var(--radius);
            padding: 1.5rem;
            margin-bottom: 2rem;
        }

        .file-info h3 {
            margin-bottom: 1rem;
            color: var(--dark);
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1rem;
        }

        .info-item {
            display: flex;
            justify-content: space-between;
            padding: 0.5rem 0;
            border-bottom: 1px solid #eee;
        }

        .info-label {
            font-weight: 600;
        }

        .action-buttons {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap; /* mobile पर break होने के लिए */
        }

        .stats {
            display: flex;
            gap: 2rem;
            margin-top: 1rem;
            flex-wrap: wrap;
        }

        .stat-card {
            flex: 1;
            min-width: 200px;
            background: white;
            border-radius: var(--radius);
            padding: 1.5rem;
            box-shadow: var(--shadow);
            text-align: center;
        }

        .stat-value {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            color: var(--gray);
            
        }

        .savings {
            color: var(--success);
        }

        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
            margin-bottom: 20px;
        }

        .feature-card {
            background: white;
            border-radius: var(--radius);
            padding: 2rem;
            box-shadow: var(--shadow);
            text-align: center;
        }

        .feature-icon {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        .feature-card h3 {
            margin-bottom: 1rem;
            color: var(--dark);
        }

       .btn-success{

        width: 20%;
        background: #2f9870;
       }  

        @media (max-width: 768px) {
            header h1 {
                font-size: 2rem;
            }

            .preview-container {
                flex-direction: column;
            }

            .action-buttons {
                flex-direction: column;
            }

            .btn {
                width: 100%;
                text-align: center;
            }
        }


        input[type="file"] {
            display: none;
        }