@charset "UTF-8";

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
    --bg-gray: #f5f7fa;
    --bg-white: #ffffff;
    --color-text: #333333;
    --color-text-sub: #666666;
    --card-shadow: 0 4px 15px rgba(0,0,0,0.05);
    --card-shadow-hover: 0 8px 20px rgba(0,0,0,0.1);
    --radius-md: 12px;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
/* Backgrounds */
.bg-gray {
    background-color: var(--bg-gray) !important;
}
.bg-white {
    background-color: var(--bg-white) !important;
}

/* Typography */
.text-center {
    text-align: center !important;
}
.text-left {
    text-align: left !important;
}
.text-right {
    text-align: right !important;
}
.fw-bold {
    font-weight: bold !important;
}
.fs-sm {
    font-size: 0.9rem !important;
}
.fs-md {
    font-size: 1.1rem !important;
}
.fs-lg {
    font-size: 1.5rem !important;
}
.fs-xl {
    font-size: 2rem !important;
}

/* Spacing */
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mt-5 { margin-top: 3rem !important; }

/* Mobile specific line break */
.break-xs {
    display: none;
}

@media (max-width: 425px) {
    .break-xs {
        display: inline !important;
    }
}

/* Display */
.pc-only { display: block; }
.sp-only { display: none; }

@media (max-width: 768px) {
    .pc-only { display: none !important; }
    .sp-only { display: block !important; }
}

/* ==========================================================================
   Components
   ========================================================================== */
/* Common Card Style */
.card-panel {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-panel:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.section-header p {
    font-size: 1rem;
    color: var(--color-text-sub);
    font-weight: bold;
}

/* Check List (Common) */
.list-check {
    list-style: none;
    padding: 0;
}
.list-check li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start; /* Changed from start to flex-start for compatibility */
    font-weight: bold;
    font-size: 1.15rem;
    line-height: 1.5;
}
.list-check li span.check-mark {
    color: var(--accent-color);
    margin-right: 1rem;
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
}

/* Hero Section */
.hero .container {
    width: 100%;
}

.hero-content {
    width: 60%;
    text-align: left;
} 
/* Mobile adjustment for hero-content is already at the bottom of file */

