/* ==========================================
   Wama Training Institute - Custom Enhancements
   ========================================== */

/* 1. Why Choose Us (Vertical Slide Carousel Adjustment) */
.why-choose-img-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.why-choose-img-wrapper img {
    transition: transform 0.6s ease;
}

.why-choose-content h3 {
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 1px;
}

.why-choose-content p {
    color: #cbd5e1;
}

.why-us-carousel .owl-nav .owl-prev,
.why-us-carousel .owl-nav .owl-next {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    width: 45px;
    height: 45px;
    line-height: 43px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.why-us-carousel .owl-nav .owl-prev:hover,
.why-us-carousel .owl-nav .owl-next:hover {
    background: #f5a425 !important;
    color: #07244b !important;
}

/* 2. Available Courses - Cards Design Revamp */
.available-courses .card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.available-courses .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(7, 36, 75, 0.12) !important;
}

.course-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.available-courses .card:hover .course-img-wrapper img {
    transform: scale(1.08);
}

.course-icon-badge {
    position: absolute;
    bottom: -22px;
    right: 24px;
    width: 50px;
    height: 50px;
    background: #f5a425;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(245, 164, 37, 0.4);
    z-index: 2;
    border: 3px solid #ffffff;
    transition: all 0.3s ease;
}

.available-courses .card:hover .course-icon-badge {
    background: #07244b;
    transform: rotate(360deg);
}

.course-content {
    padding: 30px 24px 24px;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #07244b;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.course-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.course-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 18px;
    margin-top: 15px;
}

.course-badge {
    background-color: #e2e8f0 !important;
    color: #07244b !important;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.course-btn {
    border: 2px solid #956c34 !important;
    color: #956c34 !important;
    font-weight: 700 !important;
    border-radius: 30px !important;
    padding: 6px 18px !important;
    font-size: 0.85rem !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-btn:hover {
    background-color: #956c34 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 4px 10px rgba(149, 108, 52, 0.3);
}

/* 3. News & Updates - Horizontal Cards */
.news-horizontal-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.news-horizontal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(7, 36, 75, 0.08) !important;
}

.news-img-container {
    position: relative;
    overflow: hidden;
}

.news-img-container img {
    transition: transform 0.6s ease;
}

.news-horizontal-card:hover .news-img-container img {
    transform: scale(1.05);
}

.hover-gold {
    color: #07244b;
    transition: color 0.3s ease;
}

.hover-gold:hover {
    color: #956c34;
    text-decoration: none;
}

.btn-read-more {
    color: #956c34 !important;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-read-more:hover {
    color: #07244b !important;
    padding-left: 6px;
    text-decoration: none;
}

/* 4. FAQ Accordion Design */
.faq-section {
    background-color: #f8fafc;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px !important;
    margin-bottom: 16px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

.faq-card.active-item {
    border-left: 5px solid #f5a425;
    border-color: #cbd5e1;
    box-shadow: 0 12px 24px rgba(7, 36, 75, 0.06);
}

.faq-header {
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

.faq-btn {
    width: 100%;
    padding: 22px 28px !important;
    font-size: 1.1rem;
    font-weight: 700;
    color: #07244b !important;
    text-align: left;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.faq-btn:hover {
    color: #956c34 !important;
}

.faq-icon {
    font-size: 1rem;
    color: #f5a425;
    transition: transform 0.3s ease;
}

.faq-btn[aria-expanded="true"] {
    color: #956c34 !important;
}

.faq-btn[aria-expanded="true"] .faq-icon,
.faq-btn:not(.collapsed) .faq-icon {
    transform: rotate(180deg) !important;
    color: #956c34;
}

.faq-body {
    padding: 0 28px 24px 28px;
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
}

/* Miscellaneous styles */
.heading-line {
    border-radius: 2px;
}

/* Disable hover background/shadow effects on core pillars features */
.features-content:hover {
    background-color: #07244b !important;
    box-shadow: none !important;
    transform: none !important;
}
