/* ===============================================
   KODE ETIK PAGE - KARDERA COLOR SYSTEM (CLEAN)
   =============================================== */

/* KARDERA COLOR COMBINATIONS FOR PILLARS - PROFESIONALISME THEME */
:root {
    --pillar-1: linear-gradient(135deg, #F2B705 0%, #E6A500 100%); /* All Gold - Profesionalisme */
    --pillar-2: linear-gradient(135deg, #F2B705 0%, #E6A500 100%); /* All Gold - Profesionalisme */
    --pillar-3: linear-gradient(135deg, #F2B705 0%, #E6A500 100%); /* All Gold - Profesionalisme */
    --pillar-4: linear-gradient(135deg, #F2B705 0%, #E6A500 100%); /* All Gold - Profesionalisme */
    --pillar-5: linear-gradient(135deg, #F2B705 0%, #E6A500 100%); /* All Gold - Profesionalisme */
    --pillar-6: linear-gradient(135deg, #F2B705 0%, #E6A500 100%); /* All Gold - Profesionalisme */
}

/* CONTAINER OPTIMIZATION */
.container-xxl {
    max-width: 1400px !important;
}

@media (min-width: 1200px) {
    .container-xxl {
        max-width: 1500px !important;
    }
}

@media (min-width: 1400px) {
    .container-xxl {
        max-width: 1600px !important;
    }
}

/* GRID SPACING */
.page-section .row.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 2rem;
}

@media (min-width: 1200px) {
    .page-section .row.g-4 {
        --bs-gutter-x: 2rem;
        --bs-gutter-y: 2.5rem;
    }
}

/* PAGE STRUCTURE */
.page-section {
    padding: 4rem 0;
    background: var(--white);
}

@media (min-width: 768px) {
    .page-section {
        padding: 5rem 0;
    }
}

.content-section {
    margin-bottom: 2rem;
    max-width: none;
}

@media (min-width: 768px) {
    .content-section {
        margin-bottom: 2.5rem;
    }
}

/* CONTENT WIDTH */
.page-section .row.justify-content-center .col-lg-8 {
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

@media (min-width: 768px) {
    .page-section .row.justify-content-center .col-lg-8 {
        max-width: 85% !important;
        flex: 0 0 85% !important;
    }
}

@media (min-width: 992px) {
    .page-section .row.justify-content-center .col-lg-8 {
        max-width: 75% !important;
        flex: 0 0 75% !important;
    }
}

@media (min-width: 1200px) {
    .page-section .row.justify-content-center .col-lg-8 {
        max-width: 70% !important;
        flex: 0 0 70% !important;
    }
}

/* SECTION TITLE */
.content-section .section-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    letter-spacing: -0.5px;
}

@media (min-width: 768px) {
    .content-section .section-title {
        margin-bottom: 2.5rem;
    }
}

.content-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* ETHICS BADGE */
.ethics-badge {
    margin-top: 2rem;
}

.ethics-badge .badge {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.5rem;
    background: var(--primary) !important;
    color: white !important;
    border: none;
}

/* GRID OPTIMIZATION */
.page-section .col-12 .content-section {
    max-width: 100%;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .page-section .col-12 .content-section {
        padding: 0 2rem;
    }
}

@media (min-width: 1200px) {
    .page-section .col-12 .content-section {
        padding: 0 3rem;
    }
}

.page-section .col-12 .content-section .row.g-4 {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

@media (min-width: 768px) {
    .page-section .col-12 .content-section .row.g-4 {
        margin-left: -1rem;
        margin-right: -1rem;
    }
}

/* ===============================================
   PILLAR CARD DESIGN
   =============================================== */

/* Pillar Card Base */
.pillar-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(234, 38, 65, 0.15);
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

/* Individual Pillar Colors */
.pillar-card[data-pillar="1"] .pillar-icon { background: var(--pillar-1); }
.pillar-card[data-pillar="1"]:hover::before { background: var(--pillar-1); }

.pillar-card[data-pillar="2"] .pillar-icon { background: var(--pillar-2); }
.pillar-card[data-pillar="2"]:hover::before { background: var(--pillar-2); }

.pillar-card[data-pillar="3"] .pillar-icon { background: var(--pillar-3); }
.pillar-card[data-pillar="3"]:hover::before { background: var(--pillar-3); }

.pillar-card[data-pillar="4"] .pillar-icon { background: var(--pillar-4); }
.pillar-card[data-pillar="4"]:hover::before { background: var(--pillar-4); }

.pillar-card[data-pillar="5"] .pillar-icon { background: var(--pillar-5); }
.pillar-card[data-pillar="5"]:hover::before { background: var(--pillar-5); }

.pillar-card[data-pillar="6"] .pillar-icon { background: var(--pillar-6); }
.pillar-card[data-pillar="6"]:hover::before { background: var(--pillar-6); }

/* Pillar Header */
.pillar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2rem 1rem 2rem;
    position: relative;
}

.pillar-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    font-family: 'Arial Black', sans-serif;
}

.pillar-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* Pillar Content */
.pillar-content {
    padding: 0 2rem 2rem 2rem;
}

.pillar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.pillar-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Feature Tags */
.pillar-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: var(--primary-10);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--primary-20);
    transition: all 0.3s ease;
}

/* Feature tag hover colors by pillar */
.pillar-card[data-pillar="1"]:hover .feature-tag { background: var(--pillar-1); color: white; }
.pillar-card[data-pillar="2"]:hover .feature-tag { background: var(--pillar-2); color: white; }
.pillar-card[data-pillar="3"]:hover .feature-tag { background: var(--pillar-3); color: white; }
.pillar-card[data-pillar="4"]:hover .feature-tag { background: var(--pillar-4); color: white; }
.pillar-card[data-pillar="5"]:hover .feature-tag { background: var(--pillar-5); color: white; }
.pillar-card[data-pillar="6"]:hover .feature-tag { background: var(--pillar-6); color: white; }

.pillar-card:hover .feature-tag {
    transform: translateY(-2px);
}

/* ===============================================
   CTA SECTION
   =============================================== */

.cta-section {
    background: var(--primary);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-section {
        padding: 4rem 0;
    }
}

@media (min-width: 1200px) {
    .cta-section {
        padding: 5rem 0;
    }
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: white;
}

@media (min-width: 768px) {
    .cta-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
    }
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 2rem 1rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    display: block;
    margin-bottom: 0.5rem;
    color: white !important;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
    color: white !important;
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

@media (max-width: 768px) {
    .pillar-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .pillar-number {
        font-size: 2.5rem;
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
    
    .pillar-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .pillar-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
        text-align: center;
    }
    
    .pillar-title {
        font-size: 1.3rem;
    }
    
    .pillar-description {
        font-size: 0.95rem;
    }
    
    .pillar-features {
        justify-content: center;
    }
    
    .feature-tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.7rem;
    }
}

@media (min-width: 1200px) {
    .pillar-header {
        padding: 2.5rem 2.5rem 1.2rem 2.5rem;
    }
    
    .pillar-content {
        padding: 0 2.5rem 2.5rem 2.5rem;
    }
    
    .pillar-title {
        font-size: 1.6rem;
    }
    
    .pillar-description {
        font-size: 1.05rem;
    }
}
