/*!
Theme Name: QaNinjas
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: qaninjas
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

QaNinjas is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */
.col-150 {
	width: 150px;
}

.mt-10 {
	margin-top: 20px !important;
}

.w-65 {
	width: 65px;
}

.image-light {
	filter: brightness(0) invert(1);
}

.img-col-300 {
	width: 300px;
}

.img-col-520 {
	width: 520px;
}

p {
	color: #535353;
}

.swiper-slide,
.ca-testimonial-item {
	height: 100%;
}

/* Swiper slide */
.ca-testimoni-slide .swiper-slide {
	height: auto;
	display: flex;
}

/* Testimonial card */
.ca-testimonial-item {
	background: #1E3F2F;
	border-radius: 20px;
	padding: 55px 30px 50px 35px;
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
}

/* Content area takes remaining space */
.ca-testimonial-item-content {
	flex-grow: 1;
}

/* User section stays at bottom */
.ca-testimonial-item-user {
	margin-top: auto;
}

.ca-testimonial-item-user-thumb.avatar {
	width: 60px;
	height: 60px;
	min-width: 60px;
	border-radius: 50%;
	background: #4E8C29;
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
}

html {
	scroll-behavior: smooth;
}

.coll-w-400 {
	width: 400px;
}

@media (max-width: 767px) {
	.mobile-hide {
		display: none !important;
	}

	.img-col-520 {
		width: 100%;
	}
	.pb-115{padding-bottom: 0px !important;}
	.col-pt-sm-0 {padding-top: 0px;}
}
.col-w-135{width: 135px;}


/* ==================================
   QA NINJAS - COURSE CARD
================================== */

.qa-course-card {
    --qa-green: #488f2c;
    --qa-dark: #18251c;
    --qa-muted: #68736b;

    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid #e7ede5;
    border-radius: 18px;
    padding: 10px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(25, 55, 30, 0.05);
    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    box-sizing: border-box;
}

.qa-course-card * {
    box-sizing: border-box;
}

.qa-course-card:hover {
    border-color: #d2e4cc;
    /* box-shadow: 0 16px 38px rgba(25, 55, 30, 0.11); */
}

/* Course Image */

.qa-course-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 12px;
    background: #edf5ea;
}

.qa-course-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.qa-course-card:hover .qa-course-image img {
    transform: scale(1.04);
}

/* Course Content */

.qa-course-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 14px 12px;
}

/* Category and Level */

.qa-course-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.qa-course-category {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--qa-green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.qa-category-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--qa-green);
    flex-shrink: 0;
}

.qa-course-level {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 30px;
    background: #eef7e9;
    color: #43852b;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}

/* Course Title */

.qa-course-title {
    margin: 0 0 12px;
    font-size: 23px;
    line-height: 1.3;
}
.col-text-white{    color: rgba(245, 247, 245, 0.8);}
.qa-course-title a {
    color: var(--qa-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.qa-course-title a:hover {
    color: var(--qa-green);
}

/* Course Description */

.qa-course-description {
    margin: 0 0 18px;
    color: var(--qa-muted);
    font-size: 16px;
    line-height: 1.75;
    font-weight: 400;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Course Topics */

.qa-course-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px;
}

.qa-course-topics span {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    background: #f5f8f3;
    border: 1px solid #e5eee0;
    border-radius: 6px;
    color: #476047;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

/* Course Footer */

.qa-course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 17px;
    border-top: 1px solid #edf0eb;
}

.qa-course-feature {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #657267;
    font-size: 12px;
    font-weight: 500;
}

.qa-course-feature svg {
    color: var(--qa-green);
    flex-shrink: 0;
}

/* Explore Course Button */

.qa-course-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    color: var(--qa-green);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.qa-course-btn:hover {
    color: #286b17;
}

.qa-course-btn-icon {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--qa-green);
    color: #ffffff;
    transition: background 0.3s ease,
                transform 0.3s ease;
}

.qa-course-btn:hover .qa-course-btn-icon {
    background: #286b17;
    transform: translateX(3px);
}

.qa-course-btn:focus-visible,
.qa-course-title a:focus-visible,
.qa-course-image:focus-visible {
    outline: 2px solid var(--qa-green);
    outline-offset: 3px;
}

/* Responsive */

@media (max-width: 575px) {
    .qa-course-content {
        padding: 18px 12px 10px;
    }

    .qa-course-title {
        font-size: 21px;
    }

    .qa-course-description {
        font-size: 13px;
    }

    .qa-course-footer {
        flex-wrap: wrap;
    }
}
