/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
  }

  /* Resume Container */
  .resume-container {
    margin: 30px auto;
    padding: 30px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  /* Header Styles (scoped to resume content) */
  .resume-container h1 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #2c3e50;
  }
  
  .resume-container h2 {
    font-size: 1.5em;
    color: #34495e;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 5px;
    margin-top: 40px;
    margin-bottom: 20px;
  }
  
  .resume-container h3 {
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 5px;
    color: #2c3e50;
  }
  
  /* Sections */
  .section {
    margin-bottom: 20px;
  }
  
  /* Personal Info */
  .personal-info p {
    margin: 5px auto;
    text-align: center;
  }
  
  /* Website Link - Prevent URL Breaking */
  .website-link {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .website-link a {
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
  }
  
  /* Summary */
  .summary p {
    font-style: bold;
    line-height: 1.6;
    margin: 10px 0;
  }

  .summary div {
    line-height: 1.6;
  }
  
  /* Optional: Style headings within the summary */
  .summary h1, .summary h2 {
    color: #2c3e50;
  }
  
  /* Education & Experience Entries */
  .education-entry,
  .experience-entry,
  .award-entry {
    margin-bottom: 15px;
  }
  
  /* Achievements List */
  .achievements {
    list-style-type: disc;
    margin-left: 20px;
  }
  
  .achievements li {
    margin-bottom: 5px;
  }
  
  /* Skills List */
  .skills-list {
    list-style-type: square;
    columns: 2;
    margin-left: 20px;
  }
  
  .skills-list li {
    margin-bottom: 5px;
  }
  
  /* Company and Location Container */
  .company-location {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .company-location h3 {
    margin: 0;
  }
  
  .company-location .location {
    font-size: 1em;
  }

  /* Overlay Spinner Styles */
  #overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 9999; /* Ensure it's on top of other elements */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .spinner {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
  }
  
  /* Spinner Animation */
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  .alert {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
  }

  .alert-message{
    background-color: #dfffe1;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
  }

  .card-body.collapsed {
    display: none;
  }

  .subchild {
    background-color: #f8f8f8;
    padding: 8px;
    margin: 4px;
    border-radius: 5px;
    margin-left: 25px;
  }

  .subchild:hover {
    background-color: #e8e8e8;
  }

  .list-group {
    background-color: #ffffff;
  }
  
  @page {
    margin: 1in;
  }

  /* Print Styles */
  @media print {

    .no-print {
      display: none !important;
    }

    #overlay {
      display: none;
    }

    .spinner {
      display: none;
    }   

    @page {
        margin-left: 0;
        margin-right: 0;

      }

    body {
      font-size: 11px;
    }
  
    h1 {
      font-size: 18px;
    }
  
    h2 {
      font-size: 16px;
      page-break-before: avoid;
    }
  
    h3 {
      font-size: 14px;
    }
  
    p,
    .personal-info p,
    .summary p,
    .company-location .location {
      font-size: 11px;
    }
    
    /* Ensure URL stays on one line in print/PDF */
    .website-link {
      white-space: nowrap !important;
      overflow: visible !important;
      text-overflow: clip !important;
    }
    
    .website-link a {
      white-space: nowrap !important;
      word-break: keep-all !important;
      overflow-wrap: normal !important;
    }
  
    .achievements li,
    .skills-list li {
      font-size: 11px;
    }
  
    nav,
    .navbar,
    footer {
      display: none;
    }
  
    .resume-container {
      box-shadow: none;
      border: none;
      margin: 0;
      padding: 0;
      max-width: 100%;
      width: 100%;
    }
  
    h3 {
      page-break-after: avoid;
    }

    .experience-entry,
    .education-entry,
    .project-entry,
    .certificate-entry,
    .course-entry,
    .organization-entry,
    .publication-entry,
    .reference-entry {
        page-break-inside: avoid;
    }

    .section {
      page-break-inside: auto;
    }
  }

  /* Landing Page Styles */
  .hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 0;
    padding: 4rem 0;
  }

  .welcome-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
  }

  .hero-section h1 {
    color: white;
    text-align: left;
    border: none;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    font-size: 2.8rem;
  }

  .logo-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
  }

  /* Organization Logo Styles */
  .org-logo, .org-logo-dashboard {
    object-fit: contain;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }

  .org-logo-dashboard {
    max-height: 50px;
    max-width: 120px;
    height: 50px;
    width: auto;
  }

  .org-logo {
    max-height: 60px;
    max-width: 140px;
    height: 60px;
    width: auto;
  }

  .hero-image {
    max-height: 250px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
  }

  /* Pain Points Section */
  .pain-point-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
  }

  .pain-point-card:hover {
    transform: translateY(-5px);
  }

  .pain-point-card i {
    font-size: 2.5rem;
    color: #3498DB;
    margin-bottom: 1.5rem;
  }

  .pain-point-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2C3E50;
    font-weight: 600;
  }

  /* Statistics Section */
  .stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
  }

  .stat-card h3 {
    color: #3498DB;
    font-weight: 700;
    margin-bottom: 1rem;
  }

  .stat-card p {
    color: #666;
    font-size: 1.1rem;
  }

  /* Process Cards */
  .process-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    transition: transform 0.3s ease;
  }

  .process-card:hover {
    transform: translateY(-5px);
  }

  .process-number {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: #3498DB;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
  }

  /* Research Cards */
  .research-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
  }

  .research-card:hover {
    transform: translateY(-5px);
  }

  .research-card h3 {
    color: #2C3E50;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .research-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: #666;
    margin-bottom: 0.5rem;
  }

  .research-card cite {
    color: #3498DB;
    font-weight: 500;
  }

  /* Feature Cards */
  .feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    text-align: center;
    transition: transform 0.3s ease;
  }

  .feature-card:hover {
    transform: translateY(-5px);
  }

  .feature-card i {
    font-size: 2.5rem;
    color: #3498DB;
    margin-bottom: 1.5rem;
  }

  .feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2C3E50;
    font-weight: 600;
  }

  /* CTA Section */
  .cta-section {
    position: relative;
    overflow: hidden;
  }

  .cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 0;
  }

  .cta-section .container {
    position: relative;
    z-index: 1;
  }

  /* Animations */
  @keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
  }

  .credits-display .card {
    background: linear-gradient(to right, #ffffff, #f8f9fa);
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-radius: 10px;
    max-width: 300px;
    margin: 0 auto;
    margin-bottom: 10px;
  }
  
  .credits-display .card-title {
    color: #495057;
    font-weight: 600;
  }
  
  .credits-display .credits-count {
    font-size: 1.0rem;
    color: #2C3E50;
  }
  
  .credits-display .fa-star {
    font-size: 1.2rem;
  }
  
  .credits-display .text-muted {
    font-size: 0.9rem;
  }

  /* Responsive Styles */
  @media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        text-align: center;
        font-size: 2.2rem;
    }
    
    .hero-image {
        margin-top: 2rem;
        max-height: 200px;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .process-card {
        margin-bottom: 2rem;
    }
  }

  /* Custom styles for mobile responsiveness */
