:root {
    --download-btn-link: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --process-btn: linear-gradient(135deg, var(--primary-red) 0%, #dc2626 100%);
    --preview-bg: #f8fafc;
    --heading-color: #454b51;
    --rotate-btn: #007bff;
    --download-btn: #10b981;
    --remove-btn: rgb(239, 68, 68);

    /* rarely used */
    --primary-red: #e5322d;
    --primary-red-dark: #c42a25;
    --text-dark: #383e45;
    --text-light: #878d95;
    --border-color: #e8e8f0;
    --background-light: #f8fafc;
    --background-white: #ffffff;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --header-height: 60px;
    --navy: #1e293b;
    --cream: #f1f5f9;
    --gold: #f59e0b;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    height: auto;
    font-family: var(--font-family);
    background: #eff3f8;
    color: var(--text-dark);
    line-height: 1.6;
}


.cross-back{
    position: absolute;
    right: 80px;
    top: 100px;
    font-size: 15px;
            border-radius: 100px;
    width: 25px;
    height: 25px;
    text-align: center;
}

.cross-back a{
   text-decoration: none;
}

.cross-back a img{
    width: 25px;
}

/* .cross-back a img:hover{
    background-color: var(--remove-btn);
} */


::-webkit-scrollbar {
  width: 5px;   /* vertical scrollbar width */
  height: 8px;   /* horizontal scrollbar height */
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Dropdown styling */
nav ul li {
  position: relative;
}

nav ul li ul.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy);
  min-width: 180px;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 999;
}

nav ul li ul.dropdown-menu li a {
  color: #fff;
  padding: 10px 15px;
  display: block;
  text-decoration: none;
  font-weight: normal;
}

nav ul li ul.dropdown-menu li a:hover {
  /* background: #f2f2f2; */
  color: var(--gold);
}

/* Show dropdown on hover */
nav ul li.dropdown:hover > ul.dropdown-menu {
  display: block;
}
nav ul li {
  display: block;
}



.logo-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* space between left and right sections */
    padding: 10px 20px;
    background-color: #000;
    /* example dark background */
}

.navbar-left {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 40px;
    /* adjust as needed */
    width: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: var(--navy);
    padding: 12px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    /* font-family: "Cormorant Garamond", serif; */
    font-size: 30px;
    font-weight: 600;
    color: var(--cream);
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo h4{
    font-size: 24px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    /* background: linear-gradient(135deg, var(--gold) 0%, #f97316 100%); */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;

}

.logo-icon img {
    width: 50px;
    height: 50px;
    margin-right: 8px;
}


nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--cream);
    text-decoration: none;
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 0;
}

nav a:hover {
    color: var(--gold);
}

nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.title-header {
    text-align: center;
    margin: 0 10px 20px;
}
.title-header h2{
    font-size: 2.2rem;
}
.title-header p{
    font-size: 1.3rem;
}
.title-header #output-heading{
    font-size: 1.7rem;
}
.title-header #preview-heading{
    font-size: 1.5rem;
}

.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--navy);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 10;
    right: 0;
    /* Align to the right */
    border-radius: 5px;
    overflow: hidden;
    margin-top: 5px;
}

.language-dropdown:hover .language-dropdown-content {
    display: block;
}

.language-dropdown-content a {
    color: var(--cream);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    margin-left: 0;
    /* Reset margin for dropdown items */
}

.language-dropdown-content a:hover {
    background-color: var(--primary-red);
    color: white;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--cream);
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

.hamburger-container {
    display: none;
}

