* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica';
    text-decoration: none;
    list-style: none;
}

body {
    font-family: Arial, sans-serif;
}

.container {
    width: 90%;
    margin: auto;
}

/* Navigation Section */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ed1c24;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 0px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

header .logo {
    font-weight: bolder;
    font-size: 20px;
    color: white;
}

header .navbar ul li {
    position: relative;
    float: left;
}

header .navbar ul li a {
    font-size: 18px;
    padding-top: 10px;
    padding-left: 5px;
    padding-right: 5px;
    color: white;
    display: block;
}

header .navbar ul li a:hover {
    background: white;
    color: #ed1c24;
}

header .navbar ul li ul {
    position: absolute;
    left: 0;
    width: 200px;
    background: #ed1c24;
    display: none;
}

header .navbar ul li ul li {
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

header .navbar ul li ul li ul {
    left: 200px;
    top: 0;
}

.sub li {
    padding-left: 20px;
}

header .navbar ul li:focus-within>ul,
header .navbar ul li:hover>ul {
    display: initial;
}

#menu-bar {
    display: none;
}

header label {
    font-size: 20px;
    color: #333;
    cursor: pointer;
    display: none;
}

@media (max-width: 991px) {

    header {
        padding: 20px;
    }

    header label {
        display: initial;
    }

    header .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ed1c24;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        display: none;
    }

    header .navbar ul li ul {
        position: relative;
        width: 100%;
    }

    header .navbar ul li ul li {
        background: #eee;
    }

    header .navbar ul li ul li ul {
        left: 0;
        width: 100%;
    }

    #menu-bar:checked~.navbar {

        display: initial;
    }

}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    z-index: 10;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-buttons {
    margin-top: 200px;
}

.hero-buttons a {
    padding: 10px 20px;
    margin-right: 10px;
    background-color: #ed1c24;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 1px;
    border: none;
}

.hero-buttons a:hover {
    background-color: white;
    color: #ed1c24;
}

/* Slider */
.slider img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider img.active {
    opacity: 1;
}


/* Stats Section */
.stats {
    background-color: white;
    padding: 50px 0;
    text-align: center;
}

.stats-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: black;
    font-weight: bolder;
}

.stats-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: auto;
}

.stat-column {
    flex: 1;
}

.stat-column h2 {
    font-size: 40px;
    margin-bottom: 10px;
    color: #ed1c24;
    font-weight: bolder;
}

.stat-column p {
    font-size: 18px;
    color: black;
}

.vertical-line {
    width: 2px;
    height: 50px;
    background-color: #ddd;
    margin: 0 20px;
}

.plus-sign::after {
    content: "+";
    font-size: 1em;
    color: #ed1c24;
    margin-left: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .stats-container {
        flex-direction: column;
    }

    .vertical-line {
        display: none;
    }
}

@media (max-width: 480px) {
    .stats-title {
        font-size: 1.5em;
    }
}


