 :root {
      --primary: #0A1F44;
      --secondary: #1A2E60;
      --accent: #5FA8D3;
      --accent-dark: #3D7BAA;
      --light: #AFCBFF;
      --white: #FFFFFF;
      --dark: #06152F;
      --success: #4CAF50;
      --error: #F44336;
      --border-radius: 12px;
      --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
      --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    

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

    body {
      font-family: 'Inter', sans-serif;
      background-color: var(--primary);
      color: var(--white);
      line-height: 1.6;
      overflow-x: hidden;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* Header Styles */
    header {
      background-color: rgba(10, 31, 68, 0.98);
      padding: 1.5rem 5%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
      backdrop-filter: blur(8px);
    }

    .logo {
      display: flex;
      align-items: center;
      font-size: 1.8rem;
      font-weight: 800;
      color: var(--accent);
      text-decoration: none;
      transition: var(--transition);
    }

    .logo:hover {
      transform: scale(1.03);
      color: var(--white);
    }

    .logo img {
      height: 48px;
      margin-right: 12px;
      transition: var(--transition);
    }

    nav {
      display: flex;
      gap: 1.5rem;
    }

    nav a {
      text-decoration: none;
      color: var(--light);
      font-weight: 600;
      transition: var(--transition);
      padding: 0.5rem 0;
      position: relative;
      font-size: 1.05rem;
    }

    nav a:hover {
      color: var(--white);
    }

    nav a::after {
      content: '';
      position: absolute;
      width: 0;
      height: 3px;
      bottom: 0;
      left: 0;
      background-color: var(--accent);
      transition: width 0.3s ease-out;
      border-radius: 2px;
    }

    nav a:hover::after {
      width: 100%;
    }

    /* Hero Section */
    .translation-hero {
      background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
      padding: 8rem 5% 6rem;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .translation-hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at 20% 50%, rgba(95, 168, 211, 0.1) 0%, transparent 30%);
      pointer-events: none;
    }

    .translation-hero h1 {
      font-size: 3.5rem;
      margin-bottom: 1.5rem;
      color: var(--white);
      font-weight: 800;
      line-height: 1.2;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
    }

    .translation-hero h1 span {
      color: var(--accent);
      position: relative;
      display: inline-block;
    }

    .translation-hero h1 span::after {
      content: '';
      position: absolute;
      bottom: 5px;
      left: 0;
      width: 100%;
      height: 12px;
      background-color: rgba(95, 168, 211, 0.3);
      z-index: -1;
      border-radius: 4px;
    }

    .translation-hero p {
      font-size: 1.3rem;
      color: var(--light);
      margin-bottom: 3rem;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
    }

    /* CTA Button */
    .cta-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background: linear-gradient(45deg, var(--accent), var(--accent-dark));
      color: var(--white);
      padding: 1.2rem 2.5rem;
      font-size: 1.2rem;
      font-weight: 700;
      border-radius: 50px;
      text-decoration: none;
      transition: var(--transition);
      box-shadow: 0 4px 15px rgba(95, 168, 211, 0.4);
      border: none;
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }

    .cta-button:hover {
      transform: translateY(-3px) scale(1.02);
      box-shadow: 0 8px 25px rgba(95, 168, 211, 0.6);
      background: linear-gradient(45deg, var(--accent-dark), var(--accent));
    }

    .cta-button:active {
      transform: translateY(1px);
    }

    .cta-button i {
      transition: transform 0.3s ease;
    }

    .cta-button:hover i {
      transform: translateX(3px);
    }

    .floating {
      animation: float 6s ease-in-out infinite;
    }

    /* Process Steps */
    .process-steps {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 2rem;
      padding: 6rem 5%;
      background-color: var(--secondary);
      position: relative;
    }

    .process-steps::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="1" fill="%235FA8D3" opacity="0.1"/></svg>');
      opacity: 0.3;
      pointer-events: none;
    }

    .process-step {
      flex: 1;
      min-width: 250px;
      max-width: 300px;
      background: rgba(26, 46, 96, 0.7);
      backdrop-filter: blur(10px);
      padding: 2.5rem 2rem;
      border-radius: var(--border-radius);
      text-align: center;
      transition: var(--transition);
      box-shadow: var(--box-shadow);
      border: 1px solid rgba(95, 168, 211, 0.15);
      position: relative;
      z-index: 1;
    }

    .process-step:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
      border-color: rgba(95, 168, 211, 0.3);
    }

    .process-step-number {
      width: 60px;
      height: 60px;
      background: linear-gradient(45deg, var(--accent), var(--accent-dark));
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 1.5rem;
      margin: 0 auto 1.5rem;
      color: var(--white);
      box-shadow: 0 4px 10px rgba(95, 168, 211, 0.4);
    }

    .process-step h3 {
      color: var(--accent);
      margin-bottom: 1rem;
      font-size: 1.5rem;
      font-weight: 700;
    }

    .process-step p {
      color: var(--light);
      font-size: 1rem;
      line-height: 1.7;
    }

    /* Document Types */
    .document-types {
      padding: 6rem 5%;
      text-align: center;
      background-color: var(--primary);
      position: relative;
      overflow: hidden;
    }

    .document-types::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at 80% 20%, rgba(95, 168, 211, 0.05) 0%, transparent 30%);
      pointer-events: none;
    }

    .section-title {
      font-size: 2.8rem;
      margin-bottom: 1.5rem;
      color: var(--white);
      font-weight: 700;
      position: relative;
      display: inline-block;
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: linear-gradient(90deg, var(--accent), var(--accent-dark));
      border-radius: 2px;
    }

    .section-subtitle {
      font-size: 1.3rem;
      color: var(--light);
      max-width: 800px;
      margin: 0 auto 4rem;
      line-height: 1.8;
    }

    .document-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 2rem;
      margin-top: 3rem;
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
    }

    .document-card {
      background: rgba(26, 46, 96, 0.7);
      backdrop-filter: blur(10px);
      padding: 2.5rem 2rem;
      border-radius: var(--border-radius);
      text-align: left;
      transition: var(--transition);
      box-shadow: var(--box-shadow);
      border: 1px solid rgba(95, 168, 211, 0.15);
      position: relative;
      overflow: hidden;
    }

    .document-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 3px;
      height: 0;
      background: linear-gradient(to bottom, var(--accent), var(--accent-dark));
      transition: height 0.4s ease;
    }

    .document-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    }

    .document-card:hover::before {
      height: 100%;
    }

    .document-card h3 {
      color: var(--accent);
      margin-bottom: 1.5rem;
      font-size: 1.3rem;
      display: flex;
      align-items: center;
      font-weight: 600;
    }

    .document-card h3 i {
      margin-right: 12px;
      font-size: 1.5rem;
      color: var(--accent);
    }

    .document-card p {
      color: var(--light);
      font-size: 0.95rem;
      line-height: 1.7;
      margin-bottom: 1.5rem;
    }

    .certification-badge {
      display: inline-block;
      background: linear-gradient(45deg, var(--accent-dark), var(--accent));
      color: var(--white);
      padding: 0.6rem 1.2rem;
      border-radius: 50px;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.5px;
      box-shadow: 0 2px 5px rgba(61, 123, 170, 0.3);
    }

    /* Form Container */
    #translation-form {
      scroll-margin-top: 100px;
    }

    .form-container {
      max-width: 900px;
      margin: 4rem auto;
      padding: 3rem;
      background: rgba(26, 46, 96, 0.7);
      backdrop-filter: blur(10px);
      border-radius: var(--border-radius);
      box-shadow: var(--box-shadow);
      border: 1px solid rgba(95, 168, 211, 0.2);
      position: relative;
      overflow: hidden;
    }

    .form-container::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(95, 168, 211, 0.05) 0%, transparent 70%);
      pointer-events: none;
    }

    .form-header {
      text-align: center;
      margin-bottom: 3rem;
      position: relative;
      z-index: 1;
    }

    .form-header h2 {
      color: var(--accent);
      font-size: 2.2rem;
      margin-bottom: 1rem;
      font-weight: 700;
    }

    .form-header p {
      color: var(--light);
      font-size: 1.1rem;
      max-width: 600px;
      margin: 0 auto;
    }

    /* Form Progress */
    .form-progress {
      display: flex;
      justify-content: space-between;
      margin-bottom: 3rem;
      position: relative;
      z-index: 1;
    }

    .form-progress::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: rgba(175, 203, 255, 0.2);
      z-index: -1;
    }

    .progress-step {
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
    }

    .progress-step.active .step-number {
      background: linear-gradient(45deg, var(--accent), var(--accent-dark));
      color: var(--white);
      border-color: var(--accent);
    }

    .progress-step.active .step-label {
      color: var(--white);
      font-weight: 600;
    }

    .step-number {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: rgba(175, 203, 255, 0.1);
      border: 2px solid rgba(175, 203, 255, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      color: var(--light);
      margin-bottom: 0.5rem;
      transition: var(--transition);
    }

    .step-label {
      color: var(--light);
      font-size: 0.9rem;
      transition: var(--transition);
    }

    /* Form Steps */
    .form-step {
      display: none;
      position: relative;
      z-index: 1;
    }

    .form-step.active {
      display: block;
      animation: fadeIn 0.5s ease;
    }

    .form-group {
      margin-bottom: 1.8rem;
    }

    .form-group label {
      display: block;
      margin-bottom: 0.8rem;
      color: var(--white);
      font-weight: 500;
      font-size: 1rem;
    }

    .form-group label.required::after {
      content: '*';
      color: var(--accent);
      margin-left: 4px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group select,
    .form-group textarea {
      width: 100%;
      padding: 1rem;
      border-radius: var(--border-radius);
      border: 1px solid rgba(175, 203, 255, 0.3);
      background-color: rgba(10, 31, 68, 0.5);
      color: var(--white);
      font-family: 'Inter', sans-serif;
      font-size: 1rem;
      transition: var(--transition);
    }

    .form-group input[type="text"]:focus,
    .form-group input[type="email"]:focus,
    .form-group input[type="tel"]:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(95, 168, 211, 0.2);
    }

    .form-group textarea {
      min-height: 120px;
      resize: vertical;
    }

    .form-group select {
      appearance: none;
      background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23AFCBFF'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
      background-repeat: no-repeat;
      background-position: right 1rem center;
      background-size: 1.2rem;
    }

    /* File Upload */
    .file-upload {
      position: relative;
      overflow: hidden;
    }

    .file-upload input[type="file"] {
      position: absolute;
      left: 0;
      top: 0;
      opacity: 0;
      width: 100%;
      height: 100%;
      cursor: pointer;
    }

    .file-upload-label {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
      border: 2px dashed rgba(175, 203, 255, 0.3);
      border-radius: var(--border-radius);
      background-color: rgba(10, 31, 68, 0.3);
      color: var(--light);
      text-align: center;
      transition: var(--transition);
      cursor: pointer;
    }

    .file-upload-label:hover {
      border-color: var(--accent);
      background-color: rgba(10, 31, 68, 0.5);
    }

    .file-upload-label i {
      font-size: 1.5rem;
      margin-right: 10px;
      color: var(--accent);
    }

    .file-upload-info {
      font-size: 0.85rem;
      color: var(--light);
      margin-top: 0.5rem;
      opacity: 0.8;
    }

    .file-preview {
      margin-top: 1rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .file-preview-item {
      background-color: rgba(10, 31, 68, 0.5);
      border: 1px solid rgba(175, 203, 255, 0.2);
      border-radius: 4px;
      padding: 0.5rem 0.8rem;
      font-size: 0.8rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .file-preview-item i {
      color: var(--accent);
    }

    /* Radio and Checkbox */
    .radio-group, .checkbox-group {
      display: flex;
      gap: 1.5rem;
      margin-top: 0.5rem;
    }

    .radio-option, .checkbox-option {
      display: flex;
      align-items: center;
    }

    .radio-option input[type="radio"],
    .checkbox-option input[type="checkbox"] {
      appearance: none;
      width: 18px;
      height: 18px;
      border: 2px solid var(--light);
      border-radius: 50%;
      margin-right: 0.5rem;
      position: relative;
      cursor: pointer;
      transition: var(--transition);
    }

    .checkbox-option input[type="checkbox"] {
      border-radius: 4px;
    }

    .radio-option input[type="radio"]:checked,
    .checkbox-option input[type="checkbox"]:checked {
      border-color: var(--accent);
      background-color: var(--accent);
    }

    .radio-option input[type="radio"]:checked::after {
      content: '';
      position: absolute;
      width: 8px;
      height: 8px;
      background-color: var(--white);
      border-radius: 50%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    .checkbox-option input[type="checkbox"]:checked::after {
      content: '\f00c';
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      position: absolute;
      color: var(--white);
      font-size: 10px;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    .radio-option label, .checkbox-option label {
      color: var(--light);
      cursor: pointer;
      font-size: 0.95rem;
    }

    /* Form Actions */
    .form-actions {
      display: flex;
      justify-content: space-between;
      margin-top: 2.5rem;
    }

    .btn {
      padding: 1rem 2rem;
      border-radius: var(--border-radius);
      font-weight: 600;
      font-size: 1rem;
      cursor: pointer;
      transition: var(--transition);
      border: none;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }

    .btn-primary {
      background: linear-gradient(45deg, var(--accent), var(--accent-dark));
      color: var(--white);
      box-shadow: 0 4px 15px rgba(95, 168, 211, 0.4);
    }

    .btn-primary:hover {
      background: linear-gradient(45deg, var(--accent-dark), var(--accent));
      box-shadow: 0 6px 20px rgba(95, 168, 211, 0.6);
      transform: translateY(-2px);
    }

    .btn-secondary {
      background-color: transparent;
      color: var(--light);
      border: 1px solid rgba(175, 203, 255, 0.3);
    }

    .btn-secondary:hover {
      background-color: rgba(175, 203, 255, 0.1);
      border-color: var(--accent);
      color: var(--white);
    }

    /* Review Section */
    .review-item {
      background-color: rgba(10, 31, 68, 0.3);
      border-radius: var(--border-radius);
      padding: 1.5rem;
      margin-bottom: 1.5rem;
      border-left: 3px solid var(--accent);
    }

    .review-item h4 {
      color: var(--accent);
      margin-bottom: 1rem;
      font-size: 1.1rem;
    }

    .review-item p {
      color: var(--light);
      margin-bottom: 0.5rem;
      font-size: 0.95rem;
    }

    .review-item p:last-child {
      margin-bottom: 0;
    }

    /* Footer */
    footer {
      background-color: var(--dark);
      text-align: center;
      padding: 4rem 5% 3rem;
      font-size: 1rem;
      color: var(--light);
      position: relative;
      width: 100%;
      margin-top: auto;
    }

    .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .footer-logo {
      display: flex;
      align-items: center;
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 2rem;
      transition: var(--transition);
    }

    .footer-logo:hover {
      transform: scale(1.03);
      color: var(--white);
    }

    .footer-logo img {
      height: 45px;
      margin-right: 12px;
      transition: var(--transition);
    }

    .footer-info {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      margin-bottom: 3rem;
      width: 100%;
    }

    .footer-info div {
      text-align: left;
    }

    .footer-info h3 {
      color: var(--accent);
      margin-bottom: 1.5rem;
      font-size: 1.2rem;
      font-weight: 700;
      position: relative;
      display: inline-block;
    }

    .footer-info h3::after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 0;
      width: 40px;
      height: 3px;
      background: linear-gradient(90deg, var(--accent), var(--accent-dark));
      border-radius: 2px;
    }

    .footer-info p, .footer-info a {
      color: var(--light);
      margin-bottom: 0.8rem;
      display: block;
      text-decoration: none;
      transition: var(--transition);
      line-height: 1.7;
    }

    .footer-info a:hover {
      color: var(--white);
      transform: translateX(5px);
    }

    .footer-info i {
      width: 20px;
      margin-right: 8px;
      color: var(--accent);
    }

    .social-links {
      display: flex;
      gap: 1.5rem;
      margin-bottom: 2.5rem;
    }

    .social-links a {
      width: 45px;
      height: 45px;
      border-radius: 50%;
      background-color: rgba(175, 203, 255, 0.1);
      color: var(--light);
      font-size: 1.2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
    }

    .social-links a:hover {
      background-color: var(--accent);
      color: var(--white);
      transform: translateY(-5px);
    }

    .copyright {
      margin-top: 2rem;
      padding-top: 2rem;
      border-top: 1px solid rgba(175, 203, 255, 0.1);
      width: 100%;
    }

    .copyright p {
      color: var(--light);
      opacity: 0.8;
      font-size: 0.9rem;
    }

    .copyright p:last-child {
      margin-top: 0.5rem;
      font-size: 0.8rem;
    }

    /* Animations */
    @keyframes float {
      0% { transform: translateY(0px); }
      50% { transform: translateY(-10px); }
      100% { transform: translateY(0px); }
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Responsive Design */
    @media screen and (max-width: 1024px) {
      .translation-hero h1 {
        font-size: 3rem;
      }
      
      .section-title {
        font-size: 2.5rem;
      }
    }

    @media screen and (max-width: 768px) {
      header {
        padding: 1.2rem 5%;
      }
      
      nav {
        margin-top: 1.5rem;
        gap: 1rem;
        width: 100%;
        justify-content: center;
      }
      
      .translation-hero {
        padding: 6rem 5% 4rem;
      }
      
      .translation-hero h1 {
        font-size: 2.5rem;
      }
      
      .translation-hero p {
        font-size: 1.1rem;
      }
      
      .section-title {
        font-size: 2.2rem;
      }
      
      .section-subtitle {
        font-size: 1.1rem;
      }
      
      .process-step, .document-card {
        min-width: 100%;
        max-width: 400px;
      }
      
      .form-container {
        padding: 2rem;
      }
      
      .form-header h2 {
        font-size: 2rem;
      }

      .footer-info {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .footer-info h3::after {
        left: 50%;
        transform: translateX(-50%);
      }

      .footer-info a:hover {
        transform: none;
      }
    }

    @media screen and (max-width: 480px) {
      .logo {
        font-size: 1.5rem;
      }
      
      .logo img {
        height: 40px;
      }
      
      .translation-hero h1 {
        font-size: 2rem;
      }
      
      .section-title {
        font-size: 1.8rem;
      }
      
      .cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
      }
      
      .process-step, .document-card {
        padding: 2rem 1.5rem;
      }
      
      .form-container {
        padding: 1.5rem;
      }
      
      .form-header h2 {
        font-size: 1.8rem;
      }
      
      .form-header p {
        font-size: 1rem;
      }

      .radio-group {
        flex-direction: column;
        gap: 0.8rem;
      }

      .form-actions {
        flex-direction: column-reverse;
        gap: 1rem;
      }

      .btn {
        width: 100%;
        justify-content: center;
      }
    }
/* Alert messages */
.form-alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--error);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    animation: fade-in 0.3s ease-out;
}

.form-alert.fade-out {
    animation: fade-out 0.3s ease-out;
}

@keyframes fade-in {
    from { opacity: 0; top: 0; }
    to { opacity: 1; top: 20px; }
}

@keyframes fade-out {
    from { opacity: 1; top: 20px; }
    to { opacity: 0; top: 0; }
}

/* File preview items */
.file-preview-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 8px;
}

.file-preview-item i {
    margin-right: 8px;
    color: var(--accent);
}

.remove-file {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--error);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 4px;
}

/* Success overlay */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 31, 68, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
    animation: fade-in 0.3s ease-out;
}

