/* Common styles for inside pages */
.page-header {
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.9) 0%, rgba(59, 130, 246, 0.9) 100%), url('../images/aboutBanner.jpg') center/cover;
    padding: 80px 0;
    text-align: center;
    color: white;
    margin-bottom: 50px;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Card Styles */
.custom-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.custom-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.custom-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #6f42c1;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 1;
}

.card-body-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-body-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2d3748;
}

.card-body-content p {
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-footer-action {
    margin-top: auto;
}

.btn-custom {
    display: inline-block;
    width: 100%;
    padding: 10px 20px;
    background: #f8f9fa;
    color: #6f42c1;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.btn-custom:hover {
    background: #6f42c1;
    color: white;
}

/* Tutorial Specific */
.tutorial-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #f3f0ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -40px auto 20px;
    position: relative;
    z-index: 2;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.tutorial-icon-wrapper i {
    font-size: 2rem;
    color: #6f42c1;
}

.tutorial-card {
    padding-top: 40px;
}

/* Make sure header doesn't overlap on inside pages */
body {
    background-color: #f8f9fa;
}

/* Dark mode compatibility */
[data-theme="dark"] body {
    background-color: #1a202c;
}

[data-theme="dark"] .custom-card {
    background: #2d3748;
    border-color: #4a5568;
}

[data-theme="dark"] .card-body-content h3 {
    color: #e2e8f0;
}

[data-theme="dark"] .card-body-content p {
    color: #a0aec0;
}

[data-theme="dark"] .btn-custom {
    background: #4a5568;
    color: #e2e8f0;
    border-color: #2d3748;
}

[data-theme="dark"] .btn-custom:hover {
    background: #6f42c1;
    color: white;
}

[data-theme="dark"] .tutorial-icon-wrapper {
    background: #1a202c;
    border-color: #2d3748;
}