/* Intro Section */
.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.solution-msg {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-box {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e1e4e8;
    display: inline-block;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.cta-text {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Reasons Section */
.reasons-footer {
    margin-top: 3rem;
    text-align: center;
}

.reasons-list {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
}

.reasons-item {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}

/* Corporate & Contact */
.director-sign {
    height: 1rem;
    width: auto;
    vertical-align: text-bottom;
}

.contact-btn {
    margin-top: 1rem;
    padding: 1rem 3rem !important;
    font-size: 1.1rem !important;
}

/* Hero Checklist */
.hero-checklist {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.hero-checklist li {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    line-height: 1.4;
    font-weight: bold;
}

.check-icon {
    color: var(--accent-color);
    font-weight: 900;
    margin-right: 0.75rem;
    font-size: 1.3rem;
    line-height: 1;
    flex-shrink: 0;
}

/* Reasons Grid */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.reason-card {
    background: #f9f9f9;
    padding: 2rem 1.5rem;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-5px);
}

.reason-number {
    color: var(--accent-color);
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.reason-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.reason-desc {
    font-weight: bold;
    color: #333;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .container {
        width: 100% !important; /* Force container width on mobile */
    }

    .hero-content {
        width: 100% !important; /* Force hero content width on mobile */
        text-align: left !important;
    }

    .hero-checklist {
        margin-bottom: 2rem;
    }
    
    .hero-checklist li {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }

    .reasons-grid {
        grid-template-columns: 1fr; /* Stack reasons on mobile */
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-checklist li {
        font-size: 13px; /* Prevent wrapping */
        white-space: nowrap;
        letter-spacing: -0.02em;
    }
    .check-icon {
        margin-right: 0.5rem;
        font-size: 1.1rem;
    }
}

/* Works Section (New) */
.works-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.work-card {
    /* bg, radius, shadow removed -> card-panel */
    display: flex;
    flex-direction: row; /* Desktop: Side-by-side */
    align-items: stretch;
    transition: transform 0.3s ease;
    overflow: hidden;
}



.work-thumb {
    width: 35%; /* Further reduce width for compact look */
    flex-shrink: 0;
    position: relative;
    background-color: #eee;
    min-height: 240px; /* Allow stretch, but keep minimum */
    height: auto; /* Remove fixed height on desktop */
}

.work-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.work-body {
    width: 65%;
    padding: 1.5rem 2rem; /* Reduce vertical padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.work-title {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: bold;
    line-height: 1.4;
}

.work-desc {
    margin-bottom: 1.2rem;
    line-height: 1.6;
    color: #333;
    font-size: 0.95rem;
}

.work-scope {
    background: transparent; /* Remove bg for cleaner look */
    padding: 0;
    border-radius: 0;
    margin-top: auto;
}

.scope-title {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.5rem;
    border-bottom: none; /* Remove border */
    padding-bottom: 0;
}

.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.work-tag {
    background: #f0f2f5;
    color: #555;
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: bold;
    border: 1px solid #e1e4e8;
}

/* Mobile Adjustments for Works */
@media (max-width: 991px) {
    .works-list {
        gap: 3rem;
    }

    .work-card {
        flex-direction: column; /* Mobile: Stacked */
        padding: 0 !important; /* Remove padding to let image fill the card width */
    }

    .work-thumb {
        width: 100%;
        height: 200px; /* Slightly taller for better visibility */
        min-height: auto;
    }

    .work-body {
        width: 100%;
        padding: 1.5rem; /* More balanced padding */
    }

    .work-title {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
}

/* Flow Section */
.flow-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 4rem;
}

.flow-card {
    /* bg, radius, shadow removed -> card-panel */
    padding: 1.5rem;
    /* shadow removed */
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.flow-step {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.flow-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.8rem;
}

.flow-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #333;
}

.flow-output-wrapper {
    width: 100%;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flow-output-label {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 0.3rem;
}

.flow-output-tag {
    font-size: 0.85rem;
    color: #555;
    background: #f4f4f4;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    white-space: nowrap; /* Prevent wrapping */
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ccc;
    font-weight: bold;
    padding: 0 0.5rem;
}

.flow-cta {
    text-align: center;
}

.flow-cta .btn-primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
    min-width: 300px;
    color: var(--white); /* Ensure text is readable */
}

.flow-cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    font-weight: bold;
}

/* Mobile Adjustments for Flow */
@media (max-width: 991px) {
    .flow-grid {
        flex-direction: column;
        gap: 0;
    }
    
    .flow-card {
        margin-bottom: 2rem;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: -1.5rem 0 0.5rem;
        height: 40px;
    }
}

/* Services Section */
.services-section {
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.service-card {
    /* bg, radius, shadow removed -> card-panel */
    padding: 24px;
    overflow: hidden; /* Ensure image corners clip matching card */
    /* shadow removed */
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent; /* Prepare for hover border */
    display: flex;
    flex-direction: column;
    text-align: left;
}



.service-head {
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.service-sub {
    font-size: 0.95rem;
    color: #555;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.service-desc {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-tags {
    margin-top: auto; /* Push to bottom */
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-tag {
    font-size: 0.8rem;
    color: #666;
    background: #f0f2f5;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    white-space: nowrap;
}

/* Adjust Step 3 Icon size specifically */
.flow-card:last-child .flow-icon img {
    transform: scale(0.85);
}

.service-cta {
    text-align: center;
}

.service-cta .btn-primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
    min-width: 300px;
    color: var(--white);
}

.service-cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    font-weight: bold;
}

/* FAQ Section */
.faq-list {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.faq-item {
    margin-bottom: 1.2rem;
    border-bottom: 1px solid #eee; /* Light divider */
    overflow: hidden;
}

/* Remove default marker for details */
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1rem 1rem 0; /* Right padding for icon space if needed */
    font-weight: bold;
    font-size: 1.05rem;
    color: #333;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    color: var(--primary-color);
}

/* Custom Icon for Accordion */
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: #ccc;
    margin-left: 1rem;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg); /* Turn + to x */
}

.faq-answer {
    padding: 0 1rem 1.5rem 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    /* Optional animation */
    /* Note: Animating height: 0 to auto is tricky in pure CSS without hacks or JS. 
       Standard details/summary behavior is instant jump. Keeping it simple. */
}

.faq-cta {
    text-align: center;
    background: #f9f9f9;
    padding: 3rem 1rem;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-cta-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.faq-cta .btn-primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
    min-width: 300px;
    color: var(--white);
}

.faq-cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    font-weight: bold;
}


/* Mobile Adjustments */
@media (max-width: 767px) {
    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 3rem;
    }

    .service-card {
        padding: 20px;
    }



    /* FAQ Mobile */
    .faq-item summary {
        min-height: 48px; /* Tappable area */
        font-size: 1rem;
        padding-right: 2rem; /* Make space for icon */
    }
    
    .faq-item summary::after {
        position: absolute;
        right: 0;
    }

    .faq-cta {
        padding: 2rem 1rem;
    }

    .faq-cta-title {
        font-size: 1.25rem;
    }
}

/* Flow Icons */
.flow-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flow-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Service Thumbs */
.service-thumb {
    width: calc(100% + 48px); /* 100% + double padding */
    height: 180px;
    overflow: hidden;
    /* border-radius: 12px 12px 0 0; Removed in favor of container clipping */
    margin: -24px -24px 1.5rem -24px; /* Negate padding exactly */
}

.service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-thumb img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .service-thumb {
        height: 160px;
        width: calc(100% + 40px); /* Mobile padding 20px * 2 */
        margin: -20px -20px 1.2rem -20px;
    }
}

/* Hero Background Override */
.hero-bg {
    background-image: url('../img/hero-new.jpg') !important;
}

/* Mobile Adjustments for Headers */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.75rem;
        line-height: 1.4;
    }
}
