/* style/user-stories.css */
.page-user-stories {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

.page-user-stories__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-user-stories__hero {
    background: linear-gradient(135deg, #003366 0%, #001a33 100%); /* Darker blue gradient */
    color: #fff;
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-user-stories__hero-content {
    max-width: 800px;
    z-index: 1;
    padding: 0 20px;
}

.page-user-stories__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for title */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-user-stories__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #e0e0e0; /* Lighter white for description */
}

.page-user-stories__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #003366; /* Dark blue text */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-user-stories__cta-button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-3px);
}

.page-user-stories__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    overflow: hidden;
    z-index: 0;
}

.page-user-stories__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) blur(5px);
    transform: scale(1.1);
}

/* Intro Section */
.page-user-stories__intro {
    padding: 60px 0;
    background-color: #ffffff;
    text-align: center;
}

.page-user-stories__section-title {
    font-size: 2.5em;
    color: #003366; /* Dark blue title */
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

.page-user-stories__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Gold underline */
    border-radius: 2px;
}

.page-user-stories__section-description {
    font-size: 1.1em;
    color: #555;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Story List Section */
.page-user-stories__story-list {
    padding: 60px 0;
    background-color: #f0f4f7; /* Light blue-gray background */
}

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

.page-user-stories__story-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-user-stories__story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.15);
}

.page-user-stories__card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-user-stories__story-card h3 {
    color: #003366; /* Dark blue title */
    font-size: 1.6em;
    padding: 20px 25px 10px;
    margin-bottom: 0;
}

.page-user-stories__story-card p {
    color: #666;
    font-size: 1em;
    padding: 0 25px 20px;
    flex-grow: 1;
}

.page-user-stories__card-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #003366; /* Dark blue text */
    padding: 12px 25px;
    border-radius: 0 0 12px 12px; /* Rounded bottom corners */
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Push button to the bottom */
}

.page-user-stories__card-button:hover {
    background-color: #e6c200;
}

/* Why Choose Section */
.page-user-stories__why-choose {
    padding: 80px 0;
    background-color: #003366; /* Dark blue background */
    color: #fff;
    text-align: center;
}

.page-user-stories__why-choose .page-user-stories__section-title {
    color: #FFD700; /* Gold title */
}

.page-user-stories__why-choose .page-user-stories__section-title::after {
    background-color: #FFD700;
}

.page-user-stories__why-choose .page-user-stories__section-description {
    color: #e0e0e0;
}

.page-user-stories__features-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 60px auto;
    max-width: 800px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    text-align: left;
}

.page-user-stories__features-list li {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    border-left: 5px solid #FFD700; /* Gold accent */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-user-stories__features-list strong {
    color: #FFD700;
}

.page-user-stories__cta-button--bottom {
    margin-top: 30px;
}

/* FAQ Section */
.page-user-stories__faq {
    padding: 60px 0;
    background-color: #ffffff;
    text-align: center;
}

.page-user-stories__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-user-stories__faq-question {
    color: #003366; /* Dark blue question */
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-user-stories__faq-answer {
    color: #555;
    font-size: 1em;
}

.page-user-stories__faq-answer a {
    color: #003366;
    text-decoration: none;
    font-weight: bold;
}

.page-user-stories__faq-answer a:hover {
    text-decoration: underline;
    color: #FFD700;
}

/* Fade-in animation */
.page-user-stories--fade-in-init {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.page-user-stories--fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-user-stories__hero-title {
        font-size: 2.8em;
    }
    .page-user-stories__section-title {
        font-size: 2em;
    }
    .page-user-stories__features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-user-stories__hero {
        padding: 60px 0;
    }
    .page-user-stories__hero-title {
        font-size: 2.2em;
    }
    .page-user-stories__hero-description {
        font-size: 1em;
    }
    .page-user-stories__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-user-stories__grid {
        grid-template-columns: 1fr;
    }
    .page-user-stories__section-title {
        font-size: 1.8em;
    }
    .page-user-stories__story-card h3 {
        font-size: 1.4em;
    }
}

@media (max-width: 480px) {
    .page-user-stories__hero {
        padding: 40px 0;
    }
    .page-user-stories__hero-title {
        font-size: 1.8em;
    }
    .page-user-stories__section-title {
        font-size: 1.5em;
    }
    .page-user-stories__story-card h3 {
        font-size: 1.2em;
    }
    .page-user-stories__card-description {
        font-size: 0.9em;
    }
    .page-user-stories__features-list li {
        font-size: 1em;
        padding: 15px;
    }
    .page-user-stories__faq-question {
        font-size: 1.2em;
    }
}