:root {
    --cwnp-red: #c6112a;
    --cwnp-dark: #12151c;
    --cwnp-light-bg: #f8f9fa;
    --cwnp-text: #333333;
    --cwnp-border: #e0e0e0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--cwnp-text);
    font-size: 14px;
}

h4 {
    font-size: 1em;
    font-weight: bold;
}

/* Top Utility Bar */
.top-bar {
    background-color: #333;
    color: #ccc;
    font-size: 12px;
    padding: 6px 0;
}

.top-bar a {
    color: #ccc;
    text-decoration: none;
    margin: 0 10px;
}

.top-bar a:hover {
    color: #fff;
}

/* Navbar */
.navbar {
    padding: 15px 0;
    border-bottom: 1px solid var(--cwnp-border);
    background: #fff;
}

.navbar-brand img {
    height: 45px;
}

.navbar-nav .nav-link {
    color: #000;
    font-weight: 600;
    font-size: 14px;
    margin-left: 20px;
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: var(--cwnp-dark);
    color: #999;
    font-size: 12px;
    padding: 10px 0;
}

.breadcrumbs a {
    color: #999;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #fff;
}

/* Hero Section */
.hero-section {
    background-color: var(--cwnp-dark);
    /* background-image: linear-gradient(rgba(18, 21, 28, 0.9), rgba(18, 21, 28, 0.9)), url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&q=80&w=2000'); */
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 50px 0;
}

.hero-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-btn {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 4px;
    padding: 6px 15px;
    font-size: 12px;
    margin-right: 10px;
    margin-bottom: 10px;
    text-decoration: none;
    display: inline-block;
}

.hero-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.hero-trustpilot {
    background: #fff;
    color: #333;
    padding: 15px 25px;
    border-radius: 4px;
    text-align: center;
    max-width: 250px;
    float: right;
}

.hero-trustpilot img {
    height: 25px;
    margin-bottom: 10px;
}

/* Anchor Tabs */
.anchor-tabs {
    display: flex;
    border-bottom: 1px solid var(--cwnp-border);
    margin-bottom: 30px;
    background: var(--cwnp-light-bg);
    font-weight: bold;
    font-size: 13px;
}

.anchor-tabs a {
    flex: 1;
    text-align: center;
    padding: 15px;
    color: #333;
    text-decoration: none;
    border-right: 1px solid var(--cwnp-border);
    border-top: 1px solid var(--cwnp-border);
}

.anchor-tabs a:first-child {
    border-left: 1px solid var(--cwnp-border);
}

.anchor-tabs a.active,
.anchor-tabs a:hover {
    background-color: var(--cwnp-red);
    color: #fff;
}

/* Content Styles */
h3 {
    font-size: 18px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
}

p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.check-list {
    list-style: none;
    padding-left: 0;
}

.check-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 14px;
}

.check-list li::before {
    content: "\F26E";
    font-family: "bootstrap-icons";
    color: var(--cwnp-red);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
}

/* Help Box */
.help-box {
    background: url(../images/quiz-bg.jpg);
    background-color: black;
    background-position: center left;
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid #FF8D28;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    min-height: 220px;
}

.help-box-content {
    position: relative;
    z-index: 2;
    max-width: 60%;
    color: white;
}

.help-box-content h4 {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
    color: white;
}

.help-box-img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 110%;
    z-index: 1;
}

/* Testimonials */
.testimonial-card {
    background: var(--cwnp-light-bg);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    position: relative;
}

.testimonial-bg-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 60px;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
}

.testimonial-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto 15px auto;
    overflow: hidden;
    /* New properties to center initials */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cwnp-red);
    /* Uses your brand red */
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the image sits on top of the background color */
    position: relative;
    z-index: 2;
}

.testimonial-name {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 2px;
}

.testimonial-job {
    color: #777;
    font-size: 12px;
    margin-bottom: 15px;
}

.testimonial-quote {
    font-style: italic;
    font-size: 13px;
    line-height: 1.6;
}

/* Buttons */
.btn-cwnp-red {
    background-color: var(--cwnp-red);
    color: #fff;
    font-weight: 600;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
}

.btn-cwnp-red:hover {
    background-color: #a00e22;
    color: #fff;
}

.btn-outline-cwnp {
    border: 1px solid var(--cwnp-red);
    color: var(--cwnp-red);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 4px;
    background: transparent;
}

.btn-outline-cwnp:hover {
    background: var(--cwnp-red);
    color: #fff;
}

/* Question Box 2 */
.question-box {
    background-color: var(--cwnp-light-bg);
    border: 1px solid var(--cwnp-border);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 4px;
    margin: 30px 0;
}

/* Accordion */
.accordion-item {
    border: 1px solid var(--cwnp-border);
    margin-bottom: 10px;
    border-radius: 4px !important;
}

.accordion-button {
    font-weight: 600;
    color: #333;
    background-color: #fff;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: #333;
    background-color: #fff;
}

.accordion-button::after {
    background-size: 1rem;
}

/* Sidebar Pricing */
.main-block .sticky-top {
    z-index: 999 !important;
}

.sidebar-box {
    border: 1px solid var(--cwnp-border);
    padding: 25px;
    border-radius: 4px;
    background: #fff;
    margin-bottom: 20px;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 18px;
    margin-right: 10px;
}

.price-new {
    font-size: 32px;
    font-weight: 700;
    color: #000;
}

.discount-badge {
    background-color: #f39c12;
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: bold;
    vertical-align: super;
}

