/* ══════════════════════════════════════════════
   EnoSea — Multi-Page Styles
   Shared styles for all subpages
   ══════════════════════════════════════════════ */

/* ── Page Hero (used on all inner pages) ── */
.page-hero {
    background: linear-gradient(160deg, var(--primary) 0%, #0d3259 50%, var(--primary-light) 100%);
    color: var(--white);
    padding: 6rem 0 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.page-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ── Content Sections ── */
.content-section {
    padding: 5rem 0;
}

.content-section:nth-child(even) {
    background: var(--bg-light);
}

.content-section h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.content-section h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.content-section p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}

/* ── Two Column Layout ── */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.two-col-text h2 {
    margin-bottom: 1rem;
}

.two-col-text p {
    margin-bottom: 1rem;
}

/* ── Feature List ── */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ── Stats Row ── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    padding: 3rem 0;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

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

.team-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    font-weight: 700;
}

.team-card h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.team-card .role {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
}

.team-card p {
    font-size: 0.88rem;
    color: var(--text-light);
}

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

.value-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.value-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--accent);
}

.value-card h3 {
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ── Timeline ── */
.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.6rem;
    top: 0.4rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg-light);
}

.timeline-item h3 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.timeline-item .year {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.timeline-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ── Career / Job Cards ── */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.job-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.job-card h3 {
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.job-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.job-meta span {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    background: rgba(0, 163, 224, 0.1);
    color: var(--accent);
}

.job-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.job-card .btn-apply {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    border: 2px solid var(--accent);
    background: var(--accent);
    color: var(--white);
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.job-card .btn-apply:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

/* ── Benefits Grid ── */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 0.6rem;
}

.benefit-card h3 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.benefit-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ── News / Insights ── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.news-thumb {
    height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.news-body {
    padding: 1.5rem;
}

.news-date {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.news-body h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news-body p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.news-body .read-more {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
}

.news-body .read-more:hover {
    text-decoration: underline;
}

/* ── Contact Form ── */
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    transition: border-color 0.3s;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 163, 224, 0.1);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-submit {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid var(--accent);
    background: var(--accent);
    color: var(--white);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    align-self: flex-start;
}

.btn-submit:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 163, 224, 0.3);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.contact-detail-item h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-detail-item p,
.contact-detail-item a {
    font-size: 1rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.contact-detail-item a:hover {
    text-decoration: underline;
}

/* ── Solution Detail Cards ── */
.solution-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.solution-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.solution-detail.reverse {
    direction: rtl;
}

.solution-detail.reverse > * {
    direction: ltr;
}

.solution-visual {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.25);
}

.solution-text h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.solution-text p {
    margin-bottom: 1rem;
}

/* ── CTA Banner ── */
.cta-banner {
    background: linear-gradient(160deg, var(--primary) 0%, #0d3259 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-banner h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.cta-banner .cta-button {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid var(--accent);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    background-color: var(--accent);
    color: var(--white);
}

.cta-banner .cta-button:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 163, 224, 0.3);
}

/* ── Industry Detail Cards ── */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.industry-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.industry-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.industry-card h3 {
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.industry-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ── Legal Pages ── */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 2rem 0 0.75rem;
}

.legal-content h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin: 1.5rem 0 0.5rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    margin: 0.5rem 0 1rem 1.5rem;
}

.legal-content ul li {
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ── Responsive for Pages ── */
@media (max-width: 1024px) {
    .team-grid,
    .values-grid,
    .industry-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }

    .two-col,
    .solution-detail,
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .solution-detail.reverse {
        direction: ltr;
    }

    .team-grid,
    .values-grid,
    .industry-grid,
    .news-grid,
    .jobs-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
