/* 
* Resources Page Specific Styles
* Global Gate Healthcare Recruiters
*/

/* NCLEX Info Section */
.nclex-details .card {
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
}

.nclex-details .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

/* Tools Section */
.tool-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.tool-card:hover .icon-box {
    background-color: var(--primary);
}

.icon-box i {
    font-size: 32px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.tool-card:hover .icon-box i {
    color: white;
}

/* States Table */
.table-responsive {
    overflow-x: auto;
}

.table th {
    font-weight: 600;
    background-color: var(--light);
}

.table td, .table th {
    padding: 15px;
    vertical-align: middle;
}

/* NCLEX Content Areas */
.content-area-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
}

.content-area-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.content-area-card h4 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Downloadable Resources */
.resource-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.resource-icon {
    font-size: 48px;
    color: var(--primary);
}

.resource-card .btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

/* Success Stories Carousel */
.testimonial-card {
    border: none;
    overflow: hidden;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: -20px;
}

.carousel-control-next {
    right: -20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .carousel-control-prev {
        left: 0;
    }
    .carousel-control-next {
        right: 0;
    }
}

@media (max-width: 767.98px) {
    .icon-box {
        width: 60px;
        height: 60px;
    }
    
    .icon-box i {
        font-size: 24px;
    }
    
    .table td, .table th {
        padding: 10px;
    }
}

/* RTL Support */
[dir="rtl"] .carousel-control-prev {
    right: -20px;
    left: auto;
}

[dir="rtl"] .carousel-control-next {
    left: -20px;
    right: auto;
}

[dir="rtl"] .carousel-control-prev-icon {
    transform: rotate(180deg);
}

[dir="rtl"] .carousel-control-next-icon {
    transform: rotate(180deg);
}

[dir="rtl"] .table th,
[dir="rtl"] .table td {
    text-align: right;
}

[dir="rtl"] .nclex-details .card:hover,
[dir="rtl"] .tool-card:hover,
[dir="rtl"] .resource-card:hover {
    transform: translateY(-5px);
}

/* Ensure proper spacing in RTL mode */
[dir="rtl"] .me-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}