@media (max-width: 768px) {
  .resume-item {
      padding: 10px;
      background-color: #fff;
      border: 1px solid #e0e0e0;
      border-radius: 5px;
  }

  .resume-info {
      margin-bottom: 10px;
  }

  .button-group {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
  }

  .button-group .btn {
      flex: 1 1 auto;
  }
}

/* Define the glowing animation */
@keyframes glowing {
  0% {
    box-shadow: 0 0 5px 2px rgba(0, 255, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 15px 5px rgba(0, 255, 0, 1);
  }
  100% {
    box-shadow: 0 0 5px 2px rgba(0, 255, 0, 0.5);
  }
}

/* Apply glow effect to the sparkles button */
a.btn.btn-primary[href^="/resume/generate/"] {
  position: relative;
  z-index: 1;
  overflow: visible;
}

a.btn.btn-primary[href^="/resume/generate/"]::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50px; /* Match pill-style fully rounded button */
  border: 2px solid transparent;
  animation: glowing 2s infinite;
}

/* Apply glow effect to the cover letter button when it's gray */
a.btn.btn-secondary[href*="cover_letter"] {
  position: relative;
  z-index: 1;
}

a.btn.btn-secondary[href*="cover_letter"]::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50px; /* Match pill-style fully rounded button */
  border: 2px solid transparent;
  animation: glowing 2s infinite;
}

