﻿/* Final Professional Cards CSS - Highlighted Titles */
.final-cards-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.final-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.final-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

    .final-header h2 {
        font-size: 2.5rem;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .final-header p {
        font-size: 1.1rem;
        color: #666;
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.6;
    }

/* Cards Grid */
.final-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 0 10px;
}

/* Final Card */
.final-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #eaeaea;
    overflow: hidden;
}

    .final-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        border-color: #ddd;
    }

.card-wrapper {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Title Area with Highlight */
.card-title-area {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.title-highlight {
    position: absolute;
    top: 0;
    left: -30px;
    width: 6px;
    height: 100%;
    background: #2c80ff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.final-card:hover .title-highlight {
    background: #0056cc;
    width: 8px;
}

.card-title-area h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
    padding-left: 5px;
    position: relative;
}

/* Card Content */
.card-content {
    flex: 1;
}

    .card-content p {
        font-size: 0.95rem;
        color: #555;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    /* Card List */
    .card-content ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .card-content li {
        font-size: 0.9rem;
        color: #444;
        padding: 8px 0;
        position: relative;
        padding-left: 24px;
        line-height: 1.5;
        border-bottom: 1px solid #f5f5f5;
    }

        .card-content li:last-child {
            border-bottom: none;
        }

        .card-content li:before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 18px;
            height: 18px;
            background: #f0f7ff;
            color: #2c80ff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            font-weight: bold;
        }

/* Responsive Design */

/* Tablet: 2 cards per row */
@media (max-width: 992px) {
    .final-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .final-cards-section {
        padding: 50px 15px;
    }

    .final-header h2 {
        font-size: 2.2rem;
    }

    .final-header p {
        font-size: 1.05rem;
    }

    .card-wrapper {
        padding: 25px;
    }

    .title-highlight {
        left: -25px;
    }
}

/* Mobile: 1 card per row */
@media (max-width: 768px) {
    .final-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        gap: 25px;
    }

    .final-cards-section {
        padding: 40px 12px;
    }

    .final-header {
        margin-bottom: 40px;
    }

        .final-header h2 {
            font-size: 2rem;
        }

        .final-header p {
            font-size: 1rem;
        }

    .card-title-area h3 {
        font-size: 1.25rem;
    }

    .card-content p {
        font-size: 0.92rem;
    }

    .card-content li {
        font-size: 0.88rem;
        padding-left: 22px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .final-cards-section {
        padding: 30px 10px;
    }

    .final-header h2 {
        font-size: 1.8rem;
    }

    .final-header p {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .card-wrapper {
        padding: 20px;
    }

    .title-highlight {
        left: -20px;
        width: 5px;
    }

    .card-content li:before {
        width: 16px;
        height: 16px;
    }
}

/* Large Screens */
@media (min-width: 1400px) {
    .final-container {
        max-width: 1300px;
    }

    .final-grid {
        gap: 30px;
    }
}

/* Print Styles */
@media print {
    .final-cards-section {
        background: white;
        padding: 20px;
    }

    .final-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .final-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }

    .title-highlight {
        background: #333;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .final-card,
    .title-highlight {
        transition: none;
    }

        .final-card:hover {
            transform: none;
        }
}
