/* Add this to your static/css folder as itr-checklist.css */

.service-banner {
    background: linear-gradient(135deg, #0d47a1, #42a5f5);
    color: white;
    padding: 80px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.service-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/tax-pattern.png');
    background-size: 300px;
    opacity: 0.1;
}

.intro-text {
    margin-bottom: 2rem;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

.nav-tabs .nav-link {
    color: #555;
    font-weight: 500;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: #0d47a1;
    border-bottom-color: #90caf9;
}

.nav-tabs .nav-link.active {
    color: #0d47a1;
    border-bottom-color: #0d47a1;
    background-color: transparent;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    padding: 1rem 1.5rem;
}

.checklist-section h4 {
    color: #0d47a1;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.checklist {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

.checklist li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.checklist li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #4caf50;
    font-weight: bold;
}

.checklist ul {
    list-style-type: none;
    padding-left: 2rem;
    margin-top: 0.5rem;
}

.checklist ul li {
    margin-bottom: 0.5rem;
}

.checklist ul li:before {
    content: "•";
    color: #1e88e5;
}

.important-notes {
    list-style-type: none;
    padding-left: 0;
}

.important-notes li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.important-notes li:before {
    content: "!";
    position: absolute;
    left: 0;
    top: 0;
    color: #f44336;
    font-weight: bold;
    background: #ffebee;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
}

/* Dark theme compatibility */
body.dark-theme .card {
    background-color: #2a2a2a;
    color: #e0e0e0;
}

body.dark-theme .card-header {
    background-color: #0d47a1 !important;
}

body.dark-theme .nav-tabs .nav-link {
    color: #e0e0e0;
}

body.dark-theme .nav-tabs .nav-link:hover,
body.dark-theme .nav-tabs .nav-link.active {
    color: #90caf9;
    border-bottom-color: #90caf9;
}

body.dark-theme .checklist-section h4 {
    color: #90caf9;
    border-bottom-color: #424242;
}

body.dark-theme .checklist li:before {
    color: #81c784;
}

body.dark-theme .checklist ul li:before {
    color: #64b5f6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-tabs .nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .checklist li {
        padding-left: 1.75rem;
    }
}

/* Print styles */
@media print {
    .nav-tabs {
        display: none;
    }
    
    .tab-content > .tab-pane {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .card {
        break-inside: avoid;
        margin-bottom: 2cm;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .card-header {
        background-color: #f8f9fa !important;
        color: #000 !important;
    }
    
    .checklist li:before {
        color: #000 !important;
    }
    
    .checklist ul li:before {
        color: #000 !important;
    }
    
    .important-notes li:before {
        color: #000 !important;
        background: none !important;
        border: 1px solid #000;
    }
}
/* Featured Section Styles */
.bg-gradient-light {
    background: linear-gradient(120deg, #f8f9fa, #e9ecef);
}

body.dark-theme .bg-gradient-light {
    background: linear-gradient(120deg, #2a2a2a, #212121);
}

.featured-bg-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: rgba(13, 71, 161, 0.05);
    border-radius: 50%;
    transform: translate(100px, -150px);
    z-index: 0;
}

body.dark-theme .featured-bg-shape {
    background-color: rgba(94, 146, 243, 0.05);
}

.featured-img {
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    transition: all 0.5s ease;
}

.card:hover .featured-img {
    transform: translateY(-10px);
}