/* --- Core Variables --- */
:root {
    --primary-orange: #ff8c42;
    --soft-blue: #e3f2fd;
    --bg-warm: #fffaf0;
    --text-main: #4a4a4a;
    --white: #ffffff;
    --pastel-yellow: #fff9c4;
    --pastel-green: #c8e6c9;
    --pastel-blue: #bbdefb;
}

body {
    font-family: "Zen Maru Gothic", sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.8;
    margin: 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-padding {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}
.center-text {
    text-align: center;
}

/* --- Navigation --- */
header {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: bold;
    font-size: 1.4rem;
}
.logo img {
    height: 45px;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: bold;
    font-size: 0.95rem;
}
.nav-links a[aria-current="page"]:not(.nav-btn),
.nav-links a.active:not(.nav-btn) {
    color: var(--primary-orange);
}
.nav-btn {
    background: var(--primary-orange);
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
}
.nav-btn[aria-current="page"],
.nav-btn.active {
    color: white !important;
    box-shadow: 0 0 0 2px rgba(255, 140, 66, 0.2);
}

/* --- Hero (Adjusted for Photo-based Logo) --- */
.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    /* Gradient from left (text-heavy) to clear (to show your image's logo) */
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.7) 40%,
        rgba(255, 255, 255, 0) 100%
    );
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    padding-left: 10%;
    max-width: 700px;
}
.hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.4;
    text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.8);
}
.hero-content h1 span {
    font-size: 1.3rem;
    display: block;
    margin-top: 15px;
    font-weight: normal;
}

/* --- Feature Cards --- */
.card-grid {
    display: flex;
    gap: 20px;
}
.feature-card {
    flex: 1;
    background: var(--white);
    padding: 40px 30px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}
.card-tag {
    display: inline-block;
    padding: 4px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}
.yellow {
    background: var(--pastel-yellow);
}
.green {
    background: var(--pastel-green);
}
.blue {
    background: var(--pastel-blue);
}

/* --- Philosophy --- */
.philosophy-bg {
    background-color: var(--bg-warm);
}
.flex-container {
    display: flex;
    align-items: center;
    gap: 60px;
}
.visual-spotlight {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    min-height: 420px;
    padding: clamp(40px, 7vw, 70px);
    display: flex;
    align-items: flex-start;
}
.visual-spotlight--full {
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    min-height: clamp(360px, 60vw, 520px);
    display: block;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    max-width: none;
}
.visual-spotlight__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(105%);
    z-index: 0;
}
.visual-spotlight__card {
    position: relative;
    z-index: 1;
    width: min(460px, 100%);
    background: rgba(255, 255, 255, 0.92);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}
.visual-spotlight__card--left {
    text-align: left;
}
.visual-spotlight--full .visual-spotlight__card--left {
    position: absolute;
    top: 50%;
    left: clamp(24px, 9vw, 120px);
    transform: translateY(-50%);
    width: min(480px, 48%);
    margin: 0;
    background: rgba(255, 255, 255, 0.94);
    padding: clamp(28px, 4vw, 42px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}
.philosophy-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.color-text {
    font-size: 2.2rem;
}
.color-text span {
    color: var(--primary-orange);
}
.rounded-img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* --- Work Gallery --- */
.work-grid {
    display: flex;
    gap: 25px;
}
.work-card {
    flex: 1;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.work-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.work-card h4 {
    padding: 15px 20px 5px;
}
.work-card p {
    padding: 0 20px 20px;
    font-size: 0.9rem;
}

/* --- Daily Flow --- */
.flow-bg {
    background-color: #f1f8ff;
}
.timeline {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.time-item {
    background: var(--white);
    padding: 25px;
    border-radius: 20px;
    width: 23%;
    text-align: center;
    border-bottom: 6px solid var(--pastel-yellow);
}
.time-label {
    display: block;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-orange);
}

/* --- Steps --- */
.flow-steps {
    display: flex;
    gap: 20px;
}
.step-card {
    flex: 1;
    background: var(--white);
    padding: 40px 25px;
    border-radius: 25px;
    border: 2px dashed var(--soft-blue);
    position: relative;
    text-align: center;
}
.step-no {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-orange);
    color: white;
    padding: 4px 15px;
    border-radius: 20px;
    font-weight: bold;
}

/* --- CTA Buttons --- */
.btn-orange {
    background: var(--primary-orange);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}
.outline {
    background: transparent;
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    margin-left: 10px;
}
.text-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid var(--primary-orange);
}

