* {
    box-sizing: border-box;
}

:root {
    --logo-color: #0248a9;
    --dark-bg: #030364;
    --darker-bg: #020240;
    --light-bg: #070770;
    --lighter-bg: #000080;
    --primary-bg-color: #000c3f;
    --secondary-darker-bg: #010124;
    --primary-text-color: #ffffff;
    --secondary-text-color: #dcdcdc;
    --highlight-color: #ffb400;
    --highlight-hover-color: #e6a500;
    --border-color: hsla(0, 0%, 100%, 0.16);
    --background-overlay-light: hsla(0, 0%, 100%, 0.05);
    --background-overlay-hover: hsla(0, 0%, 100%, 0.08);
    --background-overlay-active: hsla(0, 0%, 100%, 0.15);
    --dropdown-bg-color: hsla(0, 0%, 100%, 0.08);
    --icon-primary-color: #01bacf;
    --primary-font: Arial, sans-serif;
    --heading-font-size: 32px;
    --subheading-font-size: 20px;
    --subh-para-font-size: 18px;
    --text-font-size: 16px;
    --small-font-size: 14px;
    --btn-padding: 8px 16px;
    --btn-radius: 4px;
    --section-padding: 100px 0 80px;
    --container-padding: 0 20px;
    --card-border-radius: 8px;
    --offer-price-color: #5cb85c;
    --sec-para-font: 'Droid Serif', serif;
    --sec-para-color: #a2a2a2;
    --dark-heading-color: #3c4852;
    --dark-sub-heading-color: #01161e;
    --white-background: #f8f8f8;
    --dark-para-color: #4b4f58;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--primary-font);
}


/* --------------------------index-courses.php-------------------------- */

/* --------- in Page Styles --------- */
section.ind-crse-section {
    background-color: var(--primary-bg-color);
    color: var(--primary-text-color);
    padding: var(--section-padding);
}

.ind-crse-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.ind-crse-title-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 64px;
    margin-left: -15px;
    margin-right: -15px;
}

.ind-crse-title {
    flex: 1 1 75%;
}

.ind-crse-title h2 {
    font-size: var(--heading-font-size);
    margin-bottom: 15px;
    color: var(--primary-text-color);
    font-style: italic;
    font-family: var(--sec-para-font);
}

.para-hm {
    color: var(--sec-para-color);
    font-size: var(--subheading-font-size);
    font-family: var(--sec-para-font) !important;
    font-style: italic;
}

.ind-crse-subtitle {
    /* font-size: var(--subheading-font-size); */
    color: var(--secondary-text-color);
    line-height: 1.6;
    text-align: justify;
    font-style: italic;
    color: var(--sec-para-color);
    font-size: var(--subheading-font-size);
    font-family: var(--sec-para-font) !important;
}

.ind-crse-subtitle a {
    color: var(--primary-text-color);
    text-decoration: underline;
}

.ind-crse-cert-type-switcher-wrapper {
    flex: 1 1 20%;
    display: flex;
    justify-content: flex-end;
    align-self: flex-end;
}

.ind-crse-cert-type-switcher {
    display: flex;
    overflow: hidden;
    font-size: var(--small-font-size);
    height: 36px;
    padding: 24px 40px;
    border: 1px solid var(--border-color);
    align-items: center;
    justify-content: center;
    background-color: var(--background-overlay-hover);
    cursor: pointer;
}

.ind-crse-cert-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: var(--small-font-size);
    color: var(--primary-text-color);
    padding: var(--btn-padding);
    font-weight: 700;
    white-space: nowrap;
}

