/* ========================================
   ENSIJAM Group — Inner Pages CSS
   Companion to style.css
   ======================================== */

/* ==============================
   REVEAL ANIMATIONS
   ============================== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s cubic-bezier(0.16,1,0.3,1), transform .7s cubic-bezier(0.16,1,0.3,1);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity .7s cubic-bezier(0.16,1,0.3,1), transform .7s cubic-bezier(0.16,1,0.3,1);
}
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity .7s cubic-bezier(0.16,1,0.3,1), transform .7s cubic-bezier(0.16,1,0.3,1);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity .7s cubic-bezier(0.16,1,0.3,1), transform .7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
    opacity: 1;
    transform: none;
}
.d-1 { transition-delay: .05s !important; }
.d-2 { transition-delay: .12s !important; }
.d-3 { transition-delay: .19s !important; }
.d-4 { transition-delay: .26s !important; }
.d-5 { transition-delay: .33s !important; }
.d-6 { transition-delay: .40s !important; }

/* ==============================
   ABOUT GRID (Who We Are section)
   ============================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-left h2, .about-left .overline { text-align: left; }
.about-left h2 { margin-bottom: 20px; }

/* ==============================
   INNER PAGE HERO
   ============================== */
.page-hero {
    min-height: 65vh;
    background: linear-gradient(160deg, #120d05 0%, #1b1408 50%, #2a1f0c 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.18;
    transform: scale(1.1);
    transition: transform 8s ease;
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(24,18,7,.92) 0%, rgba(24,18,7,.75) 60%, rgba(187,152,71,.08) 100%);
}
.page-hero-orb-1 {
    position: absolute; top: -20%; right: -10%; width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(187,152,71,.15) 0%, transparent 70%);
    pointer-events: none; will-change: transform;
}
.page-hero-orb-2 {
    position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230,86,68,.10) 0%, transparent 70%);
    pointer-events: none; will-change: transform;
}
.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
}
.page-hero-breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.5);
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 20px;
}
.page-hero-breadcrumb a { color: var(--gold); }
.page-hero-breadcrumb i { font-size: 8px; }
.page-hero h1 { color: #fff; margin-bottom: 20px; }
.page-hero h1 span { color: var(--gold); }
.page-hero p { color: rgba(255,255,255,.65); font-size: 1.1rem; max-width: 580px; line-height: 1.8; }
.page-hero-line {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 2.5px; color: var(--gold); margin-bottom: 16px;
}
.page-hero-line::before {
    content: ''; width: 32px; height: 2px; background: var(--gold);
}

/* ==============================
   FULLWIDTH PARALLAX SECTION
   ============================== */
.parallax-fullwidth {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.parallax-fullwidth-bg {
    position: absolute;
    inset: -15%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    will-change: transform;
}
.parallax-fullwidth-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(24,18,7,.88) 0%, rgba(24,18,7,.72) 60%, rgba(187,152,71,.06) 100%);
}
.parallax-fullwidth-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
    width: 100%;
}

/* ==============================
   STATS STRIP
   ============================== */
.stats-strip {
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: 50px 0;
}
.stats-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.stats-strip-item {
    text-align: center;
    padding: 20px;
    border-right: 1px solid rgba(255,255,255,.06);
    position: relative;
}
.stats-strip-item:last-child { border-right: none; }
.stats-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    font-family: 'Inter Tight', sans-serif;
}
.stats-num span { color: var(--gold); }
.stats-label {
    font-size: .8rem;
    font-weight: 600;
    color: rgba(255,255,255,.45);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 8px;
}

/* ==============================
   SERVICE LIST ITEMS (alternating)
   ============================== */
