/* Base Styles */
:root {
    --background: #ffffff;
    --foreground: #0d0c14;
    --primary: #8b5cf6;
    --primary-hover: #7c4dff;
    --primary-foreground: #ffffff;
    --secondary: #f4f4f5;
    --secondary-foreground: #18181b;
    --border: #e4e4e7;
    --ring: #8b5cf6;
    --radius: 0.5rem;
    --muted: #f4f4f5;
    --muted-foreground: #71717a;
    --card: #ffffff;
    --card-foreground: #18181b;
    --purple-light: #f3f0ff;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: var(--foreground);
  }
  
  body {
    background: var(--background);
  }
  
  .container {
    width: 100%;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
  }
  
  p {
    color: #71717a;
  }
  
  section {
    padding: 5rem 1.5rem;
  }
  
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .button:hover {
    background-color: var(--primary-hover);
  }
  
  .button.outline {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
  }
  
  .button.outline:hover {
    background-color: rgba(139, 92, 246, 0.1);
  }
  







 /* 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 */




















  /* Hero Section */
  .hero {
    background: linear-gradient(to bottom right, var(--purple-light), #ffffff);
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  
  .hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    text-align: center;
    margin-bottom: 2rem;
    
    

  }
  
  .hero-text h1 {
    font-size: 2.5rem;
    color: #4b0082;
    text-align: center;


  }
  
  .hero-text h1 span {
    color: var(--primary);
  }
  
  .hero-text p {
    text-align: center;
    margin: 1.6rem 0;
    font-size: 1.125rem;
  }
  
  
  /* Converter Section */
  .converter {
    padding: 3rem 1.5rem;
  }
  
  .converter-container {
    max-width: 768px;
    margin: 0 auto;
  }
  
  .converter-header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .converter-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 2rem;
  }
  
  .drop-area {
    border: 2px dashed #d4d4d8;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s ease;
  }
  
  .drop-area:hover {
    border-color: var(--primary);
  }
  
  .upload-icon {
    margin-bottom: 1rem;
    color: #a1a1aa;
  }
  
  .file-label {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
    border: 2px solid #19191c;
    padding: 8px 20px;
    border-radius: 0.5rem;
    background-color: #f4f4f5;
  }
  
  .file-label input {
    display: none;
  }
  
  .file-label span {
    color: var(--primary);
    cursor: pointer;
    text-decoration: underline;
  }
  
  .preview-area {
    text-align: center;
  }
  
  .preview-area img {
    max-height: 16rem;
    margin: 0 auto 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  }
  
  .conversion-controls {
    margin-top: 1.5rem;
  }
  
  .format-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .format-selector select {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #e4e4e7;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    background-color: #ffffff;
  }
  
  /* Features Section */
  .features {
    background-color: #ffffff;
    padding: 5rem 1.5rem;
  }
  
  .features-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .features-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
  }
  
  .features-header h2 {
    font-size: 2rem;
    color: #4b0082;
    margin-bottom: 1rem;
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
  }
  
  .feature-card {
    border: 2px solid #f4f4f5;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
  }
  
  .feature-card svg {
    color: var(--primary);
    margin-bottom: 1rem;
  }
  
  .feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
  }
  
  /* SEO Content Section */
  .seo-content {
    background-color: var(--purple-light);
    padding: 5rem 1.5rem;
  }
  
  .seo-container {
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .seo-card {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 3rem;
  }
  
  .seo-card h2 {
    font-size: 1.5rem;
    color: #4b0082;
    margin-bottom: 1rem;
  }
  
  .seo-card p {
    line-height: 1.7;
  }
  
  /* FAQ Section */
  .faq {
    background-color: #ffffff;
    padding: 5rem 1.5rem;
  }
  
  .faq-container {
    max-width: 768px;
    margin: 0 auto;
  }
  
  .faq h2 {
    font-size: 2rem;
    color: #4b0082;
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .accordion {
    border-radius: 0.5rem;
    overflow: hidden;
  }
  
  .accordion-item {
    border-bottom: 1px solid var(--border);
  }
  
  .accordion-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem;
    background: none;
    border: none;
    text-align: left;
    font-weight: 500;
    font-size: 1rem;
    color: #4b0082;
    cursor: pointer;
  }
  
  .accordion-icon {
    transition: transform 0.2s ease;
  }
  
  .accordion-button[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
  }
  
  .accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .accordion-content.active {
    padding: 0 1.25rem 1.25rem;
    max-height: 200px;
  }
  
  .accordion-content p {
    margin: 0;
    padding-bottom: 1.25rem;
  }
  
  /* Responsive Styles */
  @media (min-width: 640px) {
    .hero-text h1 {
      font-size: 3rem;
    }
    
    .features-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
  @media (min-width: 768px) {
    .seo-container {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
  @media (min-width: 1024px) {
    .hero-content {
      flex-direction: row;
      text-align: left;
    }
    
    .hero-text {
      text-align: left;
    }
    
    .hero-text p {
      margin-left: 0;
    }
    
    .features-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  












  /* 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);
}