 /* Image  Compressor */
 
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
      /* Unified Primary Brand Colors */
      --primary-orange: #ff6a00;
      --primary-pink: #ee0979;
      --primary-purple: #6a11cb;
      --primary-blue: #2575fc;
      
      /* Light theme inspired colors for image compression */
      --image-compress-accent: #ff6a00;
      --image-metadata-accent: #6a11cb;
      
      /* Light theme neutrals - CHANGED FROM DARK TO LIGHT */
      --light: #f8f9fa;
      --dark: #1e1e1e;
      --gray: #6c757d;
      --white: #ffffff;
      --card-bg: #ffffff;
      --border-color: #dee2e6;
      --shadow-color: rgba(0, 0, 0, 0.1);
    }

    body {
      font-family: "Segoe UI", Arial, sans-serif;
      background: var(--white); /* CHANGED TO WHITE */
      color: var(--dark); /* CHANGED TEXT COLOR FOR BETTER CONTRAST */
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* Header - Light Theme */
    header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 15px 30px;
      background: var(--card-bg); /* CHANGED TO WHITE */
      box-shadow: 0 3px 10px var(--shadow-color);
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    header img {
      height: 55px;
    }

    nav ul {
      list-style: none;
      display: flex;
      gap: 20px;
    }

    nav ul li a {
      text-decoration: none;
      font-weight: bold;
      color: var(--dark); /* CHANGED FOR BETTER VISIBILITY */
      position: relative;
      transition: color 0.3s ease, transform 0.3s ease;
      padding: 5px 10px;
    }

    nav ul li a:hover {
      color: var(--primary-orange);
      transform: translateY(-2px);
    }

    nav ul li a::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      background: var(--primary-orange);
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      transition: width 0.3s ease;
    }

    nav ul li a:hover::after {
      width: 100%;
    }

    /* Mobile Menu Toggle */
    .menu-toggle {
      display: none;
      font-size: 24px;
      background: none;
      border: none;
      color: var(--dark); /* CHANGED FOR BETTER VISIBILITY */
      cursor: pointer;
      z-index: 1001;
      transition: color 0.3s ease, transform 0.3s ease;
    }

    .menu-toggle:hover {
      color: var(--primary-orange);
      transform: rotate(90deg);
    }

    @media (max-width: 768px) {
      .menu-toggle {
        display: block;
      }

      nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--card-bg); /* CHANGED TO WHITE */
        box-shadow: 0 3px 10px var(--shadow-color);
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.4s;
        opacity: 0;
      }

      nav.active {
        display: block;
        transform: translateX(0);
        opacity: 1;
      }

      nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
      }

      nav ul li {
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
      }

      nav.active ul li {
        opacity: 1;
        transform: translateY(0);
      }

      nav ul li:nth-child(1) {
        transition-delay: 0.1s;
      }

      nav ul li:nth-child(2) {
        transition-delay: 0.2s;
      }

      nav ul li:nth-child(3) {
        transition-delay: 0.3s;
      }

      nav ul li:nth-child(4) {
        transition-delay: 0.4s;
      }

      nav ul li:nth-child(5) {
        transition-delay: 0.5s;
      }

      nav ul li:nth-child(6) {
        transition-delay: 0.6s;
      }

      nav ul li:nth-child(7) {
        transition-delay: 0.7s;
      }
    }

    /* Main content wrapper to push footer to bottom */
    .main-content {
      flex: 1 0 auto;
      width: 100%;
      padding: 20px 0;
    }

    /* Hero */
    .hero {
      background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
      color: white;
      text-align: center;
      padding: 70px 20px;
    }

    .hero h1 {
      font-size: 2.8rem;
      margin-bottom: 12px;
      animation: fadeInDown 1s ease;
      text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
      position: relative;
      display: inline-block;
    }

    .hero h1::after {
      content: '';
      position: absolute;
      width: 100px;
      height: 4px;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      border-radius: 2px;
    }

    .hero p {
      font-size: 1.2rem;
      animation: fadeInUp 1.2s ease;
      max-width: 800px;
      margin: 0 auto;
      line-height: 1.6;
    }

    @keyframes fadeInDown {
      from {
        opacity: 0;
        transform: translateY(-20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Tools Heading */
    .tools-heading {
      text-align: center;
      margin: 30px auto;
      animation: fadeInDown 1s ease;
      width: 100%;
      max-width: 1000px;
      padding: 0 20px;
    }

    .tools-heading h2 {
      font-size: 2.4rem;
      background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      display: inline-block;
      position: relative;
      padding-bottom: 15px;
      margin-bottom: 15px;
    }

    .tools-heading h2::after {
      content: "";
      width: 80px;
      height: 4px;
      background: linear-gradient(90deg, var(--primary-orange), var(--primary-pink));
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      bottom: 0;
      border-radius: 2px;
      transition: width 0.4s ease;
    }

    .tools-heading h2:hover::after {
      width: 140px;
    }

    .tools-heading p {
      font-size: 1rem;
      color: var(--dark); /* CHANGED FOR BETTER VISIBILITY */
      max-width: 650px;
      margin: 15px auto 0;
      line-height: 1.6;
    }

    /* Brand Highlight */
    .brand-highlight {
      color: var(--primary-orange);
      font-weight: 700;
    }

    /* Image Container Styles */
    .image-container {
      width: 100%;
      max-width: 1000px;
      margin: 30px auto;
      padding: 20px;
    }

    .image-card {
      background: var(--card-bg); /* CHANGED TO WHITE */
      border-radius: 20px;
      box-shadow: 0 10px 30px var(--shadow-color);
      padding: 30px;
      margin-bottom: 30px;
      transition: transform 0.3s ease;
      color: var(--dark); /* CHANGED FOR BETTER VISIBILITY */
      position: relative;
      overflow: hidden;
      border: 1px solid var(--border-color);
    }

    .image-card::before {
      content: 'Toolnex AI';
      position: absolute;
      top: 10px;
      right: 10px;
      background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
      color: white;
      padding: 5px 10px;
      border-radius: 15px;
      font-size: 0.7rem;
      font-weight: bold;
    }

    .image-card:hover {
      transform: translateY(-5px);
    }

    .image-card-title {
      font-size: 1.5rem;
      color: var(--image-compress-accent);
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 10px;
      position: relative;
      padding-bottom: 10px;
      padding-right: 100px;
    }

    .image-card-title::after {
      content: '';
      position: absolute;
      width: 50px;
      height: 3px;
      background: linear-gradient(90deg, var(--image-compress-accent), #ff8c42);
      bottom: 0;
      left: 0;
      border-radius: 2px;
      transition: width 0.3s ease;
    }

    .image-card:hover .image-card-title::after {
      width: 80px;
    }

    .image-input-group {
      margin-bottom: 25px;
      position: relative;
    }

    .image-label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: var(--dark); /* CHANGED FOR BETTER VISIBILITY */
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .image-label i {
      color: var(--image-compress-accent);
      width: 20px;
      text-align: center;
    }

    .file-input-container {
      position: relative;
      display: inline-block;
      width: 100%;
    }

    .file-input {
      opacity: 0;
      position: absolute;
      z-index: -1;
    }

    .file-label {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 15px;
      border: 2px dashed var(--border-color);
      border-radius: 10px;
      background: var(--light); /* CHANGED TO LIGHT GRAY */
      cursor: pointer;
      transition: all 0.3s;
      font-size: 16px;
      color: var(--gray);
    }

    .file-label:hover {
      border-color: var(--image-compress-accent);
      background: rgba(255, 106, 0, 0.05);
    }

    .file-label i {
      font-size: 24px;
      margin-right: 10px;
      color: var(--image-compress-accent);
    }

    .image-button-group {
      display: flex;
      gap: 15px;
      margin-top: 10px;
    }

    .image-button {
      background: linear-gradient(135deg, var(--image-compress-accent), #ff8c42);
      color: white;
      border: none;
      padding: 16px;
      border-radius: 10px;
      font-size: 18px;
      font-weight: 600;
      cursor: pointer;
      flex: 1;
      transition: transform 0.3s, box-shadow 0.3s;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .image-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(255, 106, 0, 0.4);
    }

    .image-button:active {
      transform: translateY(0);
    }

    .image-button.clear {
      background: linear-gradient(135deg, #6c757d, #495057);
      flex: 0.5;
    }

    .image-button.clear:hover {
      box-shadow: 0 5px 15px rgba(108, 117, 125, 0.4);
    }

    .image-preview {
      margin-top: 25px;
      padding: 25px;
      border-radius: 15px;
      text-align: center;
      font-size: 18px;
      display: none;
      background: var(--light); /* CHANGED TO LIGHT GRAY */
      border-left: 5px solid var(--image-compress-accent);
      position: relative;
    }

    .image-preview::before {
      content: 'Toolnex AI Preview';
      position: absolute;
      top: -10px;
      left: 20px;
      background: var(--image-compress-accent);
      color: white;
      padding: 5px 15px;
      border-radius: 10px;
      font-size: 0.8rem;
      font-weight: bold;
    }

    /* Progress Bar for Loading */
    .loading-progress {
      width: 100%;
      height: 4px;
      background: var(--border-color);
      border-radius: 2px;
      margin: 10px 0;
      overflow: hidden;
    }

    .progress-bar {
      height: 100%;
      background: linear-gradient(90deg, var(--image-compress-accent), #ff8c42);
      width: 0%;
      transition: width 0.3s ease;
    }

    .download-section {
      text-align: center;
      margin-top: 20px;
      display: none;
    }

    /* Compression-specific styles */
    .compression-options {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      margin: 25px 0;
    }

    .compression-option {
      background: var(--light); /* CHANGED TO LIGHT GRAY */
      border-radius: 15px;
      padding: 20px;
      text-align: center;
      transition: all 0.3s ease;
      border: 2px solid transparent;
      cursor: pointer;
      position: relative;
    }

    .compression-option:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px var(--shadow-color);
    }

    .compression-option.selected {
      border-color: var(--image-compress-accent);
      background: rgba(255, 106, 0, 0.05);
    }

    .compression-icon {
      font-size: 2.5rem;
      margin-bottom: 15px;
      color: var(--image-compress-accent);
    }

    .compression-title {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 10px;
      color: var(--dark); /* CHANGED FOR BETTER VISIBILITY */
    }

    .compression-desc {
      font-size: 0.9rem;
      color: var(--gray);
      line-height: 1.5;
    }

    .compression-badge {
      position: absolute;
      top: -10px;
      right: 10px;
      background: var(--image-compress-accent);
      color: white;
      padding: 5px 10px;
      border-radius: 15px;
      font-size: 0.7rem;
      font-weight: bold;
    }

    /* Compression Slider Styles */
    .compression-slider-container {
      margin: 25px 0;
      padding: 20px;
      background: var(--light); /* CHANGED TO LIGHT GRAY */
      border-radius: 15px;
      border-left: 4px solid var(--image-compress-accent);
    }

    .slider-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 15px;
    }

    .slider-label {
      font-weight: 600;
      color: var(--dark); /* CHANGED FOR BETTER VISIBILITY */
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .slider-label i {
      color: var(--image-compress-accent);
    }

    .slider-value {
      font-weight: 700;
      color: var(--image-compress-accent);
      background: rgba(255, 106, 0, 0.1);
      padding: 5px 12px;
      border-radius: 20px;
      font-size: 0.9rem;
    }

    .compression-slider {
      width: 100%;
      height: 8px;
      -webkit-appearance: none;
      appearance: none;
      background: linear-gradient(to right, #2ecc71, #f1c40f, #e74c3c);
      outline: none;
      border-radius: 4px;
      margin: 15px 0;
    }

    .compression-slider::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: var(--image-compress-accent);
      cursor: pointer;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
      transition: all 0.2s ease;
    }

    .compression-slider::-webkit-slider-thumb:hover {
      transform: scale(1.2);
      box-shadow: 0 4px 10px rgba(255, 106, 0, 0.4);
    }

    .compression-slider::-moz-range-thumb {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: var(--image-compress-accent);
      cursor: pointer;
      border: none;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    .slider-legend {
      display: flex;
      justify-content: space-between;
      margin-top: 10px;
      font-size: 0.85rem;
      color: var(--gray);
    }

    .slider-quality {
      display: flex;
      justify-content: space-between;
      margin-top: 5px;
    }

    .quality-indicator {
      text-align: center;
      flex: 1;
      font-size: 0.8rem;
      color: var(--gray);
      transition: color 0.3s ease;
    }

    .quality-indicator.active {
      color: var(--image-compress-accent);
      font-weight: 600;
    }

    .file-info {
      display: flex;
      justify-content: space-between;
      margin-top: 20px;
      padding: 15px;
      background: var(--light); /* CHANGED TO LIGHT GRAY */
      border-radius: 10px;
      display: none;
    }

    .file-info-item {
      text-align: center;
      flex: 1;
    }

    .file-info-label {
      font-size: 0.9rem;
      color: var(--gray);
      margin-bottom: 5px;
    }

    .file-info-value {
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--dark); /* CHANGED FOR BETTER VISIBILITY */
    }

    .file-info-change {
      font-size: 0.8rem;
      color: var(--image-compress-accent);
    }

    .file-info-change.increase {
      color: #e74c3c;
    }

    .compression-results {
      margin-top: 25px;
      display: none;
    }

    .results-comparison {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-bottom: 20px;
    }

    .result-item {
      background: var(--card-bg); /* CHANGED TO WHITE */
      border-radius: 15px;
      padding: 20px;
      text-align: center;
      box-shadow: 0 5px 15px var(--shadow-color);
    }

    .result-label {
      font-size: 1rem;
      color: var(--gray);
      margin-bottom: 10px;
    }

    .result-value {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 10px;
    }

    .result-original .result-value {
      color: #e74c3c;
    }

    .result-compressed .result-value {
      color: var(--image-compress-accent);
    }

    .savings-badge {
      display: inline-block;
      background: var(--image-compress-accent);
      color: white;
      padding: 5px 15px;
      border-radius: 20px;
      font-weight: 600;
      margin-top: 10px;
    }

    .quality-preview {
      margin-top: 25px;
      display: none;
    }

    .preview-comparison {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }

    .preview-item {
      text-align: center;
    }

    .preview-label {
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 10px;
      color: var(--dark); /* CHANGED FOR BETTER VISIBILITY */
    }

    .preview-canvas {
      max-width: 100%;
      border-radius: 10px;
      box-shadow: 0 5px 15px var(--shadow-color);
    }

    /* How to Use Section */
    .how-to-use {
      width: 100%;
      max-width: 1000px;
      margin: 30px auto;
      padding: 0 20px;
    }

    .how-to-use-card {
      background: var(--card-bg); /* CHANGED TO WHITE */
      border-radius: 20px;
      box-shadow: 0 10px 30px var(--shadow-color);
      padding: 30px;
      margin-bottom: 30px;
      transition: transform 0.3s ease;
      border: 1px solid var(--border-color);
    }

    .how-to-use-card:hover {
      transform: translateY(-5px);
    }

    .how-to-use-card h2 {
      font-size: 1.8rem;
      color: var(--image-compress-accent);
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 10px;
      position: relative;
      padding-bottom: 10px;
    }

    .how-to-use-card h2::after {
      content: '';
      position: absolute;
      width: 100px;
      height: 4px;
      background: linear-gradient(90deg, var(--image-compress-accent), #ff8c42);
      bottom: 0;
      left: 0;
      border-radius: 2px;
      transition: width 0.3s ease;
    }

    .how-to-use-card:hover h2::after {
      width: 140px;
    }

    .how-to-use-steps {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }

    .step {
      background: var(--light); /* CHANGED TO LIGHT GRAY */
      border-radius: 15px;
      padding: 20px;
      text-align: center;
      transition: all 0.3s ease;
      border-left: 4px solid var(--image-compress-accent);
    }

    .step:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px var(--shadow-color);
    }

    .step-number {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      background: linear-gradient(135deg, var(--image-compress-accent), #ff8c42);
      color: white;
      border-radius: 50%;
      font-weight: bold;
      margin: 0 auto 15px;
    }

    .step h3 {
      font-size: 1.2rem;
      margin-bottom: 10px;
      color: var(--dark); /* CHANGED FOR BETTER VISIBILITY */
      position: relative;
      padding-bottom: 8px;
    }

    .step h3::after {
      content: '';
      position: absolute;
      width: 30px;
      height: 2px;
      background: var(--image-compress-accent);
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      border-radius: 1px;
    }

    .step p {
      color: var(--gray);
      line-height: 1.5;
    }

    #no-upload {
      text-align: center;
      padding: 20px;
      color: var(--gray);
    }

    /* New Loading Animation Design - Rotating Spinner with Bouncing Dots */
    .loading-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      z-index: 9999;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }

    .loading-container {
      background: var(--card-bg); /* CHANGED TO WHITE */
      border-radius: 20px;
      padding: 40px;
      text-align: center;
      max-width: 320px;
      width: 85%;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
      animation: fadeInScale 0.3s ease-out;
    }

    .spinner-container {
      position: relative;
      width: 60px;
      height: 60px;
      margin: 0 auto 20px;
    }

    .spinner {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 50px;
      height: 50px;
      margin: -25px 0 0 -25px;
      border: 4px solid var(--border-color);
      border-top: 4px solid var(--image-compress-accent);
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

    .bouncing-dots {
      display: flex;
      justify-content: center;
      gap: 4px;
      margin-bottom: 20px;
    }

    .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--image-compress-accent);
      animation: bounce 1.4s ease-in-out infinite both;
    }

    .dot:nth-child(1) {
      animation-delay: -0.32s;
    }

    .dot:nth-child(2) {
      animation-delay: -0.16s;
    }

    .loading-text {
      font-size: 1.3rem;
      font-weight: 600;
      margin-bottom: 10px;
      color: var(--dark); /* CHANGED FOR BETTER VISIBILITY */
    }

    .loading-subtext {
      font-size: 0.95rem;
      color: var(--gray);
      margin-bottom: 15px;
    }

    .progress-text {
      font-size: 1rem;
      font-weight: 500;
      color: var(--image-compress-accent);
      margin-bottom: 10px;
    }

    .loading-time {
      font-size: 0.8rem;
      color: var(--gray);
    }

    @keyframes fadeInScale {
      from {
        opacity: 0;
        transform: scale(0.9);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    @keyframes spin {
      0% {
        transform: rotate(0deg);
      }
      100% {
        transform: rotate(360deg);
      }
    }

    @keyframes bounce {
      0%, 80%, 100% {
        transform: scale(0);
      }
      40% {
        transform: scale(1);
      }
    }

    /* Hide inline loading on all devices since overlay is used */
    #loading-container {
      display: none !important;
    }

    @media (max-width: 768px) {
      .file-label {
        flex-direction: column;
        gap: 10px;
      }

      .image-button-group {
        flex-direction: column;
      }

      .tools-heading h2 {
        font-size: 2rem;
      }

      .how-to-use-steps {
        grid-template-columns: 1fr;
      }

      .image-card-title {
        padding-right: 0;
      }

      .compression-options {
        grid-template-columns: 1fr;
      }

      .results-comparison {
        grid-template-columns: 1fr;
      }

      .preview-comparison {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 380px) {
      .image-container {
        padding: 15px;
      }

      .image-card {
        padding: 20px;
      }

      .image-card-title {
        font-size: 1.2rem;
      }

      .file-label {
        padding: 12px;
        font-size: 0.95rem;
      }
    }

    /* Enhanced Footer Styles */
    footer {
      background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
      color: white;
      padding: 20px 15px;
      position: relative;
      overflow: hidden;
      flex-shrink: 0;
      width: 100%;
    }

    footer::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--primary-orange), var(--primary-pink), #00c4cc);
      z-index: 1;
    }

    .footer-container {
      display: grid;
      grid-template-columns: 1fr;
      gap: 25px;
      max-width: 1200px;
      margin: 0 auto;
      position: relative;
      z-index: 2;
    }

    .footer-section {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .footer-logo {
      margin-bottom: 15px;
      transition: transform 0.5s ease;
    }

    .footer-logo:hover {
      transform: translateY(-5px);
    }

    .footer-logo img {
      height: 50px;
      transition: transform 0.3s ease;
      border-radius: 8px;
      background: white;
      padding: 5px;
    }

    .footer-logo img:hover {
      transform: scale(1.05);
    }

    .footer-description {
      font-size: 0.9rem;
      line-height: 1.6;
      margin-bottom: 15px;
      max-width: 100%;
      opacity: 0.9;
    }

    .footer-heading {
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 15px;
      position: relative;
      padding-bottom: 8px;
      display: inline-block;
    }

    .footer-heading::after {
      content: '';
      position: absolute;
      width: 30px;
      height: 2px;
      background: linear-gradient(90deg, var(--primary-orange), var(--primary-pink));
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      border-radius: 2px;
      transition: width 0.4s ease;
    }

    .footer-heading:hover::after {
      width: 50px;
    }

    .footer-tools ul,
    .footer-quick-links ul {
      list-style: none;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      padding: 0;
      margin: 0;
    }

    .footer-tools ul li a,
    .footer-quick-links ul li a {
      color: white;
      text-decoration: none;
      opacity: 0.9;
      transition: opacity 0.3s ease, color 0.3s ease;
    }

    .footer-tools ul li a:hover,
    .footer-quick-links ul li a:hover {
      opacity: 1;
      color: #ffcc00;
    }

    .footer-social {
      display: flex;
      gap: 12px;
      margin-top: 15px;
      justify-content: center;
      align-items: center;
    }

    .footer-social a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      color: white;
      font-size: 16px;
      text-decoration: none;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .footer-social a::after {
      content: '';
      position: absolute;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
      border-radius: 50%;
      transform: scale(0);
      transition: transform 0.3s ease;
      z-index: -1;
    }

    .footer-social a:hover {
      transform: translateY(-3px);
      color: white;
    }

    .footer-social a:hover::after {
      transform: scale(1);
    }

    .footer-social a i {
      transition: transform 0.3s ease;
    }

    .footer-social a:hover i {
      transform: scale(1.2);
    }

    .footer-contact {
      margin-top: 15px;
    }

    .footer-contact p {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 10px;
      opacity: 0.9;
      font-size: 0.9rem;
    }

    .footer-contact i {
      margin-right: 8px;
      color: #ffcc00;
      font-size: 16px;
    }

    .footer-bottom {
      text-align: center;
      margin-top: 20px;
      font-size: 0.85rem;
      border-top: 1px solid rgba(255, 255, 255, 0.15);
      padding-top: 15px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 100%;
      grid-column: 1 / -1;
    }

    .footer-bottom p {
      margin-bottom: 12px;
      opacity: 0.9;
      width: 100%;
    }

    .footer-legal {
      display: flex;
      gap: 15px;
      justify-content: center;
      flex-wrap: wrap;
      width: 100%;
    }

    .footer-legal a {
      color: white;
      text-decoration: none;
      opacity: 0.8;
      transition: opacity 0.3s ease, color 0.3s ease;
      font-size: 0.85rem;
      position: relative;
      white-space: nowrap;
    }

    .footer-legal a::after {
      content: '';
      position: absolute;
      width: 0;
      height: 1px;
      background: #ffcc00;
      bottom: -2px;
      left: 0;
      transition: width 0.3s ease;
    }

    .footer-legal a:hover {
      opacity: 1;
      color: #ffcc00;
    }

    .footer-legal a:hover::after {
      width: 100%;
    }

    .footer-bubble {
      position: absolute;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.05);
      animation: float 8s infinite ease-in-out;
    }

    .footer-bubble:nth-child(1) {
      width: 60px;
      height: 60px;
      top: 20%;
      left: 5%;
      animation-delay: 0s;
    }

    .footer-bubble:nth-child(2) {
      width: 40px;
      height: 40px;
      top: 60%;
      left: 8%;
      animation-delay: 1s;
    }

    .footer-bubble:nth-child(3) {
      width: 50px;
      height: 50px;
      top: 30%;
      right: 5%;
      animation-delay: 2s;
    }

    .footer-bubble:nth-child(4) {
      width: 30px;
      height: 30px;
      top: 70%;
      right: 10%;
      animation-delay: 3s;
    }

    @keyframes float {
      0%, 100% {
        transform: translateY(0) rotate(0deg);
      }
      50% {
        transform: translateY(-15px) rotate(10deg);
      }
    }

    /* Newsletter Form */
    .footer-newsletter {
      margin-top: 15px;
      width: 100%;
    }

    .newsletter-form {
      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: center;
    }

    .newsletter-input {
      padding: 10px 15px;
      border: none;
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.12);
      color: white;
      font-size: 14px;
      transition: background 0.3s ease, box-shadow 0.3s ease;
      width: 100%;
      max-width: 250px;
    }

    .newsletter-input:focus {
      outline: none;
      background: rgba(255, 255, 255, 0.18);
      box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.5);
    }

    .newsletter-input::placeholder {
      color: rgba(255, 255, 255, 0.7);
    }

    .newsletter-btn {
      padding: 10px 15px;
      border: none;
      border-radius: 6px;
      background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
      color: white;
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      width: 100%;
      max-width: 250px;
    }

    .newsletter-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(255, 106, 0, 0.4);
    }

    /* Responsive Design for Footer */
    @media (min-width: 769px) {
      .footer-container {
        grid-template-columns: repeat(4, 1fr);
      }

      .footer-bottom {
        grid-column: 1 / span 4;
      }
    }

    @media (max-width: 480px) {
      .footer-logo img {
        height: 40px;
      }

      .footer-heading {
        font-size: 1.1rem;
      }

      .footer-tools ul,
      .footer-quick-links ul {
        grid-template-columns: 1fr;
      }

      .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 14px;
      }

      .footer-contact p {
        font-size: 0.8rem;
      }

      .footer-contact i {
        font-size: 14px;
      }

      .footer-legal a {
        font-size: 0.8rem;
      }

      .newsletter-input,
      .newsletter-btn {
        padding: 8px 12px;
        font-size: 12px;
        max-width: 200px;
      }
    }

    .image-footer {
      text-align: center;
      margin-top: 30px;
      padding: 20px;
      color: var(--gray);
      font-size: 0.9rem;
      border-top: 1px solid var(--border-color);
    }

    .disclaimer {
      max-width: 800px;
      margin: 0 auto;
      font-size: 0.8rem;
      color: var(--gray);
      margin-top: 10px;
      line-height: 1.4;
    }

    .Toolnex-powered {
      font-size: 0.9rem;
      color: var(--image-compress-accent);
      font-weight: 600;
      margin-top: 10px;
      text-align: center;
    }