/* jci-style.css */

/* --- SCOPED RESET & VARIABLES --- */
.jci-page-wrapper * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.jci-page-wrapper {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #4a5568;
    line-height: 1.7;
    width: 100%;
    overflow-x: hidden;
    background-color: #fff;
}

/* --- UTILITIES --- */
.jci-page-wrapper .jci-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.jci-page-wrapper .jci-section {
    padding: 80px 0;
    position: relative;
}

/* Backgrounds */
.jci-page-wrapper .jci-bg-light { background-color: #f8fafc; /* Cool grey/white */ }
.jci-page-wrapper .jci-bg-white { background-color: #ffffff; }
.jci-page-wrapper .jci-bg-dark { background-color: #0f172a; color: #fff; /* Slate Dark */ }

.jci-page-wrapper .jci-text-white { color: #ffffff !important; }
.jci-page-wrapper .jci-text-center { text-align: center; }
.jci-page-wrapper .jci-mt-4 { margin-top: 2.5rem; }
.jci-page-wrapper .jci-mt-6 { margin-top: 6rem; } /* Large gap for floating icon */
.jci-page-wrapper .jci-mb-4 { margin-bottom: 2rem; }

/* --- TYPOGRAPHY --- */
.jci-page-wrapper .jci-heading {
    font-size: 34px;
    font-weight: 700;
    color: #0E88C7; /* Primary Blue */
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.jci-page-wrapper .jci-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #ff6600;
    margin-top: 10px;
    border-radius: 2px;
}

.jci-page-wrapper .jci-text-center .jci-heading::after {
    margin-left: auto;
    margin-right: auto;
}

.jci-page-wrapper .jci-subheading {
    font-size: 24px;
    color: #0E88C7;
    margin-bottom: 15px;
}

.jci-page-wrapper .jci-text {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 15px;
}

.jci-page-wrapper .jci-bg-dark .jci-text,
.jci-page-wrapper .jci-text-white .jci-text {
    color: #e2e8f0;
}

.jci-page-wrapper .jci-cite {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 5px;
}

/* --- BUTTONS --- */
.jci-page-wrapper .jci-btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.jci-page-wrapper .jci-btn-primary {
    background-color: #ff6600;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.jci-page-wrapper .jci-btn-primary:hover {
    transform: translateY(-3px);
    background-color: #e55b00;
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4);
}

.jci-page-wrapper .jci-btn-orange {
    background-color: #ff6600;
    color: #fff;
    border: 2px solid #ff6600;
}

.jci-page-wrapper .jci-btn-orange:hover {
    background-color: transparent;
    color: #ff6600;
    border-color: #ff6600;
}

/* --- HERO SECTION --- */
.jci-page-wrapper .jci-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid #0E88C7;
}

.jci-page-wrapper .jci-hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.jci-page-wrapper .jci-tag {
    background: rgba(14, 136, 199, 0.1);
    color: #0E88C7;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
}

.jci-page-wrapper .jci-title {
    font-size: 48px;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 20px;
}

.jci-page-wrapper .jci-subtitle {
    font-size: 20px;
    color: #475569;
    margin-bottom: 30px;
    border-left: 4px solid #ff6600;
    padding-left: 20px;
}

/* --- ABOUT & STACKED BLOCKS --- */
.jci-page-wrapper .jci-content-block {
    max-width: 900px;
    margin: 0 auto;
}

.jci-page-wrapper .jci-highlight-box {
    background: #e0f2fe;
    padding: 40px;
    border-radius: 12px;
    position: relative;
    border: 1px solid #bae6fd;
}

.jci-page-wrapper .jci-icon-float {
    position: absolute;
    top: -30px;
    left: 40px;
    background: #0E88C7;
    color: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(14, 136, 199, 0.3);
}

/* --- CARDS & GRID --- */
.jci-page-wrapper .jci-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.jci-page-wrapper .jci-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    text-align: center;
    transition: all 0.4s ease;
    border-bottom: 3px solid transparent;
}

.jci-page-wrapper .jci-hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-bottom-color: #ff6600;
}

.jci-page-wrapper .jci-icon-box {
    font-size: 32px;
    color: #0E88C7;
    margin-bottom: 20px;
    width: 70px;
    height: 70px;
    background: #e0f2fe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.jci-page-wrapper .jci-card h4 {
    font-size: 18px;
    color: #0E88C7;
    margin-bottom: 10px;
    font-weight: 600;
}

/* --- BENEFITS GRID --- */
.jci-page-wrapper .jci-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.jci-page-wrapper .jci-benefit-item {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: 0.3s;
}

