/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
 
 html {
  scroll-behavior: smooth;
 }

.d-flex {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
}

.hero-content {
  margin-top: 5%;
  width: 60%;
}

.hero-visual img {
  height: 550px;
}

.hero-visual {
  width: 40%;
}

.subtitle {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.main-title {
  font-size: 64px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.benefits {
  margin-bottom: 48px;
}

.benefit {
  font-size: 20px;
  color: #475569;
  margin-bottom: 8px;
  font-weight: 400;
  line-height: 1.4;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2d1b69;
  color: white;
  padding: 20px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 64px;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: #1e1348;
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(45, 27, 105, 0.3);
}

.testimonial-section {
  display: flex;
  align-items: center;
  gap: 24px;
}

.user-avatars {
  display: flex;
  margin-right: 8px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid white;
  margin-left: -12px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.avatar:first-child {
  margin-left: 0;
}
.features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 200px; /* space between items */
  padding: 60px 20px;
  /* background-color: #f5f3f1; light grey background */
}

.feature-item {
  text-align: center;
  max-width: 200px;
}

.feature-item img {
  width: 80px; /* icon size */
  height: auto;
  margin-bottom: 15px;
}

.feature-item p {
  font-size: 24px;
  font-weight: 500;
  color: #111029; /* dark text */
  line-height: 1.4;
}

.how-it-works {
  background-color: #f5f3f1;
  padding: 80px 20px;
  text-align: center;
}

.how-it-works h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1c0f33; /* dark text */
  margin-bottom: 60px;
}

.step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  margin-bottom: 60px;
  text-align: left;
}

.step-image img {
  max-width: 550px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.step-content {
  max-width: 400px;
}

.step-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1c0f33;
}

.step-content p {
  font-size: 24px;
  line-height: 1.6;
  color: #111029;
}

/* Responsive */
@media (max-width: 900px) {
  .step {
    flex-direction: column;
    text-align: center;
  }
  .step-content {
    text-align: center;
  }
}

/* scroll template */

.templates-section {
  /* background-color: #f5f3f1; */
  padding: 80px 40px;
  text-align: center;
}

.templates-section h1 {
  font-size: 36px;
  font-weight: 700;
  color: #1c0f33;
  margin-bottom: 10px;
}

.templates-section p {
  font-size: 20px;
  color: #555;
  margin-bottom: 30px;
}

.slider-container {
  /* overflow: hidden; */
  width: 100%;
  max-width: 600px; /* adjust size */
  margin: 0 auto;
  border-radius: 16px;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 80%;
  box-sizing: border-box;
}

.slide img {
  width: 80%;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.dots {
  margin-top: 20px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background-color: #2e0e5f;
}

/* grid-container */

.container-grid {
  max-width: 1600px;
  margin: 0 auto;
}

.header {
  margin-bottom: 60px;
}

.header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
  line-height: 1.2;
}

.header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 800px;
  line-height: 1.6;
}

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

.feature-card {
  background: transparent;
}

.icon-box {
  width: 48px;
  height: 48px;
  background-color: #1a1a2e;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-box svg {
  width: 24px;
  height: 24px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

.feature-card h3 {
  font-size: 1.3rem;
  color: #1a1a2e;
  margin-bottom: 12px;
  font-weight: 600;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }

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

/* faq */

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

.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a2e;
}

.faq-list {
  background: transparent;
}

.faq-item {
  border-bottom: 1px solid #ccc;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 28px 0;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a2e;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: #4a4a5e;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: #1a1a2e;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 0 28px 0;
  color: #666;
  line-height: 1.7;
  font-size: 0.95rem;
}

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

@media (max-width: 768px) {
  .faq-header h1 {
    font-size: 2rem;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 24px 0;
  }
}

.start-now-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #2d1b69;
  color: white !important;
  padding: 15px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
}

.start-now-button:hover {
  background: #1e1348;
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(45, 27, 105, 0.3);
}
@media (max-width: 768px) {
  .slide img {
    width: 100%; /* responsive images */
  }
}
.templates-section {
  overflow: hidden; /* vertical scroll hide for this section */
}

.container-resume {
            max-width: 1600px;
            margin: 0 auto;
        }

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

        .header h1 {
            font-size: 42px;
            color: #1a1a1a;
            margin-top: 60px;
            margin-bottom: 10px;
            font-weight: 700;
        }

        /* .header p {
            font-size: 20px;
            color: #666;
            text-align: center;
            justify-content: center;
        } */

        .templates-grid {
            display: grid;
            grid-template-columns: repeat(3, 500px);
            gap: 80px;
            margin-top: 40px;
        }

        .template-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
            width: 100%;
        }

        .template-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        }

        .template-image {
            width: 100%;
            height: 650px;
            /* object-fit: contain; */
            display: block;
        }

        .template-name {
            padding: 20px;
            text-align: center;
            font-size: 14px;
            font-weight: 600;
            color: #666;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            z-index: 1000;
            animation: fadeIn 0.3s ease;
        }

        .modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal-content {
            background: white;
            border-radius: 16px;
            max-width: 1100px;
            width: 95%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            animation: slideUp 0.3s ease;
            display: flex;
        }

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

        .modal-left {
            flex: 0 0 45%;
            padding: 0;
        }

        .modal-resume-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .modal-right {
            flex: 1;
            padding: 60px 50px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .close-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            border: none;
            background: #f5f5f5;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: #666;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .close-btn:hover {
            background: #e0e0e0;
            transform: rotate(90deg);
        }

        .modal-title {
            font-size: 48px;
            color: #1a1a1a;
            margin-bottom: 40px;
            font-weight: 600;
            letter-spacing: 2px;
        }

        .modal-description {
            font-size: 16px;
            color: #666;
            line-height: 1.6;
            margin-bottom: 30px;
        }

        .modal-features {
            list-style: none;
            margin-bottom: 40px;
        }

        .modal-features li {
            font-size: 15px;
            color: #444;
            margin-bottom: 12px;
            padding-left: 20px;
            position: relative;
        }

        .modal-features li:before {
            content: "•";
            position: absolute;
            left: 0;
            color: #1a1a1a;
            font-weight: bold;
        }

        .use-template-btn {
            background: #1a1a1a;
            color: white;
            border: none;
            padding: 16px 40px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            align-self: flex-start;
        }

        .use-template-btn:hover {
            background: #333;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }

        @media (max-width: 968px) {
            .modal-content {
                flex-direction: column;
                max-height: 85vh;
            }

            .modal-left {
                flex: none;
                height: 300px;
            }

            .modal-right {
                padding: 40px 30px;
            }

            .modal-title {
                font-size: 36px;
                margin-bottom: 25px;
            }

            .templates-grid {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
                gap: 20px;
            }
        }