/* ========================================
   PAGES.CSS — Interior page components
   Shared by all pages except landing (index.html uses style.css primarily)
   ======================================== */

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, #1a3c34 0%, #2d6b54 100%);
    padding: 64px 0 48px;
    color: #ffffff;
    text-align: center;
}

.page-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-banner h1 {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.page-banner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb .sep {
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb .current {
    color: #ffffff;
    font-weight: 600;
}

/* Page Section */
.page-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 20px;
}

.page-section-heading {
    font-size: 36px;
    font-weight: 300;
    color: #1a3c34;
    letter-spacing: -0.4px;
    margin-bottom: 16px;
}

.page-section-sub {
    font-size: 16px;
    color: #6a6b76;
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 40px;
}

/* Content Card */
.content-card {
    background: #ffffff;
    border: 1px solid #d4ddd8;
    border-radius: 16px;
    padding: 32px;
    transition: box-shadow 0.3s, transform 0.3s;
}

.content-card:hover {
    box-shadow: 0 8px 24px rgba(26, 60, 52, 0.08);
    transform: translateY(-2px);
}

.content-card-icon {
    width: 56px;
    height: 56px;
    background: #dff7d7;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #3b9b78;
    margin-bottom: 20px;
}

.content-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 8px;
}

.content-card p {
    font-size: 15px;
    color: #6a6b76;
    line-height: 1.6;
}

/* Stats Row */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
    padding: 48px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 52px;
    font-weight: 800;
    color: #3b9b78;
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 14px;
    color: #6a6b76;
    font-weight: 500;
}

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Icon Feature Grid */
.icon-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Two Column Layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #d4ddd8;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Outfit', sans-serif;
    color: #222222;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #3b9b78;
    box-shadow: 0 0 0 3px rgba(59, 155, 120, 0.12);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: #3b9b78;
    color: #ffffff;
    border: 2px solid #3b9b78;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.25s;
}

.form-submit:hover {
    background: #1a3c34;
    border-color: #1a3c34;
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content .last-updated {
    font-size: 14px;
    color: #6a6b76;
    margin-bottom: 32px;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a3c34;
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-content p,
.legal-content li {
    font-size: 16px;
    color: #6a6b76;
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-content ul {
    padding-left: 24px;
    list-style: disc;
    margin-bottom: 16px;
}

/* Accordion */
.accordion-item {
    border: 1px solid #d4ddd8;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-header {
    padding: 18px 24px;
    background: #ffffff;
    font-size: 16px;
    font-weight: 600;
    color: #222222;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.accordion-header:hover {
    background: #f0fdf0;
}

.accordion-header i {
    font-size: 14px;
    color: #6a6b76;
    transition: transform 0.3s;
}

.accordion-item.open .accordion-header i {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.open .accordion-body {
    max-height: 500px;
}

.accordion-body-inner {
    padding: 0 24px 20px;
    font-size: 15px;
    color: #6a6b76;
    line-height: 1.6;
}

/* Job Card */
.job-card {
    background: #ffffff;
    border: 1px solid #d4ddd8;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: box-shadow 0.2s;
}

.job-card:hover {
    box-shadow: 0 4px 16px rgba(26, 60, 52, 0.06);
}

.job-card-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 8px;
}

.job-card-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #6a6b76;
}

.job-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.job-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #dff7d7;
    color: #1a3c34;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.job-apply-btn {
    padding: 10px 28px;
    background: transparent;
    color: #1a3c34;
    border: 1px solid #1a3c34;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
}

.job-apply-btn:hover {
    background: #1a3c34;
    color: #ffffff;
}

/* Store Card */
.store-card {
    background: #ffffff;
    border: 1px solid #d4ddd8;
    border-radius: 14px;
    padding: 24px;
}

.store-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 10px;
}

.store-card p {
    font-size: 14px;
    color: #6a6b76;
    line-height: 1.5;
    margin-bottom: 4px;
}

.store-card .store-hours {
    color: #3b9b78;
    font-weight: 600;
    font-size: 13px;
    margin-top: 8px;
}

/* Contact Info Cards */
.contact-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    background: #f0fdf0;
    border-radius: 14px;
    margin-bottom: 16px;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    background: #3b9b78;
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 14px;
    color: #6a6b76;
    line-height: 1.5;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #d4ddd8;
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
    padding-left: 24px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 4px;
    width: 14px;
    height: 14px;
    background: #3b9b78;
    border-radius: 50%;
    border: 3px solid #dff7d7;
}

