/* Maturity & Exit Page Styles */

/* Hero Section */
.hero-section {
    /* background: linear-gradient(135deg, #1f9968 0%, #2d5a3d 100%); */
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    background: url('/assets/pic/bg-5.jpg') center/cover no-repeat;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Main Page Styles */
.main-page {
    background: #ffffff;
}

/* Section Styles */
.services-overview,
.detailed-services,
.process-section {
    padding: 70px 0;
    position: relative;
}

.services-overview {
    background: #ffffff;
}

.detailed-services {
    background: #f8f9fa;
}

.process-section {
    background: #ffffff;
}

/* Title Header */

.title-header h2 {
    font-size: 40px;
}

/* Services Feature List */
.services-feature-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(31, 153, 104, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 40px 40px 0;
    border-color: transparent #1f9968 transparent transparent;
    opacity: 0.1;
}

.feature-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(31, 153, 104, 0.15);
    border-color: rgba(31, 153, 104, 0.2);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #1f9968, #4CAF50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.feature-icon svg {
    color: #ffffff;
}

.feature-content {
    flex: 1;
}

.feature-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.3;
}

.feature-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.detail-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Detailed Services Grid */
.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.detail-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(31, 153, 104, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.detail-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 40px 40px 0;
    border-color: transparent #1f9968 transparent transparent;
    opacity: 0.1;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(31, 153, 104, 0.15);
}

.detail-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1f9968, #4CAF50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.detail-icon svg {
    color: #ffffff;
}

.detail-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.3;
}

.detail-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.detail-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    background: rgba(31, 153, 104, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Process Timeline */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1f9968, #4CAF50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    box-shadow: var(--shadow);
}

.step-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.3;
}

.step-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1f9968 0%, #408157 100%);
    padding: 90px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/pic/video-3.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
}

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

.cta-content h3 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button .layui-icon {
    font-size: 12px;
}

.cta-button.secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.cta-button.secondary:hover {
    background: #ffffff;
    color: #1f9968;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-detail-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 24px;
    }

    .process-timeline {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 24px;
    }

    .feature-details {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .title-header h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {

    .services-overview,
    .detailed-services,
    .process-section {
        padding: 40px 0;
    }

    .services-detail-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-item {
        padding: 24px;
        gap: 20px;
    }

    .detail-card {
        padding: 24px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .title-header h2 {
        font-size: 32px;
    }

    .cta-content h3 {
        font-size: 28px;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 16px;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .feature-item {
        padding: 20px;
        gap: 16px;
    }

    .detail-card {
        padding: 20px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .detail-icon {
        width: 50px;
        height: 50px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wow {
    visibility: hidden;
}

.wow.animated {
    visibility: visible;
}

@media screen and (max-width: 768px) {
    .hero-section {
        min-height: 200px;
    }

    .hero-content h1 {
        font-size: 23px;
        margin-bottom: 5px;
    }

    .hero-content p {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .hero-section::before {
        animation: none;
    }

    .title-header h2 {
        text-align: center;
        font-size: 30px;
        line-height: 35px;
    }

    .title-decoration {
        justify-content: center;
    }

    .decoration-line {
        width: 40px;
        flex: none;
    }

    .decoration-dot {
        width: 10px;
        height: 10px;
    }

    .title-header {
        margin-bottom: 20px;
    }

    .title-header p {
        font-size: 15px;
        text-align: center;
    }

    .feature-content h4 {
        font-size: 18px;
    }

    .feature-content p {
        font-size: 14px;
    }

    .detail-content h4 {
        font-size: 18px;
    }

    .detail-content p {
        font-size: 14px;
    }

    .step-content h4 {
        font-size: 18px;
    }

    .step-content p {
        font-size: 14px;
    }

    .cta-section {
        padding: 50px 0;
    }

    .cta-content h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .cta-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .cta-button {
        padding: 5px 20px;
        font-size: 14px;
    }

    .cta-button .layui-icon {
        font-size: 9px;
    }

    .cta-buttons {
        gap: 15px;
    }
}