/* ============================================
   TOOLS CAROUSEL STYLES
   ============================================ */

.tools-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tools-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Tools Carousel Wrapper */
.tools-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tools-carousel {
    overflow: hidden;
    width: 100%;
}

.tools-carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.4s ease;
}

.tool-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e1e5e9;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: calc((100% - 4rem) / 3);
    flex-shrink: 0;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(51, 189, 239, 0.2);
    border-color: #33bdef;
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tool-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.75rem 0;
}

.tool-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .tool-card {
        min-width: calc((100% - 2rem) / 2);
    }
}

@media (max-width: 768px) {
    .tools-resources-band {
        padding: 2rem 0;
        margin: 2rem 0;
    }

    .tools-container {
        padding: 0 1rem;
    }

    .tools-header h2 {
        font-size: 2rem;
    }

    .tool-card {
        padding: 1.5rem;
        min-width: 100%;
    }

    .tools-carousel-track {
        gap: 1rem;
    }
}

/* ============================================
   IMPROVED INSIGHTS PANEL LAYOUT
   ============================================ */

.insights-panel {
    width: 100%;
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.insights-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.insight-item {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e1e5e9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    min-height: 220px;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.insight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #33bdef, #019ad2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(51, 189, 239, 0.15);
    border-color: #33bdef;
}

.insight-item:hover::before {
    opacity: 1;
}

.insight-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
    background: #f0f9ff;
    color: #019ad2;
}

.insight-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.insight-content h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
    font-weight: 700;
}

.insight-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.insight-link {
    color: #33bdef;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.insight-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.insight-link:hover {
    color: #019ad2;
    text-decoration: none;
}

.insight-link:hover::after {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .insights-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .insights-panel {
        padding: 0 1rem;
        margin: 2rem auto;
    }

    .insights-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .insight-item {
        padding: 1.5rem;
        min-height: auto;
    }

    .insight-content h3 {
        font-size: 1.25rem;
    }
}