:root {
    --primary-color: #0d47a1;
    --primary-light: #5472d3;
    --primary-dark: #002171;
    --secondary-color: #ff9800;
    --accent-color: #2196f3;
    --light-bg: #f5f9ff;
    --text-color: #333;
    --light-text: #666;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --info-color: #2196f3;
    --danger-color: #f44336;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}
 

 
/* Header Links */
.header-links {
    display: flex;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.header-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    font-weight: 500;
}

.header-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.header-link i {
    font-size: 1.1rem;
}

/* Page Title */
.page-title {
    color: var(--primary-color);
    margin: 30px 0 20px;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Alerts */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    margin: 25px 0;
    border-radius: var(--radius);
    background: var(--light-bg);
    border-left: 5px solid var(--primary-color);
    animation: fadeIn 0.5s ease;
}

.alert i {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-info {
    border-left-color: var(--info-color);
    background: #e3f2fd;
}

.alert-warning {
    border-left-color: var(--warning-color);
    background: #fff3e0;
}

.alert strong {
    color: var(--primary-dark);
}

/* Cards Container */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 35px 0;
}

.card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.card-title {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.card-title i {
    font-size: 1.8rem;
}

.card-title h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.card-content {
    padding: 25px;
}

.card-content ul {
    list-style: none;
    padding-left: 0;
}

.card-content li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.card-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 5px 5px 5px 0;
}

.badge-cuet {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.badge-noncuet {
    background: #fff3e0;
    color: #ef6c00;
    border: 1px solid #ffcc80;
}

.highlight {
    background: linear-gradient(120deg, #fff9c4 0%, #fff9c4 100%);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    color: #5d4037;
}

/* Tabs */
.tabs {
    margin: 40px 0;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.tab-headers {
    display: flex;
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.tab {
    padding: 18px 30px;
    cursor: pointer;
    font-weight: 600;
    color: var(--light-text);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab:hover {
    color: var(--primary-color);
    background: rgba(33, 150, 243, 0.05);
}

.tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: white;
}

.tab-content {
    display: none;
    padding: 30px;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    overflow: hidden;
}

th {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

tr:nth-child(even) {
    background: #f9f9f9;
}

tr:hover {
    background: #f0f7ff;
}

/* Steps */
.steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0.7;
    transform: scale(0.95);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--border-color);
}

.step.active {
    opacity: 1;
    transform: scale(1);
}

.step.active::before {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.step.active .step-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    animation: pulse 2s infinite;
}

.step-title {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.step p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* Links Section */
.links {
    margin: 50px 0;
    padding: 30px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.links h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.link-item {
    padding: 20px;
    background: var(--light-bg);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.link-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.link-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.link-item a:hover {
    color: var(--primary-dark);
}

.link-item i {
    font-size: 1.2rem;
}

.link-item p {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-accent {
    background: linear-gradient(135deg, var(--secondary-color), #ffb74d);
}

.btn-accent:hover {
    background: linear-gradient(135deg, #f57c00, var(--secondary-color));
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(33, 150, 243, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(33, 150, 243, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .cards {
        grid-template-columns: 1fr;
    }
    
    .tab-headers {
        flex-direction: column;
    }
    
    .tab {
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }
    
    .tab.active {
        border-bottom: 3px solid var(--primary-color);
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        width: 100%;
        max-width: 100%;
    }
    
    table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.5rem;
    }
    
    .header-links {
        flex-direction: column;
    }
    
    .header-link {
        justify-content: center;
    }
    
    .card-title {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}