.success-message {
    background-color: var(--secondary);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 500px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--accent);
    animation: scale-in 0.3s ease-out;
}

@keyframes scale-in {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.success-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 1.5rem;
}

.success-button {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.success-button:hover {
    opacity: 0.9;
}
/* Success Message Styling */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.success-message {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.success-icon {
    color: #4CAF50;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-message h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.success-message p {
    color: #7f8c8d;
    margin-bottom: 0.5rem;
}

.success-details {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    margin: 1.5rem 0;
    text-align: left;
}

.success-details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.success-details i {
    color: #3498db;
    min-width: 20px;
}

.success-button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.success-button:hover {
    background-color: #2980b9;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* Payment Options */
/* Payment Section Styles */

/* Payment Section - Formal Style */
.payment-section {
  background-color: #ffffff;
  color: #000000;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin: 2rem 0;
}

.payment-section h3 {
  color: #000000;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 0.75rem;
}

.payment-methods {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.payment-method {
  flex: 1;
  min-width: 200px;
}

.payment-method input[type="radio"] {
  display: none;
}

.payment-method label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  height: 100%;
  background-color: #ffffff;
  color: #000000;
}

.payment-method label:hover {
  border-color: #0070ba;
  box-shadow: 0 2px 6px rgba(0, 112, 186, 0.15);
}

.payment-method input[type="radio"]:checked + label {
  border-color: #0070ba;
  background-color: #ffffff;
  box-shadow: 0 0 0 1px #0070ba;
}

.payment-icons {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.75rem;
  color: #555555;
}

.payment-method img {
  height: 24px;
  margin-bottom: 0.75rem;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.2s ease;
}

.payment-method input[type="radio"]:checked + label img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Stripe Card Element Styling */
.stripe-card-container {
  margin: 1.5rem 0;
}

.stripe-card-element {
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background-color: #ffffff;
}

#stripe-card-errors {
  color: #d32f2f;
  font-size: 0.875rem;
  margin: 0.5rem 0;
  min-height: 1.25rem;
  font-weight: 500;
}

/* Price Summary - Formal Style */
.price-summary {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 6px;
  margin-top: 2rem;
  border: 1px solid #eaeaea;
}

.price-summary h4 {
  color: #000000;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95rem;
}

.price-row:last-child {
  border-bottom: none;
}

.price-row.total {
  border-top: 1px solid #e0e0e0;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.price-amount {
  font-weight: 500;
  color: #000000;
}

.price-row.total .price-amount {
  color: #0070ba;
  font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .payment-methods {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .payment-method {
    min-width: 100%;
  }
  
  .price-summary {
    padding: 1.25rem;
  }
}