.service-list-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px 0;
    border-bottom: 1px solid var(--gray-100);
    position: relative;
}
.service-list-item:last-child { border-bottom: none; }
.service-list-item.reverse { direction: rtl; }
.service-list-item.reverse > * { direction: ltr; }
.service-list-visual {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}
.service-list-visual img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(0.16,1,0.3,1);
}
.service-list-item:hover .service-list-visual img { transform: scale(1.06); }
.service-list-visual-badge {
    position: absolute;
    bottom: 20px; left: 20px;
    background: rgba(24,18,7,.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(187,152,71,.3);
    border-radius: 12px;
    padding: 14px 20px;
    display: flex; align-items: center; gap: 12px;
    color: #fff;
}
.service-list-visual-badge i { color: var(--gold); font-size: 20px; }
.service-list-content .overline { text-align: left; }
.service-list-content h2 { margin-bottom: 16px; }
.service-list-content p { color: var(--text-light); margin-bottom: 24px; }
.service-list-features {
    display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px;
}
.service-feature-row {
    display: flex; align-items: center; gap: 10px;
    font-size: .875rem; font-weight: 500; color: var(--text);
}
.service-feature-row i { color: var(--gold); font-size: 13px; width: 16px; }

/* ==============================
   WHY CHOOSE US GRID
   ============================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.why-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 20px;
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: transform .5s cubic-bezier(0.16,1,0.3,1), box-shadow .5s;
}
.why-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s cubic-bezier(0.16,1,0.3,1);
}
.why-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(24,18,7,.1); }
.why-card:hover::before { transform: scaleX(1); }
.why-icon {
    width: 58px; height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(187,152,71,.1), rgba(187,152,71,.05));
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 24px;
    margin-bottom: 20px;
    transition: .3s;
}
.why-card:hover .why-icon { background: var(--gold); color: #fff; }
.why-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.why-card p { font-size: .875rem; color: var(--text-light); line-height: 1.7; }

/* ==============================
   TEAM GRID (Large cards)
   ============================== */
.team-grid-large {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.team-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: var(--navy);
    aspect-ratio: 3/4;
}
.team-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(0.16,1,0.3,1);
    filter: grayscale(20%);
}
.team-card:hover img { transform: scale(1.06); filter: grayscale(0%); }
.team-card-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(0deg, rgba(24,18,7,.95) 0%, transparent 100%);
    padding: 40px 20px 20px;
    transform: translateY(8px);
    transition: transform .4s cubic-bezier(0.16,1,0.3,1);
}
.team-card:hover .team-card-info { transform: translateY(0); }
.team-card-info h4 { color: #fff; font-size: 1rem; font-weight: 700; }
.team-card-info span { color: var(--gold); font-size: .8rem; font-weight: 600; letter-spacing: .5px; }

/* ==============================
   TIMELINE
   ============================== */
.timeline {
    position: relative;
    padding-left: 40px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 12px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold) 0%, rgba(187,152,71,.1) 100%);
}
.timeline-item {
    position: relative;
    padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
    position: absolute;
    left: -34px; top: 4px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--navy);
    border: 3px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
}
.timeline-dot::after {
    content: ''; width: 6px; height: 6px;
    border-radius: 50%; background: var(--gold);
}
.timeline-year {
    font-size: .75rem; font-weight: 700;
    color: var(--gold); text-transform: uppercase;
    letter-spacing: 1.5px; margin-bottom: 6px;
}
.timeline-item h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.timeline-item p { font-size: .875rem; color: var(--text-light); line-height: 1.65; }

/* ==============================
   SERVICE DETAIL TABS
   ============================== */
.service-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--gray-100);
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.service-tab-btn {
    padding: 12px 24px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--gray-400);
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: .25s;
    font-family: 'Inter Tight', sans-serif;
    letter-spacing: -.01em;
}
.service-tab-btn.active, .service-tab-btn:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}
.service-tab-panel { display: none; }
.service-tab-panel.active { display: block; }

/* ==============================
   CTA BANNER
   ============================== */