/* Sidebar Trustpilot */
.trustpilot-header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--cwnp-border);
    padding-bottom: 15px;
}

.trustpilot-review {
    margin-bottom: 15px;
    font-size: 13px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.trustpilot-review:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.stars-green {
    color: #00b67a;
    font-size: 16px;
}

/* Banners & Sections */
.discount-banner {
    background: linear-gradient(90deg, #e65c00 0%, #F9D423 100%);
    color: #fff;
    padding: 20px 0;
}

.discount-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.coupon-code {
    border: 2px dashed #fff;
    padding: 5px 15px;
    font-size: 20px;
    font-weight: bold;
}

.partners-section {
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid var(--cwnp-border);
}

.partner-logos img {
    height: 40px;
    margin: 10px 20px;
    filter: grayscale(100%);
    opacity: 0.6;
}

.partner-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Products Carousel */
.products-section {
    background-color: var(--cwnp-light-bg);
    padding: 50px 0;
}

.product-card {
    background: #fff;
    border: 1px solid var(--cwnp-border);
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-img {
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    min-height: 38px;
}

.product-price {
    font-weight: 700;
    margin-bottom: 15px;
}

.btn-shop {
    background: #333;
    color: #fff;
    width: 100%;
    border: none;
    padding: 8px;
    border-radius: 4px;
    font-size: 13px;
    margin-top: auto;
}

.btn-shop:hover {
    background: #000;
    color: #fff;
}

/* Footer */
.footer-main {
    background-color: var(--cwnp-red);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-main a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    line-height: 2;
}

.footer-main a:hover {
    text-decoration: underline;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-logo {
    padding: 10px;
    border-radius: 4px;
    max-width: 150px;
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    margin-right: 10px;
    font-size: 16px;
}

.social-icons a:hover {
    background: #fff;
    color: var(--cwnp-red);
}

.form-control-dark {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.form-control-dark::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.btn-black {
    background: #000;
    color: #fff;
    border: none;
}

.footer-bottom {
    background-color: #a00e22;
    padding: 15px 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1150px;
    }
}

/* Course Details Section */
.course-detail-row {
    margin-bottom: 10px;
}

.detail-title-box {
    background-color: #fbe9ec;
    /* Light pink derived from CWNP red */
    padding: 20px;
    font-weight: 700;
    font-size: 16px;
    color: var(--cwnp-dark);
    height: 100%;
    display: flex;
    align-items: flex-start;
    border-radius: 4px;
}

.detail-content-box {
    background-color: #f4f4f4;
    /* Light gray matching the image */
    padding: 20px;
    height: 100%;
    border-radius: 4px;
    color: var(--cwnp-text);
}

.detail-content-box p:last-child {
    margin-bottom: 0;
}

/* Testimonial Carousel Styles */
.testimonial-carousel-wrap {
    position: relative;
    padding: 0 15px;
}

.testimonial-carousel .carousel-indicators {
    bottom: -45px;
}

.testimonial-carousel .carousel-indicators [data-bs-target] {
    background-color: var(--cwnp-red);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    opacity: 0.4;
    border: none;
    margin: 0 5px;
}

.testimonial-carousel .carousel-indicators .active {
    opacity: 1;
}

.testimonial-carousel .carousel-control-prev,
.testimonial-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--cwnp-red);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

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

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

.testimonial-carousel .carousel-control-prev:hover,
.testimonial-carousel .carousel-control-next:hover {
    opacity: 1;
    background-color: #a00e22;
    /* Darker red on hover */
}

.testimonial-carousel .carousel-control-prev-icon,
.testimonial-carousel .carousel-control-next-icon {
    width: 1.2rem;
    height: 1.2rem;
}

.standard-list {
    padding-left: 20px;
    margin-bottom: 0;
}

.standard-list li {
    margin-bottom: 6px;
}

.standard-list li:last-child {
    margin-bottom: 0;
}

/* Running Text Ticker */
.course-ticker-wrap {
    display: flex;
    background-color: #e4e4e4;
    /* Light gray background for the track */
    height: 45px;
    line-height: 45px;
    font-size: 15px;
    overflow: hidden;
    position: relative;
}

.course-ticker-label {
    background-color: #797a7e;
    /* Darker gray background for the label */
    color: #f1f1f1;
    padding: 0 30px;
    white-space: nowrap;
    z-index: 2;
    /* Keeps the label layered above the scrolling text */
    position: relative;
}

.course-ticker-content {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
}

.course-ticker-track {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    /* Start the text off-screen to the right */
    animation: marquee 25s linear infinite;
}

.course-ticker-track:hover {
    animation-play-state: paused;
    /* Pauses the scrolling when hovered */
    cursor: default;
}

.course-item {
    margin-right: 80px;
    /* Spacing between each event */
    color: #111;
}

.course-ticker-track:hover {
    animation-play-state: paused;
    /* Removed cursor: default; so the pointer shows when hovering over links */
}

.course-item {
    margin-right: 80px;
    color: #111;
    text-decoration: none;
    /* Prevents the default link underline */
    transition: color 0.2s ease;
    /* Smooth transition for hover effect */
}

.course-item:hover {
    color: var(--cwnp-red);
    /* Changes text to your theme's red on hover */
    cursor: pointer;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

#nav ul>li>a {
    text-decoration: none;
    font: 18px "roboto_condensed", "Arial", "Helvetica", sans-serif
}

.header-right .links a {
    text-decoration: none;
}