   :root {
      --primary-color:#274c77;
      --secondary-color:#6096ba;
      --success-color: #28a745;
      --danger-color: #dc3545;
      --warning-color: #ffc107;
      --info-color: #17a2b8;
      --light-color: #e7ecef;
      --dark-color: #343a40;
      --white-color: #ffffff;
      --gray-color: #6c757d;
      --border-radius: 8px;
      --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      --transition: all 0.3s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Poppins', sans-serif;
    background: url('../theme/image/background.svg') no-repeat center center fixed;
      background-size: cover;
       background-color: #f0f3fb;
      line-height: 1.6;
      color: #333;
      padding: 0;
      margin: 0;
      margin-top:70px;
    }

    .container {
      max-width: 1200px;
      margin: 10px auto;
      padding: 0 20px;
    }

    header {
      background-color: var(--white-color);
      box-shadow: var(--box-shadow);
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 0;
    }

    .logo {
      font-size: 24px;
      font-weight: 700;
      color: var(--primary-color);
      text-decoration: none;
    }

    .logo span {
      color: var(--dark-color);
    }

    .nav-links {
      display: flex;
      list-style: none;
    }

    .nav-links li {
      margin-left: 30px;
    }

    .nav-links a {
      text-decoration: none;
      color: var(--dark-color);
      font-weight: 500;
      transition: var(--transition);
    }

    .nav-links a:hover {
      color: var(--primary-color);
    }

    .hero {
      padding: 20px 0;
      text-align: center;
      background: linear-gradient(135deg, #f5f7ff 0%, #e8ecff 100%);
    }

    .hero h1 {
      font-size: 2.2rem;
      margin-bottom: 20px;
      color: var(--dark-color);
    }

    .hero p {
      font-size: 1.0rem;
      color: var(--secondary-color);
      max-width: 700px;
      margin: 0 auto 30px;
    }

    .converter-section {
      background-color: transparent;
      border-radius: var(--border-radius);
      box-shadow: var(--box-shadow);
      border: solid 0.5px #274c77;
      padding: 40px;
      margin-bottom: 40px;
    }

    .converter-header {
      text-align: center;
      margin-bottom: 30px;
    }

    .converter-header h2 {
      font-size: 2rem;
      color: var(--dark-color);
      margin-bottom: 10px;
    }

    .converter-header p {
      color: var(--secondary-color);
    }

    .converter-box {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }

    .file-input-container {
      width: 100%;
      max-width: 500px;
      position: relative;
    }

    .file-input-label {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 40px 20px;
      border: 2px dashed var(--primary-color);
      border-radius: var(--border-radius);
      background-color: rgba(74, 107, 255, 0.05);
      cursor: pointer;
      transition: var(--transition);
      width: 100%;
    }

    .file-input-label:hover {
      background-color: rgba(74, 107, 255, 0.1);
    }

    .file-input-label i {
      font-size: 48px;
      color: var(--primary-color);
      margin-bottom: 15px;
    }

    .file-input-label h3 {
      font-size: 1.2rem;
      color: var(--dark-color);
      margin-bottom: 10px;
    }

    .file-input-label p {
      color: var(--secondary-color);
      font-size: 0.9rem;
    }

    #fileIn {
      display: none;
    }

    .file-info {
      margin-top: 10px;
      font-size: 0.9rem;
      color: var(--secondary-color);
      display: none;
    }

    .controls {
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .btn {
      padding: 12px 24px;
      border: none;
      border-radius: var(--border-radius);
      font-size: 1rem;
      font-weight: 500;
      cursor: pointer;
      transition: var(--transition);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .btn-primary {
      background-color: var(--primary-color);
      color: var(--white-color);
    }

    .btn-primary:hover {
      background-color: #3a5bef;
      transform: translateY(-2px);
    }

    .btn-secondary {
      background-color: var(--secondary-color);
      color: var(--white-color);
    }

    .btn-secondary:hover {
      background-color: #5a6268;
      transform: translateY(-2px);
    }

    .btn-success {
      background-color: var(--success-color);
      color: var(--white-color);
    }

    .btn-success:hover {
      background-color: #218838;
      transform: translateY(-2px);
    }

    .btn:disabled {
      opacity: 0.7;
      cursor: not-allowed;
      transform: none !important;
    }

    .language-selector {
      padding: 12px;
      border-radius: var(--border-radius);
      border: 1px solid #ced4da;
      font-size: 1rem;
      background-color: var(--white-color);
      min-width: 200px;
    }

    .result-container {
      width: 100%;
      display: none;
    }

    #textOut {
      width: 100%;
      min-height: 200px;
      padding: 15px;
      border: 1px solid #ced4da;
      border-radius: var(--border-radius);
      font-size: 1rem;
      resize: vertical;
      transition: var(--transition);
    }

    #textOut:focus {
      border-color: var(--primary-color);
      outline: none;
      box-shadow: 0 0 0 0.2rem rgba(74, 107, 255, 0.25);
    }

    .progress-container {
      width: 100%;
      max-width: 500px;
      margin: 20px 0;
      display: none;
    }

    .progress-bar {
      height: 8px;
      background-color: #e9ecef;
      border-radius: 4px;
      overflow: hidden;
    }

    .progress {
      height: 100%;
      background-color: var(--primary-color);
      width: 0;
      transition: width 0.3s ease;
    }

    .progress-text {
      text-align: center;
      font-size: 0.9rem;
      color: var(--secondary-color);
      margin-top: 5px;
    }

    .features-section {
      padding: 60px 0;
    }

    .section-header {
      text-align: center;
      margin-bottom: 40px;
    }

    .section-header h2 {
      font-size: 2rem;
      color: var(--dark-color);
      margin-bottom: 15px;
    }

    .section-header p {
      color: var(--secondary-color);
      max-width: 700px;
      margin: 0 auto;
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
    }

    .feature-card {
      background-color: var(--white-color);
      border-radius: var(--border-radius);
      box-shadow: var(--box-shadow);
      padding: 30px;
      transition: var(--transition);
    }

    .feature-card:hover {
      transform: translateY(-5px);
    }

    .feature-icon {
      font-size: 2.5rem;
      color: var(--primary-color);
      margin-bottom: 20px;
    }

    .feature-card h3 {
      font-size: 1.3rem;
      margin-bottom: 15px;
      color: var(--dark-color);
    }

    .feature-card p {
      color: var(--secondary-color);
    }

    .how-it-works {
      padding: 60px 0;
      background-color: #f8f9fa;
    }

    .steps {
      display: flex;
      flex-direction: column;
      gap: 30px;
      max-width: 800px;
      margin: 0 auto;
    }

    .step {
      display: flex;
      gap: 20px;
      align-items: flex-start;
    }

    .step-number {
      background-color: var(--primary-color);
      color: var(--white-color);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      flex-shrink: 0;
    }

    .step-content h3 {
      font-size: 1.2rem;
      margin-bottom: 10px;
      color: var(--dark-color);
    }

    .step-content p {
      color: var(--secondary-color);
    }

    .faq-section {
      padding: 60px 0;
    }

    .faq-container {
      max-width: 800px;
      margin: 0 auto;
    }

    .faq-item {
      margin-bottom: 15px;
      border: 1px solid #e9ecef;
      border-radius: var(--border-radius);
      overflow: hidden;
    }

    .faq-question {
      padding: 20px;
      background-color: var(--white-color);
      font-weight: 600;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: var(--transition);
    }

    .faq-question:hover {
      background-color: #f8f9fa;
    }

    .faq-question i {
      transition: var(--transition);
    }

    .faq-answer {
      padding: 0 20px;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      background-color: var(--white-color);
    }

    .faq-item.active .faq-question {
      background-color: #f8f9fa;
    }

    .faq-item.active .faq-question i {
      transform: rotate(180deg);
    }

    .faq-item.active .faq-answer {
      max-height: 500px;
      padding: 20px;
    }

    .testimonials {
      padding: 60px 0;
      background-color: #f8f9fa;
    }

    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
    }

    .testimonial-card {
      background-color: var(--white-color);
      border-radius: var(--border-radius);
      box-shadow: var(--box-shadow);
      padding: 30px;
      position: relative;
    }

    .testimonial-text {
      font-style: italic;
      margin-bottom: 20px;
      color: var(--secondary-color);
    }

    .testimonial-author {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .author-avatar {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      object-fit: cover;
    }

    .author-info h4 {
      font-size: 1rem;
      margin-bottom: 5px;
    }

    .author-info p {
      font-size: 0.8rem;
      color: var(--secondary-color);
    }

    .cta-section {
      padding: 80px 0;
      text-align: center;
      background: linear-gradient(135deg, #4a6bff 0%, #3a5bef 100%);
      color: var(--white-color);
    }

    .cta-section h2 {
      font-size: 2.2rem;
      margin-bottom: 20px;
    }

    .cta-section p {
      max-width: 700px;
      margin: 0 auto 30px;
      opacity: 0.9;
    }

    .btn-light {
      background-color: var(--white-color);
      color: var(--primary-color);
    }

    .btn-light:hover {
      background-color: #e2e6ea;
      color: var(--primary-color);
    }

    footer {
      background-color: var(--dark-color);
      color: var(--white-color);
      padding: 60px 0 20px;
    }

    .footer-content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-column h3 {
      font-size: 1.2rem;
      margin-bottom: 20px;
      color: var(--white-color);
    }

    .footer-links {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 10px;
    }

    .footer-links a {
      color: rgba(255, 255, 255, 0.7);
      text-decoration: none;
      transition: var(--transition);
    }

    .footer-links a:hover {
      color: var(--white-color);
    }

    .social-links {
      display: flex;
      gap: 15px;
    }

    .social-links a {
      color: var(--white-color);
      font-size: 1.2rem;
      transition: var(--transition);
    }

    .social-links a:hover {
      color: var(--primary-color);
    }

    .footer-bottom {
      text-align: center;
      padding-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      color: rgba(255, 255, 255, 0.7);
      font-size: 0.9rem;
    }

    /* Responsive styles */
    @media (max-width: 768px) {
      .navbar {
        flex-direction: column;
        gap: 20px;
      }

      .nav-links {
        gap: 15px;
      }

      .nav-links li {
        margin-left: 0;
      }

      .hero h1 {
        font-size: 2rem;
      }

      .converter-section {
        padding: 30px 20px;
      }

      .features-grid, .testimonial-grid {
        grid-template-columns: 1fr;
      }
    }

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

    .fade-in {
      animation: fadeIn 0.6s ease forwards;
    }

    .delay-1 {
      animation-delay: 0.2s;
    }

    .delay-2 {
      animation-delay: 0.4s;
    }

    .delay-3 {
      animation-delay: 0.6s;
    }