.timeline-year {
    font-size: 14px;
    font-weight: 700;
    color: #3b9b78;
    margin-bottom: 4px;
}

.timeline-text {
    font-size: 15px;
    color: #6a6b76;
    line-height: 1.5;
}

/* Category Browse Card */
.category-browse-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.category-browse-card {
    position: relative;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.category-browse-card:hover {
    transform: translateY(-4px);
}

.category-browse-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-browse-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0,0,0,0.7));
}

.category-browse-card span {
    position: absolute;
    bottom: 14px;
    left: 16px;
    z-index: 2;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
}

/* Stepper */
.stepper {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    counter-reset: step;
}

.stepper-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.stepper-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #3b9b78;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.stepper-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 4px;
}

.stepper-item p {
    font-size: 13px;
    color: #6a6b76;
}

/* Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #d4ddd8;
}

.data-table th {
    background: #1a3c34;
    color: #ffffff;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}

.data-table td {
    padding: 14px 20px;
    font-size: 15px;
    color: #222222;
    border-bottom: 1px solid #f0f0f0;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: #f0fdf0;
}

/* Footer Bottom Bar */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
    border-top: 1px solid #d4ddd8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #6a6b76;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: #6a6b76;
    font-size: 18px;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: #3b9b78;
}

/* Stock Card */
.stock-card {
    background: #1a3c34;
    border-radius: 16px;
    padding: 32px;
    color: #ffffff;
}

.stock-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.stock-info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}

.stock-info-row:last-child {
    border-bottom: none;
}

.stock-info-row .label {
    color: rgba(255,255,255,0.6);
}

.stock-info-row .value {
    font-weight: 600;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding: 24px;
    background: #f0fdf0;
    border-radius: 16px;
}

.filter-bar .form-group {
    margin-bottom: 0;
    flex: 1;
    min-width: 200px;
}

/* Partner Type Cards */
.partner-card {
    background: #ffffff;
    border: 1px solid #d4ddd8;
    border-radius: 16px;
    padding: 36px;
    text-align: center;
    transition: all 0.3s;
}

.partner-card:hover {
    border-color: #3b9b78;
    box-shadow: 0 8px 24px rgba(59, 155, 120, 0.1);
}

.partner-card-icon {
    width: 64px;
    height: 64px;
    background: #dff7d7;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #3b9b78;
    margin: 0 auto 20px;
}

.partner-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 8px;
}

.partner-card p {
    font-size: 14px;
    color: #6a6b76;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

/* Investor Report Card */
.report-card {
    background: #ffffff;
    border: 1px solid #d4ddd8;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    transition: box-shadow 0.2s;
}

.report-card:hover {
    box-shadow: 0 4px 16px rgba(26,60,52,0.06);
}

.report-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 8px;
}

.report-card p {
    font-size: 13px;
    color: #6a6b76;
    margin-bottom: 16px;
}

.report-card a {
    color: #3b9b78;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.report-card a:hover {
    text-decoration: underline;
}


/* Consistent short hero for inner pages */
.page-hero-short {
    max-height: 380px;
    min-height: 320px;
}
.page-hero-short .hero-body {
    padding-top: 80px;
    padding-bottom: 40px;
}
.page-hero-short .hero-headline {
    font-size: clamp(28px, 5vw, 44px);
}
.page-hero-short .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 16px;
}
.page-hero-short .breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}
.page-hero-short .breadcrumb .sep {
    color: rgba(255, 255, 255, 0.3);
}
.page-hero-short .breadcrumb .current {
    color: rgba(255, 255, 255, 0.8);
}
/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .icon-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .category-browse-grid { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-row { gap: 32px; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .page-banner { padding: 48px 0 36px; }
    .page-banner h1 { font-size: 32px; }
    .page-banner p { font-size: 16px; }
    .page-section { padding: 40px 20px; }
    .page-section-heading { font-size: 28px; }

    .two-col { grid-template-columns: 1fr; gap: 32px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .icon-feature-grid { grid-template-columns: 1fr; }
    .category-browse-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-row { gap: 24px; }
    .stat-number { font-size: 40px; }

    .stepper { flex-direction: column; gap: 24px; }

    .job-card { flex-direction: column; align-items: flex-start; }

    .filter-bar { flex-direction: column; }
    .filter-bar .form-group { min-width: 100%; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid img { height: 150px; }

    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
    .page-banner h1 { font-size: 26px; }
    .category-browse-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .category-browse-card { height: 140px; }
    .stats-row { flex-direction: column; gap: 20px; }
}
