/* ==========================================================================
   Wise Digital LLC — Sub-Pages Stylesheet
   ========================================================================== */

/* ---- Page Hero Banner ---- */
.page-hero {
    width: 100%;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #1B2A4A 0%, #0F172A 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 70%);
    top: -200px; right: -200px;
}
.page-hero::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 70%);
    bottom: -150px; left: -100px;
}
.page-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    position: relative; z-index: 1;
}
.page-hero .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 15px;
    position: relative; z-index: 1;
}
.page-hero .breadcrumb a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s;
}
.page-hero .breadcrumb a:hover { color: #F97316; }
.page-hero .breadcrumb span.separator { color: #475569; }
.page-hero .breadcrumb span.current { color: #F97316; }

/* ---- Page Sections ---- */
.page-section { padding: 80px 0; }
.page-section.alt { background: #F8FAFC; }
.page-section .section-header { text-align: center; margin-bottom: 60px; }
.page-section .section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #1B2A4A;
    margin-bottom: 16px;
}
.page-section .section-header p {
    color: #475569;
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- About Page: Mission/Vision/Values ---- */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.mv-card {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    border-left: 4px solid #F97316;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
.mv-card .mv-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(249,115,22,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #F97316;
}
.mv-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #1B2A4A;
    margin-bottom: 12px;
}
.mv-card p { color: #475569; line-height: 1.7; font-size: 15px; }

/* ---- About Page: Story Grid ---- */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.story-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 36px; font-weight: 700; color: #1B2A4A; margin-bottom: 24px;
}
.story-content p { color: #475569; line-height: 1.8; margin-bottom: 16px; font-size: 16px; }
.story-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(249,115,22,0.1); color: #F97316;
    padding: 8px 16px; border-radius: 50px;
    font-weight: 600; font-size: 14px; margin-bottom: 20px;
}
.story-image-placeholder {
    width: 100%; height: 400px;
    border-radius: 16px;
    background: linear-gradient(135deg, #F97316 0%, #2563EB 100%);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5); font-size: 48px;
}

/* ---- Timeline ---- */
.timeline { position: relative; padding-left: 40px; border-left: 3px solid #E2E8F0; max-width: 700px; margin: 0 auto; }
.timeline-item { position: relative; margin-bottom: 40px; padding-left: 30px; }
.timeline-item::before {
    content: '';
    width: 16px; height: 16px;
    border-radius: 50%;
    background: #F97316;
    position: absolute;
    left: -49px; top: 4px;
}
.timeline-item .year { color: #F97316; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 18px; }
.timeline-item h3 { font-family: 'Outfit', sans-serif; font-size: 18px; color: #1B2A4A; margin: 4px 0; }
.timeline-item p { color: #475569; font-size: 15px; line-height: 1.6; }

/* ---- Stats Row ---- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stats-row .stat-box {
    background: #fff;
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07);
}
.stats-row .stat-box .stat-num {
    font-family: 'Outfit', sans-serif; font-size: 42px; font-weight: 700; color: #F97316;
}
.stats-row .stat-box .stat-lbl { color: #475569; font-size: 14px; margin-top: 4px; }

/* ---- Service Detail ---- */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid #E2E8F0;
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-number {
    font-family: 'Outfit', sans-serif; font-size: 80px; font-weight: 800;
    color: rgba(249,115,22,0.15); line-height: 1;
}
.service-detail h3 {
    font-family: 'Outfit', sans-serif; font-size: 28px; color: #1B2A4A; margin: 8px 0 16px;
}
.service-detail p { color: #475569; line-height: 1.8; margin-bottom: 12px; }
.feature-list { list-style: none; padding: 0; margin-top: 24px; }
.feature-list li {
    padding: 10px 0 10px 28px; position: relative; color: #475569; font-size: 15px;
}
.feature-list li::before { content: '✓'; color: #F97316; font-weight: 700; position: absolute; left: 0; }
.service-icon-large {
    width: 100%; height: 320px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.4); font-size: 64px;
}

/* ---- Process Grid ---- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }
.process-step { text-align: center; padding: 32px 24px; }
.process-step .step-number {
    width: 56px; height: 56px; border-radius: 50%;
    background: #F97316; color: #fff;
    font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 20px;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.process-step h4 { font-family: 'Outfit', sans-serif; color: #1B2A4A; font-size: 16px; margin-bottom: 8px; }
.process-step p { color: #475569; font-size: 14px; line-height: 1.6; }

/* ---- Comparison Table ---- */
.table-wrap { overflow-x: auto; margin-top: 40px; }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.comparison-table th {
    background: #1B2A4A; color: #fff; padding: 16px; text-align: left;
    font-family: 'Outfit', sans-serif; font-size: 15px;
}
.comparison-table th.featured-col { background: #F97316; }
.comparison-table td { padding: 14px 16px; border-bottom: 1px solid #E2E8F0; font-size: 15px; color: #475569; }
.comparison-table td.featured-col { background: rgba(249,115,22,0.05); }
.comparison-table tr:hover td { background: #F8FAFC; }
.comparison-table tr:hover td.featured-col { background: rgba(249,115,22,0.1); }
.comparison-table .check { color: #F97316; font-size: 20px; font-weight: 700; }
.comparison-table .cross { color: #CBD5E1; }

/* ---- Team Detail ---- */
.team-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.team-detail-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.team-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
.team-detail-card .card-photo {
    height: 200px; display: flex; align-items: center; justify-content: center; position: relative;
}
.team-detail-card .avatar-large {
    width: 100px; height: 100px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 36px;
    color: #fff; background: rgba(255,255,255,0.2);
    border: 3px solid rgba(255,255,255,0.3);
}
.team-detail-card .card-body { padding: 24px; text-align: center; }
.team-detail-card .card-body h3 { font-family: 'Outfit', sans-serif; font-size: 20px; color: #1B2A4A; }
.team-detail-card .card-body .role { color: #F97316; font-size: 14px; font-weight: 500; display: block; margin: 4px 0 12px; }
.team-detail-card .card-body .bio { color: #475569; font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.team-detail-card .card-body .social-links { display: flex; justify-content: center; gap: 12px; }
.team-detail-card .card-body .social-links a {
    width: 36px; height: 36px; border-radius: 50%; background: #F8FAFC;
    display: flex; align-items: center; justify-content: center; color: #1B2A4A;
    transition: all 0.3s;
}
.team-detail-card .card-body .social-links a:hover { background: #2563EB; color: #fff; }

/* ---- Blog Listing ---- */
.blog-listing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.blog-listing-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07);
    display: flex; transition: all 0.3s;
}
.blog-listing-card:hover { transform: translateY(-3px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.blog-listing-card .card-image {
    width: 260px; min-height: 220px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.4); font-size: 36px;
}
.blog-listing-card .card-content { padding: 28px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.blog-listing-card .tag {
    display: inline-block; background: rgba(37,99,235,0.1); color: #2563EB;
    font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px;
    margin-bottom: 12px; width: fit-content;
}
.blog-listing-card h3 {
    font-family: 'Outfit', sans-serif; font-size: 18px; color: #1B2A4A; margin-bottom: 8px;
}
.blog-listing-card h3 a { color: inherit; text-decoration: none; transition: color 0.3s; }
.blog-listing-card h3 a:hover { color: #F97316; }
.blog-listing-card .excerpt { color: #475569; font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.blog-listing-card .card-meta { color: #94A3B8; font-size: 13px; display: flex; justify-content: space-between; }
.blog-listing-card .card-meta a { color: #2563EB; font-weight: 600; text-decoration: none; }
.blog-listing-card .card-meta a:hover { color: #F97316; }

/* Featured blog post */
.featured-post {
    background: linear-gradient(135deg, #1B2A4A, #0F172A);
    border-radius: 20px; padding: 60px; color: #fff; margin-bottom: 60px;
    position: relative; overflow: hidden;
}
.featured-post::before {
    content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%;
    background: radial-gradient(circle, rgba(249,115,22,0.2), transparent);
    top: -100px; right: -50px;
}
.featured-post .tag { background: rgba(249,115,22,0.2); color: #F97316; padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; display: inline-block; margin-bottom: 16px; }
.featured-post h2 { font-family: 'Outfit', sans-serif; font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.featured-post h2 a { color: #fff; text-decoration: none; }
.featured-post h2 a:hover { color: #F97316; }
.featured-post .excerpt { color: rgba(255,255,255,0.8); font-size: 16px; line-height: 1.7; max-width: 700px; margin-bottom: 20px; }
.featured-post .meta { color: #94A3B8; font-size: 14px; }

/* ---- Blog Post ---- */
.post-content { max-width: 800px; margin: 0 auto; }
.post-header { margin-bottom: 40px; }
.post-header h1 { font-family: 'Outfit', sans-serif; font-size: 36px; font-weight: 700; color: #1B2A4A; line-height: 1.3; }
.post-meta { display: flex; gap: 16px; color: #94A3B8; font-size: 14px; margin-top: 16px; align-items: center; flex-wrap: wrap; }
.post-meta .tag { background: rgba(37,99,235,0.1); color: #2563EB; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.post-body { font-size: 17px; line-height: 1.9; color: #475569; }
.post-body h2 { font-family: 'Outfit', sans-serif; font-size: 24px; font-weight: 600; color: #1B2A4A; margin: 40px 0 16px; }
.post-body p { margin-bottom: 20px; }
.post-body blockquote {
    border-left: 4px solid #F97316; padding: 20px 24px; background: #F8FAFC;
    margin: 24px 0; font-style: italic; font-size: 18px; color: #1B2A4A;
    border-radius: 0 12px 12px 0;
}
.share-buttons { display: flex; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid #E2E8F0; }
.share-btn {
    width: 44px; height: 44px; border-radius: 50%; background: #F8FAFC; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center; color: #1B2A4A; transition: all 0.3s;
}
.share-btn:hover { background: #F97316; color: #fff; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* ---- Contact Page ---- */
.contact-page-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; }
.contact-page-form {
    background: #fff; padding: 40px; border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07);
}
.contact-page-form .form-group { margin-bottom: 20px; }
.contact-page-form label { display: block; font-size: 14px; font-weight: 600; color: #1B2A4A; margin-bottom: 8px; }
.contact-page-form input,
.contact-page-form select,
.contact-page-form textarea {
    width: 100%; padding: 14px 16px; border: 1px solid #E2E8F0; border-radius: 10px;
    font-size: 15px; font-family: 'Inter', sans-serif; transition: all 0.3s;
    box-sizing: border-box;
}
.contact-page-form input:focus,
.contact-page-form select:focus,
.contact-page-form textarea:focus { border-color: #2563EB; outline: none; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.contact-page-form textarea { min-height: 140px; resize: vertical; }
.contact-page-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-page-form .submit-btn {
    width: 100%; padding: 16px; background: #F97316; color: #fff; border: none; border-radius: 50px;
    font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}
.contact-page-form .submit-btn:hover { background: #EA580C; transform: translateY(-2px); }
.contact-info-right .info-card {
    display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px;
}
.contact-info-right .icon-box {
    width: 48px; height: 48px; border-radius: 12px; background: rgba(249,115,22,0.1);
    display: flex; align-items: center; justify-content: center; color: #F97316; flex-shrink: 0;
}
.contact-info-right h4 { font-family: 'Outfit', sans-serif; font-size: 16px; color: #1B2A4A; margin-bottom: 4px; }
.contact-info-right p { color: #475569; font-size: 15px; }
.map-placeholder {
    width: 100%; height: 300px; border-radius: 16px; background: #E2E8F0;
    display: flex; align-items: center; justify-content: center; color: #94A3B8;
    font-size: 16px; margin-top: 40px;
}
.office-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.office-card {
    background: #fff; padding: 28px; border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07); text-align: center;
}
.office-card h4 { font-family: 'Outfit', sans-serif; font-size: 18px; color: #1B2A4A; margin-bottom: 8px; }
.office-card p { color: #475569; font-size: 14px; margin-bottom: 16px; }
.office-card .card-btn {
    display: inline-block; padding: 10px 28px; border-radius: 50px; font-weight: 600; font-size: 14px;
    text-decoration: none; transition: all 0.3s;
    border: 2px solid #2563EB; color: #2563EB;
}
.office-card .card-btn:hover { background: #2563EB; color: #fff; }

/* ---- Portfolio ---- */
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.portfolio-card {
    border-radius: 16px; overflow: hidden; min-height: 380px;
    position: relative; cursor: pointer; transition: all 0.3s;
}
.portfolio-card:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2); }
.portfolio-card .card-bg { width: 100%; height: 100%; position: absolute; inset: 0; }
.portfolio-card .card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    padding: 32px; display: flex; flex-direction: column; justify-content: flex-end;
}
.portfolio-card h3 { color: #fff; font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 700; }
.portfolio-card .subtitle { color: rgba(255,255,255,0.7); font-size: 14px; margin-top: 4px; }
.portfolio-card .tags { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.portfolio-card .tags span {
    background: rgba(249,115,22,0.2); color: #F97316;
    padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600;
}
.portfolio-card .metrics { display: flex; gap: 32px; margin-top: 16px; }
.portfolio-card .metric .value { color: #fff; font-family: 'Outfit', sans-serif; font-size: 24px; font-weight: 700; }
.portfolio-card .metric .label { color: rgba(255,255,255,0.6); font-size: 12px; }

/* Client logos */
.client-logos {
    display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 40px;
}
.client-logo-badge {
    padding: 12px 28px; border-radius: 50px; background: #fff; border: 1px solid #E2E8F0;
    font-family: 'Outfit', sans-serif; font-weight: 600; color: #94A3B8; font-size: 14px;
    transition: all 0.3s;
}
.client-logo-badge:hover { border-color: #F97316; color: #F97316; }

/* ---- CTA Section ---- */
.cta-section {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%;
    background: rgba(255,255,255,0.1); top: -150px; left: -100px;
}
.cta-section h2 {
    font-family: 'Outfit', sans-serif; font-size: 36px; font-weight: 700; color: #fff;
    position: relative; z-index: 1;
}
.cta-section p { color: rgba(255,255,255,0.9); max-width: 600px; margin: 16px auto 32px; font-size: 17px; position: relative; z-index: 1; }
.cta-btn {
    display: inline-block; background: #fff; color: #1B2A4A;
    padding: 16px 40px; border-radius: 50px; font-family: 'Outfit', sans-serif;
    font-weight: 600; font-size: 16px; text-decoration: none;
    transition: all 0.3s; position: relative; z-index: 1;
}
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }

/* Load More */
.load-more-wrap { text-align: center; margin-top: 48px; }
.load-more-btn {
    display: inline-block; padding: 14px 40px; border: 2px solid #2563EB;
    color: #2563EB; border-radius: 50px; font-weight: 600; font-size: 15px;
    text-decoration: none; transition: all 0.3s; cursor: pointer; background: transparent;
    font-family: 'Inter', sans-serif;
}
.load-more-btn:hover { background: #2563EB; color: #fff; }

/* Join Team */
.join-team {
    background: linear-gradient(135deg, #1B2A4A, #0F172A);
    border-radius: 20px; padding: 60px; text-align: center; color: #fff;
}
.join-team h2 { font-family: 'Outfit', sans-serif; font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.join-team p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 32px; font-size: 16px; line-height: 1.7; }
.join-team .join-btn {
    display: inline-block; padding: 14px 36px; background: #F97316; color: #fff;
    border-radius: 50px; font-weight: 600; text-decoration: none; transition: all 0.3s;
}
.join-team .join-btn:hover { background: #EA580C; transform: translateY(-2px); }

/* Form messages */
.form-success-page {
    display: none; padding: 16px; background: rgba(16,185,129,0.1); border-radius: 12px;
    color: #059669; font-weight: 500; text-align: center; margin-top: 16px;
}
.form-success-page.show { display: block; }
.error-msg { color: #EF4444; font-size: 13px; margin-top: 4px; display: none; }
.error-msg.show { display: block; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .service-detail { gap: 40px; }
    .team-detail-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .page-hero { padding: 140px 0 60px; }
    .page-hero h1 { font-size: 36px; }
    .page-section .section-header h2 { font-size: 28px; }
    .mission-vision-grid { grid-template-columns: 1fr; }
    .story-grid { grid-template-columns: 1fr; }
    .service-detail { grid-template-columns: 1fr; }
    .service-detail.reverse { direction: ltr; }
    .service-icon-large { height: 200px; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .comparison-table { min-width: 500px; }
    .team-detail-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .blog-listing-grid { grid-template-columns: 1fr; }
    .blog-listing-card { flex-direction: column; }
    .blog-listing-card .card-image { width: 100%; height: 200px; }
    .contact-page-grid { grid-template-columns: 1fr; }
    .contact-page-form .form-row { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .office-cards { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .featured-post { padding: 40px 24px; }
    .featured-post h2 { font-size: 24px; }
    .cta-section h2 { font-size: 28px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .process-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 30px; }
    .join-team { padding: 40px 24px; }
}
