@charset "utf-8";

/* =========================================================================
   Parts Styles - Strengths, Area List, Contact Options, Service List
   ========================================================================= */

/* Use generic selectors if possible, but keep s1- namespace to avoid conflicts or rename gently */

/* --- Wrapper (Use if not present globally) --- */
.parts-wrap {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* --- Section Structure --- */
.s1-section {
    padding: 80px 0;
}

.s1-section--strengths {
    background: #fff;
    /* Default background */
}

/* --- Titles --- */
.s1-title-group {
    text-align: center;
    margin-bottom: 50px;
}

.s1-h2 {
    font-size: 30px;
    color: #22833b;
    font-weight: bold;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.s1-h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #fe9e1a;
}

/* -------------------------------------------------------------------------
   Strengths Navigation
   ------------------------------------------------------------------------- */
.s1-strength-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Force 2 columns */
    gap: 20px;
    margin-top: 40px;
}

.s1-strength-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 0;
    /* Reset padding for internal layout */
    position: relative;
    display: flex;
    flex-direction: row;
    /* Horizontal layout */
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    /* For image rounded corners */
    height: 100%;
    /* Align heights in grid */
}

a.s1-strength-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: #22833b;
}

/* Image Box (Left Side) */
.s1-strength-item__img-box {
    width: 140px;
    /* Fixed width for consistency */
    flex-shrink: 0;
    position: relative;
}

.s1-strength-item__img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure image covers the area without distortion */
    display: block;
}

/* Info Box (Right Side) */
.s1-strength-item__info {
    flex-grow: 1;
    padding: 20px 20px 20px 60px;
    /* Left padding for the number */
    position: relative;
    display: flex;
    flex-direction: column;
}

.s1-strength-item__num {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 34px;
    height: 34px;
    background: #fe9e1a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(254, 158, 26, 0.3);
    z-index: 2;
}

#Main .s1-strength-item__content h3 {
    font-size: 18px;
    font-weight: bold;
    color: #22833b;
    margin-bottom: 10px;
    margin-top: 5px;
    line-height: 1.4;
}

.s1-section .s1-cta-box p {
    color: #fff;
}

.s1-strength-item__content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 10px;
}

.s1-strength-item__more {
    margin-top: auto;
    /* Push to bottom */
    font-size: 13px;
    color: #fe9e1a;
    font-weight: bold;
    text-align: right;
    width: 100%;
}

/* Responsive */
@media (max-width: 600px) {
    .s1-strength-nav {
        grid-template-columns: 1fr;
        /* Single column on mobile */
    }

    .s1-strength-item {
        /* Keep simple horizontal on mobile or stack? */
        /* Let's keep horizontal but smaller image if needed, or stack if text is long */
    }

    .s1-strength-item__img-box {
        width: 100px;
        /* Smaller image on mobile */
    }

    .s1-strength-item__info {
        padding: 15px 15px 15px 50px;
    }

    .s1-strength-item__num {
        width: 28px;
        height: 28px;
        font-size: 15px;
        left: 10px;
        top: 15px;
    }

    .s1-strength-item__content h3 {
        font-size: 16px;
    }
}

/* -------------------------------------------------------------------------
   Service List (Main & Sub)
   ------------------------------------------------------------------------- */
.s1-service-mains {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    justify-content: center;
}

.s1-service-main-card {
    flex: 1;
    max-width: 480px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 0;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 25px;
}

.s1-service-main-card__img-box {
    width: 100%;
    background: #f4fff7;
    padding: 20px 0;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.s1-service-fallback-icon.fa {
    font-size: 50px;
    color: #22833b;
}

.s1-service-main-card__body {
    padding: 0 25px;
}

.s1-service-main-card h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    border-bottom: 2px solid #fe9e1a;
    display: inline-block;
    padding-bottom: 5px;
}

/* Font size adjustment */
.s1-service-main-card h3 {
    font-size: 22px;
}

.s1-service-subs {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    border: 1px dashed #ccc;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.s1-service-subs__title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #555;
}

.s1-service-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.s1-service-list li {
    font-size: 16px;
    color: #444;
    background: #f9f9f9;
    padding: 8px 15px;
    border-radius: 4px;
}

.s1-service-list li i {
    color: #22833b;
    margin-right: 5px;
}

/* -------------------------------------------------------------------------
   CTA / Contact Actions
   ------------------------------------------------------------------------- */
.s1-cta-box {
    text-align: center;
    background: #22833b;
    color: #fff;
    padding: 60px 20px;
    border-radius: 20px;
    margin-top: 60px;
}

.s1-contact-actions {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.s1-action-primary {
    width: 100%;
    max-width: 500px;
    position: relative;
}

.s1-btn-line-badge {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: #fe9e1a;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 5px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    z-index: 10;
    white-space: nowrap;
}

.s1-btn-line-badge::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-top: 6px solid #fe9e1a;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

.s1-btn-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    color: #06c755;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 4px solid #fff;
    position: relative;
    overflow: hidden;
    animation: s1-pulse 2s infinite;
    /* Ensure box-sizing allows padding not to break layout if width is 100% */
    box-sizing: border-box;
}

@keyframes s1-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.s1-btn-line:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: #fe9e1a;
    background-color: #fffcf5;
}

.s1-btn-line__icon {
    font-size: 42px;
    margin-right: 15px;
    color: #06c755;
}

.s1-btn-line__text {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex-grow: 1;
}

.s1-btn-line__label {
    font-size: 21px;
    font-weight: bold;
    line-height: 1.2;
    color: #333;
}

.s1-btn-line__sub {
    font-size: 14px;
    color: #fe9e1a;
    font-weight: bold;
    margin-top: 2px;
}

.s1-btn-line__arrow {
    font-size: 20px;
    color: #fe9e1a;
    margin-left: 10px;
}

.s1-action-sub {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 600px;
    justify-content: center;
}

.s1-btn-sub {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s;
    box-sizing: border-box;
}

.s1-btn-sub:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: #fff;
}

.s1-btn-sub i {
    margin-right: 8px;
    font-size: 18px;
}

.s1-contact-note {
    font-size: 13px;
    color: #fff;
    opacity: 0.8;
    margin-top: 10px;
}

/* -------------------------------------------------------------------------
   Service-1 / General Media Queries
   ------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .s1-section {
        padding: 50px 0;
    }

    .s1-h2 {
        font-size: 24px;
    }

    .s1-strength-nav {
        grid-template-columns: 1fr;
    }

    .s1-service-mains {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .s1-action-sub {
        flex-direction: column;
    }

    .s1-btn-line__icon {
        font-size: 34px;
    }

    .s1-btn-line__label {
        font-size: 17px;
    }

    .s1-btn-line__sub {
        font-size: 12px;
    }
}