/* --- Footer --- */
.site-footer {
    background: var(--bg-warm);
    color: var(--text-main);
    margin-top: 80px;
    border-top: 4px solid var(--pastel-yellow);
}
.footer-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 50px 20px 36px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}
.footer-logo {
    width: 58px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.18);
}
.footer-text-group p {
    margin: 0;
    line-height: 1.7;
    font-size: 0.95rem;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: right;
}
.footer-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
}
.footer-link:hover {
    text-decoration: underline;
}
.footer-copy {
    text-align: center;
    padding: 24px 20px 32px;
    border-top: 1px solid rgba(255, 140, 66, 0.18);
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.6);
}
.footer-copy p {
    margin: 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .flex-container,
    .card-grid,
    .work-grid,
    .timeline,
    .flow-steps {
        flex-direction: column;
    }
    .time-item,
    .step-card {
        width: 100%;
        margin-bottom: 20px;
    }
    .hero-content {
        padding-left: 20px;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .visual-spotlight {
        border-radius: 30px;
        min-height: 0;
        padding: 24px;
        display: block;
    }
    .visual-spotlight__image {
        position: relative;
        height: 280px;
    }
    .visual-spotlight__card {
        margin: -60px 10px 10px;
        padding: 24px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
        width: auto;
    }
    .visual-spotlight--full {
        padding: 0;
        width: 100%;
        margin-left: 0;
    }
    .visual-spotlight--full .visual-spotlight__image {
        height: 240px;
    }
    .visual-spotlight--full .visual-spotlight__card--left {
        position: static;
        transform: none;
        margin: -70px 16px 20px;
        width: auto;
        padding: 24px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    }
    .footer-layout {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 30px 20px;
    }
    .footer-brand {
        width: 100%;
    }
    .footer-contact {
        text-align: left;
        width: 100%;
    }
    .footer-copy {
        padding: 16px 10px 26px;
        font-size: 0.8rem;
    }
}

/* --- Additional styles for About Page --- */

/* Page Header */
.page-header {
    padding: 60px 0;
    text-align: center;
}
.page-title {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 10px;
}

/* Mission Box */
.mission-box {
    text-align: center;
    background: var(--white);
    padding: 50px;
    border-radius: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 2px solid var(--pastel-yellow);
}
.mission-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-main);
    margin-top: 20px;
}

/* Staff Photos */
.staff-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--soft-blue);
}
.intro-lead {
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Office Info Table */
.info-table {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    border-collapse: collapse;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.info-table th,
.info-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.info-table th {
    background-color: var(--pastel-blue);
    width: 30%;
    font-weight: bold;
}
.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

/* Navigation active state */
.nav-links a.active {
    color: var(--primary-orange);
}

/* Responsive Table */
@media (max-width: 600px) {
    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
    }
    .info-table th {
        background-color: var(--bg-warm);
        padding-bottom: 5px;
    }
}

/* --- Additional styles for Service Page --- */

/* Service Intro Box */
.service-intro-box {
    background: var(--white);
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    border: 2px solid var(--pastel-blue);
    max-width: 800px;
    margin: 0 auto;
}

/* Benefit List */
.benefit-list {
    max-width: 600px;
    margin: 0 auto;
}
.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 15px 25px;
    border-radius: 50px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.check-icon {
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Comparison Table Header Styling */
.info-table thead th {
    background-color: var(--primary-orange);
    color: white;
    text-align: center;
}
.info-table tbody th {
    background-color: var(--bg-warm);
    text-align: center;
}

/* --- Vertical Timeline for flow.html --- */
.vertical-timeline {
    max-width: 600px;
    margin: 40px auto;
    position: relative;
    padding-left: 50px;
}

.vertical-timeline::before {
    content: "";
    position: absolute;
    left: 74px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--soft-blue);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    z-index: 2;
}

.time-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-main);
    flex-shrink: 0;
    background: white;
    border: 4px solid var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content {
    background: white;
    padding: 20px 25px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex-grow: 1;
}

.timeline-content h4 {
    color: var(--primary-orange);
    margin-bottom: 5px;
}

.flow-note-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border: 2px dashed var(--primary-orange);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
}

/* --- Onboarding Step Cards --- */
.onboarding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.onboarding-step {
    background: white;
    padding: 40px 25px;
    border-radius: 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.step-label {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-orange);
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
}

.onboarding-step h3 {
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Time Circle Colors */
.orange {
    border-color: var(--primary-orange);
}

/* Navigation Active State */
.nav-links a.active {
    color: var(--primary-orange);
    border-bottom: 2px solid var(--primary-orange);
}

/* --- Contact Page Styles --- */

.contact-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}
.contact-form {
    flex: 1.5;
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.info-group {
    margin-bottom: 40px;
}
.info-group h3 {
    font-size: 1.2rem;
    color: var(--primary-orange);
    margin-bottom: 15px;
}
.phone-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-top: 20px;
    color: #999;
}

/* Form Styling */
.form-item {
    margin-bottom: 25px;
}
.form-item label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}
.form-item label span {
    background: #ff4d4d;
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
}

.form-item input,
.form-item select,
.form-item textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    background: #fdfdfd;
}

.form-item input:focus,
.form-item select:focus,
.form-item textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: white;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}
.form-submit button {
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    width: 100%;
}

/* Responsive Contact */
@media (max-width: 850px) {
    .contact-layout {
        flex-direction: column;
    }
    .contact-info,
    .contact-form {
        width: 100%;
    }
}
