/* ========================================
   SUCCESS STORIES PAGE STYLES
   Design: Referencing careerplanb_success_stories.html
   ======================================== */

:root {
    --green: #86d07a;
    --green-dark: #2f9e3a;
    --muted: #f4f7f4;
    --card: #f3f6f5;
    --text: #111;
    --accent: #7de2a0;
}

/* ========================================
   HERO SECTION
   ======================================== */
.success-hero-section {
    background: linear-gradient(180deg, #f6fff3 0%, #f3fff1 100%);
    padding: 64px 0;
}

.success-hero-section .hero-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-text-content {
    max-width: 520px;
}

.hero-main-heading {
    font-size: 42px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}

.hero-subtitle-body {
    font-size: 18px;
    font-weight: 400;
    color: #4b5;
    line-height: 1.6;
    margin-bottom: 24px;
}

.hero-cta-group {
    margin-top: 18px;
}

.btn-hero-cta {
    background: var(--green-dark);
    color: #fff;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-hero-cta:hover {
    background: #25842f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47, 158, 58, 0.3);
}

/* Pill Cloud - Avatar Pills */
.pill-cloud {
    position: relative;
    height: 360px;
}

.circle-decoration {
    position: absolute;
    right: 40px;
    top: 28px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #eaffed, transparent 60%);
    z-index: 0;
}

.avatar-pill {
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    object-fit: cover;
}

.pill-tag {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    background: #e6fff0;
    border: 1px solid rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Pill Positions */
.pill-1 {
    left: 64%;
    top: 12%;
}

.pill-2 {
    left: 78%;
    top: 6%;
}

.pill-3 {
    left: 72%;
    top: 42%;
}

.pill-4 {
    left: 86%;
    top: 36%;
}

.pill-5 {
    left: 62%;
    top: 56%;
}

/* ========================================
   VIDEO SECTION
   ======================================== */
.video-story-section {
    padding: 72px 0;
}

.video-frame {
    background: #111;
    height: 420px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.video-frame iframe,
.video-frame .video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-thumbnail {
    filter: contrast(0.98) saturate(1.02);
    opacity: 0.95;
}

.video-play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.play-icon {
    display: block;
    margin-left: 6px;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #2b2;
}

/* ========================================
   FEATURED STORY SECTION
   ======================================== */
.featured-story-section {
    padding: 80px 0;
    background: #fff;
}

.story-summary-card {
    background: linear-gradient(90deg, #ffffff 62%, #f4f7f4 100%);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(16, 24, 16, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}

.story-summary-card:after {
    content: '';
    position: absolute;
    right: -80px;
    top: 0;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(124, 210, 128, 0.25), transparent 50%);
}

.story-main-heading {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin: 0 0 16px;
    position: relative;
    z-index: 1;
}

.story-description {
    font-size: 17px;
    font-weight: 400;
    color: #555;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Challenge & Solution Grid */
.challenge-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
    margin-bottom: 28px;
}

.cs-card {
    padding: 28px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.cs-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 12px;
}

.cs-description {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.challenge-card {
    background: #fbfcfb;
}

.solution-card {
    background: linear-gradient(180deg, var(--green-dark), #5cc06a);
    color: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(47, 158, 58, 0.08);
}

.solution-card .cs-card-title,
.solution-card .cs-description {
    color: #fff;
}

/* Quote Section */
.story-quote-section {
    margin-top: 28px;
}

.quote-card {
    margin: 0;
    padding: 24px;
    border-left: 4px solid #eee;
    background: #fafafa;
    border-radius: 6px;
}

.quote-text {
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.6;
    margin: 0 0 12px;
    font-style: italic;
}

.quote-author {
    font-size: 15px;
    font-weight: 600;
    color: #555;
    margin: 0;
    font-style: normal;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-review-section {
    padding: 64px 0;
    background: #fbfbfb;
}

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

.testimonials-badge {
    display: inline-block;
    font-size: 13px;
    color: #6b8;
    margin-bottom: 8px;
    font-weight: 600;
}

.section-heading-large {
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    margin: 8px 0 0;
}

.section-subtitle-text {
    font-size: 16px;
    color: #657;
    margin: 8px 0 20px;
}

/* Testimonials Carousel */
.testimonials-carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 24px auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-nav-btn {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
}

.carousel-nav-btn i {
    font-size: 20px;
    color: #333;
}

.carousel-nav-btn:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    transform: scale(1.05);
}

.carousel-nav-btn:hover i {
    color: #fff;
}

.testimonials-track-container {
    overflow: hidden;
    flex: 1;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    position: relative;
}

.testimonial-slide {
    min-width: 100%;
    position: relative;
    padding: 0 12px;
}

.testimonial-card {
    max-width: 780px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 18px;
    background: linear-gradient(180deg, #eafbe9, #ffffff);
    box-shadow: 0 10px 30px rgba(60, 120, 60, 0.06);
    border: 3px solid rgba(0, 0, 0, 0.03);
}

.stars-badge {
    display: inline-block;
    background: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    position: relative;
    top: -20px;
    margin-bottom: -10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    color: #FFC107;
    font-size: 16px;
}

.testimonial-text {
    font-size: 17px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.7;
    margin: 0 0 16px;
}

.testimonial-author {
    font-size: 15px;
    font-weight: 600;
    color: #555;
    margin: 12px 0 0;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d0d0d0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dots .dot.active {
    background: var(--green-dark);
    width: 28px;
    border-radius: 5px;
}

.carousel-dots .dot:hover {
    background: var(--green);
}

/* Brand Logos */
.brand-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #E0E0E0;
}

.brand-logo-item {
    flex-shrink: 0;
}

.brand-logo-item img {
    height: 40px;
    width: auto;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.brand-logo-item:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

/* ========================================
   MORE STORIES SECTION
   ======================================== */
.more-stories-section {
    padding: 80px 0;
    background: #fff;
}

.blog-cards-grid {
    margin-top: 40px;
}

/* ========================================
   PAGINATION
   ======================================== */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    margin: 0 4px;
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-wrapper .page-numbers:hover,
.pagination-wrapper .page-numbers.current {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: #fff;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Tablet & Below - 900px */
@media (max-width: 900px) {
    .success-hero-section .hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .pill-cloud {
        height: 240px;
    }
    
    .hero-main-heading {
        font-size: 36px;
    }
    
    .video-frame {
        height: 300px;
    }
    
    .challenge-solution-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-carousel-wrapper {
        gap: 12px;
    }
    
    .carousel-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-card {
        padding: 30px;
    }
}

/* Mobile - 768px */
@media (max-width: 768px) {
    .success-hero-section {
        padding: 48px 0;
    }
    
    .hero-main-heading {
        font-size: 32px;
    }
    
    .hero-subtitle-body {
        font-size: 16px;
    }
    
    .pill-cloud {
        display: none;
    }
    
    .video-story-section {
        padding: 48px 0;
    }
    
    .video-frame {
        height: 240px;
    }
    
    .featured-story-section {
        padding: 48px 0;
    }
    
    .story-summary-card {
        padding: 28px;
    }
    
    .story-main-heading {
        font-size: 26px;
    }
    
    .cs-card {
        padding: 24px;
    }
    
    .testimonials-review-section {
        padding: 48px 0;
    }
    
    .section-heading-large {
        font-size: 28px;
    }
    
    .carousel-nav-btn {
        display: none;
    }
    
    .testimonials-carousel-wrapper {
        gap: 0;
    }
    
    .testimonial-card {
        padding: 24px;
    }
    
    .brand-logos-row {
        gap: 30px;
        margin-top: 40px;
    }
    
    .brand-logo-item img {
        height: 32px;
    }
    
    .more-stories-section {
        padding: 48px 0;
    }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
    .hero-main-heading {
        font-size: 28px;
    }
    
    .story-main-heading {
        font-size: 22px;
    }
    
    .section-heading-large {
        font-size: 24px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 15px;
    }
}