/* Category Buttons */
.category-buttons {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.category-buttons button {
    padding: 10px 20px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.category-buttons button.active {
    background-color: #ed1c24;
    color: #fff;
}

.category-buttons button:hover {
    background-color: #ed1c24;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Items Section */
.items {
    padding: 50px 0;
    text-align: center;
}

.item-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.item-card {
    position: relative;
    width: 300px;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
}

.item-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Truncate long course names */
.item-card h5 {
    margin-top: 10px;
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    font-weight: bold;
}

.item-card p {
    margin: 10px 0;
}

.item-card button {
    padding: 5px 20px;
    background-color: #C2FFE0;
    color: black;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}


/* Badge for new courses */
.new-badge {
    position: absolute;
    top: 15px;
    left: -3px;
    background-color: #ed1c24;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 3px;
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.course-title {
    font-weight: bolder;
    font-size: 17px;
    text-transform: uppercase;
    color: black;
}

/* Video Section */
.video {
    font-family: Arial, sans-serif;
    background-color: #ed1c24;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.video-section {
    width: 100%;
    max-width: 1050px;
    text-align: center;
}

.video-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-carousel {
    display: flex;
    gap: 10px;
    width: 100%;
    position: relative;
}

.video-container {
    flex: 0 0 32%;
    position: relative;
    padding-top: 18%;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-container.center {
    z-index: 5;
}

.responsive-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
    user-select: none;
}

.video-slider-arrow:hover {
    color: white;
}

.left-arrow {
    left: -50px;
}

.right-arrow {
    right: -50px;
}

.video-bullets {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.video-bullets .bullet {
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.video-bullets .bullet.active {
    background-color: black;
}

/* Responsive Design */
@media (max-width: 768px) {

    .video-carousel {
        overflow: hidden;
        gap: 0;
    } 

    .video-container {
        flex: 0 0 45%;
        padding-top: 25%; 
    }
}

@media (max-width: 480px) {
    .video-container {
        flex: 0 0 100%;
        padding-top: 56.25%;
    }
    #nextButton{
        display: none;
    }
}

/* Testimonials Section */
.testimonials {
    background-color: #f8f8f8;
    padding: 50px 0;
    text-align: center;
    position: relative;
}

.testimonials h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
}

/* Testimonial Slider */

.testimonial-slider {
    overflow: hidden;
    max-width: 100%;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    max-width: 100%;
}

/* Displaying multiple testimonials per view */

.testimonial-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    flex: 1 0 calc(33.33% - 20px); /* Adjusted for margins */
    box-sizing: border-box;
    margin: 10px;
}

.testimonial-text {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
    flex-direction: column;
    justify-content: center;
}


.client-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.client-info h4 {
    font-size: 1.2em;
    color: #333;
    margin: 0;
}

.client-info p {
    color: #999;
    font-size: 0.9em;
    margin: 0;
}

/* Slider Buttons */
.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: #000;
    border: none;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Responsive Design */

/* Two testimonials per view for medium screens */
@media (max-width: 1024px) {
    .testimonial-card {
        flex: 1 0 50%;
    }
}

/* One testimonial per view for small screens */
@media (max-width: 768px) {
    .testimonial-card {
        flex: 1 0 100%;
    }
}

/* Mobile App Section */

.mobile {
    display: flex;
    align-items: center;
    background: #505050;
    padding: 50px 90px;
    justify-content: space-around;
}

.owner {
    display: flex;
    flex-direction: column;
    color: white;
    padding: 0 10px;
}

.owner span {
    font-size: 30px;
    font-weight: 500;
}

.mobile-block {
    display: flex;
    align-items: center;
}

.mobile-block img {
    height: 40px;
    margin: 0 5px;
}

.mobile-desc {
    padding: 0 10px;
}


.mobile-desc span {
    font-size: 25px;
    color: white;
    font-weight: lighter;
}

@media (max-width:1364px){
    .owner span {
        font-size: 25px;
    }

    .mobile-desc span {
        font-size: 23px;
    }
}

@media (max-width:1258px){
    .owner span {
        font-size: 23px;
    }

    .mobile-desc span {
        font-size: 20px;
    }
}


@media (max-width: 1222px) {

    .mobile {
        padding: 10px 0px;
        justify-content: center;
        flex-direction: column;
    }

    .owner {
        width: 100%;
        align-items: center;
        justify-content: center;
        padding: 5px 0;
    }


    .mobile-block {
        margin-top: 20px;
    }

}


@media (max-width: 991px) {

    .owner span {
        font-size: 25px;
    }

    .mobile-desc span {
        font-size: 23px;
    }

}

@media (max-width: 572px) {

    .mobile-block img {
        height: 30px;
    }

}

/* Contact Us Section */
.contact-section {
    background-color: #ed1c24;
    padding: 50px 0;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: white;
}

.contact-details {
    flex: 1;
    padding: 40px 20px;
}

.contact-details h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: white;
}

.contact-details p {
    font-size: 18px;
    margin-bottom: 30px;
    color: white;
}

.contact-info .contact-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
}

.contact-info .contact-row i {
    margin-right: 10px;
    font-size: 24px;
    color: white;
}

.contact-info .contact-row span {
    color: white;
}

/* Newsletter Subscription Section */
.newsletter-subscription {
    flex: 1;
    text-align: center;
    padding: 40px 20px;
    background-color: #ed1c24;
    color: white;
    border-radius: 10px;
}

.newsletter-subscription h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.subscribe-btn {
    background-color: #C2FFE0;
    color: black;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    text-transform: capitalize;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
    text-decoration: none;
}

.subscribe-btn:hover {
    color: black;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        text-align: center;
    }

    .contact-details,
    .newsletter-subscription {
        margin-bottom: 30px;
    }
}


