/* Custom styles for TikTok Downloader */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

h1 a{
    text-decoration:none;
    color:rgb(0 0 0);
}

.main-content {
    padding: 2rem 0;
}

.card {
    border-radius: 15px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.card-body {
    border-radius: 15px;
}

.input-group-lg .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.input-group-lg .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.input-group-lg .input-group-text {
    border-radius: 10px 0 0 10px;
    border: 2px solid #e9ecef;
    border-right: none;
    background: #f8f9fa;
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-primary:disabled {
    opacity: 0.7;
    transform: none;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

.alert {
    border-radius: 10px;
    border: none;
}

.alert-danger {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
}

.alert-success {
    background: linear-gradient(45deg, #51cf66, #40c057);
    color: white;
}

.card.border-success {
    border: 2px solid #51cf66 !important;
}

.text-success {
    color: #51cf66 !important;
}

.bg-light {
    background: rgba(248, 249, 250, 0.9) !important;
}

.video-preview {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.download-btn {
    background: linear-gradient(45deg, #51cf66, #40c057);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(81, 207, 102, 0.3);
    color: white;
    text-decoration: none;
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }
    
    .card-body {
        padding: 2rem !important;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

/* Loading animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading-text {
    animation: pulse 2s infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #764ba2, #667eea);
}

/* Form validation styles */
.form-control:invalid {
    border-color: #dc3545;
}

.form-control:valid {
    border-color: #28a745;
}

/* Fade in animation */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Success state animations */
.success-bounce {
    animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 60%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    80% { transform: translateY(-5px); }
}







/* FAQ Section Styling */
/*.homepage-faq {*/
/*  padding: 60px 20px;*/
/*  background: #f9f9f9;*/
/*  max-width: 800px;*/
/*  margin: auto;*/
/*}*/

.homepage-faq h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
}

.accordion-wrapper details {
  background: #fff;
  border: 1px solid #ddd;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  transition: background 0.3s;
  cursor: pointer;
}

.accordion-wrapper summary {
  font-weight: bold;
  font-size: 1rem;
}

.accordion-wrapper details[open] {
  background: #eef7ff;
  border-color: #b3d7ff;
}

.accordion-wrapper p {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
}




/*=== contact page ===*/
form {
      background: #fff;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 0 8px rgba(0,0,0,0.1);
    }
    label {
      display: block;
      margin-bottom: 6px;
      font-weight: bold;
    }
    input[type="text"],
    input[type="email"],
    textarea {
      width: 100%;
      padding: 10px;
      margin-bottom: 15px;
      border: 1px solid #ccc;
      border-radius: 4px;
      resize: vertical;
      font-size: 1rem;
    }
    button {
      background-color: #2196f3;
      color: white;
      padding: 12px 20px;
      border: none;
      border-radius: 5px;
      font-size: 1.1rem;
      cursor: pointer;
      width: 100%;
      transition: background-color 0.3s ease;
    }
    button:hover {
      background-color: #1769aa;
    }
    .success-message, .error-message {
      padding: 15px;
      margin-bottom: 20px;
      border-radius: 5px;
      font-weight: bold;
    }
    .success-message {
      background-color: #d4edda;
      color: #155724;
    }
    .error-message {
      background-color: #f8d7da;
      color: #721c24;
    }
    
    
    
    /*=== footer links===*/
    
     .footer-links {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 30px;
  }

  .footer-links li {
    display: inline;
  }

  .footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
  }

  .footer-links a:hover {
    text-decoration: underline;
  }

  .footer-copy {
    margin-top: 10px;
    color: #f9f9f9;
  }

  @media (max-width: 600px) {
    .footer-links {
      flex-direction: column;
      gap: 10px;
    }
  }
  
  
  
  
  .social-share-bar {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 9999;
}

.social-share-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 6px 0;
  font-size: 20px;
  color: white;
  background: #2196f3;
  border-radius: 0 8px 8px 0;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-share-bar a:hover {
  background-color: #0d6efd;
}
