/* Problem Cards Styling */
.problems-section {
    padding: 80px 0;
    background-color: #fff8e1;
    position: relative;
    overflow: hidden;
}

.problems-section .section-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 30px;
}

.problems-section .section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 165, 0, 0.1);
    transform: translateY(-50%) rotate(30deg);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: -1;
}

.problems-section .section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 165, 0, 0.1);
    transform: translateY(-50%) rotate(30deg);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: -1;
}

/* Hexagonal background decorations */
.problems-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 230px;
    background: rgba(255, 165, 0, 0.1);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 1;
    transform: rotate(30deg);
}

.problems-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 230px;
    background: rgba(255, 165, 0, 0.1);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 1;
    transform: rotate(15deg);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    clip-path: polygon(3% 0, 97% 0, 100% 3%, 100% 97%, 97% 100%, 3% 100%, 0 97%, 0 3%);
}

.problem-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(255, 165, 0, 0.1);
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
}

.problem-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(255, 165, 0, 0.2);
    border-color: rgba(255, 165, 0, 0.3);
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #FFA500, #FF8C00);
    z-index: -1;
    clip-path: polygon(0 0, 95% 0, 100% 100%, 5% 100%);
}

.problem-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: all 0.4s ease;
}

.problem-card:hover::after {
    opacity: 1;
}

.problem-icon {
    width: 80px;
    height: 80px;
    background: #FFF8E1;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.2);
}

.problem-card:hover .problem-icon {
    background: linear-gradient(135deg, #FFA500, #FF8C00);
    transform: rotate(10deg);
}

.problem-icon i {
    font-size: 32px;
    color: #FFA500;
    transition: all 0.4s ease;
}

.problem-card:hover .problem-icon i {
    color: #fff;
    transform: scale(1.2);
}

.problem-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
    transition: all 0.3s ease;
}

.problem-card:hover h3 {
    color: #FF8C00;
}

.problem-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #FFA500;
    transition: all 0.4s ease;
    clip-path: polygon(0 0, 95% 0, 100% 100%, 5% 100%);
}

.problem-card:hover h3::after {
    width: 100%;
    background: linear-gradient(90deg, #FFA500, #FF8C00);
}

.problem-card p {
    color: #666;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.problem-card:hover p {
    color: #444;
}

.card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    font-weight: bold;
    color: rgba(255, 165, 0, 0.1);
    transition: all 0.3s ease;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 165, 0, 0.03);
}

.problem-card:hover .card-number {
    color: rgba(255, 165, 0, 0.2);
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .problems-grid {
        grid-template-columns: 1fr;
    }
}