.jci-page-wrapper .jci-benefit-item:hover {
    border-color: #0E88C7;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.jci-page-wrapper .jci-b-icon {
    font-size: 24px;
    color: #ff6600;
    margin-top: 5px;
}

/* --- STANDARDS GRID (2 Cols) --- */
.jci-page-wrapper .jci-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.jci-page-wrapper .jci-list-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-top: 4px solid #0E88C7;
}

.jci-page-wrapper .jci-card-title {
    font-size: 22px;
    color: #0f172a;
    margin-bottom: 20px;
    font-weight: 600;
}

/* --- PREMIUM TABLES --- */
.jci-page-wrapper .jci-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.jci-page-wrapper .jci-premium-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    min-width: 600px;
}

.jci-page-wrapper .jci-premium-table th {
    background: #0E88C7;
    color: #fff;
    padding: 20px;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.jci-page-wrapper .jci-premium-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #f1f5f9;
    color: #4b5563;
}

.jci-page-wrapper .jci-premium-table tr:hover td {
    background-color: #f0f9ff;
    color: #0E88C7;
}

/* --- PROCESS TIMELINE --- */
.jci-page-wrapper .jci-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.jci-page-wrapper .jci-process-card {
    background: #fff;
    padding: 40px 30px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.jci-page-wrapper .jci-process-card:hover {
    transform: translateY(-5px);
    border-color: #ff6600;
}

.jci-page-wrapper .jci-step-badge {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #ff6600;
    color: #fff;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.4);
}

.jci-page-wrapper .jci-process-card h4 {
    color: #0E88C7;
    font-size: 20px;
    margin-bottom: 10px;
}

/* --- FLEX ROW (CONSULTANCY) --- */
.jci-page-wrapper .jci-flex-row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.jci-page-wrapper .jci-expert-col { flex: 1; }
.jci-page-wrapper .jci-img-col { flex: 1; }

.jci-page-wrapper .jci-check-list {
    list-style: none;
    margin-top: 20px;
}

.jci-page-wrapper .jci-check-list li {
    padding: 10px 0;
    position: relative;
    padding-left: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.jci-page-wrapper .jci-check-list li::before {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #ff6600;
    position: absolute;
    left: 0;
}

.jci-page-wrapper .jci-graphic-box {
    background: #e0f2fe;
    height: 350px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #0E88C7;
}

.jci-page-wrapper .jci-graphic-box i { font-size: 80px; margin-bottom: 20px; }
.jci-page-wrapper .jci-graphic-box span { font-size: 20px; font-weight: 700; }

/* --- COMMITMENT (DARK) --- */
.jci-page-wrapper .jci-commitment-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.jci-page-wrapper .jci-quote-icon {
    font-size: 40px;
    color: #ff6600;
    opacity: 0.8;
    margin-bottom: 20px;
}

.jci-page-wrapper .jci-commitment-title {
    color: #fff;
    font-size: 28px;
    margin-bottom: 20px;
}

.jci-page-wrapper .jci-quote-text {
    font-size: 22px;
    font-style: italic;
    color: #bae6fd;
    margin-bottom: 15px;
    line-height: 1.6;
}

.jci-page-wrapper .jci-sub-quote {
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
}

.jci-page-wrapper .jci-cta-wrapper {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 40px;
}

.jci-page-wrapper .jci-usp-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.jci-page-wrapper .jci-usp-row span {
    color: #fff;
    font-weight: 500;
}

.jci-page-wrapper .jci-usp-row i { color: #ff6600; margin-right: 8px; }

/* --- ANIMATIONS --- */
.jci-page-wrapper .jci-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.jci-page-wrapper .jci-reveal.jci-active {
    opacity: 1;
    transform: translateY(0);
}

.jci-page-wrapper .jci-delay-100 { transition-delay: 0.15s; }
.jci-page-wrapper .jci-delay-200 { transition-delay: 0.3s; }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
.jci-page-wrapper .jci-process-grid { grid-template-columns: repeat(2, 1fr); }
.jci-page-wrapper .jci-flex-row { flex-direction: column; }
.jci-page-wrapper .jci-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
.jci-page-wrapper .jci-process-grid { grid-template-columns: 1fr; }
.jci-page-wrapper .jci-grid-3 { grid-template-columns: 1fr; }
.jci-page-wrapper .jci-hero { text-align: center; }
.jci-page-wrapper .jci-subtitle { border: none; padding: 0; }
.jci-page-wrapper .jci-title { font-size: 36px; }
}

/* Fix spacing between About JCI and 'What is JCI Accreditation?' */
.jci-content-block.jci-mt-6 {
    margin-top: 120px !important;
}
