/* Custom Styles */
body {
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
}

.hero {
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.file-upload-container {
    @apply border-2 border-dashed border-gray-300 rounded-xl p-8 text-center;
    transition: all 0.3s ease;
}

.file-upload-label {
    @apply cursor-pointer flex flex-col items-center text-gray-600;
}

.file-upload-container:hover {
    @apply border-indigo-500 bg-indigo-50;
}

.optimization-input {
    @apply w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-indigo-500 focus:border-transparent;
}

.optimize-button {
    @apply w-full bg-indigo-600 text-white py-3 px-6 rounded-lg font-semibold hover:bg-indigo-700 transition-all flex items-center justify-center;
}

.preview-card {
    @apply bg-gray-50 p-6 rounded-xl border border-gray-200;
}

.preview-image {
    @apply w-full h-64 object-contain rounded-lg shadow-sm;
}

.download-button {
    @apply mt-4 inline-block bg-green-600 text-white px-6 py-2 rounded-lg hover:bg-green-700 transition-all;
}

.features-section {
    @apply py-16 bg-white px-4;
}

.seo-section {
    @apply py-16 bg-gray-50 px-4;
}

.faq-section {
    @apply py-16 px-4 max-w-3xl mx-auto;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.preview-section {
    animation: fadeIn 0.5s ease-out;
}













 /* Start header section styling */

 .containerr {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  ul {
    list-style: none;
  }
  
  .hidden {
    display: none !important;
  }
  
  /* Header Styles */
  .header {
  
    position: relative;
    z-index: 1001;
  
    top: 0;
    width: 100%;
    /* z-index: 50; */
    padding-top: 30px;
    background-color: #fff;
  }
  
  .header-main {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-200);
    height: 64px;
  }
  
  .accent-line {
    height: 4px;
    width: 100%;
    background-color: red;
    z-index: 52;
  }
  
  /* Logo */
  .logo a {
    display: flex;
    align-items: center; 
  }
  
  .logo-img {
    width: 150px;         
    height: auto;         
    max-width: 100%;      
    display: block;       
    object-fit: contain; 
  }
  
  /* Desktop Navigation */
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .nav-item {
    color: var(--gray-700);
    transition: color 0.2s;
    padding: 0.5rem 1rem;
    font-weight: 500;
  }
  
  
  /* Dropdown Button */
  .dropdown {
    position: relative;
  }
  
  .dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: var(--gray-700);
    font-size: 1rem;
    transition: color 0.2s;
  }
  
  .dropdown-btn:hover {
    color: var(--primary);
  }
  
  .dropdown-btn .icon {
    margin-right: 0.5rem;
  }
  
  .dropdown-btn .arrow-icon {
    margin-left: 0.25rem;
    font-size: 0.75rem;
    transition: transform 0.2s ease;
  }
  
  .dropdown-btn.active .arrow-icon {
    transform: rotate(-180deg);
  }
  
  /* Dropdown Content */
  .dropdown-content {
    position: absolute;
    top: 100%;
    left: -650px;
    margin-top: 4px;
    width: 100vw;
    max-width: 1024px;
    background-color: var(--white);
    border-radius: 0 0 0.5rem 0.5rem;
    /* box-shadow: 9px 5px 1px 4px rgba(35, 13, 13, 0.15); */
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.919);
  
    padding: 1.5rem 2rem;
    display: none;
    z-index: 50;
    border: 1px solid var(--gray-100);
    background-color: #fff;
  }
  
  .dropdown-content.show {
    display: block;
  }
  
  .dropdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  
  .dropdown-category h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    padding-left: 2rem;
  }
  
  .dropdown-category ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .dropdown-category a {
    display: flex;
    align-items: center;
    color: var(--gray-700);
    transition: color 0.2s;
  }
  
  .dropdown-category a:hover {
    color: rgb(30, 29, 29);
    font-weight: 700;
  }
  
  /* Tool Icons */
  .tool-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--white);
    margin-right: 0.75rem;
    font-weight: 500;
  }
  
  .pdf-icon { background-color: #ef4444 !important;}
  .img-icon { background-color: #f97316 !important; }
  .png-icon { background-color: #22c55e !important; }
  .jpg-icon { background-color: #3b82f6 !important; }
  .vid-icon { background-color: #a855f7 !important; }
  .zip-icon { background-color: #ec4899 !important; }
  .zip2-icon { background-color: #6366f1 !important; }
  .zip3-icon { background-color: #63ecf1 !important; }
  .zip4-icon { background-color: #eacf24 !important; }
  
  
  
  
  
  
  
  /* Button Styles */
  .see-all-wrapper {
  display: inline-block;
  margin: 1rem 0;
  }
  
  .see-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background-color: var(--primary);
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-decoration: none; /* Important for links */
  }
  
  .see-all-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }
  
  .see-all-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .see-all-btn .fa-solid {
  font-size: 0.875rem;
  transition: transform 0.2s ease;
  }
  
  .see-all-btn:hover .fa-solid {
  transform: translate(2px, -2px);
  }
  
  
  
  
  
  /* Mobile Menu Button */
  .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--gray-700);
    cursor: pointer;
    font-size: 1.5rem;
  }
  
  .mobile-menu-btn:hover {
    color: var(--primary);
  }
  
  /* Mobile Navigation */
  .mobile-nav {
    display: none;
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
    box-shadow: var(--shadow);
  }
  
  .mobile-nav.show {
    display: block;
  }
  
  .mobile-nav .containerr {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  
  
  }
  
  .mobile-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    color: var(--gray-700);
    cursor: pointer;
  }
  
  .mobile-dropdown-btn .btn-content {
    display: flex;
    align-items: center;
  }
  
  .mobile-dropdown-btn .icon {
    margin-right: 0.5rem;
  }
  
  .mobile-dropdown-btn .arrow-icon {
    transition: transform 0.2s ease;
  }
  
  .mobile-dropdown-btn.active .arrow-icon {
    transform: rotate(-180deg);
  }
  
  .mobile-dropdown-content {
    width: 100%;
    padding-left: 1rem;
    margin-top: 0.5rem;
  }
  
  .mobile-category {
    margin-bottom: 1.5rem;
    z-index: 50;
  }
  
  .mobile-category h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
  }
  
  .mobile-category ul {
    padding-left: 0.5rem;
  }
  
  .mobile-category li {
    margin-bottom: 0.75rem;
  }
  
  .mobile-category a {
    display: flex;
    align-items: center;
    color: var(--gray-700);
  }
  
  .mobile-nav-item {
    display: block;
    padding: 0.5rem 0;
    color: var(--gray-700);
  }
  
  .mobile-category .tool-icon {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.7rem;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .desktop-nav {
      display: none;
    }
  
    .mobile-menu-btn {
      display: block;
    }
    
    .dropdown-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
  }
  
  @media (min-width: 769px) {
    .mobile-nav {
      display: none !important;
    }
  }
  
  
  /* End  header section styling */
    







































/* Modern Footer (New Design) */

.modern-footer {
    background-color: #1f2937;
    color: #d1d5db;
    padding: 4rem 0 2rem;
  }

  .modern-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-column {
    display: flex;
    flex-direction: column;
  }
  
  .footer-heading {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
  }
  
  .footer-about-text {
    color: #9ca3af;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
  }
  
  .footer-links {
    list-style: none;
    padding: 0;
  }
  
  .footer-links li {
    margin-bottom: 1rem;
  }
  
  .footer-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
  }
  
  .footer-link:hover {
    color: #ffffff;
  }
  
  .social-icons {
    display: flex;
    gap: 1rem;
  }
  
  .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
  }
  
  .social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
  }
  
  .social-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  
  .subscribe-input {
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    color: #ffffff;
    font-size: 0.95rem;
    width: 100%;
    outline: none;
    transition: border-color 0.3s ease;
  }
  
  .subscribe-input:focus {
    border-color: rgba(255, 255, 255, 0.3);
  }
  
  .subscribe-input::placeholder {
    color: #9ca3af;
  }
  
  .subscribe-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #6366f1;
    color: #ffffff;
    font-weight: 500;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .subscribe-button:hover {
    background-color: #4f46e5;
  }
  
  .footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
  }
  
  .copyright {
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
  }
  
  @media (min-width: 640px) {
    .footer-content {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .subscribe-form {
      flex-direction: row;
    }
    
    .subscribe-input {
      flex: 1;
    }
  }
  
  @media (min-width: 1024px) {
    .footer-content {
      grid-template-columns: repeat(4, 1fr);
    }
    
    .subscribe-form {
      flex-direction: column;
    }
  }
  
  /* End Modern Footer (New Design) */
















  /* CSS back to top*/
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #2563eb; 
    color: white;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
  }
  
  .back-to-top.show {
    opacity: 1;
    visibility: visible;
  }
  
  .back-to-top:hover {
    background-color: #1d4ed8; /* Darker shade of theme color */
    transform: scale(1.1);
  }