/* ===== BASE STYLES ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.dakhool-enrollment {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8f5f0 0%, #f0e6d6 100%);
    color: #234e52;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}

.islamic-pattern-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(163, 190, 140, 0.1) 0px, transparent 40px),
        radial-gradient(circle at 80% 70%, rgba(127, 17, 2, 0.1) 0px, transparent 40px),
        linear-gradient(135deg, transparent 60%, rgba(212, 163, 115, 0.1) 100%);
    background-size: 300px 300px, 200px 200px, 100% 100%;
    z-index: -1;
    opacity: 0.7;
}

.enrollment-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ===== Header ===== */
.islamic-header {
    text-align: center;
    margin: 20px 0 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #234e52 0%, #1a3a3e 100%);
    border-radius: 16px;
    color: #f8f5f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.islamic-header:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100" opacity="0.05"><path d="M50,0 L60,40 L100,50 L60,60 L50,100 L40,60 L0,50 L40,40 Z" fill="%23ffffff"/></svg>'),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="80" height="80" opacity="0.03"><circle cx="50" cy="50" r="40" stroke="%23ffffff" fill="none" stroke-width="2"/></svg>');
    background-size: 100px 100px, 80px 80px;
    background-position: 0 0, 50px 50px;
    z-index: 0;
}

.islamic-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: relative;
}

.islamic-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0.9;
    position: relative;
}

.arabic-calligraphy {
    font-family: 'Amiri', serif;
    font-size: 1.8rem;
    margin-top: 20px;
    color: #d4a373;
}

.logo-card {
    display: inline-block;
    background-color: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    margin-bottom: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.logo-card img {
    display: block;
    max-height: 70px;
    width: auto;
}

.logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.2);
}

/* ===== Progress Steps ===== */
.progress-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    width: 100%;
}

.progress-steps {
    display: flex;
    position: relative;
    max-width: 900px;
    width: 100%;
    justify-content: space-between;
}

.progress-steps:before {
    content: "";
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 4px;
    background: #ddd;
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 2px;
}

.progress-bar {
    position: absolute;
    top: 40px;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, #234e52, #7f1102);
    transform: translateY(-50%);
    z-index: 2;
    transition: width 0.5s ease;
    border-radius: 2px;
}