/* Remove glow effect from the blue cover letter button */
a.btn.btn-info[href*="cover_letter"]::after {
  content: none;
  animation: none;
}

/* First Time User Welcome Styles */
.first-time-welcome {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 3rem 2rem;
  margin: 2rem 0;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.first-time-welcome::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.welcome-hero {
  position: relative;
  z-index: 1;
  margin-bottom: 3rem;
}

.welcome-icon-container {
  margin-bottom: 2rem;
}

.welcome-icon-bg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.welcome-icon {
  font-size: 2.5rem;
  color: white;
  animation: float 3s ease-in-out infinite;
}

.welcome-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.welcome-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.getting-started-cards {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

.start-option-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  color: #333;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

.start-option-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(102, 126, 234, 0.3);
}

.option-icon {
  margin-bottom: 1.5rem;
}

.option-icon i {
  font-size: 3rem;
  color: #667eea;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.start-option-card h4 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.start-option-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.option-features {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.feature-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.option-button {
  margin-top: auto;
}

.option-button .btn {
  border: 2px solid;
  font-weight: 600;
  transition: all 0.3s ease;
}

.next-steps-info {
  position: relative;
  z-index: 1;
}

.info-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
}

.info-card i {
  font-size: 1.2rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.info-card span {
  font-size: 1rem;
  line-height: 1.5;
}

/* Mobile Responsive Styles for First Time User */
@media (max-width: 768px) {
  .first-time-welcome {
    padding: 2rem 1rem;
    margin: 1rem 0;
  }
  
  .welcome-title {
    font-size: 2rem;
  }
  
  .welcome-subtitle {
    font-size: 1.1rem;
  }
  
  .welcome-icon-bg {
    width: 60px;
    height: 60px;
  }
  
  .welcome-icon {
    font-size: 2rem;
  }
  
  .start-option-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .start-option-card h4 {
    font-size: 1.2rem;
  }
  
  .option-icon i {
    font-size: 2.5rem;
  }
  
  .info-card {
    padding: 1rem;
    text-align: center;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .info-card i {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}

/* Next Step CTA Styles */
.next-step-cta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 15px;
  margin: 1rem 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.next-step-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.08' fill-rule='evenodd'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.next-step-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  text-align: center;
  color: white;
}

.next-step-header {
  margin-bottom: 1.5rem;
}

.next-step-icon {
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.next-step-icon .sparkles-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.next-step-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.next-step-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.5;
}

.btn-tailor-cta {
  background: white;
  color: #667eea;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-tailor-cta:hover {
  background: #f8f9fa;
  color: #5a6fd8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-tailor-cta .sparkles-icon-btn {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(34%) sepia(44%) saturate(3372%) hue-rotate(228deg) brightness(99%) contrast(91%);
}

.btn-tailor-cta:hover .sparkles-icon-btn {
  animation: sparkle-pulse 0.6s ease-in-out;
}

@keyframes sparkle-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Mobile Responsive Styles for Next Step CTA */
@media (max-width: 768px) {
  .next-step-content {
    padding: 1.5rem;
  }
  
  .next-step-title {
    font-size: 1.2rem;
  }
  
  .next-step-subtitle {
    font-size: 0.9rem;
  }
  
  .btn-tailor-cta {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }
  
  .next-step-icon {
    width: 50px;
    height: 50px;
  }
  
  .next-step-icon .sparkles-icon {
    width: 20px;
    height: 20px;
  }
}