/* SECRETLY HIDES YOUR OLD CONSTRUCTOR WIDGET */
.ngjs-course-section { 
    display: none !important; 
}

/* Section Container */
.tech-course-section { 
    max-width: 1200px; 
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 80px;
    padding-right: 80px;
    position: relative; 
}

.carousel-wrapper { 
    position: relative; 
}

.swiper-tech { 
    padding-bottom: 20px; 
}

.swiper-wrapper { 
    align-items: stretch; 
}

.swiper-slide { 
    height: auto; 
}

/* THE CARD */
.tech-card { 
    display: flex; 
    flex-direction: column; 
    background-color: #ffffff !important; 
    border-radius: 12px; 
    overflow: hidden; 
    text-decoration: none !important; 
    color: #1a1a1a !important; 
    border-width: 1px;
    border-style: solid;
    border-color: #eaeaea; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    height: 100%; 
    box-sizing: border-box; 
    position: relative; 
}

.tech-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12); 
}

/* Image Wrapper */
.tech-image-wrapper { 
    width: 100%; 
    aspect-ratio: 16 / 9; 
    position: relative; 
    background-color: #f3f4f6; 
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #eaeaea; 
    overflow: hidden; 
}

.tech-image-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.3s ease; 
}

.tech-card:hover .tech-image-wrapper img { 
    transform: scale(1.05); 
}

/* Discount Badges */
.tech-badge-container { 
    position: absolute; 
    top: 12px; 
    right: 12px; 
    display: flex; 
    gap: 6px; 
    z-index: 2; 
}

.tech-badge { 
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 10px;
    padding-right: 10px; 
    border-radius: 20px; 
    font-size: 0.75rem; 
    font-weight: 700; 
    letter-spacing: 0.02em; 
}

.badge-discount { 
    background-color: #e53935; 
    color: #ffffff; 
    box-shadow: 0 2px 4px rgba(229, 57, 53, 0.3); 
}

/* Content Area */
.tech-content { 
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 24px;
    padding-right: 24px; 
    display: flex; 
    flex-direction: column; 
    flex-grow: 1; 
}

.tech-author { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    margin-bottom: 12px; 
}

.tech-author img { 
    width: 28px; 
    height: 28px; 
    border-radius: 50%; 
    object-fit: cover; 
}

.tech-author span { 
    font-size: 0.85rem; 
    font-weight: 500; 
    color: #6b7280; 
}

/* Text Overrides to Fix Constructor Blue Links */
.tech-title { 
    font-size: 1.15rem; 
    font-weight: 700; 
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 10px;
    margin-left: 0; 
    line-height: 1.4; 
    color: #111827 !important; 
    text-decoration: none !important;
}

.tech-description { 
    font-size: 0.875rem; 
    color: #4b5563; 
    line-height: 1.5; 
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 20px;
    margin-left: 0; 
    display: -webkit-box; 
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
}

/* Footer / Pricing */
    .tech-footer { margin-top: auto !important; display: flex !important; justify-content: space-between !important; align-items: center !important; border-top: 1px solid #eaeaea !important; padding-top: 16px !important; flex-wrap: wrap !important; gap: 12px !important; }

.tech-duration { 
    font-size: 0.8rem; 
    color: #6b7280; 
    display: flex; 
    align-items: center; 
    gap: 4px; 
    background-color: #f3f4f6; 
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px; 
    border-radius: 8px; 
    font-weight: 500; 
}

.tech-pricing { 
    display: flex; 
    flex-direction: column; 
    align-items: flex-end; 
    line-height: 1.2; 
}

.tech-pricing del { 
    font-size: 0.8rem; 
    color: #9ca3af; 
    margin-bottom: 2px; 
}

.tech-pricing strong { 
    font-size: 1.15rem; 
    color: #e53935 !important; 
    font-weight: 700; 
}

.tech-pricing .free-text { 
    color: #2e7d32 !important; 
    font-size: 1.15rem; 
    font-weight: 700; 
}

/* Modern Pagination */
.swiper-pagination { 
    position: relative; 
    margin-top: 20px; 
}

.swiper-pagination-bullet { 
    width: 8px; 
    height: 8px; 
    background-color: #d1d5db; 
    opacity: 1; 
    transition: all 0.3s ease; 
}

.swiper-pagination-bullet-active { 
    background-color: #111827; 
    width: 24px; 
    border-radius: 4px; 
}

/* Navigation Arrows */
.swiper-button-next, 
.swiper-button-prev { 
    color: #111827; 
    background-color: #ffffff; 
    width: 44px; 
    height: 44px; 
    border-radius: 50%; 
    border-width: 1px;
    border-style: solid;
    border-color: #eaeaea; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.08); 
    transition: all 0.2s ease; 
    top: 45%; 
    transform: translateY(-50%); 
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0; 
}

.swiper-button-prev { 
    left: -64px; 
}

.swiper-button-next { 
    right: -64px; 
}

.swiper-button-next:hover, 
.swiper-button-prev:hover { 
    background-color: #f9fafb; 
    box-shadow: 0 6px 14px rgba(0,0,0,0.12); 
    transform: translateY(-50%) scale(1.05); 
}

    .swiper-button-next:active,
    .swiper-button-prev:active {
        background: #1e3a8a;
        color: #ffffff;
        border-color: #1e3a8a;
        box-shadow: 0 2px 5px rgba(30, 58, 138, 0.4);
        transform: translateY(-50%) scale(0.95);
    }

.swiper-button-next:after, 
.swiper-button-prev:after { 
    font-size: 16px; 
    font-weight: bold; 
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .tech-course-section { 
        padding-top: 40px;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px; 
    }
    .swiper-button-prev { 
        left: -5px; 
    }
    .swiper-button-next { 
        right: -5px; 
    }
}