/* Footer Section */
.footer {
    background-color: black;
    color: #fff;
    padding: 50px 0;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    margin: 0 15px;
    min-width: 220px;
}

.footer-title {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.footer-column h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ddd;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: #ed1c24;
}

.footer-column .contact-details li {
    display: flex;
    align-items: center;
}

.footer-column .contact-details li i {
    margin-right: 10px;
    background-color: white;
    border-radius: 50%;
    padding: 10px;
    color: #ed1c24;
    font-size: 1.2em;
}

.social-icons {
    display: flex;
    justify-content: flex-start;
    margin-top: 15px;
}

.social-icons a {
    color: #fff;
    margin-right: 15px;
    background-color: #555;
    border-radius: 50%;
    padding: 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
}

.social-icons a:hover {
    background-color: #ed1c24;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        margin-bottom: 30px;
    }

    .social-icons {
        justify-content: center;
    }
}


/* Footer Section */

.trouble{
    margin-top: -20px;
}

.podcast {
    background-color: #F4F7E5;
    color: black;
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: -50px;
}

.pfooter {
    background-color: #F4F7E5;
    color: black;
    padding: 50px 0;
}


.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px;
}

.column {
    flex: 1;
    min-width: 300px;
    margin: 10px;
    border-radius: 8px;
    background-color: #F4F7E5;
}

.content {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.link-list {
    flex: 1;
    padding: 10px;
}

.link-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-list li {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.link-list li img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.link-list a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.link-list a:hover {
    color: #ed1c24;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content {
        flex-direction: column;
        align-items: center;
    }

    .image-container,
    .link-list {
        flex: unset;
        width: 100%;
    }

    .image-container img {
        width: 100%;
        height: auto;
    }
}



/* Skeleton Styles */
.skeleton {
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 10px;
    opacity: 0.7;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.7;
    }
}

/* Category Skeleton */
.category-skeletons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.category-skeleton {
    width: 100px;
    height: 40px;
}

/* Product Skeleton */
.product-skeletons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product-skeleton {
    width: 200px;
    height: 300px;
    border-radius: 10px;
}


.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ed1c24;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-to-top:hover {
    background-color: white;
    color: #ed1c24;
}

.scroll-to-top:active {
    transform: scale(0.95);
}


/*--------------------------------------------------------------
# Departments
--------------------------------------------------------------*/
.departments {
    overflow: hidden;
}

.departments .nav-tabs {
    border: 0;
}

.departments .nav-link {
    border: 0;
    padding: 12px 15px 12px 0;
    transition: 0.3s;
    color: #333;
    border-radius: 0;
    font-weight: 600;
    font-size: 15px;
}

.departments .nav-link:hover {
    color: #ed1c24;
}

.departments .tab-pane.active {
    -webkit-animation: fadeIn 0.5s ease-out;
    animation: fadeIn 0.5s ease-out;
}

.departments .details h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.departments .details p {
    color: #777777;
}

.departments .details p:last-child {
    margin-bottom: 0;
}

.nav-tabs .nav-link.active {
    border-right: 3px solid #ed1c24 !important;
    border-left: none !important;
    border-top: none !important;
    border-bottom: none !important;
}

.nav-tabs .nav-link.active {
    color: #ed1c24 !important;
}

@media (max-width: 992px) {
    .departments .nav-link {
        border: 0;
        padding: 15px;
    }

    .departments .nav-link.active {
        color: #fff;
        background: #ed1c24;
    }
}