.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, #33270e 50%, #241a0a 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    text-align: center;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(187,152,71,.12) 0%, transparent 60%);
    pointer-events: none;
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner h2 span { color: var(--gold); }
.cta-banner p { color: rgba(255,255,255,.6); font-size: 1.05rem; margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-banner-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ==============================
   FAQ ACCORDION
   ============================== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .3s;
}
.faq-item.open { box-shadow: 0 8px 32px rgba(24,18,7,.08); border-color: rgba(187,152,71,.2); }
.faq-q {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600; font-size: .9375rem; color: var(--navy);
    font-family: 'Inter Tight', sans-serif;
    gap: 16px;
}
.faq-q i { color: var(--gold); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(0.16,1,0.3,1), padding .3s;
    font-size: .875rem;
    color: var(--text-light);
    line-height: 1.75;
}
.faq-a-inner { padding: 0 24px 20px; }
.faq-item.open .faq-a { max-height: 400px; }

/* ==============================
   PROCESS STEPS
   ============================== */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 32px;
}
.process-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding-bottom: 32px;
    position: relative;
}
.process-step:last-child { padding-bottom: 0; }
.process-step-num {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #fff;
    font-weight: 900;
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.process-step::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: var(--gray-100);
    transform: translateX(-50%);
}
.process-step:last-child::before { display: none; }
.process-step-body h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; padding-top: 10px; }
.process-step-body p { font-size: .875rem; color: var(--text-light); line-height: 1.7; }

/* ==============================
   COST TABLE
   ============================== */
.cost-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 28px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(24,18,7,.06);
}
.cost-table thead tr {
    background: var(--navy);
    color: #fff;
}
.cost-table thead th {
    padding: 14px 20px;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
}
.cost-table tbody tr {
    border-bottom: 1px solid var(--gray-100);
    transition: background .2s;
}
.cost-table tbody tr:last-child { border-bottom: none; }
.cost-table tbody tr:hover { background: var(--off-white); }
.cost-table tbody td {
    padding: 14px 20px;
    font-size: .875rem;
    color: var(--text);
}
.cost-table tbody td:last-child { font-weight: 700; color: var(--navy); }
.cost-table tfoot tr { background: rgba(187,152,71,.08); }
.cost-table tfoot td {
    padding: 14px 20px;
    font-size: .9rem;
    font-weight: 700;
    color: var(--navy);
    border-top: 2px solid var(--gold);
}

/* ==============================
   BENEFITS INTRO LAYOUT
   ============================== */
.benefits-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 60px;
}
.benefits-intro img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* ==============================
   RESPONSIVE
   ============================== */
@media(max-width:960px){
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .benefits-intro { grid-template-columns: 1fr; gap: 40px; }
}

@media(max-width:768px){
    .service-list-item,
    .service-list-item.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
        direction: ltr;
    }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .team-grid-large { grid-template-columns: 1fr 1fr; }
    .stats-strip-grid { grid-template-columns: 1fr 1fr; }
    .page-hero { min-height: 50vh; }
    .page-hero-content { padding: 90px 0 60px; }
    .parallax-fullwidth { min-height: auto; }
    .parallax-fullwidth-content { padding: 60px 0; }
    .parallax-fullwidth-content .container > div {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .timeline { padding-left: 30px; }
    .cta-banner { padding: 70px 0; }
    .process-step { grid-template-columns: 40px 1fr; gap: 14px; }
    .process-step-num { width: 40px; height: 40px; font-size: .875rem; }
    .process-step::before { left: 20px; }
}

@media(max-width:480px){
    .why-grid,
    .team-grid-large,
    .stats-strip-grid { grid-template-columns: 1fr; }
    .stats-strip-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
    .stats-strip-item:last-child { border-bottom: none; }
    .service-tabs { gap: 4px; }
    .service-tab-btn { padding: 10px 16px; font-size: .8rem; }
    .cost-table { font-size: .8rem; }
    .cost-table thead th, .cost-table tbody td, .cost-table tfoot td { padding: 10px 14px; }
}