nav {
    position: static;
    background-color: transparent;
    width: auto;
    height: auto;
    text-align: left;
    transition: none;
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 20px 10px;
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 50%, #e2e8f0 100%);
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 650;
    background: linear-gradient(135deg, var(--text-dark) 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-section h2 {
    margin-top: 0px;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 650;
    background: linear-gradient(135deg, var(--text-dark) 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 1rem auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 0px;
}

.hero-feature {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #7069f6;
}

.hero-feature::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.hero-feature:nth-child(1)::before {
    background-color: #10b981;
}

.hero-feature:nth-child(2)::before {
    background-color: #3b82f6;
}

.hero-feature:nth-child(3)::before {
    background-color: #8b5cf6;
}

/* Advertisement */
.ad-placeholder {
    background: #f0f0f0;
    /* border: 2px dashed #ccc; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
    margin: 10px auto;
    width: 728px;
    height: 90px;
    max-width: 100%;
    border-radius: 8px;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 30px 0;
}

.tool-card {
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.tool-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.tool-card.disabled:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tool-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px auto;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.tool-card:hover .tool-icon {
    transform: scale(1.1);
}

.tool-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.tool-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 600;
}

.tool-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

.badge {
    position: absolute;
    top: 12px;
    right: -30px;
    padding: 4px 40px;
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
    transform: rotate(45deg);
    text-transform: uppercase;
}

.badge.new {
    background-color: var(--primary-red);
}

.badge.soon {
    background-color: #3b82f6;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--background-white);
    margin: auto;
    padding: 0;
    border-radius: 16px;
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 24px 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.close-button {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
    background: none;
    border: none;
    padding: 4px;
    border-radius: 44px;
}

.close-button:hover {
    color: var(--text-dark);
    background-color: #f3f4f6;
}

.modal-body {
    display: flex;
    flex-wrap: no-wrap;
    justify-content: flex-start;
    width: 100%;
    height: auto;
    padding: 10px 30px 30px 30px;
    overflow-y: auto;
    flex: 1;
    background: #eff3f8;
    flex-direction: column;
    align-content: space-around;
    align-items: center;
}

/* File Upload Styles */
.upload-prompt {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    align-items: center;
}

.drop-zone {
    flex-direction: column;
    align-items: center;
    height: 70%;
    width: 60%;
    border: 2px dashed #3b82f6;
    border-radius: 12px;
    padding: 60px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.drop-zone:hover {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    transform: scale(1.02);
}

.drop-zone.dragover {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    transform: scale(1.02);
}

.upload-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px auto;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.drop-zone:hover .upload-icon {
    transform: scale(1.1);
}

.upload-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.drop-zone p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 7px;
}

.drop-zone .error-message {
    color: var(--primary-red);
    font-size: 0.9rem;
    margin-top: 10px;
    font-weight: 500;
}

.select-file-btn {
    background: linear-gradient(135deg, var(--primary-red) 0%, #dc2626 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(229, 50, 45, 0.3);
    display: inline-flex;
    /* Use flex to align icon and text */
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Space between icon and text */
}

.select-file-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229, 50, 45, 0.4);
}

.select-file-btn:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#file-input {
    display: none;
}

/* File List (General, not used by PDF to JPG directly) */
.file-list {
    list-style: none;
    margin-top: 20px;
}

.file-item {
    background: white;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.file-item:hover {
    background-color: #f8fafc;
    border-color: #3b82f6;
}

.file-info {
    display: flex;
    align-items: center;
}

.file-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.file-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.file-details h4 {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.file-details p {
    font-size: 0.8rem;
    color: var(--text-light);
}

.remove-file-btn {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.remove-file-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* Tool Options */
.tool-options {
    margin-top: 24px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px solid var(--primary-red);
    overflow: auto;
    width: 60%;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .14);
}

.tool-options h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    text-align: center;
    text-decoration: underline;
}

.tool-options label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
    width: 117px;
}

.tool-options input,
.tool-options select,
.tool-options textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}

.tool-options input:focus,
.tool-options select:focus,
.tool-options textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Specific styles for radio buttons and checkboxes to align them right */
.tool-options .radio-group,
.tool-options .checkbox-group {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    /* Pushes input to the right */
    margin-bottom: 15px;
    flex-direction: column;
    /* flex-wrap: wrap; */
    /* align-content: space-around; */
}

.tool-options .radio-group label,
.tool-options .checkbox-group label {
    margin-bottom: 0;
    /* Remove default label margin */
    margin-right: 10px;
    /* Space between label and input */
    flex-grow: 1;
    /* Allow label to take available space */
}

.tool-options .radio-group input[type="radio"],
.tool-options .checkbox-group input[type="checkbox"] {
    width: auto;
    /* Allow input to take its natural width */
    margin-bottom: 0;
    /* Remove default input margin */
    flex-shrink: 0;
    /* Prevent input from shrinking */
}

/* End of specific styles */

.disclaimer {
    font-size: 0.85rem;
    color: var(--text-light);
    background: #fffbeb;
    border: 1px solid #fbbf24;
    padding: 12px;
    border-radius: 8px;
    margin-top: 8px;
}

/* New Red Disclaimer Style */
.disclaimer.red {
    background: #fee2e2;
    /* Light red background */
    border-color: #ef4444;
    /* Red border */
    color: #dc2626;
    /* Darker red text */
    font-weight: 500;
}

/* Loading Overlay */
.loader-container{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 1001;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.loader-container.active {
    display: flex;
}
.pdf-icon {
  position: relative;
  width: 60px;
  height: 60px;
  top: -12px;
  background: url('https://cdn-icons-png.flaticon.com/512/337/337946.png') no-repeat center;
  background-size: contain;
  z-index: 2;
  animation: fadeIcon 1.5s linear infinite;
}
.loading-matter{
    height: 100px;
}
.loader-text {
    margin-top: 10px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* Fade animation */
@keyframes fadeIcon {
  0%   { opacity: 0.2; transform: scale(0.9); }
  50%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0.2; transform: scale(0.9); }
}

/* Output Area */

.download-link{
      display: inline-flex;
      align-items: center;
      background-color: #0cab77;
      color: white;
      padding: 24px 48px;
      font-weight: 500;
      font-size: 24px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .14);
      transition: background 0.3s ease;
      text-decoration: none; /* for <a> */
      font-family: Arial, Helvetica, sans-serif;
}

.download-link:hover {
    background-color: #158f67f6; /* darker red */
}

.download-info {
    display: flex;
    align-items: center;
    gap: 15px;

}

.download-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.download-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.download-arrow {
    color: #10b981;
    transition: transform 0.2s ease;
}

.download-link:hover .download-arrow {
    transform: translateX(4px);
}

/* Footer */
footer {
    background-color: #1f2937;
    color: #d1d5db;
    padding: 60px 0 30px 0;
    margin-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: white;
}

.footer-brand {
    display: flex;
    /* margin-bottom: 16px; */
    align-items: flex-start;
    /* flex-direction: column; */
}

/* .footer-logo {
    width: 134px;
    height: 134px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
} */
.footer-logo {
     display: flex;
    align-items: center;
    gap: 8px; /* space between image and text */
    color: var(--cream);
    font-size: 22px;
    font-weight: 600;
    text-decoration: none;
}

.footer-logo svg {
    width: 16px;
    height: 16px;
    color: white;
}

.footer-brand h4 {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    margin-left: 8px;
}

.footer-logo img {
   width: 50px;  /* adjust as needed */
    height: auto;
}


.copyright {
    text-align: center;
    border-top: 1px solid #374151;
    padding-top: 30px;
    font-size: 0.9rem;
    color: #9ca3af;
}

/* Hide nav menu completely on small screens */
@media (max-width: 768px) {
    nav {
        display: none;
    }

    .modal-body{
        margin-top: 20px;
    }

    .cross-back{
        right: 20px;
        top: 85px;
    }

    .hamburger-menu a {
        color: white;
        text-decoration: none;
    }

    .hamburger-container {
        display: flex;
        /* ✅ Now hamburger will show */
        flex-direction: column;
        align-items: flex-end;
        padding: 10px;
    }

    .hamburger {
        display: flex;
        /* ✅ This makes the bars visible */
    }

    /*.hamburger-container {
    display: none;
    color: white;
    text-decoration: none;
  } */
    .hamburger-menu {
        display: none;
        background-color: var(--navy);
        padding: 10px;
        list-style-type: none;
        position: absolute;
        right: 0;
        width: auto;
        z-index: 999;
        border-radius: 5px;
        color: white;
        text-decoration: none;
    }

    .hamburger-container:hover .hamburger-menu {
        display: block;
    }

    .hamburger-menu li {
        padding: 10px;
        text-decoration: none;
        color: white;
    }

    .hamburger-menu li:hover {
        background-color: #c42a25;
    }

    .language-dropdown-content {
        display: none;
        background-color: #1e293b;
        padding: 5px;
        width: auto;
    }

    .language-dropdown:hover .language-dropdown-content {
        display: block;
    }

    .language-dropdown-content a {
        color: white;
        display: block;
        padding: 5px 10px;
    }

    .language-dropdown-content a:hover {
        background-color: #334155;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 10px;
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 40px;

    }

    .modal-content {
        width: 100%;
        max-height: 100%;
        /* margin: 15px; */
    }

    .modal-body {
        padding: 30px;
        overflow-y: auto;
        flex: 1;
    }
}
@media (max-width: 580px){
    .title-header h2 {
        font-size: 1.5rem;
    }
    .title-header #preview-heading {
        font-size: 1.2rem;
    }
    .title-header p {
        font-size: 1.2rem;
    }
    .drop-zone {
        flex-direction: column;
        align-items: center;
        height: 70%;
        width: 100%;
        border: 2px dashed #3b82f6;
        border-radius: 12px;
        padding: 20px 20px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: center;
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    }
    .drop-zone p {
        font-size: 1rem;
    }
    .upload-icon {
        width: 60px;
        height: 60px;
    }
    .select-file-btn {
        font-size: 0.8rem;
    }
    .modal-body{
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.7rem;
    }
    .hero-section h2{
        font-size: 1.5rem;
    }
    .hero-section p{
        font-size: 1rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .tool-card {
        padding: 24px;
    }
}


/* Back button */
.back-btn {
    color: white;
    background-color: #454b51;
    padding: 10px;
    width: 100%;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    display: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    justify-content: center;
}