.ind-crse-certifications-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.ind-crse-program-selection.active {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.ind-crse-programs-container {
    position: relative;
    display: flex;
    align-items: center;
}

.ind-crse-programs-list {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ind-crse-programs-list::-webkit-scrollbar {
    display: none;
}

.ind-crse-programs-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
}

.ind-crse-program-item {
    background: var(--background-overlay-light);
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    border-radius: 4px 4px 0 0;
    color: var(--primary-text-color);
    border: 1px solid transparent;
    border-bottom: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.ind-crse-program-item:hover {
    background: var(--background-overlay-hover);
}

.ind-crse-program-item.active {
    background: var(--background-overlay-active);
    border: 1px solid var(--border-color);
    border-bottom: 1px solid var(--primary-bg-color);
}

.ind-crse-program-content {
    background: var(--white-background);
    /* background: var(--background-overlay-light); */
    padding: 20px;
    border-radius: 6px;
    min-height: 200px;
    border: 1px solid var(--border-color);
}

.ind-crse-program-tab {
    display: none;
}

.ind-crse-program-tab.active {
    display: block;
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: var(--background-overlay-hover);
    color: var(--primary-text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1;
    font-size: 18px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    user-select: none;
}

.scroll-arrow.left {
    left: -15px;
}

.scroll-arrow.right {
    right: -15px;
}

/* DROPDOWN STYLES FOR SMALL DEVICES */
.ind-crse-programs-dropdown {
    display: none;
    position: relative;
    width: 100%;
}

.ind-crse-programs-dropdown select {
    width: 100%;
    padding: 15px;
    font-size: var(--text-font-size);
    border: 1px solid var(--border-color);
    border-radius: 0;
    background-color: var(--dropdown-bg-color);
    color: var(--primary-text-color);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-sizing: border-box;
}

.ind-crse-programs-dropdown select option {
    background-color: var(--primary-bg-color);
}

@media (max-width: 768px) {
    .ind-crse-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 25px;
        margin-bottom: 0;
    }

    .ind-crse-cert-type-switcher-wrapper {
        justify-content: flex-start;
        width: 100%;
    }

    .ind-crse-certifications-wrapper {
        padding: 0 25px;
    }

    .ind-crse-program-selection.active {
        margin-top: 16px;
    }

    .ind-crse-programs-dropdown {
        display: block;
        margin: 20px 0px 20px 3px;
    }

    .ind-crse-programs-container {
        display: none;
    }

    .ind-crse-program-content {
        width: 100%;
        margin: 0 2px;
    }

    .ind-crse-program-tab {
        padding: 10px 0;
    }

    .ind-crse-cert-type-switcher-wrapper {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        justify-content: center;
        z-index: 10;
        margin-bottom: -20px;
    }

    .ind-crse-section {
        position: relative;
        padding-bottom: 80px;
    }
}

/* --------- in Page Styles cards--------- */
.ind-crse-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.ind-crse-card {
    background-color: var(--primary-bg-color);
    border: 0px solid var(--border-color);
    border-radius:0px;
    /* background-color: var(--background-overlay-light); */
    /* border: 1px solid var(--border-color); */
    /* border-radius: 8px; */
    overflow: hidden;
    width: calc(25% - 15px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.ind-crse-card:hover {
    background-color: var( --secondary-darker-bg);
    /* background-color: var(--background-overlay-hover); */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

/* .ind-crse-card img {
    width: 100%;
    height: auto;
    display: block;
} */
.ind-crse-card img {
    width: 100%;
    height: 200px; /* or any fixed height */
    object-fit: cover; /* 'cover' crops, 'contain' fits without cropping */
    display: block;
  
  }
  
.ind-crse-card h4 {
    margin: 15px 0 10px;
    color: var(--primary-text-color);
    font-size: var(--subheading-font-size);
        margin-top: auto; /* added new style for equal top margin to make buttons and stars horizon equal */
}

.ind-crse-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
    color: var(--secondary-text-color);
    font-size: var(--small-font-size);
}

.rating-stars {
    color: #ffb400;
    font-size: 16px;
    letter-spacing: 1px;
}

.rating-score {
    margin-top: 5px;
    color: var(--secondary-text-color);
}

.ind-crse-readmore {
    background-color: var(--highlight-color);
    color: var(--primary-text-color);
    border: none;
    padding: 8px 22px;
    margin-bottom: 15px;
    border-radius: var(--btn-radius);
    font-size: var(--small-font-size);
    font-weight: bold;
    cursor: pointer;
    
    transition: background-color 0.3s ease;
}

.ind-crse-readmore:hover {
    background-color: var(--highlight-hover-color)!important;
    color: var(--primary-text-color);
}

.ind-crse-readmore a {
    color: #000;
    text-decoration: none;
}

@media (max-width: 992px) {
    .ind-crse-card {
        width: calc(50% - 10px);
    }
}

@media (max-width: 576px) {
    .ind-crse-card {
        width: 100%;
    }
}


/* --------- in Page Styles slider-cards--------- */
/* Root Styles */
.ind-crse-program-tab {
    position: relative;
    /* padding: 20px; */
}

/* Carousel Container */
.ind-crse-program-tab .carousel-container {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

/* Carousel Slider */
.ind-crse-program-tab .carousel-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Each Slide */
.ind-crse-program-tab .carousel-slider .slide {
    min-width: 100%;
    box-sizing: border-box;
}

/* Controls (Arrows + Indicators) */
.ind-crse-program-tab .carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 20px;
    /* Space between arrows and indicators */
}

/* Arrows */
.ind-crse-program-tab .arrow {
    background:var(--primary-bg-color);
    /* background: var(--background-overlay-hover); */
    color: var(--primary-text-color);
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 11px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    transition: background 0.3s;

    /* Square stules */
    /* background: var(--background-overlay-hover);
    color: var(--primary-text-color);
    width: 44px;
    height: 16px;
    cursor: pointer;
    font-size: 8px;
    border-radius: 4%;
    border: 1px solid var(--border-color);
    transition: background 0.3s; */
}

/* Indicators */
.ind-crse-program-tab .carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.ind-crse-program-tab .indicator {
    width: 40px;
    height: 2px;
    background-color: var(--border-color);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ind-crse-program-tab .indicator.active {
    background-color: var(--highlight-hover-color);
}


/* ------------//--------------index-courses.php-------------//------------- */




/* --------------------------index-sections.php-------------------------- */

/* --------- in Page Styles --------- */
section.edu-crc-section {
    background-color: var(--primary-bg-color);
    color: var(--primary-text-color);
    padding: var(--section-padding);
}

.edu-crc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.edu-crc-title-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 64px;
    margin-left: -15px;
    margin-right: -15px;
}

.edu-crc-title {
    flex: 1 1 60%;
}

.edu-crc-title h2 {
    font-size: var(--heading-font-size);
    margin-bottom: 15px;
    color: var(--primary-text-color);
    font-style: italic;
    font-family: var(--sec-para-font);
}

.edu-crc-subtitle {
    font-size: var(--subheading-font-size);
    color: var(--secondary-text-color);
    line-height: 1.6;
    text-align: justify;
}

.edu-crc-subtitle a {
    color: var(--primary-text-color);
    text-decoration: underline;
}

.edu-crc-cert-type-switcher-wrapper {
    flex: 1 1 35%;
    display: flex;
    justify-content: flex-end;
    align-self: flex-end;
}

.edu-crc-cert-type-switcher {
    display: flex;
    overflow: hidden;
    font-size: var(--text-font-size);
    height: 54px;
    width: 100%;
    padding: 0;
    border: 1px solid var(--border-color);
    margin-right: -4%;
}

.edu-crc-cert-type {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: var(--small-font-size);
    color: var(--primary-text-color);
    border: 1px solid transparent;
}

.edu-crc-cert-type.active,
.edu-crc-cert-type:hover {
    background-color: var(--background-overlay-hover);
    border: 1px solid var(--border-color);
    color: var(--primary-text-color);
}

.edu-crc-cert-type .name {
    font-weight: 700;
}

.edu-crc-certifications-wrapper {
    max-width: 1260px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.edu-crc-program-selection {
    display: none;
}

.edu-crc-program-selection.active {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.edu-crc-programs-list {
    flex: 0 0 400px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-color);
}

.edu-crc-programs-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.edu-crc-program-item {
    position: relative;
    background: var(--background-overlay-light);
    padding: 25px 20px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: background 0.3s;
    overflow: hidden;
}

.edu-crc-program-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: var(--border-color);
    transition: width 0.4s ease;
}

.edu-crc-program-item:hover::after,
.edu-crc-program-item.active::after {
    width: 100%;
}

.edu-crc-program-item.active::after {
    background-color: var(--primary-text-color);
}

.edu-crc-program-item:hover,
.edu-crc-program-item.active {
    background: var(--background-overlay-active);
}

.edu-crc-program-item i {
    float: right;
    transition: transform 0.3s ease;
}

.edu-crc-program-item:hover i {
    transform: translateX(5px);
}

.edu-crc-program-content {
    flex: 1;
    background: var(--background-overlay-light);
    padding: 20px;
    min-height: 200px;
}

.edu-crc-program-tab {
    display: none;
}

.edu-crc-program-tab.active {
    display: block;
}

.edu-crc-programs-dropdown {
    display: none;
    position: relative;
    width: 100%;
}

.edu-crc-programs-dropdown select {
    width: 100%;
    padding: 15px;
    font-size: var(--text-font-size);
    border: none;
    border-radius: 0;
    background-color: transparent;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.edu-crc-programs-dropdown select option {
    background-color: var(--primary-bg-color);
}

.edu-crc-programs-dropdown::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--primary-text-color);
    font-size: 18px;
}

@media (max-width: 768px) {
    .edu-crc-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 25px;
        margin-bottom: 0;
    }

    .edu-crc-cert-type-switcher-wrapper {
        justify-content: flex-start;
        width: 100%;
    }

    .edu-crc-certifications-wrapper {
        padding: 0 25px;
    }

    .edu-crc-program-selection.active {
        margin-top: 16px;
    }

    .edu-crc-programs-dropdown {
        display: block;
        width: 100%;
        margin: 0 5px;
    }

    .edu-crc-programs-dropdown select {
        background-color: var(--dropdown-bg-color);
        border: 1px solid var(--border-color);
        color: var(--primary-text-color);
        box-sizing: border-box;
    }

    .edu-crc-programs-list {
        display: none;
    }

    .edu-crc-program-content {
        width: 100%;
        margin: 0 2px;
    }

    .edu-crc-program-tab {
        padding: 10px 0;
    }
}

/* ================== CARD STYLES ================== */

.edu-crc-card-container {
    display: flex;
    flex-wrap: wrap;
}

.edu-crc-card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: var(--background-overlay-light);
    border: 1px solid var(--border-color);
    padding: 20px;
    width: 100%;
    transition: transform 0.3s ease;
}

.edu-crc-card:hover {
    transform: translateY(-5px);
}

.edu-crc-card-text {
    flex: 1;
}

.edu-crc-card-heading {
    font-size: 22px;
    color: var(--primary-text-color);
    margin-bottom: 10px;
}

.edu-crc-card-subheading {
    font-size: var(--text-font-size);
    color: var(--secondary-text-color);
    margin-bottom: 15px;
}

.edu-crc-card-rating {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.edu-crc-card-btn {
    background-color: var(--highlight-color);
    color: #000;
    border: none;
    padding: var(--btn-padding);
    border-radius: var(--btn-radius);
    font-size: var(--text-font-size);
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.edu-crc-card-btn:hover {
    background-color: var(--highlight-hover-color);
}

.edu-crc-card-image {
    flex: 0 0 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edu-crc-card-image img {
    width: 300px;
    height: auto;
    border-radius: var(--btn-radius);
}

@media (max-width: 1024px) {
    .edu-crc-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .edu-crc-card-text {
        padding-right: 0;
        margin-bottom: 15px;
    }

    .edu-crc-card-image {
        width: 100%;
        justify-content: flex-start;
    }

    .edu-crc-card-image img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 600px) {
    .edu-crc-card-heading {
        font-size: 18px;
    }

    .edu-crc-card-subheading {
        font-size: 14px;
    }

    .edu-crc-card-btn {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }

    .edu-crc-card {
        padding: 15px;
    }

    .edu-crc-card-image img {
        width: 100%;
        max-height: 200px;
        object-fit: cover;
    }
}

/* ------------//--------------index-sections.php-------------//------------- */


/* --------------------------hm-aboutus.php-------------------------- */
@media only screen and (max-width: 768px) {

    /* Adjust container padding/margin if needed */
    .cstm-container {
        padding: 0 15px;
    }

    /* Hide the left image column on small screens */
    .testimo-cards.hidden-sm.hidden-xs {
        display: none;
    }

    /* Adjust the right column to full width */
    .col-md-8 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Adjust padding inside the custom module */
    .custom-module.p40l {
        padding-left: 0;
        padding-right: 0;
    }

    /* Ensure text is readable */
    .custom-module h2 {
        font-size: 24px;
        line-height: 32px;
    }

    /* Reduce margin/padding on list columns */
    .row>[class*='col-'] {
        margin-bottom: 20px;
    }

    /* Align button center */
    .btn-wrapper {
        text-align: center;
    }

    .btn-wrapper .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Make sure images scale nicely */
    img.img-responsive {
        width: 100%;
        height: auto;
    }
}

/* ----------screens under 576px---------- */
@media only screen and (max-width: 576px) {
    .custom-module h2 {
        font-size: 20px;
        line-height: 28px;
    }

    ul.check {
        padding-left: 20px;
    }

    ul.check li {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .btn-wrapper .btn {
        font-size: 16px;
        padding: 12px 20px;
    }
}

/* ------------//--------------hm-aboutus.php-------------//------------- */




/* --------------------------hm-recent.php-------------------------- */

/* ------------//--------------hm-recent.php-------------//------------- */





/* --------------------------hm-testimo.php-------------------------- */
/* .testimo-sec {
    background-color: #f5f5f5;
    padding: 60px 0; 
} */

.testimo-box {
    /* padding: 20px !important; */
    background: var(--primary-bg-color);
    border-radius: var(--card-border-radius);
    transition: transform 0.3s;
}

.testimo-box:hover {
    background-color: var(--background-overlay-hover);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.scroll-wrapper {
    position: relative;
    overflow: hidden;
    /* Hides scrollbars */
    width: 100%;
    /* background: var(--background-overlay-light); */
    padding: 40px;
}

.scroll-inner {
    padding: 0 40px;
    /* Left-right padding */
}

.testi-row {
    display: flex;
    /* gap: 20px; */
    animation: scroll-left 30s linear infinite;
    width: max-content;
}

.testi-row>.testimo-cards:first-child {
    margin-left: 40px;
    /* Space at the start */
}

.testi-row>.testimo-cards:last-child {
    margin-right: 40px;
    /* Space at the end */
}

.testimo-cards {
    flex: 0 0 auto;
    width: 300px;
    /* Control card width */
}

.scroll-wrapper:hover .testi-row {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ------------//-------------hm-testimo.php--------------//------------- */


/* --------------------------free-resources.php-------------------------- */

/* Medium Devices (Tablets, 768px - 1024px) */
/* Default card styles */
.ind-crse-card-vid {
    position: relative;
    width: calc(50% - 10px);
    /* No !important */
}

/* Video wrapper */
.ind-crse-card-vid .ind-crse-card-vid-video-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
}

/* Iframe video styling */
.ind-crse-card-vid .ind-crse-card-vid-video-wrapper iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Overlay container over the video */
.ind-crse-card-vid .ind-crse-card-vid-video-wrapper .ind-crse-card-vid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

/* Overlay image */
.ind-crse-card-vid .ind-crse-card-vid-video-wrapper .ind-crse-card-vid-overlay-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    opacity: 0.7;
    /* Try different values */
}

/* Play button wrapper - Center the button */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ind-crse-card-vid .ind-crse-card-vid-video-wrapper .ind-crse-card-vid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--icon-primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2;
    transition: opacity 0.5s ease;
    border: 1px solid var(--border-color);
}


/* Medium Devices (Tablets, 768px - 1024px) */
@media screen and (max-width: 1024px) {
    .ind-crse-card-vid {
        width: calc(50% - 10px);
    }
}

/* Small Devices (Large Phones & Small Tablets, 600px - 767px) */
@media screen and (max-width: 767px) {
    .ind-crse-card-vid {
        width: calc(100% - 10px);
    }

    .visit-chanl {
        justify-content: center;
        text-align: center;
        width: 100%;
        /* Optional: Makes sure it takes full width of parent */
    }

    .play-button {
        width: 50px;
        height: 50px;
    }

    /* Smaller triangle inside play button */
    .play-button .triangle {
        width: 0;
        height: 0;
        border-left: 12px solid var(--secondary-text-color);
        /* Reduced from 25px */
        border-top: 8px solid transparent;
        /* Reduced from 15px */
        border-bottom: 8px solid transparent;
        /* Reduced from 15px */
        position: relative;
        left: 2px;
        /* Reduced from 5px for better centering */
        z-index: 5;
    }
}

/* Extra Small Devices (Phones under 600px) */
@media screen and (max-width: 600px) {
    .ind-crse-card-vid {
        width: 100%;
    }
}

/* -----------pdf area----------- */
.free-pdf {
    padding: 10px 20px;
    font-size: 110px;
    color: var(--icon-primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Hover color */
.free-pdf:hover {
    color: var(--icon-primary-color);
    color: var(--sec-para-color);
}

.vw-crs-btn {
    /* margin: 20px; */
    border-radius: var(--btn-radius);
    padding: 12px 24px;
    /* Default padding */
    display: inline-block;
    /* Prevents background from stretching full width */
    text-align: center;
    border: none;
    /* Optional: if you want no border */
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Medium Devices (Tablets, 768px - 1024px) */
@media screen and (max-width: 1024px) {
    .vw-crs-btn {
        margin: 16px;
    }
}

/* Small Devices (Large Phones & Small Tablets, 600px - 767px) */
@media screen and (max-width: 767px) {
    .vw-crs-btn {
        margin: 12px;
    }
}

/* Extra Small Devices (Phones under 600px) */
@media screen and (max-width: 600px) {
    .vw-crs-btn {
        margin: 20px auto;
        /* Center it */
        display: block;
        /* Full width on mobile */
        width: 100%;
        /* 100% width of parent */
        padding: 12px 0;
        /* Background matches the height/width */
        text-align: center;
    }
}



/* ------------//--------------free-resources.php-------------//------------- */




/* --------------------------blg-detl-side.php-------------------------- */

.sidebar .widget-title {
    font-weight: 600;
    color: var(--icon-primary-color);
  }

.btn.category-toggle {
    width: 100%;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.icon {
    font-size: 18px;
    font-weight: bold;
}

.card-header {
    padding: 0;
    border: none;
}

.card {
    border: none;
    margin-bottom: 5px;
}

.topics-list {
    padding: 15px;
    background: var(--background-overlay-light);
    border-left: 4px solid #007bff;
    /* border-radius: 5px; */
}

.topic-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: transparent;
    border-radius: var(--btn-radius);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 8px;
    border: 1px solid var(--border-color);
}

.topic-img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 5px;
    object-fit: cover;
}

.topic-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

.topic-desc {
    font-size: 12px;
    color: #666;
    margin: 5px 0 0;
}
/* ------------//--------------blg-detl-side.php-------------//------------- */