/* ===================================
   About Us - Modern Pills Design
   Values Section Modernization
   ================================ */

/* ===================================
   Values Container
   ================================ */

.values-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

/* ===================================
   Value Pill Design
   ================================ */

.value-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.75rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    cursor: default;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(24, 53, 68, 0.08);
}

.value-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(24, 53, 68, 0.15);
    border-color: #e1c126;
    background: linear-gradient(135deg, #ffffff 0%, #fefcf5 100%);
}

/* ===================================
   Value Pill Icon
   ================================ */

.value-pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #183544 0%, #2a5166 100%);
    border-radius: 50%;
    color: white;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-pill:hover .value-pill-icon {
    background: linear-gradient(135deg, #e1c126 0%, #f0d04f 100%);
    transform: rotate(360deg);
}

/* ===================================
   Value Pill Content
   ================================ */

.value-pill-content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.value-pill-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #183544;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.value-pill-description {
    font-size: 0.8rem;
    color: #54565a;
    margin: 0;
    line-height: 1.3;
}

/* ===================================
   Alternative: Larger Pills for Feature Display
   ================================ */

.value-pill-large {
    padding: 1.25rem 2rem;
    border-radius: 40px;
    min-width: 200px;
}

.value-pill-large .value-pill-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
}

.value-pill-large .value-pill-title {
    font-size: 1.1rem;
}

.value-pill-large .value-pill-description {
    font-size: 0.85rem;
}

/* ===================================
   Compact Pills (Icon + Title Only)
   ================================ */

.value-pill-compact {
    padding: 0.65rem 1.25rem;
    gap: 0.5rem;
}

.value-pill-compact .value-pill-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
}

.value-pill-compact .value-pill-title {
    font-size: 0.85rem;
}

/* ===================================
   Section Divider with Gradient
   ================================ */

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #183544 0%, #e1c126 100%);
    margin: 2rem auto;
    border-radius: 2px;
    animation: fadeIn 0.6s ease-out;
}

.section-divider-wide {
    width: 120px;
}

/* ===================================
   Alternate Section Backgrounds
   ================================ */

.section-alt-bg {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 3rem 0;
    margin: 2rem -15px;
}

/* ===================================
   Responsive Design
   ================================ */

@media (max-width: 992px) {
    .values-pills-container {
        gap: 0.8rem;
        padding: 1.5rem 0;
    }
    
    .value-pill {
        padding: 0.75rem 1.5rem;
    }
    
    .value-pill-large {
        min-width: 180px;
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .values-pills-container {
        gap: 0.6rem;
        flex-direction: column;
        align-items: stretch;
    }
    
    .value-pill {
        padding: 0.85rem 1.25rem;
        justify-content: flex-start;
    }
    
    .value-pill-large {
        min-width: unset;
        width: 100%;
    }
    
    .section-divider {
        width: 60px;
        margin: 1.5rem auto;
    }
}

/* ===================================
   Certification Pills Variant
   Specialized pills for certifications section
   ================================ */

.certifications-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: stretch;
    padding: 2rem 0;
}

.certification-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 2.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    cursor: default;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(24, 53, 68, 0.1);
    min-width: 280px;
    flex: 1;
    max-width: 350px;
}

.certification-pill:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(24, 53, 68, 0.18);
    border-color: #e1c126;
    background: linear-gradient(135deg, #ffffff 0%, #fefcf5 100%);
}

.certification-pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #183544 0%, #2a5166 100%);
    border-radius: 50%;
    color: white;
    font-size: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.certification-pill:hover .certification-pill-icon {
    background: linear-gradient(135deg, #e1c126 0%, #f0d04f 100%);
    transform: rotate(360deg) scale(1.1);
}

.certification-pill:hover .certification-pill-icon i {
    color: #183544;
}

.certification-pill-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    flex: 1;
}

.certification-pill-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #183544;
    margin: 0;
    font-family: Montserrat, sans-serif;
}

.certification-pill-description {
    font-size: 0.9rem;
    color: #54565a;
    margin: 0;
    line-height: 1.5;
}

.certification-pill-link {
    margin-top: 0.5rem;
}

.certification-pill .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.certification-pill .btn-outline-primary {
    border: 2px solid #183544;
    color: #183544;
}

.certification-pill .btn-outline-primary:hover {
    background: #183544;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 53, 68, 0.3);
}

/* Responsive for certifications */
@media (max-width: 992px) {
    .certifications-pills-container {
        gap: 1.2rem;
    }
    
    .certification-pill {
        min-width: 240px;
        padding: 1.75rem 2rem;
    }
    
    .certification-pill-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .certifications-pills-container {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .certification-pill {
        min-width: unset;
        max-width: none;
        width: 100%;
        padding: 1.5rem;
    }
    }
}

@media (max-width: 576px) {
    .value-pill {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    .value-pill-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .value-pill-title {
        font-size: 0.85rem;
    }
    
    .value-pill-description {
        font-size: 0.75rem;
    }
}

/* ===================================
   Animation for Pills on Load
   ================================ */

@keyframes pillFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.value-pill {
    animation: pillFadeIn 0.4s ease-out;
    animation-fill-mode: both;
}

/* Stagger animation for multiple pills */
.value-pill:nth-child(1) { animation-delay: 0.1s; }
.value-pill:nth-child(2) { animation-delay: 0.2s; }
.value-pill:nth-child(3) { animation-delay: 0.3s; }
.value-pill:nth-child(4) { animation-delay: 0.4s; }
.value-pill:nth-child(5) { animation-delay: 0.5s; }
.value-pill:nth-child(6) { animation-delay: 0.6s; }

/* ===================================
   Accessibility
   ================================ */

.value-pill:focus {
    outline: 2px solid #e1c126;
    outline-offset: 2px;
}

/* ===================================
   Prefers Reduced Motion
   ================================ */

@media (prefers-reduced-motion: reduce) {
    .value-pill {
        animation: none;
        transition: none;
    }
    
    .value-pill:hover {
        transform: none;
    }
    
    .value-pill:hover .value-pill-icon {
        transform: none;
    }
    
    .section-divider {
        animation: none;
    }
}