.step {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
    padding: 0 15px;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #234e52;
    border: 3px solid #ddd;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.step.active .step-icon {
    background: linear-gradient(135deg, #234e52 0%, #7f1102 100%);
    color: white;
    border-color: #234e52;
    box-shadow: 0 8px 20px rgba(35, 78, 82, 0.3);
}

.step-label {
    font-weight: 700;
    color: #234e52;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.step-desc {
    color: #7f1102;
    font-size: 0.9rem;
}

/* ===== Selection Section ===== */
.selection-section {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.selection-section:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100" opacity="0.03"><path d="M20,20 C40,0 60,0 80,20 C100,40 100,60 80,80 C60,100 40,100 20,80 C0,60 0,40 20,20 Z" fill="%23234e52"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    color: #234e52;
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #234e52, #7f1102);
    border-radius: 2px;
}

.section-subtitle {
    color: #7f1102;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.selection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 900px) {
    .selection-grid {
        grid-template-columns: 1fr;
    }
}

.selection-card {
    background: #f8f5f0;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.card-header i {
    font-size: 1.8rem;
    color: #7f1102;
    margin-right: 15px;
}

.card-header h3 {
    color: #234e52;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.card-header p {
    color: #7f1102;
    font-size: 0.9rem;
}

/* Day Grid */
.day-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

@media (max-width: 600px) {
    .day-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.day-card {
    background: white;
    border: 2px solid #d4a373;
    border-radius: 12px;
    padding: 15px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.day-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #234e52, #7f1102);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.day-card.selected:before {
    opacity: 1;
}

.day-card.selected {
    background: linear-gradient(135deg, #f8f5f0 0%, #e8ddd0 100%);
    border-color: #7f1102;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(127, 17, 2, 0.15);
}

.day-card input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
    z-index: 2;
}

.day-card label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #234e52;
    pointer-events: none;
    text-align: center;
    width: 100%;
    height: 100%;
}

.day-name {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.day-arabic {
    font-family: 'Amiri', serif;
    font-size: 1.3rem;
    color: #7f1102;
}

.day-card.selected .day-name {
    color: #7f1102;
}

.day-card.selected .day-arabic {
    color: #234e52;
    font-weight: bold;
}

/* Type Grid */
.type-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.type-card {
    background: white;
    border: 2px solid #d4a373;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.type-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #234e52, #7f1102);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.type-card.selected:before {
    opacity: 1;
}

.type-card.selected {
    background: linear-gradient(135deg, #f8f5f0 0%, #e8ddd0 100%);
    border-color: #7f1102;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(127, 17, 2, 0.15);
}

.type-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.type-card label {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    height: 100%;
}

.type-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #234e52 0%, #1a3a3e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.type-card.selected .type-icon {
    background: linear-gradient(135deg, #7f1102 0%, #6a0e01 100%);
}

.type-details {
    flex-grow: 1;
}

.type-details h4 {
    color: #234e52;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.type-details p {
    color: #7f1102;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.type-price {
    color: #234e52;
    font-weight: 700;
    font-size: 1.1rem;
}

.type-card.selected .type-details h4 {
    color: #7f1102;
}

.type-card.selected .type-details p {
    color: #234e52;
}

.type-card.selected .type-price {
    color: #7f1102;
}

/* ===== Action Buttons ===== */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.islamic-btn {
    background: linear-gradient(135deg, #234e52 0%, #1a3a3e 100%);
    color: white;
    border: none;
    padding: 16px 45px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(35, 78, 82, 0.3);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.islamic-btn:after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: rotate(30deg);
    transition: all 0.6s ease;
}

.islamic-btn:hover:after {
    right: 120%;
}

.islamic-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(35, 78, 82, 0.4);
}

.islamic-btn.primary {
    background: linear-gradient(135deg, #7f1102 0%, #6a0e01 100%);
    box-shadow: 0 6px 20px rgba(127, 17, 2, 0.3);
}

.islamic-btn.primary:hover {
    box-shadow: 0 10px 25px rgba(127, 17, 2, 0.4);
}

.islamic-btn.reset {
    background: linear-gradient(135deg, #d4a373 0%, #c2915e 100%);
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.3);
}

.islamic-btn.reset:hover {
    box-shadow: 0 10px 25px rgba(212, 163, 115, 0.4);
}

.islamic-btn i {
    margin-right: 10px;
}

.islamic-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.islamic-btn:disabled:hover {
    transform: none;
    box-shadow: 0 6px 20px rgba(35, 78, 82, 0.3);
}

/* ===== Loader ===== */
.loader-container {
    display: none;
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.loader-container:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100" opacity="0.03"><path d="M50,0 L60,40 L100,50 L60,60 L50,100 L40,60 L0,50 L40,40 Z" fill="%23234e52"/></svg>'),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="80" height="80" opacity="0.03"><circle cx="50" cy="50" r="40" stroke="%23234e52" fill="none" stroke-width="2"/></svg>');
    background-size: 100px 100px, 80px 80px;
    background-position: 0 0, 50px 50px;
    z-index: 0;
}

.loader {
    width: 80px;
    height: 80px;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #234e52;
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: spin 1.5s linear infinite;
    position: relative;
    z-index: 1;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    font-size: 1.5rem;
    color: #234e52;
    font-weight: 600;
    font-style: italic;
    margin-top: 30px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.loader-text .arabic-calligraphy {
    display: block;
    margin-bottom: 15px;
    font-size: 2rem;
}

/* ===== Course Grid ===== */
.courses-section {
    display: none;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.courses-section:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100" opacity="0.03"><path d="M20,20 C40,0 60,0 80,20 C100,40 100,60 80,80 C60,100 40,100 20,80 C0,60 0,40 20,20 Z" fill="%237f1102"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.course-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e8ddd0;
}

.course-card:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: rotate(30deg);
    transition: all 0.6s ease;
    z-index: 1;
}

.course-card:hover:before {
    right: 120%;
}

.course-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.thumbnail-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .thumbnail-container img {
    transform: scale(1.08);
}

.live-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    background: rgba(127, 17, 2, 0.95);
    color: white;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.live-dot {
    width: 12px;
    height: 12px;
    background: #ff4d4d;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Thumbnail placeholder */
.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #234e52 0%, #1a3a3e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

/* No courses message */
.no-courses {
    text-align: center;
    padding: 60px 40px;
    font-size: 1.3rem;
    color: #234e52;
    grid-column: 1 / -1;
}

.no-courses i {
    font-size: 3rem;
    color: #d4a373;
    margin-bottom: 20px;
    display: block;
}

.days-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #a3be8c;
    color: #234e52;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 2;
}

.course-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-title {
    font-size: 1.4rem;
    color: #234e52;
    margin: 0 0 15px 0;
    font-weight: 800;
    line-height: 1.4;
    min-height: 70px;
}

.course-instructor {
    color: #7f1102;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.course-tag {
    background: #f0f0f0;
    color: #234e52;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.course-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.select-course {
    flex: 1;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 12px 18px;
    border-radius: 10px;
    background: rgba(163, 190, 140, 0.1);
    border: 2px solid transparent;
}

.select-course:hover {
    background: rgba(163, 190, 140, 0.2);
    border-color: #a3be8c;
}

.select-course.selected {
    background: rgba(35, 78, 82, 0.1);
    border-color: #234e52;
}

.select-course input {
    display: none;
}

.custom-checkbox {
    width: 26px;
    height: 26px;
    border: 2px solid #234e52;
    border-radius: 7px;
    margin-right: 15px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.select-course input:checked + .custom-checkbox {
    background: #234e52;
    border-color: #234e52;
}

.custom-checkbox:after {
    content: '';
    position: absolute;
    width: 14px;
    height: 8px;
    border: 2px solid white;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    opacity: 0;
    transition: all 0.3s ease;
}

.select-course input:checked + .custom-checkbox:after {
    opacity: 1;
}

.select-course label {
    font-weight: 700;
    color: #234e52;
    cursor: pointer;
    font-size: 1rem;
}

.select-course.selected label {
    color: #234e52;
}

.know-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #d4a373, #c2915e);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 10px rgba(212, 163, 115, 0.3);
    flex: none;
}

.know-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(212, 163, 115, 0.4);
}

/* ===== Cart Summary ===== */
.cart-summary {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateY(150%);
    transition: transform 0.4s ease;
    z-index: 1000;
    overflow: hidden;
    border: 2px solid #234e52;
}

.cart-summary.visible {
    transform: translateY(0);
}

.summary-header {
    background: linear-gradient(135deg, #234e52 0%, #1a3a3e 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-header h3 {
    margin: 0;
    font-size: 1.4rem;
}

#close-summary {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#close-summary:hover {
    background: rgba(255,255,255,0.2);
}

.summary-content {
    padding: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    align-items: center;
}

.summary-item .label {
    color: #234e52;
    font-weight: 600;
}

.summary-item .value {
    color: #7f1102;
    font-weight: 700;
}

.summary-item.total {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid #e8ddd0;
}

.summary-item.total .label {
    font-size: 1.2rem;
}

.summary-item.total .value {
    font-size: 1.4rem;
    color: #234e52;
}

.summary-divider {
    margin: 15px 0;
    text-align: center;
}

.islamic-pattern {
    height: 10px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10" width="100" height="10"><path d="M0,5 C10,2 20,8 30,5 C40,2 50,8 60,5 C70,2 80,8 90,5 C100,2 100,8 100,5" stroke="%23d4a373" fill="none" stroke-width="0.5"/></svg>');
    background-size: 100px 10px;
    opacity: 0.6;
}

.enroll-button {
    width: 100%;
    background: linear-gradient(135deg, #7f1102 0%, #6a0e01 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(127, 17, 2, 0.3);
    letter-spacing: 0.5px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enroll-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(127, 17, 2, 0.4);
}

.enroll-button i {
    margin-right: 10px;
}

.enroll-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.enroll-button:disabled:hover {
    transform: none;
    box-shadow: 0 6px 15px rgba(127, 17, 2, 0.3);
}

/* ===== Footer ===== */
.islamic-footer {
    background: linear-gradient(135deg, #234e52 0%, #1a3a3e 100%);
    color: white;
    padding: 40px 20px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.islamic-footer:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100" opacity="0.05"><path d="M50,0 L60,40 L100,50 L60,60 L50,100 L40,60 L0,50 L40,40 Z" fill="%23ffffff"/></svg>');
    background-size: 100px 100px;
    background-position: 0 0;
    z-index: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-quote {
    margin-bottom: 20px;
}

.footer-quote .arabic-calligraphy {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #d4a373;
}

.footer-info {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .enrollment-container {
        padding: 10px;
    }
    
    .islamic-header {
        padding: 30px 15px;
        margin: 10px 0 30px;
    }
    
    .islamic-header h1 {
        font-size: 2rem;
    }
    
    .selection-section, .courses-section {
        padding: 25px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 20px;
    }

    .islamic-btn {
        width: 100%;
        padding: 15px;
    }
    
    .cart-summary {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: auto;
        border-radius: 16px 16px 0 0;
        transform: translateY(100%);
    }
    
    .cart-summary.visible {
        transform: translateY(0);
    }

    .section-title {
        font-size: 1.8rem;
    }
    
    .progress-steps {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .progress-steps:before {
        display: none;
    }
    
    .step {
        margin-bottom: 30px;
    }
    
    .course-grid {
        grid-template-columns: 1fr;
    }
    
    .course-actions {
        flex-direction: column;
    }
    
    .know-more {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .day-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .islamic-header h1 {
        font-size: 1.8rem;
    }
    
    .islamic-header p {
        font-size: 1rem;
    }
    
    .arabic-calligraphy {
        font-size: 1.5rem;
    }
    
    .type-card label {
        flex-direction: column;
        text-align: center;
    }
    
    .type-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}