﻿/* ==========================================
   SUCCESS STORY PAGE STYLES
   ========================================== */

/* ==========================================
   SUCCESS HERO SECTION
   ========================================== */
.success-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.success-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.success-hero-bg picture,
.success-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 20, 10, 0.5), rgba(10, 20, 10, 0.85));
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.success-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 100px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-subtitle {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #eef4e6;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    animation: slideDown 1s ease forwards;
}

.success-hero .hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #d4ebd0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideUp 1s ease forwards 0.3s;
    opacity: 0;
}

.success-hero .hero-desc {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    animation: slideUp 1s ease forwards 0.5s;
    opacity: 0;
}

.success-hero .breadcrumb {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 28px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: slideUp 1s ease forwards 0.7s;
    opacity: 0;
    margin: 0;
    list-style: none;
}

.success-hero .breadcrumb li,
.success-hero .breadcrumb a {
    color: #fff !important;
    text-shadow: none;
    font-weight: 500;
}

.success-hero .breadcrumb li:not(:last-child)::after {
    color: rgba(255, 255, 255, 0.6) !important;
}

.success-hero .scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    transition: 0.3s;
}

.success-hero .scroll-down:hover {
    color: var(--primary-color);
    opacity: 1;
}

@keyframes slideDown {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-15px) translateX(-50%);
    }

    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

@media (max-width: 992px) {
    .success-hero .hero-content {
        padding: 80px 15px 20px;
        margin: 0;
    }

    .success-hero .hero-title {
        font-size: 2.5rem;
    }

    .success-hero .hero-desc {
        font-size: 1rem;
    }

    .success-hero .hero-subtitle {
        font-size: 0.9rem;
        padding: 6px 16px;
        letter-spacing: 1px;
    }

    .success-hero .breadcrumb {
        flex-wrap: wrap;
        font-size: 0.9rem;
        padding: 10px 15px;
    }
}

.section-title h2.main-title {
    color: var(--heritage-green) !important;
}

.section-title .heading-divider i {
    color: var(--heritage-green) !important;
}

.section-title .heading-divider .line {
    background: linear-gradient(to right, transparent, var(--heritage-green), transparent) !important;
}

.brand-tagline {
    color: var(--heritage-green) !important;
}

/* 1. Our Journey */
.premium-journey-section {
    background: var(--warm-cream);
}

.journey-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.journey-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: top center;
}

.journey-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.premium-title {
    font-size: 2.5rem;
    color: var(--heritage-green);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* 2. Milestones & Achievements */
.premium-milestones-section {
    background: var(--warm-cream);
}

.milestones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.milestone-card {
    background: var(--soft-ivory);
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(45, 80, 22, 0.1);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.milestone-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--heritage-green);
}

.milestone-icon {
    font-size: 2.5rem;
    color: var(--heritage-green);
    margin-bottom: 1rem;
}

.milestone-card h3 {
    font-size: 2.5rem;
    color: var(--heritage-green);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.milestone-card p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}

/* Award Showcase within Milestones */
.award-showcase-container {
    border-top: 1px solid rgba(45, 80, 22, 0.2);
    margin-top: 4rem;
    padding-top: 4rem;
}

.award-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.award-content {
    padding-right: 2rem;
}

.award-content .premium-title {
    margin-bottom: 1rem;
}

.award-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.award-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.award-highlights li {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.award-highlights li i {
    color: var(--heritage-green);
    font-size: 1.3rem;
}

.award-image {
    position: relative;
    text-align: right;
}

.award-image img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 8px solid var(--bg-white);
    transition: transform 0.4s ease;
}

.award-image:hover img {
    transform: translateY(-10px);
}

/* Reversed Award Grid */
.award-grid.reverse .award-content {
    order: 2;
    padding-right: 0;
    padding-left: 2rem;
}

.award-grid.reverse .award-image {
    order: 1;
    text-align: left;
}


.award-badge {
    position: absolute;
    bottom: -20px;
    left: 20px;
    width: 80px;
    height: 80px;
    background: var(--heritage-green);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 10px 20px rgba(45, 80, 22, 0.3);
    border: 4px solid var(--bg-white);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* 3. What Makes Us Successful */
.premium-success-factors-section {
    background: var(--warm-cream);
}

.success-factors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.success-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    transition: var(--transition);
}

.success-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(45, 80, 22, 0.2);
}

.success-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.1), rgba(45, 80, 22, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--heritage-green);
    transition: var(--transition);
}

.success-card:hover .success-icon {
    background: var(--heritage-green);
    color: var(--bg-white);
    transform: scale(1.1);
}

.success-card h4 {
    font-size: 1.3rem;
    color: var(--heritage-green);
    margin-bottom: 1rem;
    font-weight: 600;
}

.success-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* 4. Proud Moments */
.premium-gallery-section {
    background: var(--warm-cream);
}

.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.gallery-overlay {
    display: none;
}

.gallery-item:nth-child(4n + 1),
.gallery-item:nth-child(4n + 4) {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

/* 5. Our Vision for the Future */
.premium-vision-section {
    background: var(--warm-cream);
    position: relative;
}

.vision-desc {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.vision-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.vision-card {
    background: var(--bg-white);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(45, 80, 22, 0.1);
    transition: var(--transition);
}

.vision-card:hover {
    transform: translateY(-5px);
    border-color: var(--heritage-green);
}

.vision-card i {
    font-size: 2rem;
    color: var(--heritage-green);
    margin-bottom: 1rem;
}

.vision-card p {
    font-weight: 600;
    color: var(--heritage-green);
    margin: 0;
    font-size: 1.1rem;
}

/* 6. Be a Part of Our Story */
.premium-cta-section {
    position: relative;
    padding: 30px 0;
    background: var(--warm-cream);
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: var(--heritage-green);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-light-green {
    background-color: #eef4e6;
    color: var(--heritage-green);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-light-green:hover {
    background-color: var(--heritage-green);
    color: var(--bg-white);
}

.btn-outline-green {
    background-color: transparent;
    border: 2px solid var(--heritage-green);
    color: var(--heritage-green);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-green:hover {
    background-color: var(--heritage-green);
    color: var(--bg-white);
}

/* Responsive Styles */
@media (max-width: 991px) {

    .journey-grid,
    .masonry-gallery,
    .vision-cards,
    .award-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:nth-child(4n + 1),
    .gallery-item:nth-child(4n + 4) {
        grid-column: span 1;
        aspect-ratio: 1;
    }

    .milestones-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .journey-grid,
    .success-factors-grid,
    .vision-cards,
    .award-grid {
        grid-template-columns: 1fr;
    }

    .award-content {
        padding-right: 0;
        text-align: center;
    }

    .award-highlights li {
        justify-content: center;
    }

    .award-image {
        text-align: center;
        margin-top: 1rem;
        margin-bottom: 40px;
    }

    .award-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -30px;
    }

    .award-grid.reverse .award-content {
        order: 1;
        padding-left: 0;
    }

    .award-grid.reverse .award-image {
        order: 2;
    }


    @keyframes pulseBadge {
        0% {
            transform: translateX(-50%) scale(1);
        }

        50% {
            transform: translateX(-50%) scale(1.05);
        }

        100% {
            transform: translateX(-50%) scale(1);
        }
    }

    .premium-title,
    .cta-content h2 {
        font-size: 2.2rem;
    }

    .masonry-gallery {
        grid-template-columns: 1fr;
    }
}